<<

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion

Polar Decomposition of a

Garrett Buffington

May 4, 2014 2 SVD and Polar Decomposition Polar Decomposition from SVD Example Using SVD 3 Geometric Concepts Motivating Example Matrices P and r 4 Applications Iterative methods for U 5 Conclusion

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Table of Contents

1 The Polar Decomposition What is it? Square Root Matrix The Theorem 3 Geometric Concepts Motivating Example Rotation Matrices P and r 4 Applications Iterative methods for U 5 Conclusion

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Table of Contents

1 The Polar Decomposition What is it? Square Root Matrix The Theorem 2 SVD and Polar Decomposition Polar Decomposition from SVD Example Using SVD 4 Applications Iterative methods for U 5 Conclusion

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Table of Contents

1 The Polar Decomposition What is it? Square Root Matrix The Theorem 2 SVD and Polar Decomposition Polar Decomposition from SVD Example Using SVD 3 Geometric Concepts Motivating Example Rotation Matrices P and r 5 Conclusion

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Table of Contents

1 The Polar Decomposition What is it? Square Root Matrix The Theorem 2 SVD and Polar Decomposition Polar Decomposition from SVD Example Using SVD 3 Geometric Concepts Motivating Example Rotation Matrices P and r 4 Applications Iterative methods for U The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Table of Contents

1 The Polar Decomposition What is it? Square Root Matrix The Theorem 2 SVD and Polar Decomposition Polar Decomposition from SVD Example Using SVD 3 Geometric Concepts Motivating Example Rotation Matrices P and r 4 Applications Iterative methods for U 5 Conclusion Definition (Left Polar Decomposition) n×m The left polar decomposition of a matrix A ∈ C m ≥ n has the n×n form A = HU where H ∈ C is positive semi-definite and n×m U ∈ C has orthonormal columns.

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion What is it?

Definition (Right Polar Decomposition) m×n The right polar decomposition of a matrix A ∈ C m ≥ n has m×n the form A = UP where U ∈ C is a matrix with orthonormal n×n columns and P ∈ C is positive semi-definite. The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion What is it?

Definition (Right Polar Decomposition) m×n The right polar decomposition of a matrix A ∈ C m ≥ n has m×n the form A = UP where U ∈ C is a matrix with orthonormal n×n columns and P ∈ C is positive semi-definite.

Definition (Left Polar Decomposition) n×m The left polar decomposition of a matrix A ∈ C m ≥ n has the n×n form A = HU where H ∈ C is positive semi-definite and n×m U ∈ C has orthonormal columns. Proof. Suppose you have a A of size n. Then A is orthonormally diagonalizable. This means that there is a S and a diagonal matrix B whose diagonal entries are the ∗ ∗ eigenvalues of A so that A = SBS where S S = In. Since A is normal the diagonal entries of B are all positive, making B positive semi-definite as well. Because B is diagonal with real, non-negative entries we can easily define a matrix C so that the diagonal entries of C are the square roots of the eigenvalues of A. This gives us the matrix equality C 2 = B. Define P with the equality P = SCS∗.

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion

Theorem (The Square Root of a Matrix) If A is a normal matrix then there exists a positive semi-definite matrix P such that A = P2. The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Square Root of a Matrix

Theorem (The Square Root of a Matrix) If A is a normal matrix then there exists a positive semi-definite matrix P such that A = P2.

Proof. Suppose you have a normal matrix A of size n. Then A is orthonormally diagonalizable. This means that there is a unitary matrix S and a diagonal matrix B whose diagonal entries are the ∗ ∗ eigenvalues of A so that A = SBS where S S = In. Since A is normal the diagonal entries of B are all positive, making B positive semi-definite as well. Because B is diagonal with real, non-negative entries we can easily define a matrix C so that the diagonal entries of C are the square roots of the eigenvalues of A. This gives us the matrix equality C 2 = B. Define P with the equality P = SCS∗. Theorem (Right Polar Decomposition) m×n For any matrix A ∈ C , where m ≥ n, there is a matrix m×n U ∈ C with orthonormal columns and a positive semi-definite n×n matrix P ∈ C so that A = UP.

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion The Theorem

Definition (P) √ m×n The matrix P is defined as A∗A where A ∈ C . The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion The Theorem

