Docsity

Solving Linear Transformations: Finding Matrices and Eigenvectors, Exams of Calculus

Toggle sidebar
bg1
Math 51 Exam 2 Solutions โ€” May 20, 2008
1. (8 points) Compute the following determinant:
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
2 4 โˆ’2โˆ’1
1 1 โˆ’1 0
3 2 โˆ’1โˆ’1
2 2 โˆ’3 1
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
Due to the lack of many zeros, itโ€™s convenient to begin with a few row operations:
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
2 4 โˆ’2โˆ’1
1 1 โˆ’1 0
3 2 โˆ’1โˆ’1
2 2 โˆ’3 1
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
swap
swap =โˆ’๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
1 1 โˆ’1 0
2 4 โˆ’2โˆ’1
3 2 โˆ’1โˆ’1
2 2 โˆ’3 1
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
โˆ’2I
โˆ’3I
โˆ’2I
=โˆ’๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
1 1 โˆ’1 0
0 2 0 โˆ’1
0โˆ’1 2 โˆ’1
0 0 โˆ’1 1
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
+2II I
=โˆ’๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
1 1 โˆ’1 0
0 0 4 โˆ’3
0โˆ’1 2 โˆ’1
0 0 โˆ’1 1
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œยท(โˆ’1)
=๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
1 1 โˆ’1 0
0 0 4 โˆ’3
0 1 โˆ’2 1
0 0 โˆ’1 1
๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
[expand along first column]
= (1) ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
0 4 โˆ’3
1โˆ’2 1
0โˆ’1 1 ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
[expand along first column]
= (1) ๎˜’โˆ’(1) ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
4โˆ’3
โˆ’1 1 ๎˜Œ๎˜Œ๎˜Œ๎˜Œ๎˜“
=โˆ’(4 ยท1โˆ’(โˆ’3)(โˆ’1))
=โˆ’1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Solving Linear Transformations: Finding Matrices and Eigenvectors and more Exams Calculus in PDF only on Docsity!

Math 51 Exam 2 Solutions โ€” May 20, 2008

  1. (8 points) Compute the following determinant: โˆฃโˆฃ โˆฃโˆฃ โˆฃโˆฃ โˆฃโˆฃ

Due to the lack of many zeros, itโ€™s convenient to begin with a few row operations: โˆฃโˆฃ โˆฃโˆฃ โˆฃโˆฃ โˆฃโˆฃ

swap swap (^) = โˆ’

โˆ’ 2 I

โˆ’ 3 I

โˆ’ 2 I

+2III

โˆฃโˆฃ ยท^ (โˆ’1)

[expand along first column]

โˆฃโˆฃ [expand along first column]

= (1)

โˆฃโˆฃ โˆ’^41 โˆ’ 13

  1. (15 points) Let B be the basis {v 1 , v 2 , v 3 } of R^3 where

v 1 =

๏ฃป (^) , v 2 =

๏ฃป (^) , v 3 =

(You donโ€™t have to check that B is a basis.) Let T : R^3 โ†’ R^3 be the linear transformation defined by the following formulas: T (v 1 ) = v 2 , T (v 2 ) = v 3 , T (v 3 ) = v 1. (a) Find the matrix of T with respect to the basis B. (4 points) Write B for the matrix of T with respect to B. Recall that the ith^ column of B is [T (vi)]B, i.e., the coordinates of the vector T (vi) with respect to B. Thus,

B =

๏ฃฐ[T (v 1 )]B [T (v 2 )]B [T (v 3 )]B

๏ฃฐ[v 2 ]B [v 3 ]B [v 1 ]B

Notes: The most common mistake was to forget to express the outputs of T in coordinates with respect to the basis B; thus, many people instead used the standard coordinates of the vi vectors as the columns for their matrix. (b) Find the matrix of T with respect to the standard basis. (7 points) Note that we seek the matrix A satisfying T (x) = Ax for all x in R^3. Solution 1: The technique most people used was to use the change-of-basis formula A = CBCโˆ’^1 , where C is the matrix whose ith^ column is vi. This technique is correct, but it is easy to make mistakes when computing the inverse of a matrix, and the operations involved take a lot of time. (Also, some people wrote A = Cโˆ’^1 BC, which is incorrect.) For completeness, here is a summary of the computations involved: if C is the change-of-basis matrix for B, then

C =

๏ฃป (^) , and we must compute (via row reduction) that Cโˆ’^1 =

