ArticleslgStudy

mathematics

Idempotent matrix

Idempotent matrix is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Idempotent matrix rather than just read about it. In short: In linear algebra, an idempotent matrix is a matrix which, when multiplied by itself, yields itself. That is, the matrix A is idempotent if and only if A2=A.

Key takeaways

  • Idempotent matrix belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Idempotent matrix to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Idempotent matrix from memory before moving on to harder problems.

Reference excerpt

In linear algebra, an idempotent matrix is a matrix which, when multiplied by itself, yields itself. That is, the matrix A is idempotent if and only if A2=A. For this product A2 to be defined, A must necessarily be a square matrix. Viewed this way, idempotent matrices are idempotent elements of matrix rings.

Example Examples of 2×2 idempotent matrices are: [1001][3−61−2] Examples of 3×3 idempotent matrices are: [100010001][2−2−4−1341−2−3]

Real 2 × 2 case If a matrix (abcd) is idempotent, then

a=a2+bc, b=ab+bd, implying b(1−a−d)=0 so b=0 or d=1−a, c=ca+cd, implying c(1−a−d)=0 so c=0 or d=1−a, d=bc+d2. Thus, a necessary condition for a 2×2 matrix to be idempotent is that either it is diagonal or its trace equals 1. For idempotent diagonal matrices, a and d must be either 1 or 0. If b=c, the matrix (abb1−a) will be idempotent provided a2+b2=a, so a satisfies the quadratic equation

a2−a+b2=0, or (a−12)2+b2=14 which is a circle with center (1/2, 0) and radius 1/2. In terms of an angle θ,

A=12(1−cos⁡θsin⁡θsin⁡θ1+cos⁡θ) is idempotent. However, b=c is not a necessary condition: any matrix

(abc1−a) with a2+bc=a is idempotent.

Properties

Singularity and regularity The only non-singular idempotent matrix is the identity matrix; that is, if a non-identity matrix is idempotent, its number of independent rows (and columns) is less than its number of rows (and columns). This can be seen from writing A2=A, assuming that A has full rank (is non-singular), and pre-multiplying by A−1 to obtain A=IA=A−1A2=A−1A=I. When an idempotent matrix is subtracted from the identity matrix, the result is also idempotent. This holds since

(I−A)(I−A)=I−A−A+A2=I−A−A+A=I−A. If a matrix A is idempotent then for all positive integers n, An=A. This can be shown using proof by induction. Clearly we have the result for n=1, as A1=A. Suppose that Ak−1=A. Then, Ak=Ak−1A=AA=A, since A is idempotent. Hence by the principle of induction, the result follows.

Eigenvalues An idempotent matrix is always diagonalizable. Its eigenvalues are either 0 or 1: if 𝐱 is a non-zero eigenvector of some idempotent matrix A and λ its associated eigenvalue, then λ𝐱=A𝐱=A2𝐱=Aλ𝐱=λA𝐱=λ2𝐱, which implies λ∈{0,1}. This further implies that the determinant of an idempotent matrix is always 0 or 1. As stated above, if the determinant is equal to one, the matrix is invertible and is therefore the identity matrix.

Trace The trace of an idempotent matrix—the sum of the elements on its main diagonal—equals the rank of the matrix and thus is always an integer. This provides an easy way of computing the rank, or alternatively an easy way of determining the trace of a matrix whose elements are not specifically known (which is helpful in statistics, for example, in establishing the degree of bias in using a sample variance as an estimate of a population variance).

Relationships between idempotent matrices In regression analysis, the matrix M=I−X(X′X)−1X′ is known to produce the residuals e from the regression of the vector of dependent variables y on the matrix of covariates X. (See the section on Applications.) Now, let X1 be a matrix formed from a subset of the columns of X, and let M1=I−X1(X1′X1)−1X1′. It is easy to show that both M and M1 are idempotent, but a somewhat surprising fact is that MM1=M. This is because MX1=0, or in other words, the residuals from the regression of the columns of X1 on X are 0 since X1 can be perfectly interpolated as it is a subset of X (by direct substitution it is also straightforward to show that MX=0). This leads to two other important results: one is that (M1−M) is symmetric and idempotent, and the other is that (M1−M)M=0, i.e., (M1−M) is orthogonal to M. These results play a key role, for example, in the derivation of the F test. Any similar matrices of an idempotent matrix are also idempotent. Idempotency is conserved under a change of basis. This can be shown through multiplication of the transformed matrix SAS−1 with A being idempotent: (SAS−1)2=(SAS−1)(SAS−1)=SA(S−1S)AS−1=SA2S−1=SAS−1.

Applications Idempotent matrices arise frequently in regression analysis and econometrics. For example, in ordinary least squares, the regression problem is to choose a vector β of coefficient estimates so as to minimize the sum of squared residuals (mispredictions) ei: in matrix form,

Minimize (y−Xβ)𝖳(y−Xβ) where y is a vector of dependent variable observations, and X is a matrix each of whose columns is a column of observations on one of the independent variables. The resulting estimator is

β̂=(X𝖳X)−1X𝖳y where superscript T indicates a transpose, and the vector of residuals is

ê=y−Xβ̂=y−X(X𝖳X)−1X𝖳y=[I−X(X𝖳X)−1X𝖳]y=My. Here both M and X(X𝖳X)−1X𝖳(the latter being known as the hat matrix) are idempotent and symmetric matrices, a fact which allows simplification when the sum of squared residuals is computed:

ê𝖳ê=(My)𝖳(My)=y𝖳M𝖳My=y𝖳MMy=y𝖳My. The idempotency of M plays a role in other calculations as well, such as in determining the variance of the estimator β̂. An idempotent linear operator P is a projection operator on the range space ⁠R(P)⁠ along its null space ⁠N(P)⁠. P is an orthogonal projection operator if and only if it is idempotent and symmetric.

See also Idempotence Nilpotent Projection (linear algebra) Hat matrix

References

Worked examples

Example 1 — a first encounter with Idempotent matrix

Start with the simplest possible case. Write down what Idempotent matrix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Idempotent matrix before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Idempotent matrix ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Idempotent matrix

In research
Idempotent matrix appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Idempotent matrix in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Idempotent matrix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Linear algebra, Matrices (mathematics), Regression analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Idempotent matrix outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Idempotent matrix” →

How to study Idempotent matrix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Idempotent matrix means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Idempotent matrix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Idempotent matrix in simple terms?

In linear algebra, an idempotent matrix is a matrix which, when multiplied by itself, yields itself. That is, the matrix A is idempotent if and only if A2=A.

Why does Idempotent matrix matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Idempotent matrix?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Idempotent matrix.

Tags

  • Linear algebra
  • Matrices (mathematics)
  • Regression analysis

Keep exploring