Definition (P) √ m×n The matrix P is defined as A∗A where A ∈ C .

Theorem (Right Polar Decomposition) m×n For any matrix A ∈ C , where m ≥ n, there is a matrix m×n U ∈ C with orthonormal columns and a positive semi-definite n×n matrix P ∈ C so that A = UP. S, S−1, and C  1 1 1  S = −0.3868 2.3196 2.8017 0.0339 −3.0376 2.4687 0.8690 −0.3361 0.0294  S −1 = 0.0641 0.1486 −0.1946 0.0669 0.1875 0.1652 0.4281 0 0  C =  0 4.8132 0  0 0 13.5886

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example

A 3 8 2 14 38 26 A = 2 5 7 A∗A = 38 105 75 1 4 6 25 76 89 The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example

A 3 8 2 14 38 26 A = 2 5 7 A∗A = 38 105 75 1 4 6 25 76 89

S, S−1, and C  1 1 1  S = −0.3868 2.3196 2.8017 0.0339 −3.0376 2.4687 0.8690 −0.3361 0.0294  S −1 = 0.0641 0.1486 −0.1946 0.0669 0.1875 0.1652 0.4281 0 0  C =  0 4.8132 0  0 0 13.5886 U  0.3019 0.9175 −0.2588 U =  0.6774 −0.0154 0.7355  −0.6708 0.3974 0.6262

A 1.5897 3.1191 1.3206  0.3019 0.9175 −0.2588 UP = 3.1191 8.8526 4.1114  0.6774 −0.0154 0.7355  1.3206 4.1114 8.3876 −0.6708 0.3974 0.6262

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example

P   √ 1.5897 3.1191 1.3206 P = A∗A = S∗CS−1 = 3.1191 8.8526 4.1114 1.3206 4.1114 8.3876 A 1.5897 3.1191 1.3206  0.3019 0.9175 −0.2588 UP = 3.1191 8.8526 4.1114  0.6774 −0.0154 0.7355  1.3206 4.1114 8.3876 −0.6708 0.3974 0.6262

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example

P   √ 1.5897 3.1191 1.3206 P = A∗A = S∗CS−1 = 3.1191 8.8526 4.1114 1.3206 4.1114 8.3876

U  0.3019 0.9175 −0.2588 U =  0.6774 −0.0154 0.7355  −0.6708 0.3974 0.6262 The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example

P   √ 1.5897 3.1191 1.3206 P = A∗A = S∗CS−1 = 3.1191 8.8526 4.1114 1.3206 4.1114 8.3876

U  0.3019 0.9175 −0.2588 U =  0.6774 −0.0154 0.7355  −0.6708 0.3974 0.6262

A 1.5897 3.1191 1.3206  0.3019 0.9175 −0.2588 UP = 3.1191 8.8526 4.1114  0.6774 −0.0154 0.7355  1.3206 4.1114 8.3876 −0.6708 0.3974 0.6262 Proof.

∗ A = US SV ∗ = US InSV ∗ ∗ = US V VSV = UP

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Polar Decomposition from SVD

Theorem (SVD to Polar Decomposition) m×n For any matrix A ∈ C , where m ≥ n, there is a matrix m×n U ∈ C with orthonormal columns and a positive semi-definite n×n matrix P ∈ C so that A = UP. The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Polar Decomposition from SVD

Theorem (SVD to Polar Decomposition) m×n For any matrix A ∈ C , where m ≥ n, there is a matrix m×n U ∈ C with orthonormal columns and a positive semi-definite n×n matrix P ∈ C so that A = UP.

Proof.

∗ A = US SV ∗ = US InSV ∗ ∗ = US V VSV = UP Components 0.5778 0.8142 0.0575 US = 0.6337 0.4031 0.6602 0.5144 0.4179 0.7489 13.5886 0 0  S =  0 4.8132 0  0 0 0.4281 0.2587 0.2531 0.9322 V = 0.7248 0.5871 0.3605 0.6386 0.7689 0.0316

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example Using SVD

Give Sage our A and ask to find the SVD SVD 3 8 2 A = 2 5 7 1 4 6 The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example Using SVD

Give Sage our A and ask to find the SVD SVD 3 8 2 A = 2 5 7 1 4 6

