NLA-lib Explorer

Matrix.sum_det_updateRow

Library · theorem

The sum over rows i of the determinants of \mathbf{A} with row i replaced by row i of \mathbf{H} is \operatorname{tr}(\operatorname{adj}(\mathbf{A}) \mathbf{H}).

Matrix.sum_det_updateRow.{u_5, u_6} {n : Type u_5} [Fintype n] [DecidableEq n] {S : Type u_6}
  [CommRing S] (A H : Matrix n n S) : ∑ i, (A.updateRow i (H i)).det = (A.adjugate * H).trace

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.Calculus.Deriv.Matrix.