Skip to main content

Pseudoinverse

  • Situation: The shortest best-fit coefficient vector
  • Learning targets: Pseudoinverse · Geometry · Full rank formulas
  • Convention: Declared field ℝ or ℂ; column vectors; rightmost matrix first; dimensionless data unless units stated · Finite-dimensional inner product spaces; first slot linear, second conjugate-linear; standard inner product for numerical examples

Core concepts​

  • Pseudoinverse: A†b as the unique minimum-norm least-squares solution; exact inversion only when the target reachable
A target projected onto the reachable range and then mapped backward to a minimum-norm input
Figure 1. The shortest best-fit coefficient vector
  • Geometry: AA† projecting onto range A; A†A projecting onto (ker A)⊥; ordinary inverse recovered for invertible square A

  • Full rank formulas: (AA)⁻¹A for full column rank; A*(AA*)⁻¹ for full row rank; neither formula unconditional

  • SVD rule: invert positive singular values, leave zeros zero; tiny singular values amplifying noise, thresholding requiring an explicit tolerance

Worked example​

u=(1,1,0)T,v=(1,0,1)T,U={(x,y,z)T:x−y−z=0},e3=(0,0,1)Tu=(1,1,0)^T,\quad v=(1,0,1)^T,\quad U=\{(x,y,z)^T:x-y-z=0\},\quad e_3=(0,0,1)^T b=(2,0,1)T,n=(1,−1,−1)T,C=[u v],H=CTC=[2112]b=(2,0,1)^T,\quad n=(1,-1,-1)^T,\quad C=[u\ v],\quad H=C^TC=\begin{bmatrix}2&1\\1&2\end{bmatrix} q1=u/2,q2=(1,−1,2)T/6,Q0=[q1 q2],P=I−nnT/3q_1=u/\sqrt2,\quad q_2=(1,-1,2)^T/\sqrt6,\quad Q_0=[q_1\ q_2],\quad P=I-nn^T/3 C†=13[12−11−12],D=[u v u],D†b=(1/6,4/3,1/6)TC^\dagger=\frac13\begin{bmatrix}1&2&-1\\1&-1&2\end{bmatrix},\quad D=[u\ v\ u],\quad D^\dagger b=(1/6,4/3,1/6)^T

Practice​

  • Preparation: Paper or calculator; example inputs and ordered bases; exercise cases below as the calculation dataset
  • Prediction: Result, dimensions and applicable conditions before calculation
  • Calculation: First two exercises by hand → substitution into defining equations → exact and rounded checks separately
  • Record: Assumed inputs and calculated results; no physical measurements; optional software output recorded separately
  • Next step: Inputs, basis order and checked identities retained for the next chapter
CasePredictionExact result and reasonSoftware check
C†bC^\dagger b
All least-squares coefficients for D
  • Optional extension: One changed input or removed hypothesis → recalculation → comparison of the conclusion

Exercises​

  1. Problem: C†bC^\dagger b
  2. Problem: All least-squares coefficients for D
  3. Problem: Minimum-norm choice in that family
Answers and checks
  1. Answer: (1/3,4/3)T(1/3,4/3)^T
  2. Answer: (a,b2,c)=(t,4/3,1/3−t),t∈R(a,b_2,c)=(t,4/3,1/3-t),\quad t\in\mathbb R
  3. Answer: t2+(1/3−t)2+16/9=2(t−1/6)2+11/6⇒t=1/6t^2+(1/3-t)^2+16/9=2(t-1/6)^2+11/6\Rightarrow t=1/6

Connections​