Consider the Transformation T(X) = Ax with Matrix

Total Page:16

File Type:pdf, Size:1020Kb

Consider the Transformation T(X) = Ax with Matrix

SVD Activity

Consider the transformation T(x) = Ax with matrix QuickTime™ and a A = TIFFare needed(Uncompressed) to see this decompressor picture.

Using WebSVD, grab the red vector x (hold down mouse button) in the yellow box and move it completely around the unit circle. What shape do you seem to be getting?

To get a better look, click the "Turn Trace ON" button at the bottom of the right box, and move the red arrow around the unit circle. What shape so you seem to be getting? If you want, you can click on one of the "Animate x" buttons to have the vector x move automatically. If you want the animation to stop, click the button again.

To clean things up a little, click on the "Turn Trace OFF" button, and click the red X in the lower right hand corner of the screen. You can still view the image shape by clicking on "Show Orbit of T(x)" at the top of the right box. You can keep one of the "Animate x" buttons on if you wish (but not both).

0. Experiment time • With the "Show Orbit of T(x)" selected, change the matrix of transformation and observe the image of the unit circle. Do we still get the same shape? • Can you change the matrix to get a circle? • Can you make the matrix symmetric? Orthogonal? • Can you make the T(x) vector move in the opposite direction as x?

Play for a while.

1. What is it?

Experimentation should have led you to a feeling that the image of the unit circle appears elliptical. So, is it really an ellipse or not? If it is an ellipse, what are its axes?

A reasonable guess would be a set of eigenvectors from the matrix of transformation, A. Let's investigate that . . . 1 Reload WebSVD to reset the matrix to the one we started with. 2 Select "Superimpose x" button at the top of the right box, and select the "Show Orbit of T(x)" again as well. 3 Now, try to line up the x and T(x) vectors to find the eigenvectors.

Now consider the following questions: • So, are these the axes? • Do the axes of the supposed ellipse appear orthogonal? • Do the eigenvectors appear orthogonal? • Are the axes in the same directions as the eigenvectors?

Note: Since this is a triangular matrix, it's eigenvalues are the diagonals:  = 1 and 2 = 1.5. Corresponding unit eigenvectors are x1 = (1,0) and x2 = 1/sqrt(10) (3,1) = (.9487, .3162). These are shown in the following figure with Ax1 = x1 and Ax2 = 1.5 x2 in the image. 2. Using the Geometry to find the SVD

We've eliminated eigenvectors as the axes of the ellipse, perhaps there is another way to find the axes.

Once again, consider the transformation T(x) = Ax with matrix TIFFareQuickTime™ needed(Uncompressed) to seeand thisa decompressor picture. A =

1 Grab the red vector x (hold down mouse button) and move it around until the T(x) vector matches the major axis of the image ellipse. Record the vectors x and T(x) which are shown in the red bordered box. Also, record also the length of the vector T(x) -- it is at the bottom. 2 Now select the "Show vectors p and T(p)" button. Move the x vector until the T(x) vector matches the minor axis. For comparison, move the vector p until T(p) matches the major axis of the ellipse. (We do this because the T(p) vector is not printed, only T(x).) You can use the angle measure that prints in the lower left corner to ensure that the axes are orthogonal. Record the same information about these vectors. Notice that the x and p vectors which correspond to the T(x) and T(p) vectors are also orthogonal. • Use this information to write down the SVD of the matrix A.

If you need a hint, recall that x and p are eigenvectors of ATA, and T(x) and T(p) are the corresponding eigenvectors of A AT. The lengths of the vectors T(x) and T(p) are the square roots of the eigenvalues of ATA. Note: You can check your answer by asking Matlab: Enter A, then type "[Q1,Sigma,Q2]=svd(A)" • Enter a new matrix that has rank one, and repeat Problem 1.

Recommended publications