HOME

TheInfoList



OR:

In
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as :a_1x_1+\cdots +a_nx_n=b, linear maps such as :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrix (mathemat ...
, an idempotent matrix is a
matrix Matrix (: matrices or matrixes) or MATRIX may refer to: Science and mathematics * Matrix (mathematics), a rectangular array of numbers, symbols or expressions * Matrix (logic), part of a formula in prenex normal form * Matrix (biology), the m ...
which, when multiplied by itself, yields itself. That is, the matrix A is idempotent if and only if A^2 = A. For this product A^2 to be defined, A must necessarily be a
square matrix In mathematics, a square matrix is a Matrix (mathematics), matrix with the same number of rows and columns. An ''n''-by-''n'' matrix is known as a square matrix of order Any two square matrices of the same order can be added and multiplied. Squ ...
. Viewed this way, idempotent matrices are idempotent elements of matrix rings.


Example

Examples of 2 \times 2 idempotent matrices are: \begin 1 & 0 \\ 0 & 1 \end \qquad \begin 3 & -6 \\ 1 & -2 \end Examples of 3 \times 3 idempotent matrices are: \begin 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end \qquad \begin 2 & -2 & -4 \\ -1 & 3 & 4 \\ 1 & -2 & -3 \end


Real 2 × 2 case

If a matrix \begina & b \\ c & d \end is idempotent, then * a = a^2 + 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 + d^2. Thus, a necessary condition for a 2\times2 matrix to be idempotent is that either it is
diagonal In geometry, a diagonal is a line segment joining two vertices of a polygon or polyhedron, when those vertices are not on the same edge. Informally, any sloping line is called diagonal. The word ''diagonal'' derives from the ancient Greek � ...
or its trace equals 1. For idempotent diagonal matrices, a and d must be either 1 or 0. If b=c, the matrix \begina & b \\ b & 1 - a \end will be idempotent provided a^2 + b^2 = a , so ''a'' satisfies the
quadratic equation In mathematics, a quadratic equation () is an equation that can be rearranged in standard form as ax^2 + bx + c = 0\,, where the variable (mathematics), variable represents an unknown number, and , , and represent known numbers, where . (If and ...
:a^2 - a + b^2 = 0 , or \left(a - \frac\right)^2 + b^2 = \frac which is a
circle A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
with center (1/2, 0) and radius 1/2. In terms of an angle θ, :A = \frac\begin1 - \cos\theta & \sin\theta \\ \sin\theta & 1 + \cos\theta \end is idempotent. However, b=c is not a necessary condition: any matrix :\begina & b \\ c & 1 - a\end with a^2 + bc = a is idempotent.


Properties


Singularity and regularity

The only non-
singular Singular may refer to: * Singular, the grammatical number that denotes a unit quantity, as opposed to the plural and other forms * Singular or sounder, a group of boar, see List of animal names * Singular (band), a Thai jazz pop duo *'' Singula ...
idempotent matrix is the
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
; 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 A^2 = A, assuming that has full rank (is non-singular), and pre-multiplying by A^ to obtain A = IA = A^A^2 = A^A = 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+A^2 = I-A-A+A = I-A. If a matrix is idempotent then for all positive integers n, A^n = A. This can be shown using proof by induction. Clearly we have the result for n = 1, as A^1 = A. Suppose that A^ = A. Then, A^k = A^A = AA = A, since is idempotent. Hence by the principle of induction, the result follows.


Eigenvalues

An idempotent matrix is always diagonalizable. Its
eigenvalue In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s are either 0 or 1: if \mathbf is a non-zero eigenvector of some idempotent matrix A and \lambda its associated eigenvalue, then \lambda \mathbf = A \mathbf = A^2\mathbf = A \lambda \mathbf = \lambda A \mathbf = \lambda^2 \mathbf , which implies \lambda \in \ . This further implies that the
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
of an idempotent matrix is always 0 or 1. As stated above, if the determinant is equal to one, the matrix is
invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
and is therefore the
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
.


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 Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
, for example, in establishing the degree of
bias Bias is a disproportionate weight ''in favor of'' or ''against'' an idea or thing, usually in a way that is inaccurate, closed-minded, prejudicial, or unfair. Biases can be innate or learned. People may develop biases for or against an individ ...
in using a
sample variance In probability theory and statistics, variance is the expected value of the squared deviation from the mean of a random variable. The standard deviation (SD) is obtained as the square root of the variance. Variance is a measure of dispersion, ...
as an estimate of a population variance).


Relationships between idempotent matrices

In regression analysis, the matrix M = I - X(X'X)^ X' 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 X_1 be a matrix formed from a subset of the columns of X, and let M_1 = I - X_1 (X_1'X_1)^X_1'. It is easy to show that both M and M_1 are idempotent, but a somewhat surprising fact is that M M_1 = M. This is because M X_1 = 0, or in other words, the residuals from the regression of the columns of X_1 on X are 0 since X_1 can be perfectly interpolated as it is a subset of X (by direct substitution it is also straightforward to show that M X = 0). This leads to two other important results: one is that (M_1 - M) is symmetric and idempotent, and the other is that (M_1 - M) M = 0, i.e., (M_1 - 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 S A S^ with A being idempotent: (S A S^)^2 =(S A S^)(S A S^) = S A (S^S) A S^ = S A^2 S^ = S A S^ .


Applications

Idempotent matrices arise frequently in regression analysis and
econometrics Econometrics is an application of statistical methods to economic data in order to give empirical content to economic relationships. M. Hashem Pesaran (1987). "Econometrics", '' The New Palgrave: A Dictionary of Economics'', v. 2, p. 8 p. 8 ...
. For example, in
ordinary least squares In statistics, ordinary least squares (OLS) is a type of linear least squares method for choosing the unknown parameters in a linear regression In statistics, linear regression is a statistical model, model that estimates the relationship ...
, the regression problem is to choose a vector of coefficient estimates so as to minimize the sum of squared residuals (mispredictions) ''e''''i'': in matrix form, : Minimize (y - X\beta)^\textsf(y - X\beta) where y is a vector of
dependent variable A variable is considered dependent if it depends on (or is hypothesized to depend on) an independent variable. Dependent variables are studied under the supposition or demand that they depend, by some law or rule (e.g., by a mathematical functio ...
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 :\hat\beta = \left(X^\textsfX\right)^X^\textsfy where superscript ''T'' indicates a
transpose In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
, and the vector of residuals is : \hat = y - X \hat\beta = y - X\left(X^\textsfX\right)^X^\textsfy = \left - X\left(X^\textsfX\right)^X^\textsf\right = My. Here both M and X\left(X^\textsfX\right)^X^\textsf(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: :\hat^\textsf\hat = (My)^\textsf(My) = y^\textsfM^\textsfMy = y^\textsfMMy = y^\textsfMy. The idempotency of M plays a role in other calculations as well, such as in determining the variance of the estimator \hat. An idempotent linear operator P is a projection operator on the range space along its null space . P is an orthogonal projection operator if and only if it is idempotent and symmetric.


See also

*
Idempotence Idempotence (, ) is the property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application. The concept of idempotence arises in a number of pl ...
*
Nilpotent In mathematics, an element x of a ring (mathematics), ring R is called nilpotent if there exists some positive integer n, called the index (or sometimes the degree), such that x^n=0. The term, along with its sister Idempotent (ring theory), idem ...
*
Projection (linear algebra) In linear algebra and functional analysis, a projection is a linear transformation P from a vector space to itself (an endomorphism) such that P\circ P=P. That is, whenever P is applied twice to any vector, it gives the same result as if it ...
* Hat matrix


References

{{Matrix classes Linear algebra Regression analysis Matrices (mathematics)