(^131313) โˆ’ (^231313) (^13) โˆ’ (^2313)

Thus,

A = CBCโˆ’^1 =

(^131313) โˆ’ (^231313) (^13) โˆ’ (^2313)

(^131313) โˆ’ (^231313) (^13) โˆ’ (^2313)

  1. (16 points) Mark each statement below as true or false by circling T or F. No justification is necessary. (2 points each) T F If {v 1 , v 2 ,... , vn} is a basis for Rn^ and T : Rn^ โ†’ Rn^ is a linear transformation such that {T (v 1 ), T (v 2 ),... , T (vn)} is also a basis for Rn, then T must be invertible. T is onto, since if w is an arbitrary vector in Rn^ = span(T (v 1 ), T (v 2 ),... , T (vn)), then there are c 1 ,... , cn such that w = c 1 T (v 1 ) + ยท ยท ยท + cnT (vn) = T (c 1 v 1 + ยท ยท ยท + cnvn), and thus w is in the image of T. Thus, the matrix of T is both square and of rank n; it follows that T is invertible.

T F It is possible to find a 3 ร— 2 matrix A and a 2 ร— 3 matrix B, satisfying AB =

Using A and B, we could form Aโ€ฒ^ =

A 0

๏ฃป (^) and Bโ€ฒ^ =

[

B

]

satisfying Aโ€ฒBโ€ฒ^ =

but then Aโ€ฒ^ and Bโ€ฒ^ would be 3 ร— 3 matrices having determinant 0, so their product couldnโ€™t possibly have determinant 1. Thus, such A and B canโ€™t exist. T F It is possible to find a 2 ร— 3 matrix C and a 3 ร— 2 matrix D, satisfying CD =

[ 1 0

]

For example, let C =

[ 1 0 0

0 1 0

]

and D =

[ 1 0

0 1 0 0

]

T F Suppose T : R^2 โ†’ R^2 is a linear transformation with matrix A, such that whenever R is a region in R^2 , then the area of T (R) is equal to the area of R. It follows that det(A) = 1. The area of T (R) is equal to | det(A)| times the area of R, so it might be true that det(A) = โˆ’1.

T F If B is an orthonormal basis for Rn, and C is its associated change-of-basis matrix, then it follows that C is a symmetric matrix. All that we know for certain is that C is an orthogonal matrix, i.e., that CT^ C = In. T F If T : Rn^ โ†’ Rn^ is a linear transformation and A and B are the matrices of T with respect to two different bases of Rn, then det(A) = det(B). There is some C such that A = CBCโˆ’^1 , and so det(A) = det(C) det(B) det(C)โˆ’^1 = det(B). T F If T : Rn^ โ†’ Rn^ is a linear transformation and A and B are the matrices of T with respect to two different bases of Rn, then A and B have the same characteristic polynomial. There is C such that A = CBCโˆ’^1 , and so ฮปIn โˆ’ A = ฮปCCโˆ’^1 โˆ’ CBCโˆ’^1 = C(ฮปIn โˆ’ B)Cโˆ’^1 , and thus pA(ฮป) = det(ฮปIn โˆ’ A) = det(C) det(ฮปIn โˆ’ B) det(C)โˆ’^1 = det(ฮปIn โˆ’ B) = pB (ฮป).

T F If T : Rn^ โ†’ Rn^ is a linear transformation and A and B are the matrices of T with respect to two different bases of Rn, then A is symmetric if and only if B is symmetric. For a counterexample, take A to be any non-symmetric, diagonalizable matrix, and B its (auto- matically symmetric) diagonalization. (For example, the matrix A of problem 5, for any t 6 = 1.)

  1. (14 points) Let A be the matrix A =

๏ฃป, whose characteristic polynomial is p(ฮป) = (ฮป + 1)^2 (ฮป โˆ’ 2). (You do not need to check this formula for p(ฮป).) (a) Say why A is diagonalizable, without any calculations. (Hint: you might consider AT^ .) (3 points) AT^ = A, so A is symmetric. By the Spectral Theorem, A is diagonalizable. (Another reason is that A has an eigenbasis, by looking ahead to the statement of part (b).)

(b) Find a matrix P so that A = P

๏ฃป P โˆ’^1.

