A square matrix such that A=A² is called an idempotent matrix.
Here are some well-known results about idempotent matrices.
(1) If A is idempotent, then I - A and A^(T) are idempotent matrices,
where I is the identity matrix.
(2) If D is a diagonal matrix with 1's and 0's, then
A = MDM⁻¹ is idempotent for any invertible matrix M.
(3) Solving A = A² for A is 2×2 matrix we obtain
A=(1/2)[1-cosθ sinθ/
sinθ 1+cosθ]
A is idempotent.
(Similary for higher orders.)
(4) A = A² if and only if rk(A) = tr(A) and rk(I - A) = tr(I - A).
(5) M=I_{n} - [X](X^(T) [X])⁻¹[X]^(T) is idempotent, where
[X] is any n×k full rank matrix( not necessary a square matrix)
(6) If A²=kA , then (1/k)A is idempotent,( k is not 0 ).