Idempotent — Definition, Formula & Examples
Idempotent describes an element that, when applied to itself, gives back the same element. For matrices, a matrix A is idempotent if multiplying it by itself yields A again: A² = A.
A square matrix is idempotent if and only if , where denotes the standard matrix product . More generally, an element of a ring or algebra is idempotent if .
Key Formula
Where:
- = A square matrix
- = The matrix product A · A
How It Works
To check whether a matrix is idempotent, compute the product and see if the result equals . Every idempotent matrix has eigenvalues that are either 0 or 1. The identity matrix and the zero matrix are trivially idempotent. In applied settings, idempotent matrices arise naturally as projection matrices, which project vectors onto a subspace — applying the projection twice has the same effect as applying it once.
Worked Example
Problem: Determine whether the matrix A is idempotent, where A = [[1, 0], [0, 0]].
Compute A²: Multiply A by itself using standard matrix multiplication.
Compare A² with A: Since every entry of A² matches the corresponding entry of A, we have A² = A.
Answer: A is idempotent because A² = A.
Why It Matters
Idempotent matrices appear throughout statistics and data science as projection matrices in linear regression — the hat matrix that maps observed values to fitted values is idempotent. Recognizing idempotency simplifies proofs about estimator properties and helps verify that a transformation truly acts as a projection.
Common Mistakes
Mistake: Assuming every idempotent matrix must be the identity or the zero matrix.
Correction: Many non-trivial idempotent matrices exist. Any matrix that projects onto a proper subspace (not the whole space and not {0}) is idempotent but is neither I nor O.
