Docsity

Math 51 Midterm 2 - Autumn 2010: Eigenvectors & Linear Transformations, Exams of Calculus

Toggle sidebar
bg1
Math 51 - Autumn 2010 - Midterm Exam 2
Name:
Student ID:
Select your section:
Brandon Levin Amy Pang Yuncheng Lin Rebecca Bellovin
05 (1:15-2:05 ) 14 (10:00-10:50 ) 06 (1:15-2:05 ) 09 (11:00-11:50 )
15 (11:00- 11:50 ) 17 (1:15-2:05 ) 21 (11:00-11:50 AM) 23 (1:15-2:05 )
Xin Zhou Simon Rubinstein-Salzedo Frederick Fong Jeff Danciger
02 (11:00-11:50 ) 18 (2:15-3:05 ) 20 (10:00-10:50 ) ACE (1:15-3:05 )
08 (10:00- 10:50 ) 24 (1:15-2:05 ) 03 (11:00-11:50 )
Signature:
Instructions:
•Print your name and student ID number, select your section number and TA’s
name, and sign above to indicate that you accept the Honor Code.
•There are nine problems on the pages numbered from 1 to 14, and each problem
is worth 10 points. Please check that the version of the exam you have is
complete and correctly stapled.
•Read each question carefully. In order to receive full credit, please show
all of your work and justify your answers unless specifically directed
otherwise. If you use a result proved in class or in the text, you must
clearly state the result before applying it to your problem.
•Unless otherwise specified, you may assume all vectors are written in standard
coordinates.
•You have 2 hours. This is a closed-book, closed-notes exam. No calculators or
other electronic aids will be permitted. If you finish early, you must hand your
exam paper to a member of the teaching staff.
•If you need extra room, use the back sides of each page. If you must use extra
paper, make sure to write your name on it and attach it to this exam. Do not
unstaple or detach pages from this exam.
•It is your responsibility to arrange to pick up your graded exam paper from
your section leader in a timely manner.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Math 51 Midterm 2 - Autumn 2010: Eigenvectors & Linear Transformations and more Exams Calculus in PDF only on Docsity!

Math 51 - Autumn 2010 - Midterm Exam 2

Name:

Student ID:

Select your section:

Brandon Levin Amy Pang Yuncheng Lin Rebecca Bellovin 05 (1:15-2:05 ) 14 (10:00-10:50 ) 06 (1:15-2:05 ) 09 (11:00-11:50 ) 15 (11:00- 11:50 ) 17 (1:15-2:05 ) 21 (11:00-11:50 AM) 23 (1:15-2:05 ) Xin Zhou Simon Rubinstein-Salzedo Frederick Fong Jeff Danciger 02 (11:00-11:50 ) 18 (2:15-3:05 ) 20 (10:00-10:50 ) ACE (1:15-3:05 ) 08 (10:00- 10:50 ) 24 (1:15-2:05 ) 03 (11:00-11:50 )

Signature:

Instructions:

  • Print your name and student ID number, select your section number and TA’s name, and sign above to indicate that you accept the Honor Code.
  • There are nine problems on the pages numbered from 1 to 14, and each problem is worth 10 points. Please check that the version of the exam you have is complete and correctly stapled.
  • Read each question carefully. In order to receive full credit, please show all of your work and justify your answers unless specifically directed otherwise. If you use a result proved in class or in the text, you must clearly state the result before applying it to your problem.
  • Unless otherwise specified, you may assume all vectors are written in standard coordinates.
  • You have 2 hours. This is a closed-book, closed-notes exam. No calculators or other electronic aids will be permitted. If you finish early, you must hand your exam paper to a member of the teaching staff.
  • If you need extra room, use the back sides of each page. If you must use extra paper, make sure to write your name on it and attach it to this exam. Do not unstaple or detach pages from this exam.
  • It is your responsibility to arrange to pick up your graded exam paper from your section leader in a timely manner.

Problem 1. Let P : R^2 → R^2 be projection to the line y = 2x. (This problem continues on the next page.)

a) Find a basis for R^2 consisting of eigenvectors of P.

[

]

lies on the line y = 2x, so P

([

])

[

]

ie

[

]

is an eigenvector of P with eigenvalue 1.[ − 2 1

]

is orthogonal to the line y = 2x, so P

([

])

[

]

ie

[

]

is an eigenvector of[ P with eigenvalue 0. 1 2

]

and

[

]

are eigenvectors with different eigenvalues, so they are linearly indepen-

dent, and any two linearly independent vectors in R^2 form a basis. So

{[

]

[

]}

