logo

Matrix Projection in Linear Algebra 📂Matrix Algebra

Matrix Projection in Linear Algebra

Definition

A square matrix $P \in \mathbb{C}^{m \times m}$ is a projector if $P^2 = P$.

Explanation

In algebraic terms, this is referred to as an idempotent, which similarly refers to an element like $a^2 = a$.

If $P$ is a projection, then $(I-P)^2 = I - 2P + P^2 = I - 2P + P = (I-P)$, so it can be known that $(I-P)$ is also a projection.

Such a projector $(I - P)$ is called the complementary projector of $P$.

Thinking of projection as a linear transformation geometrically, it’s like casting light on a geometric figure and obtaining its shadow. For example, a function like $f(x,y,z) := (x,y,0)$ shoots light towards the direction of the $z$ axis and represents the shadow that forms on the $xy$ plane. Projecting the shadow again yields the same result, hence the definition of $P^2 = P$ as a projector is sensible.

Properties

Projection $P \in \mathbb{C}^{m \times m}$ and its complementary projection $I-P$ satisfy the following properties:

(a) $\mathcal{C} (I-P) = \mathcal{N} (P)$

(b) $\mathcal{N} (1-P) = \mathcal{C} (P)$

(c) $\mathcal{N} (1-P) \cap \mathcal{N} (P) = \left\{ 0 \right\}$

(d) $\mathcal{C} (P) \cap \mathcal{N} (P) = \left\{ 0 \right\}$

(e) $\mathcal{C} (P) \oplus \mathcal{N} (P) = \mathbb{C}^{m}$

Proof

(a)(b)

It suffices to show that $\mathcal{C} ( I - P)$ and $\mathcal{N}(P)$ are inclusive of each other. For any vector $\mathbb{v} \in \mathbb{C}^{m}$,

$$ (I - P) \mathbb{v} = \mathbb{v} - P \mathbb{v} $$

If $\mathbb{v} \in \mathcal{N} (P)$, then $P \mathbb{v} = \mathbb{0}$, hence $(I - P) \mathbb{v} = \mathbb{v}$, i.e., $\mathbb{v} \in \mathcal{C} (I - P)$, thus

$$ \mathcal{N} (P) \subset \mathcal{C} (I - P) $$

If we let $\mathbb{w} \in \mathcal{C} (I-P)$, then any $\mathbb{v}$ satisfying $\mathbb{w} = (I - P) \mathbb{v}$ is also in $\mathcal{C} (I-P)$. Taking the projection $P$ on $\mathbb{w} = (I - P) \mathbb{v}$,

$$ P \mathbb{w} = P \mathbb{v} - P^2 \mathbb{v} = P \mathbb{v} - P \mathbb{v} = \mathbb{0} $$

Thus $\mathbb{w} \in \mathcal{N} (P)$, and therefore

$$ \mathcal{C} (I - P) \subset \mathcal{N} (P) $$

Hence (1) is proven, and since $P = I - (I- P)$, by regarding the complementary projection $(I - P)$ of projection $P$, (2) is immediately proven.

(c)(d)

Assume that $\mathbb{v} \in \mathcal{N} (I - P) \cap \mathcal{N} (P)$ is not the zero vector. However, since $\mathbb{v} \in \mathcal{N} (I - P)$, $(I-P) \mathbb{v} = \mathbb{0}$, and $\mathbb{v} \in \mathcal{N} (P)$,

$$ P \mathbb{v} = \mathbb{0} $$

Adding both sides yields $(I-P) \mathbb{v} + P \mathbb{v} = \mathbb{v} = \mathbb{0}$, which is a contradiction to the assumption.

Thus, (3) is proven, and (4) is immediately proven by (1) and (2).

(e)

By the definition of direct sum, it suffices to show existence, exclusivity, and uniqueness.

  • (i) Existence

    By (a), $\mathcal{N} (P) = \mathcal{C} (I - P)$, and for any vector $\mathbb{s} \in \mathbb{C}^{m}$, $P \mathbb{s} \in \mathcal{C}(P)$, and $(I - P)\mathbb{s} \in \mathcal{C} (I - P)$.

However, since $P \mathbb{s} + (I - P) \mathbb{s} = P \mathbb{s} + \mathbb{s} - P \mathbb{s} = s \in \mathbb{C}^{m}$, $\mathbb{s}$ can always be represented as the sum of $\mathcal{C}(P)$ and $\mathcal{C} (I - P)$.

  • (ii) Exclusivity

    Already proven in (d).

  • (iii) Uniqueness

    From the above (ii), for $s \in \mathbb{C}^{m}$,

    $$ \mathbb{s} = \mathbb{c}_{1} + \mathbb{n}_{1} = \mathbb{c}_{2} + \mathbb{n}_{2} $$

    There exist $\mathbb{c}_{1} , \mathbb{c}_{2} \in \mathcal{C}(P)$ and $\mathbb{n}_{1}, \mathbb{n}_{2} \in \mathcal{N}(P)$ satisfying it.

Let’s assume $\mathbb{c}_{1} \ne \mathbb{c}_{2} $ and $\mathbb{n}_{1} \ne \mathbb{n}_{2}$.

Multiplying both sides of $\mathbb{c}_{1} + \mathbb{n}_{1} = \mathbb{c}_{2} + \mathbb{n}_{2}$ by $P$,

$$ P\mathbb{c}_{1} + P\mathbb{n}_{1} = P\mathbb{c}_{2} + P\mathbb{n}_{2} $$

Meanwhile, since $\mathbb{n}_{1}, \mathbb{n}_{2} \in \mathcal{N} (P)$,

$$ P\mathbb{c}_{1} = P\mathbb{c}_{2} $$

Thus $P( \mathbb{c}_{1} - \mathbb{c}_{2} ) = \mathbb{0}$. By the definition of the null space, $( \mathbb{c}_{1} - \mathbb{c}_{2}) \in \mathcal{N}(P)$, and by the property of vector spaces, $( \mathbb{c}_{1} - \mathbb{c}_{2}) \in \mathcal{C}(P)$, which by (exclusivity) must mean $\mathbb{c}_{1} - \mathbb{c}_{2} = \mathbb{0}$.

This contradicts the assumption $\mathbb{c}_{1} \ne \mathbb{c}_{2}$, and similarly, $\mathbb{n}_{1} = \mathbb{n}_{2}$ being true can be shown.

See also