Components 0.5778 0.8142 0.0575 US = 0.6337 0.4031 0.6602 0.5144 0.4179 0.7489 13.5886 0 0  S =  0 4.8132 0  0 0 0.4281 0.2587 0.2531 0.9322 V = 0.7248 0.5871 0.3605 0.6386 0.7689 0.0316 P P = VSV ∗ 0.2587 0.2531 0.9322 13.5886 0 0  −0.2587 −0.7248 −0.6386 =0.7248 0.5871 0.3605  0 4.8132 0   0.2531 0.5871 −0.7689 0.6386 0.7689 0.0316 0 0 0.4281 −0.9322 0.3605 −0.0316 1.5897 3.1191 1.3206 =3.1191 8.8526 4.1114 1.3206 4.1114 8.3876

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example Using SVD

U ∗ U = US V 0.5778 0.8142 0.0575 −0.2587 −0.7248 −0.6386 =0.6337 0.4031 0.6602  0.2531 0.5871 −0.7689 0.5144 0.4179 0.7489 −0.9322 0.3605 −0.0316  0.3019 0.9175 −0.2588 = 0.6774 −0.0154 0.7355  −0.6708 0.3974 0.6262 The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Example Using SVD

U ∗ U = US V 0.5778 0.8142 0.0575 −0.2587 −0.7248 −0.6386 =0.6337 0.4031 0.6602  0.2531 0.5871 −0.7689 0.5144 0.4179 0.7489 −0.9322 0.3605 −0.0316  0.3019 0.9175 −0.2588 = 0.6774 −0.0154 0.7355  −0.6708 0.3974 0.6262

P P = VSV ∗ 0.2587 0.2531 0.9322 13.5886 0 0  −0.2587 −0.7248 −0.6386 =0.7248 0.5871 0.3605  0 4.8132 0   0.2531 0.5871 −0.7689 0.6386 0.7689 0.0316 0 0 0.4281 −0.9322 0.3605 −0.0316 1.5897 3.1191 1.3206 =3.1191 8.8526 4.1114 1.3206 4.1114 8.3876 Complex Numbers z = reiθ

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Geometry Concepts

Matrices A = UP The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Geometry Concepts

Matrices A = UP

Complex Numbers z = reiθ Polar Decomposition 0.866 −0.500 cos 30 − sin 30 U = = 0.500 0.866 sin 30 cos 30 1.50 0.0  √ P = = A∗A 0.0 0.75

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Motivating Example

2×2 1.300 −.375 A = .750 .650 The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Motivating Example

2×2 1.300 −.375 A = .750 .650

Polar Decomposition 0.866 −0.500 cos 30 − sin 30 U = = 0.500 0.866 sin 30 cos 30 1.50 0.0  √ P = = A∗A 0.0 0.75 r Vector √ krk = r∗r

P √ P = A∗A

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion P and r

2×2  cos θ sin θ R = − sin θ cos θ

r r =px2 + y 2 P √ P = A∗A

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion P and r

2×2  cos θ sin θ R = − sin θ cos θ

r r =px2 + y 2

r Vector √ krk = r∗r The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion P and r

2×2  cos θ sin θ R = − sin θ cos θ

r r =px2 + y 2

r Vector √ krk = r∗r

P √ P = A∗A ititit Computer Graphics

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion

iitit Continuum Mechanics The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion

iitit Continuum Mechanics

ititit Computer Graphics Frobenius Accelerator 1 −1 2 kUk kF γFk = 1 2 kUk kF

Spectral Norm Accelerator 1 −1 2 kUk kS γSk = 1 2 kUk kS

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Iterative Methods for U

Newton Iteration 1 −t Uk+1 = 2 (Uk + Uk ), U0 = A Spectral Norm Accelerator 1 −1 2 kUk kS γSk = 1 2 kUk kS

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Iterative Methods for U

Newton Iteration 1 −t Uk+1 = 2 (Uk + Uk ), U0 = A

Frobenius Norm Accelerator 1 −1 2 kUk kF γFk = 1 2 kUk kF The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Iterative Methods for U

Newton Iteration 1 −t Uk+1 = 2 (Uk + Uk ), U0 = A

Frobenius Norm Accelerator 1 −1 2 kUk kF γFk = 1 2 kUk kF

