Matrix Square Root — Definition, Formula & Example
A matrix square root of a square matrix A is a matrix X that gives back A when you multiply it by itself, so XX = A. A matrix can have several square roots, exactly one, or none at all.
Let be an matrix. Any matrix satisfying is a square root of . Suppose has no eigenvalues on the closed negative real axis . Then has exactly one square root whose eigenvalues all have positive real part. This is the principal square root, written . If is symmetric positive semidefinite, it has a unique symmetric positive semidefinite square root. Some matrices, such as , have no square root.
Key Formula
Where:
- = A diagonalizable square matrix with nonnegative eigenvalues
- = Invertible matrix whose columns are eigenvectors of A
- = Diagonal matrix of the eigenvalues of A
- = The eigenvalues of A, listed in the same order as the columns of P
Worked Example
Problem: Find a square root of . Then show that has more than one square root.
Step 1: Diagonalize A. The vector (1, 1) is an eigenvector with eigenvalue 9, and (1, −1) is an eigenvector with eigenvalue 1. Put these vectors in the columns of P. The adjugate formula gives P inverse.
Step 2: Take the nonnegative square root of each eigenvalue. Then multiply out the formula. This gives the principal square root, whose eigenvalues are 3 and 1.
Step 3: Now use −1 in place of 1 for the second eigenvalue. This is allowed because (−1)² = 1. You get a different matrix that also squares to A.
Answer: The principal square root is . The matrix is also a square root. Their negatives are square roots too, so A has four square roots in total.
Why It Matters
In statistics, the square root of a covariance matrix converts independent random draws into correlated ones. Monte Carlo simulations in finance and engineering rely on this step. Matrix square roots also appear in solving the system of differential equations x'' = −Ax, which models coupled springs.
Common Mistakes
Mistake: Taking the square root of each entry, for example writing the square root of [[5, 4], [4, 5]] as [[√5, 2], [2, √5]].
Correction: Matrix multiplication mixes rows with columns, so entrywise roots almost never work. Here . Take square roots of the eigenvalues instead, and always check that .
