Mehmet Emre Tiryaki
Back to Notes

Generalized Inverses

Generalized Inverses

For A∈Mm,nA \in M_{m,n}, B∈Mn,mB \in M_{n,m} consider the conditions

  1. ABA=AABA = A,
  2. ABAB is Hermitian,
  3. BAB=BBAB = B,
  4. BABA is Hermitian.

BB is a {1}\{1\}-generalized inverse if it satisfies 1, a {1,2}\{1,2\}-generalized inverse if it satisfies 1 and 2, and so on. (Penrose's original numbering swaps conditions 2 and 3.)

Solving Linear Systems

Let A∈Mm,nA \in M_{m,n}, b∈Cmb \in \mathbb{C}^m and Ax=bAx = b consistent. If BB is a {1}\{1\}-generalized inverse of AA, then x=Bbx = Bb solves it.

Proof Let z∈Cnz \in \mathbb{C}^n with Az=bAz = b. Then A(Bb)=ABAz=Az=bA(Bb) = ABAz = Az = b.

Least Squares

If BB is a {1,2}\{1,2\}-generalized inverse of AA, the minimizers of ∥Ax−b∥2\|Ax - b\|_2 are exactly Bb+null(A)Bb + \mathrm{null}(A).

Proof For any yy,

∥A(Bb+y)−b∥22=[(AB−I)b+Ay]∗[(AB−I)b+Ay]=∥(AB−I)b∥22+∥Ay∥22+2 Re(y∗A∗(AB−I)b)\|A(Bb + y) - b\|_2^2 = \big[(AB - I)b + Ay\big]^* \big[(AB - I)b + Ay\big] = \|(AB - I)b\|_2^2 + \|Ay\|_2^2 + 2\,\mathrm{Re}\big(y^*A^*(AB - I)b\big)

The cross term vanishes, since ABAB Hermitian gives

[y∗A∗(AB−I)b]∗=b∗(AB−I)Ay=b∗(ABAy−Ay)=0\big[y^*A^*(AB - I)b\big]^* = b^*(AB - I)Ay = b^*(ABAy - Ay) = 0

So the value is ∥(AB−I)b∥22+∥Ay∥22\|(AB - I)b\|_2^2 + \|Ay\|_2^2, minimized exactly when Ay=0Ay = 0.

Moore-Penrose Inverse

A†A^\dagger is the unique {1,2,3,4}\{1,2,3,4\}-generalized inverse.

Uniqueness Let B,CB, C both be {1,2,3,4}\{1,2,3,4\}-inverses of AA. Then

AB=ACAB=C∗A∗B∗A∗=C∗(ABA)∗=C∗A∗=ACAB = ACAB = C^*A^*B^*A^* = C^*(ABA)^* = C^*A^* = AC BA=BACA=A∗B∗A∗C∗=(ABA)∗C∗=A∗C∗=CABA = BACA = A^*B^*A^*C^* = (ABA)^*C^* = A^*C^* = CA

so B=BAB=CAB=CAC=CB = BAB = CAB = CAC = C.

Existence

  1. For a "diagonal" Σ∈Mm,n\Sigma \in M_{m,n} let Σ†∈Mn,m\Sigma^\dagger \in M_{n,m} have Σii†=1/Σii\Sigma^\dagger_{ii} = 1/\Sigma_{ii} where Σii≠0\Sigma_{ii} \neq 0 and 0 elsewhere. Then Σ†\Sigma^\dagger is the Moore-Penrose inverse of Σ\Sigma.
  2. If Z∈Mn,mZ \in M_{n,m} is the Moore-Penrose inverse of Y∈Mm,nY \in M_{m,n} and U∈MmU \in M_m, V∈MnV \in M_n are unitary, then UYV∗UYV^* has Moore-Penrose inverse VZU∗VZU^*.
  3. Invoke the SVD, A=UΣV∗⇒A†=VΣ†U∗A = U\Sigma V^* \Rightarrow A^\dagger = V\Sigma^\dagger U^*.

So with rank(A)=k\mathrm{rank}(A) = k,

A†=VΣ†U∗=∑i=1k1σiviui∗A^\dagger = V\Sigma^\dagger U^* = \sum_{i=1}^{k} \frac{1}{\sigma_i} v_i u_i^*

Minimum Norm Least Squares

Among the solutions to min⁡x∈Cn∥Ax−b∥2\min_{x \in \mathbb{C}^n} \|Ax - b\|_2, x∗=A†bx^* = A^\dagger b is the unique one of minimum Euclidean norm.

Proof

  1. A†A^\dagger is a {1,2}\{1,2\}-inverse, so the solutions are A†b+null(A)A^\dagger b + \mathrm{null}(A). Let A=UΣV∗A = U\Sigma V^* with rank(A)=k\mathrm{rank}(A) = k.
  2. null(A)=span{vk+1,…,vn}\mathrm{null}(A) = \mathrm{span}\{v_{k+1}, \ldots, v_n\} and range(A†)=span{v1,…,vk}\mathrm{range}(A^\dagger) = \mathrm{span}\{v_1, \ldots, v_k\} since A†=VΣ†U∗A^\dagger = V\Sigma^\dagger U^*.
  3. So y⊥A†by \perp A^\dagger b for all y∈null(A)y \in \mathrm{null}(A).
  4. Now ∥A†b+y∥22=∥A†b∥22+∥y∥22\|A^\dagger b + y\|_2^2 = \|A^\dagger b\|_2^2 + \|y\|_2^2, minimized only at y=0y = 0.

Full Rank

If A∈Mm,nA \in M_{m,n} has full column rank, A†=(A∗A)−1A∗A^\dagger = (A^*A)^{-1}A^*. If it has full row rank, A†=A∗(AA∗)−1A^\dagger = A^*(AA^*)^{-1}.