(Hint: use the eigenspaces of A to form an eigenbasis for R^3 ; then you do not need to compute P โˆ’^1 or directly compute the product in the expression above!) (7 points) P is a matrix whose columns are vectors of an eigenbasis for A. Therefore, to find P , we need to find three linearly independent eigenvectors of A. By the given information, A has two eigenvalues, โˆ’1 and 2. For ฮป = โˆ’ 1 , the eigenspace is

Eโˆ’ 1 = N

๏ฃธ = N

๏ฃธ (^) = span

For ฮป = 2, the eigenspace is E 2 = N

๏ฃธ = N

๏ฃธ (^) = span

Thus, three independent eigenvectors of A are

๏ฃป, and we let P =

Notes: Many people overlooked that the order of the vectors in the matrix P must correspond to the order of the eigenvalues in the diagonalization given. In this case, we have โˆ’1 in the first two diagonal entries, and 2 in the last. Hence, eigenvectors corresponding to โˆ’1 must be in the first two columns of P , while an eigenvector corresponding to 2 must be in the last column. Also note that there are a lot of possible answers for P , since there are many choices of bases of eigenvectors. (c) Determine, with justification, the definiteness of the quadratic form Q(x, y, z) = 2xy + 2xz + 2yz. (4 points) The form Q is indefinite. Solution 1: We can examine the matrix corresponding to Q(x, y, z). That matrix is

[ 0 1 1

1 0 1 1 1 0

]

which is the same as the matrix A. From the information given, we know that A has eigenvalues โˆ’1 and 2. It follows that Q is indefinite because A has both positive and negative eigenvalues. Solution 2: To show Q is indefinite, it is sufficient to find (x 1 , y 1 , z 1 ) and (x 2 , y 2 , z 2 ) such that Q(x 1 , y 1 , z 1 ) > 0, but Q(x 2 , y 2 , z 2 ) < 0. (For example, (x 1 , y 1 , z 1 ) = (1, 1 , 1) and (x 2 , y 2 , z 2 ) = (โˆ’ 1 , โˆ’ 1 , 1).) For full credit using this approach, you need to provide explicit examples of such (x, y, z).

  1. (12 points) Let A =

a b c b d e c e f

๏ฃป (^) be a 3ร—3 symmetric matrix, and write Q for the associated quadratic form; that is, Q(x) = xTAx, for x =

x 1 x 2 x 3

๏ฃป (^) in R^3.

(a) Show that for any v, w in R^3 , Q(v + w) = Q(v) + 2vTAw + Q(w). (6 points) First, Q(v + w) = (v + w)T^ A(v + w) = (vT^ + wT^ )A(v + w) = vT^ A(v + w) + wT^ A(v + w) = vT^ Av + vT^ Aw + wT^ Av + wT^ Aw = Q(v) + vT^ Aw + wT^ Av + Q(w). Note that wT^ , A, and v are 1 ร— 3, 3 ร— 3, and 3 ร— 1 matrices, respectively, so that wT^ Av is a 1 ร— 1 matrix, i.e. a number. Therefore it is symmetric and wT^ Av = (wT^ Av)T^ = vT^ AT^ (wT^ )T^ = vT^ Aw, where the last equality follows from the symmetry of A. Therefore, Q(v + w) = Q(v) + vT^ Aw + wT^ Av + Q(w) = Q(v) + 2vT^ Aw + Q(w), as desired. Notes: It should be noted that wT^ Av is in general not equal to vT^ Aw unless A is symmetric. Also, itโ€™s possible to do this question by writing out the entries of the vectors v, w and the matrix A and doing the matrix multiplication explicitly in terms of those entries. However, the computation will be long and it is easy to make a mistake in that way.

(b) Write DQ(x) for the matrix of partial derivatives of Q(x). Show that

DQ(x) = 2xTA. (Hint: you can directly compute each side of this equation in terms of the entries of A and x.) (6 points) General notes: Before trying to prove the given formula, we should first try to understand what the two sides of the formula mean: note that Q is the quadratic form defined by A, so it should be regarded as a function from R^3 to R. Hence, on the left hand side, DQ(x) should be a 1 ร— 3 matrix, i.e. a row vector, with entries being the first-order partial derivatives of Q. The right hand side is basically the product of a row vector and a square matrix, and so it should be a row vector too. Solution: We have that Q(x) = Q(x 1 , x 2 , x 3 ) = a x^21 + d x^22 + f x^23 + 2 b x 1 x 2 + 2 c x 1 x 3 + 2 e x 2 x 3. Taking partial derivatives, we get โˆ‚Q โˆ‚x 1 = 2ax^1 + 2bx^2 + 2cx^3 ,^