is a basis of R^2 consisting of eigenvectors of P. There were 3.5 marks for getting the two vectors above (or multiples of them, which would also be a correct answer), and, on top of that:

  • 0.5 marks for writing it as two vectors (not a matrix, not a span)
  • 0.5 marks for explaining why they are eigenvectors
  • 0.5 marks for explaining why they are a basis If you made an error while trying to find the matrix representing P in standard coordi- nates, and then computing its eigenvalues and eigenvectors, I penalised harshly, because if you really understood projections and eigenvectors beyond their formulae, you will see that there is no need to calculate whatsoever.

This was a challenging question since it involved three sets of coordinates. I gave

  • 1 mark for a correct coordinate change formula (if you used the above two-step method, both formulae need to be correct)
  • 1 mark for the matrix of P (either in standard coordinates or eigenbasis coordinates, consistent with your chosen coordinate change formula)
  • 2.5 marks for getting the correct matrix A
  • 0.5 marks for explaining what you are doing. You should state what all your matrices represent, even if you labelled them on a diagram. Many wrote P for the matrix of P with respect to standard coordinates, which is confusing.

Some alternative solutions I saw:

  • find M using the formula for a projection matrix, then doing the second change of coordinates above
  • change directly from F coordinates to B coordinates, using the matrix whose columns are

[

]

F

and

[

]

F

Problem 2. Let A be the 3 × 3 matrix

A =

a 2 b 1 1 0 c − 2 d

Assume that

u =

 (^) v =

are eigenvectors of A. (This problem continues on the next page.)

a) Find the values of a, b, c, and d.

Find the values of a, b, c, and d. Av = λv for some λ, this yields the system of equations

2 a + 2 = 2 λ 3 = λ 2 c − 2 = 0

Hence λ = 3 is an eigenvalue for A and a = 2 and c = 1. Similarly, Au = μu for some μ yields the system of equations

a − 2 + b = μ 0 = μ c + 2 + d = μ

Hence μ = 0, b = 0, and d = −3.

b) What are the eigenvalues of A?

From part (a) we know that 3 and 0 are eigenvalues. Also the determinant of

A − λI 3 =

2 − λ 2 0 1 1 − λ 0 1 − 2 − 3 − λ

which is (− 3 − λ)(λ^2 − 3 λ) = −λ(λ − 3)(λ + 3). Hence the eigenvalues are 3, 0, and −3.

c) For each eigenvalue you identified in Part (b), give a corresponding eigenvector of A.

Problem 3.

a) Define positive definite quadratic form.

Solution: A quadratic form is a function Q(x) = xtAx, where x ∈ Rn, and A is a symmetric n × n matrix. A positive definite quadratic form is a quadratic form such that Q(x) > 0 for all x 6 = 0. Or you can say equivalently that the associated matrix A has positive eigenvalue. Comment: This part counts 3 points. If you missed x 6 = 0, you will be cut off 1 point. If you did not point out the relation between the matrix A and the quadratic form Q you will also be cut off 1 point. If you only define in 2 dimensions, you will be cut off 1 point.

b) Let {u, v} be a linearly independent set of vectors in Rn. Show that the quadratic form generated by the symmetric matrix

A =

[

u·u u·v v·u v·v

]

is positive definite. (You may find the following fact helpful: If A and B are two matrices that can be multiplied, then (AB)T^ = BT^ AT^. However, it is also possible to prove the statement without using this fact.)

Solution Method 1: Realize that A =

[

ut vt

]

[

u v

]

[

u v

]t [ u v

]

. So if x =

[

x y

]

, then

xtAx = xt^

[

u v

]t [ u v

]

x = (

[

u v

]

x)t^

[

u v

]

x = ‖

[

u v

]

x‖^2 = ‖xu + yv‖^2.

Since u and v are linearly independent, we know that xu + yv 6 = 0 unless x = y = 0, or x ≡ 0. So xtAx > 0, unless x ≡ 0. Method 2: For a 2 × 2 matrix to be positive definite, we only need to show that the trace and determinant are positive. Here T r(A) = u·u + v·v. Since u and v are linearly independent, they could not be zero, so u·u > 0 and v·v > 0, hence T r(A) > 0. Now det(A) = (u·u)(v·v) − (u·v)^2. By Cauchy-Schwartz inequality, (u·u)(v·v) − (u·v)^2 > 0 unless u and v are linearly dependent. So det(A) > 0. Comments: This part counts for 7 points. If you use first method, you will get 4 points for writing out ‖xu + yv‖^2 , and another 3 points for arguing it is positive by linearly independence. If you use the second method, you will get 4 points for writing out the right trace and determinant, and another 3 points to argue that they are positive by linearly independence. If you use other methods like to computing out the eigenvalues, you will get 1 to 2 points by writing out the right eigenvalues, and the left points by arguing they are positive (which is not an easy task).

Problem 4. Determine whether or not the following matrices are diagonalizable. Justify your answer.

a)

Solution Note that the given matrix is symmetric. Since every symmetric matrix is diagonalizable, the answer is yes.

b)

