Oblique projections
Library · Source module
Oblique projections
An idempotent matrix \mathbf{P} projects onto its range along its kernel. It is an orthogonal projector exactly when its spectral norm is at most one; otherwise its norm is the secant of the largest principal angle between its range and the orthogonal complement of its kernel, and \mathbf{P} and \mathbf{I} - \mathbf{P} have the same norm. The oblique projector onto the column space of \mathbf{X} along the orthogonal complement of the column space of \mathbf{Y} is \mathbf{X}(\mathbf{Y}^{\mathsf{H}}\mathbf{X})^{-1}\mathbf{Y}^{\mathsf{H}}.
Main results
* IsIdempotentElem.trace_eq_rank: the trace of an idempotent matrix is its rank. * IsIdempotentElem.one_le_specNorm, IsIdempotentElem.isStarProjection_iff_specNorm_le_one. * IsIdempotentElem.specNorm_sq: \|\mathbf{P}\|_2^2 = 1 + \|\mathbf{P} - \mathbf{P}_{\mathbf{P}}\|_2^2 for a nonzero idempotent. * IsIdempotentElem.specNorm_one_sub: \|\mathbf{I} - \mathbf{P}\|_2 = \|\mathbf{P}\|_2 for a nontrivial idempotent. * IsIdempotentElem.pinv_eq_rangeProjector_conjTranspose_mul_rangeProjector: the pseudoinverse of an idempotent. * IsIdempotentElem.specNorm_mul_cos_principalAngle: the secant formula. * IsIdempotentElem.isUnit_conjTranspose_mul_of_range_le: the overlap of two bases adapted to an idempotent is invertible.
The two-bases spelling \mathbf{X}(\mathbf{Y}^{\mathsf{H}}\mathbf{X})^{-1}\mathbf{Y}^{\mathsf{H}} is NLAlib.obliqueProjector X Yᴴ (NLAlib.Matrix.Subspaces.ObliqueProjector), every rank; the six lemmas stated with it here are deprecated since 2026-10-15 for their restatements in NLAlib.Matrix.Subspaces.ObliqueProjector and NLAlib.Matrix.Subspaces.ObliqueBases.
Declarations
- IsIdempotentElem.isStarProjection_iff_specNorm_le_one
- IsIdempotentElem.isUnit_conjTranspose_mul_of_range_le
- IsIdempotentElem.mul_eq_of_range_le
- IsIdempotentElem.one_le_specNorm
- IsIdempotentElem.pinv_eq_rangeProjector_conjTranspose_mul_rangeProjector
- IsIdempotentElem.principalAngle_conjTranspose_lt
- IsIdempotentElem.specNorm_mul_cos_principalAngle
- IsIdempotentElem.specNorm_one_sub
- IsIdempotentElem.specNorm_sq
- IsIdempotentElem.trace_eq_rank