Square root of a 2 by 2 matrix

From testwiki
Jump to navigation Jump to search

A square root of a 2×2 matrix Template:Mvar is another 2×2 matrix Template:Mvar such that Template:Math, where Template:Math stands for the matrix product of Template:Mvar with itself. In general, there can be zero, two, four, or even an infinitude of square-root matrices. In many cases, such a matrix Template:Mvar can be obtained by an explicit formula.

Square roots that are not the all-zeros matrix come in pairs: if Template:Mvar is a square root of Template:Mvar, then Template:Math is also a square root of Template:Mvar, since Template:Math.

A 2×2 matrix with two distinct nonzero eigenvalues has four square roots. A positive-definite matrix has precisely one positive-definite square root.

A general formula

The following is a general formula that applies to almost any 2 × 2 matrix.Template:R Let the given matrix be M=(ABCD), where Template:Mvar, Template:Mvar, Template:Mvar, and Template:Mvar may be real or complex numbers. Furthermore, let Template:Math be the trace of Template:Mvar, and Template:Math be its determinant. Let Template:Mvar be such that Template:Math, and Template:Mvar be such that Template:Math. That is, s=±δ,t=±τ+2s. Then, if Template:Math, a square root of Template:Mvar is R=1t(A+sBCD+s)=1t(M+sI).

Indeed, the square of Template:Mvar is R2=1t2(A2+BC+2sA+s2AB+BD+2sBCA+DC+2sCCB+D2+2sD+s2)=1t2(A2+BC+2sA+AD−BCAB+BD+2sBAC+CD+2sCBC+D2+2sD+AD−BC)=1A+D+2s(A(A+D+2s)B(A+D+2s)C(A+D+2s)D(A+D+2s))=M.

Note that Template:Mvar may have complex entries even if Template:Mvar is a real matrix; this will be the case, in particular, if the determinant Template:Mvar is negative.

The general case of this formula is when Template:Mvar is nonzero, and Template:Math, in which case Template:Mvar is nonzero, and Template:Mvar is nonzero for each choice of sign of Template:Mvar. Then the formula above will provide four distinct square roots Template:Mvar, one for each choice of signs for Template:Mvar and Template:Mvar.

Special cases of the formula

If the determinant Template:Mvar is zero, but the trace Template:Mvar is nonzero, the general formula above will give only two distinct solutions, corresponding to the two signs of Template:Mvar. Namely, R=±1t(ABCD)=±1tM, where Template:Mvar is any square root of the trace Template:Mvar.

The formula also gives only two distinct solutions if Template:Mvar is nonzero, and Template:Math (the case of duplicate eigenvalues), in which case one of the choices for Template:Mvar will make the denominator Template:Mvar be zero. In that case, the two roots are R=±1t(A+sBCD+s)=±1t(M+sI), where Template:Mvar is the square root of Template:Mvar that makes Template:Math nonzero, and Template:Mvar is any square root of Template:Math.

The formula above fails completely if Template:Mvar and Template:Mvar are both zero; that is, if Template:Math, and Template:Math, so that both the trace and the determinant of the matrix are zero. In this case, if Template:Mvar is the null matrix (with Template:Math), then the null matrix is also a square root of Template:Mvar, as is any matrix R=(00c0)andR=(0b00), where Template:Mvar and Template:Mvar are arbitrary real or complex values. Otherwise Template:Mvar has no square root.

Formulas for special matrices

Idempotent matrix

If Template:Mvar is an idempotent matrix, meaning that Template:Math, then if it is not the identity matrix, its determinant is zero, and its trace equals its rank, which (excluding the zero matrix) is Template:Math. Then the above formula has Template:Math and Template:Math, giving Template:Mvar and Template:Math as two square roots of Template:Mvar.

Exponential matrix

If the matrix Template:Mvar can be expressed as real multiple of the exponent of some matrix Template:Mvar, M=rexp⁡(A), then two of its square roots are ±rexp⁡(12A). In this case the square root is real.Template:R

Diagonal matrix

If Template:Mvar is diagonal (that is, Template:Math), one can use the simplified formula R=(a00d), where a=±A, and d=±D. This, for the various sign choices, gives four, two, or one distinct matrices, if none of, only one of, or both Template:Mvar and Template:Mvar are zero, respectively.

Identity matrix

Because it has duplicate eigenvalues, the 2×2 identity matrix (1001) has infinitely many symmetric rational square roots given by 1t(srr−s) and (±100±1), where Template:Math are any complex numbers such that r2+s2=t2.Template:R

Matrix with one off-diagonal zero

If Template:Mvar is zero, but Template:Mvar and Template:Mvar are not both zero, one can use R=(a0Ca+dd).

This formula will provide two solutions if Template:Math or Template:Math or Template:Math, and four otherwise. A similar formula can be used when Template:Mvar is zero, but Template:Mvar and Template:Mvar are not both zero.

Real matrices with real square roots

The algebra Template:Math of 2×2 real matrices has three types of planar subalgebras. Each subalgebra admits the exponential map. If p=exp⁡(q), then ±exp⁡(q2) are square roots of Template:Mvar. The condition that the matrix is the image under exp limits it to half the plane of dual numbers, and to a quarter of the plane of split complex numbers, but does not constrain ordinary complex planes since the exponential mapping covers them. In the split-complex case there are two more square roots of Template:Mvar since each quadrant contains one.

References

  1. ↑ Template:Citation Cite error: <ref> tag with name "Bernard1" defined in <references> is not used in prior text.
  2. ↑ Template:Citation Cite error: <ref> tag with name "Harkin2" defined in <references> is not used in prior text.
  3. ↑ Template:Citation Cite error: <ref> tag with name "Mitchell" defined in <references> is not used in prior text.