NLA Visualizations

Conditioning of Matrix I

Geometry of the image ellipse

Formulation

κ(x)xAx=AxAx\kappa(\mathbf{x})_{\mathbf{x} \mapsto A\mathbf{x}} = \frac{||A|| \cdot ||\mathbf{x}||}{||A\mathbf{x}||}
κ(A)=AA1\le \kappa(A) = ||A|| \cdot ||A^{-1}||

Core Idea

The unit circle in the domain R2\mathbb{R}^2 maps to an ellipse lying inside the plane Span(A) in R3\mathbb{R}^3.

  • The worst-case perturbation AδxA\delta\mathbf{x} always aligns with the long axis of the ellipse.
  • When AxA\mathbf{x} is near the short axis, Ax||A\mathbf{x}|| is small, so κ(x)\kappa(\mathbf{x}) is large.
  • Pointwise conditioning depends on both the input location x\mathbf{x} and the worst-case perturbation amplification.

Geometric Controls

45°

Position of x on the unit circle in the domain.

Domain (R²)
x
x = (0.71, 0.71)
||Ax||
1.458
κ(x)
1.372
Click & drag to rotate camera