The Square and NTH Roots of Square Matrices: Taran Lynn 2014
The Square and NTH Roots of Square Matrices: Taran Lynn 2014
√ of Square Matrices
B= A
Taran Lynn
2014∗
Contents
1 Abstract ii
7 Conclusion 12
8 Bibliography 13
∗
Exact date lost due accidental to LaTeX recompilation.
i
Taran Lynn MATH 45 - Steve Jackson 2014
1 Abstract
This paper details methods for finding the nth roots of matrices and their relation to linear
transformations. The nth primary root of matrix A is matrix B that has all positive eigenvalues and
meets the condition that B 2 = A. The main method of computation is through the diagonalization
of matrices. Other methods include using the Jordan normal form and the Babylonian method.
nth roots of matrices can also be used to find linear transformations whose repeated application
to a vector results in a desired linear transformation. This use for finding linear transformations
may have potential applications in computer graphics and other areas of science.
Page ii of 13
Taran Lynn MATH 45 - Steve Jackson 2014
You may notice my use of the term “the principal square root”. √ For real non-negative numbers
this is the positive square root. For a negative real number x it is i |x|. For matrices this number
becomes much harder to define, as their is no (obvious) guarantee that square roots of a matrix
with non-negative eigenvalues exist. We can also extend the idea of square roots to nth roots.
We can use these ideas of roots to introduce rational powers to matrices. For example let A be
an n × n matrix, then
a, b ∈ Z
a, b > 0
( )a
Aa/b = A1/b
Page 1 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
(( )a )−1
−a/b 1/b
A = A
These powers of square matrices are thus relatively simple to find after finding the matrix’s roots.
Page 2 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
( )
da+1
1 + 0d1 + · · · + 0d1 ( 0 ) ··· 0
0 0d2 + da+1 + · · · + 0d ··· 0
2 2
= .. .. ..
. . .
( )
0 0 ··· 0dn + 0dn + · · · + da+1
n
a+1
d1 0 ··· 0
0 da+1
··· 0
2
= .. .. ..
. . .
0 0 ··· da+1
n
Page 3 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
A = P DP −1
A2 = (P DP −1 )(P DP −1 )
= P D(P −1 P )DP −1
= P DIDP −1
= P D2 P −1
A3 = (P D2 P −1 )(P DP −1 )
= P D2 (P −1 P )DP −1
= P D2 IDP −1
= P D3 P −1
..
.
A = (P Dn−1 P −1 )(P DP −1 )
n
= P Dn−1 (P −1 P )DP −1
= P Dn−1 IDP −1
= P Dn P −1
B = P EP −1
B n = P E n P −1
= P DP −1
=A
Page 4 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
Page 5 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
We can use a similar approach to the one we used with diagonalization to find the following
theorem to be true
Theorem 3
If an n × n matrix A is similar to E, an n × n matrix B is similar to F , F is an nth root
of E, and A and B have the same similarity matrix P , then B is an nth root of A. A more
direct notation for this is
( )
A = P EP −1 ∧ B = P F P −1 ∧ F n = E =⇒ (B n = A)
Jordan forms are a special case of this, where if A = P JP −1 and B = P J 1/n P −1 , then
B n = A.
We can also find that an n × n Jordan matrix J taken to the ath power is equal to its Jordan
blocks taken to the ath power. That is
J1
J2
J = ..
.
Js
J1a
J2a
Ja = ...
a
Js
Page 6 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
Coupled with the fact that any matrix is similar to some Jordan matrix this makes it easy to
find roots of non-diagonalizable matrices. To see why this is true we can square a matrix
[ ]
a b
A=
0 a
[( ) ]
2
a + 0 (ab
( 2 + ab)
)
A2 =
0 a +0
[ ]
a2 2ab
=
0 a2
So if we take
A2 = B
[ ]
c 1
B=
0 c
then
a2 = c
√
a= c
2ab = 1
1
b=
2a
1
= √
2 c
[√ ( √ )]
c 1/ √2 c
A=
0 c
We can now find square roots of any square matrix with eigenvalues that have a maximum duplicity
of 2, since we can find the square root of its Jordan matrix. Note that the previous case only works
for matrices with one unique eigenvalue. This doesn’t matter, however, since matrices with two
unique eigenvalues can already be diagonalized. Similar methods can be used for higher order
matrices and roots.
Page 7 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
x≥0
a0 ≈ x
( )
1 x
an+1 = an +
2 an
√
lim an = x
n→∞
X ∈ Rn
A0 = In
( )
1 X
An+1 = An +
2 An
lim An = X 1/2
n→∞
This method is very volatile and can diverge from the square root under many circumstances.
These circumstances are very hard to predict. However, this method is also very fast since it
requires only a few operations each iteration.
B 5⃗x = A⃗x
Page 8 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
B5 = A
T : Rn 7→ Rn
T (⃗x) = A⃗x
S : Rn 7→ Rn
S(⃗x) = A1/n⃗x
then
( ( ( ))
)) (
S S · · · S (⃗x) = A 1/n
A1/n
· · · A (⃗x)
1/n
= (A1/n )n⃗x
= A⃗x
= T (⃗x)
And so we can find a transformation S that when applied to ⃗x n times results in T (⃗x).
6.0.1 Example
It would probably be helpful to demonstrate this effect in action.
T : R2 7→ R2
T (⃗x) = A⃗x
[ ]
2 −1
A=
1 2
[ ][ ][ ]
1 1 2−i 0 0.5 −0.5i
=
i −i 0 2 + i 0.5 0.5i
Page 9 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
y 3
~x
1
T (~x)
0
−1 0 1 2
x
−1
S : R2 7→ R2
A(⃗x) = A1/10⃗x
[ ]
2 −1
A1/10 =
1 2
[ ][ ]1/10 [ ]
1 1 2−i 0 0.5 −0.5i
=
i −i 0 2+i 0.5 0.5i
[ ][ ]1/10 [ ]
1 1 1.08263 − 0.05023i 0 0.5 −0.5i
=
i −i 0 1.08263 + 0.05023i 0.5 0.5i
[ ]
1.082634 −0.050232
=
0.050232 1.082634
Page 10 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
y 3
~x
2 S 1 (~x)
S 2 (~x)
S 3 (~x)
S 4 (~x)
1 S 5 (~x)
S 6 (~x)
S 7 (~x)
S 8 (~x)
0 S 9 (~x)
−1 0 1 2 S 10 (~x) = T (~x)
x
−1
As you can see the series of linear transformations S n forms a smooth path for the vector ⃗x to
travel along, giving rise to potential uses in graphics computing and physics. We can see this path
by connecting the intermediate vectors.
Page 11 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
y 3
0
−1 0 1 2
x
−1
7 Conclusion
As we can see it is rather simple to calculate the roots of many matrices. This includes matrices
that are diagonalizable or converge under the Babylonian method. For other matrices we would
have to use the Jordan normal form or other methods that are beyond the the authors current
level of mathematics. Using these methods we can reverse most formulas that use the square of a
matrix. We can also estimate the path that a vector takes when a linear transformation is applied
to it. The topic of matrix roots is not usually taught in first year linear algebra classes, and so I
hope that this paper will prove useful to be a useful guide to the roots of matrices.
Page 12 of 13
Taran Lynn MATH 45 - Steve Jackson 2014
8 Bibliography
References
[1] Jean Gallier. Logarithms and Square Roots of Real Matrices Existence, Uniqueness, and Ap-
plications in Medical Imaging. report. University of Pennsylvania, Oct. 21, 2013.
[2] Eric Jarman. Nth Roots of Matrices. thesis. University of Central Missouri, June 2012.
[3] Sam Northshield. Square Roots of 2x2 Matrices. report. Plattsburgh State Univ.
Page 13 of 13