NLA-lib Explorer

NLAlib.norm_sub_le_pseudoConditionNumber_mul_of_add_mulVec_eq

Library · theorem

Headline of linear-system-perturbation

Relative perturbation of a linear system through the condition number. If \mathbf{A} is invertible, \mathbf{A}\mathbf{x} = \mathbf{b}, (\mathbf{A} + \mathbf{E})\mathbf{y} = \mathbf{b} + \mathbf{f}, \|\mathbf{E}\|_2 \le \varepsilon \|\mathbf{A}\|_2, \|\mathbf{f}\| \le \varepsilon \|\mathbf{b}\| and \kappa(\mathbf{A}) \varepsilon < 1, then \|\mathbf{y} - \mathbf{x}\| \le \frac{2 \varepsilon \kappa(\mathbf{A})}{1 - \kappa(\mathbf{A}) \varepsilon} \|\mathbf{x}\|. [GolubVanLoan2013, Theorem 2.6.2]. Result: linear-system-perturbation

NLAlib.norm_sub_le_pseudoConditionNumber_mul_of_add_mulVec_eq.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A E : Matrix n n 𝕜} (hA : IsUnit A) {ε : ℝ}
  (hE : specNorm E ≤ ε * specNorm A) (hε : pseudoConditionNumber A * ε < 1) {x y b f : n → 𝕜}
  (hx : A *ᵥ x = b) (hy : (A + E) *ᵥ y = b + f) (hf : ‖WithLp.toLp 2 f‖ ≤ ε * ‖WithLp.toLp 2 b‖) :
  ‖WithLp.toLp 2 (y - x)‖ ≤
    2 * ε * pseudoConditionNumber A / (1 - pseudoConditionNumber A * ε) * ‖WithLp.toLp 2 x‖

Full source on GitHub

Import NLAlib.Matrix.Perturbation.Inverse.