Spectral Norm Accelerator 1 −1 2 kUk kS γSk = 1 2 kUk kS 3 × 3 about x-axis 1 0 0  Rθ = 0 cos θ sin θ 0 − sin θ cos θ

y and z Rotations cos ψ 0 − sin ψ  cos κ sin κ 0 Rψ =  0 1 0  Rκ = − sin κ cos κ 0 sin ψ 0 cos ψ 0 0 1

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Rotation Matrices

What’s Up with U? ∗ U = RθRψRκV  cos ψ cos κ cos ψ sin κ − sin ψ  = sin θ sin ψ cos κ − cos θ sin κ sin θ sin ψ sin κ + cos θ cos κ sin θ cos ψ V∗ cos θ sin ψ cos κ + sin θ sin κ cos θ sin ψ sin κ − sin θ cos κ cos θ cos ψ r Vector √ krk = r∗r

P √ P = A∗A

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion P and r

r r =px2 + y 2 P √ P = A∗A

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion P and r

r r =px2 + y 2

r Vector √ krk = r∗r The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion P and r

r r =px2 + y 2

r Vector √ krk = r∗r

P √ P = A∗A P A = UP

1 0 0   .5 .25 −.2355 0 .5 0  −.1464 .4268 .1665  0 0 .33 .8536 −.0884 .1665

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Ideal Example

U

 .5 .5 −.7071 −.1464 .8536 .5  .8536 −.1768 .5 A = UP

 .5 .25 −.2355 −.1464 .4268 .1665  .8536 −.0884 .1665

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Ideal Example

U P

 .5 .5 −.7071 1 0 0  −.1464 .8536 .5  0 .5 0  .8536 −.1768 .5 0 0 .33 The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Ideal Example

U P A = UP

 .5 .5 −.7071 1 0 0   .5 .25 −.2355 −.1464 .8536 .5  0 .5 0  −.1464 .4268 .1665  .8536 −.1768 .5 0 0 .33 .8536 −.0884 .1665 Another Use Computer Graphics

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Applications

Use Continuum Mechanics The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Applications

Use Continuum Mechanics

Another Use Computer Graphics Frobenius Norm Accelerator 1 −1 2 kUk kF γFk = 1 2 kUk kF

Spectral Norm Accelerator 1 −1 2 kUk kS γSk = 1 2 kUk kS

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Iterative Methods for U

Newton Iteration 1 −t Uk+1 = 2 (Uk + Uk ), U0 = A Spectral Norm Accelerator 1 −1 2 kUk kS γSk = 1 2 kUk kS

The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Iterative Methods for U

Newton Iteration 1 −t Uk+1 = 2 (Uk + Uk ), U0 = A

Frobenius Norm Accelerator 1 −1 2 kUk kF γFk = 1 2 kUk kF The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Iterative Methods for U

Newton Iteration 1 −t Uk+1 = 2 (Uk + Uk ), U0 = A

Frobenius Norm Accelerator 1 −1 2 kUk kF γFk = 1 2 kUk kF

Spectral Norm Accelerator 1 −1 2 kUk kS γSk = 1 2 kUk kS The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Conclusion The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion Conclusion The Polar Decomposition SVD and Polar Decomposition Geometric Concepts Applications Conclusion References

1. Beezer, Robert A. A Second Course in Linear Algebra.Web. 2. Beezer, Robert A. A First Course in Linear Algebra.Web. 3. Byers, Ralph and Hongguo Xu. A New Scaling For Newton’s Iteration for the Polar Decomposition and Its Backward Stability. http://www.math.ku.edu/~xu/arch/bx1-07R2.pdf. 4. Duff, Tom, Ken Shoemake. “Matrix animation and polar decomposition.” In Proceedings of the conference on Graphics interface(1992): 258-264.http://research.cs.wisc.edu/graphics/ Courses/838-s2002/Papers/polar-decomp.pdf. 5. Gavish, Matan. A Personal Interview with the Singular Value Decomposition. http://www.stanford.edu/~gavish/documents/SVD_ans_you.pdf. 6. Gruber, Diana. “The Mathematics of the 3D .” http://www.fastgraph.com/makegames/3drotation/. 7. McGinty, Bob. http: //www.continuummechanics.org/cm/polardecomposition.html.