Solution Let A be the given matrix. First, we compute its eigenvalues, which are the zeroes of the characteristic polynomial p(λ).

p(λ) = det(λI − A)

= det

[

λ + 1 − 2 3 λ − 5

]

= (λ + 1)(λ − 5) − (−2)(3) = λ^2 − 4 λ + 1 = (λ − 2)^2 − 3 = (λ − 2 +

3)(λ − 2 −

Hence, A has eigenvalues λ = 2 ±

  1. Since A is 2 × 2 with 2 distinct eigenvalues, it is diagonalizable.

c)

Problem 5. Please clearly indicate your answer for each of the questions below. You do not need to justify your work.

a) Let A be a 3 × 3 matrix with eigenvalues 1, 2, and −1. What are the eigenvalues of 5 A?

irst note that

det (λI 3 − 5 A) = det

λ 5

I 3 − A)

= 5^3 det

λ 5

I 3 − A

and so λ is an eigenvalue of 5A if and only if λ 5 is an eigenvalue of A. Since we are told that the eigenvalues of A are 1, − 1 , 2 we see that the eigenvalues of 5A are − 5 , 5 , 10.

b) Let A =

. Find the eigenvalues of A−^10.

A =

Since A is upper triangular one can just read of the eigenvalues of A: λ = 3, 4. We now show (and this holds for a general n × n invertible matrix A)

λ an eigenvalue of A =⇒ λ−^10 an eigenvalue of A−^10.

To see this suppose that λ and eigenvalue of A and so there is some non-zero v with Av = λv. Now multiply both sides, on the left, by A to see that

A^2 v = λAv = λ^2 v,

and one can continue on like this to see that A^10 v = λ^10 v. Now multiply both sides on left by A−^10 to obtain A−^10 v = λ−^10 v (we don’t have to worry about λ = 0 since A is invertible). So λ−^10 is an eigenvalue of A−^10. Now returning to the 2 × 2 matrix from question we see that A−^10 has λ = 3−^10 , 4 −^10 as eigenvalues. There cannot be more than 2 eigenvalues for A−^10 and so we are done.

c) Let T : R^2 → R^2 be the linear transformation which rotates each vector counterclock- wise by an angle of π 3 and then projects it onto the line y = 6x. If A is a matrix which represents T , what is the determinant of A?

Since T is the composition of two linear transformations then we have that the matrix A which represents T is given by A = BC where B is the matrix for the projection and C is the matrix for the rotation. So we have

det(A) = det(B)det(C),

but we know that det(B) = 0 since B represents a projection (Not one to one) and so det(A) = 0.

Problem 6. Let P be the plane

{ s

 (^) + t

∣ (^) s, t ∈ R

Find a function G with the property that G−^1 (1) = P.

Taking the cross product of

 (^) and

 (^) shows that

 (^) is a normal vector

to P. Thus, we can also describe P by the equation

x − y − z = 0.

Let G(x, y, z) = x − y − z + 1. The definition of the level set of G at height 1 is the set

G−^1 (1) = {(x, y, z)

∣ (^) G(x, y, z) = 1}.

Rewriting this, we have

G−^1 (1) = {(x, y, z)

∣ (^) x − y − z + 1 = 1} = {(x, y, z)

∣ (^) x − y − z = 0} = P.

Write f (x, y) = x

(^2) y x^4 +y^2 and let^ gm(t) = (t, mt

(^2) ). Note that as t → 0, g m(t)^ →^ (0,^ 0). Thus, if the limit of f exists as (x, y) → (0, 0), then

lim (x,y)→(0,0)

f (x, y) = lim t→ 0 f (gm(t)).

lim t→ 0

f (gm(t)) = lim t→ 0

t^2 (mt^2 ) t^4 + (mt^2 )^2

= lim t→ 0

mt^4 t^4 (1 + m^2 )

= lim t→ 0

m 1 + m^2

m 1 + m^2

Since this value depends on the choice of m, the limit of f does not exist.

Problem 8. For each function listed below, choose one of the following statements:

Each non-empty level set is a line (L). Each non-empty level set is a circle (C). Not all the level sets are lines or circles (N).

Note that a single point is considered to be a circle of radius 0. You do not need to justify your answers.

a) r(x, y) = e^2 x+y

Only non-empty cases are ex+2y^ = C > 0 and then x + 2y = ln(C) (a line) (L).

b) g(x, y) = sin^2 (xy) + cos^2 (xy)

Note that for any number θ we have sin^2 (θ) + cos^2 (θ) = 1 and so the level set g(x, y) = 1 is the entire x, y plane.

c) h(x, y) = sin(xy)

Take sin(xy) = √^12 and so this level set contains xy = π 4 which is neither a line or a circle and so (N).

d) s(x, y) = (x + y)^2 + (x − y)^2

Expand this to see that