โˆ‚Q

โˆ‚x 2 = 2bx^1 + 2dx^2 + 2ex^3 ,^

โˆ‚Q

โˆ‚x 3 = 2cx^1 + 2ex^2 + 2f x^3. Hence, DQ(x) =

[ โˆ‚Q

โˆ‚x 1 โˆ‚x^ โˆ‚Q 2 โˆ‚x^ โˆ‚Q 3

]

= [^2 ax 1 + 2bx 2 + 2cx 3 2 bx 1 + 2dx 2 + 2ex 3 2 cx 1 + 2ex 2 + 2f x 3 ]

= [ 2 x 1 2 x 2 2 x 3 ]

a b c b d e c e f

= 2xT^ A. Remark (optional): There is a connection between parts (a) and (b), via the limit definition of the derivative for a scalar-valued function Q(x) = Q(x 1 , x 2 , x 3 ). From Definition 3.8 on page 118 of Colleyโ€™s Vector Calculus, DQ(x) is the 1 ร— 3 matrix such that

hlimโ†’ 0 Q(x^ +^ h)^ โˆ’^ Q โ€–h(xโ€– )^ โˆ’^ DQ(x)h= 0. (See also the discussion on page 120.) But by part (a), for any x, h โˆˆ R^3 , Q(x + h) = Q(x) + 2xTAh + Q(h), and we can argue separately that hlimโ†’ 0 Q ||(hh||) = 0; this allows us to conclude directly (independently of part (b)!) that DQ(x) = 2xT^ A.

  1. (15 points) Given the parametrized path f (t) = (1 โˆ’ t^2 , t^3 โˆ’ t), for t โˆˆ R, which describes a curve in R^2. (a) Find all values of t for which f โ€ฒ(t) is orthogonal to f โ€ฒโ€ฒ(t). (5 points) First, f โ€ฒ(t) = (โˆ’ 2 t, 3 t^2 โˆ’ 1) and f โ€ฒโ€ฒ(t) = (โˆ’ 2 , 6 t). We want f โ€ฒ(t) ยท f โ€ฒโ€ฒ(t) = 0, so 18 t^3 โˆ’ 2 t = 0, so 2 t(9t^2 โˆ’ 1) = 2t(3t โˆ’ 1)(3t + 1) = 0. Thus, we obtain three such values for t: 0, โˆ’ 13 , 13. (b) Find a point (a, b) in R^2 which lies on the curve for two different values of t; i.e., which satisfies (a, b) = f (t 1 ) and (a, b) = f (t 2 ), for two values t 1 6 = t 2. Find (a, b) and the values t 1 and t 2. (5 points) The points we are looking for must satisfy 1 โˆ’ t^21 = 1 โˆ’ t^22 and t 1 (t^21 โˆ’ 1) = t 2 (t^22 โˆ’ 1). Since the quantities in the parenthesis of the second expression are equal by our first equation, and we donโ€™t want t 1 to be the same as t 2 , we conclude that 1 โˆ’ t^21 = 1 โˆ’ t^22 = 0. Thus, t 1 and t 2 are solutions to 1โˆ’t^2 = 0, namely t 1 = 1, t 2 = โˆ’1. We find f (1) = f (โˆ’1) = (0, 0). (c) Describe the points (x, y) lying in the range of f ; that is, give an equation in x and y alone satisfied by the points on the curve. (5 points) Solution 1: We have x = 1 โˆ’ t^2 and y = t^3 โˆ’ t = t(t^2 โˆ’ 1), so y = โˆ’tx, and thus t = โˆ’y/x. Substituting this into the expression for x, we find x = 1 โˆ’

โˆ’ yx

, or y^2 = x^2 โˆ’ x^3. Solution 2: Solving x = 1 โˆ’ t^2 for t, we have t^2 = 1 โˆ’ x, so t = ยฑโˆš 1 โˆ’ x. Substituting this into the expression for y, we thus find y = t^3 โˆ’ t = t(t^2 โˆ’ 1) = โˆ’tx = ยฑxโˆš 1 โˆ’ x. (Technically this is two equations in x and y, giving two different pieces of the curve, but we accepted this for full credit. Squaring both sides yields the single equation of the first solution.)