NLA-lib Explorer

NLAlib.norm_sub_mul_norm_le_pseudoConditionNumber_mul

Library · theorem

Relative forward error from the relative residual, without divisions: if \mathbf{A}\mathbf{x} = \mathbf{b} with \mathbf{A} invertible, then for any \mathbf{y}, \|\mathbf{x} - \mathbf{y}\| \, \|\mathbf{b}\| \le \kappa(\mathbf{A}) \, \|\mathbf{b} - \mathbf{A}\mathbf{y}\| \, \|\mathbf{x}\|. [GolubVanLoan2013, §2.6.4].

NLAlib.norm_sub_mul_norm_le_pseudoConditionNumber_mul.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : IsUnit A) {x b : n → 𝕜}
  (hx : A *ᵥ x = b) (y : n → 𝕜) :
  ‖WithLp.toLp 2 (x - y)‖ * ‖WithLp.toLp 2 b‖ ≤
    pseudoConditionNumber A * ‖WithLp.toLp 2 (b - A *ᵥ y)‖ * ‖WithLp.toLp 2 x‖

Full source on GitHub

Import NLAlib.Matrix.Perturbation.Inverse.