s(x, y) = x^2 + 2xy + y^2 + x^2 − 2 xy + y^2 = 2(x^2 + y^2 ),

and so all (non-empty) level sets are cirlces (and we count a point as a circle).

e) f (x, y) = x + (ln π)y

A level set here is just C = x + ln(π)x which is a line (L).

Remark 1: Part a) was well-answered as expected. A few students gave ∇f (1, 0) as the answer. Moreover, although we have been using x and y to denote coordinates of R^2 , it is recommended to point it out explicitly in your work.

Remark 2: Performance in part b) was poor. Less than 10 students were able to give a satisfactory solution. This question reveals many misconceptions in understanding the interplay between limits, continuity and differentiability. Some of these miscon- ceptions were possibly rooted from the lack of rigor when learning single variable calculus.

All statements below in italics are incorrect:

Misconception 1: Since ∂f ∂x = √x x^2 +y^2 , so ∂f ∂x (0, 0) does not exist because it is 00.

Note that the derivative formula (^) dtd

t = 2 √^1 t works ONLY for t > 0. So in our case, the

partial derivative fx is √x x^2 +y^2 only when x^2 + y^2 6 = 0, or equivalently, (x, y) 6 = (0, 0).

One cannot simply plug in (0, 0) into a formula that works only for (x, y) 6 = (0, 0), as if in single variable calculus you cannot assert

x dx^ is undefined by plugging^ α^ =^ −^1 into formula

xαdx = x

α+ α+1 which only works for^ α^6 =^ −1. The relationship between^ fx for (x, y) 6 = (0, 0) and fx(0, 0) is not that casual. [Please read the counter-example below.]

Misconception 2: lim(x,y)→(0,0) ∂f ∂x does not exist implies ∂f ∂x (0, 0) does not exist either. This is a serious (yet common) misconception. Even in single variable calculus, given a function g : R → R, one cannot claim g′(0) does not exist because limx→ 0 g′(x) does not exist. Here is a counter-example:

g(x) =

x^2 sin (^1) x if x 6 = 0 0 if x = 0

One can show from first principles that g′(0) exists and is equal to 0, but limx→ 0 g′(x) does not exist. For functions of two variables, one can consider the following counter-example:

f (x, y) =

x^3 x^2 +y^2 if (x, y)^6 = (0,^ 0) 0 if (x, y) = (0, 0)

For (x, y) 6 = (0, 0), one can easily work out that

∂f ∂x

x^4 + 3x^2 y^2 (x^2 + y^2 )^2

∂f ∂y

2 x^3 y (x^2 + y^2 )^2

, (x, y) 6 = (0, 0).

I leave it as an exercise for you to show both lim(x,y)→(0,0) fx(x, y) and lim(x,y)→(0,0) fy (x, y) does not exist. However, both fx(0, 0) and fy (0, 0) exist. Here I show fx(0, 0) exists and leave fy (0, 0) for you as an exercise:

fx(0, 0) = lim h→ 0

f (h, 0) − f (0, 0) h

= lim h→ 0

h^3 h^2 +0^2 −^0 h

= lim h→ 0

h^2 h^2

= 1. (So fx(0, 0) DOES exist!!)

Here you can see, the non-existence of lim(x,y)→(0,0) fx(x, y) does not imply that fx(0, 0) does not exist!

Misconception 3a: As lim(x,y)→(0,0) fx(x, y) does not exist and in particular fx is not con- tinuous at (0, 0), by Theorem 14 in P.66 of DVC, f is not differentiable at (0, 0). Theorem 14 indeed asserts that if all first partial derivatives exist around (0, 0) and are continuous at (0, 0), then the function is differentiable at (0, 0). However, it is written clearly in Theorem 14 that the assertion is in one direction only. In fact the converse of this theorem is not true! Here is a counter-example:

h(x, y) =

(x^2 + y^2 ) sin

√^1

x^2 +y^2

if (x, y) 6 = (0, 0)

0 if (x, y) = (0, 0)

One can show hx and hy are not continuous at (0, 0), but h is indeed differentiable at (0, 0). A quick course in logic: given you learnt a theorem in the form “(A) implies (B)”, it is correct to say not(B) implies not(A); however, not(A) does not neccessarily imply not(B). Please keep that in mind!

Misconception 3b: As differentiability implies continuity (hence not continuous implies not differentiable), fx being not continuous at (0, 0) implies f is not differentiable at (0, 0). One should make it clear that a function f being differentiable implies the function f itself is continuous. Even in single variable calculus, a function g : R → R being differentiable at a only implies that the function g itself is continuous at a. One can never use the differentiability of g at a to show continuity of the derivative g′^ at a. There is no casual relationship between differentiability of g and continuity of g′.

The following boxes are strictly for grading purposes. Please do not mark.

Question Score Maximum

Total 90