Docsity

Precise Definition - Linear Algebra and Multivariable Calculus - First Midterm Solved Exam, Exams of Calculus

Toggle sidebar
bg1
Solutions to Math 51 First Exam — April 21, 2011
1. (12 points)
(a) Give the precise definition of a (linear) subspace Vof Rn.
(4 points) A linear subspace Vof Rnis a subset V⊆Rnwhich satisfies
•0∈V.
•If x,y∈Vthen x+y∈V(“Vis closed under addition”).
•If x∈Vand c∈Rthen cx∈V(“Vis closed under scalar multiplication”).
(b) Complete the following sentence: A set of vectors {v1, . . . , vk}is defined to be linearly independent
if
(4 points)
... the equation c1v1+· · · +ckvk=0for c1, . . . , ck∈Rimplies c1=· · · =ck= 0.
OR
... no vector in {v1,. . . , vk}can be written as linear combination of the others.
(c) Suppose {u,v,w}is a linearly independent set of vectors in R7. Is {u+v+w,3v−w,2w}
linearly independent? Justify your answer completely.
(4 points) The vectors in {u+v+w,3v−w,2w}are linearly independent.
Proof: For c1,c2,c3∈R, consider the equation
0 = c1(u+v+w) + c2(3v−w) + c3(2w) = c1u+ (c1+ 3c2)v+ (c1−c2+ 2c3)w.
Since u,vand ware linearly independent by assumption, we conclude that
c1= 0 and c1+ 3c2= 0 and c1−c2+ 2c3= 0.(1)
Putting c1= 0 in c1+ 3c2= 0 implies c2= 0. And putting c1= 0 and c2= 0 in c1−c2+ 2c3= 0
implies c3= 0. Thus the vectors in {u+v+w,3v−w,2w}are linearly independent.
Alternatively, one can write (1) as matrix equation
Ac=
100
130
1−1 2
c1
c2
c3
=
0
0
0
Computing the reduced row echelon form yields
rref(A) =
100
010
001
.
Thus rref(A) and Ahave rank 3 and the equation Ac=0admits only the trivial solution c= 0.
Grader’s comment: Some students worked with the transposed matrix AT. For questions
involving only the rank of a matrix this does not matter. But generally, it does matter if one
uses the transposed matrix or the non-transposed one; in particular, if one sets up a ‘basis change
matrix’ and performs explicit calculations.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Precise Definition - Linear Algebra and Multivariable Calculus - First Midterm Solved Exam and more Exams Calculus in PDF only on Docsity!

Solutions to Math 51 First Exam — April 21, 2011

  1. (12 points)

(a) Give the precise definition of a (linear) subspace V of Rn. (4 points) A linear subspace V of Rn^ is a subset V ⊆ Rn^ which satisfies

  • 0 ∈ V.
  • If x, y ∈ V then x + y ∈ V (“V is closed under addition”).
  • If x ∈ V and c ∈ R then cx ∈ V (“V is closed under scalar multiplication”).

(b) Complete the following sentence: A set of vectors {v 1 ,... , vk} is defined to be linearly independent if (4 points) ... the equation c 1 v 1 + · · · + ckvk = 0 for c 1 ,... , ck ∈ R implies c 1 = · · · = ck = 0. OR ... no vector in {v 1 ,... , vk} can be written as linear combination of the others.

(c) Suppose {u, v, w} is a linearly independent set of vectors in R^7. Is {u + v + w, 3 v − w, 2 w} linearly independent? Justify your answer completely. (4 points) The vectors in {u + v + w, 3 v − w, 2 w} are linearly independent. Proof: For c 1 , c 2 , c 3 ∈ R, consider the equation

0 = c 1 (u + v + w) + c 2 (3v − w) + c 3 (2w) = c 1 u + (c 1 + 3c 2 )v + (c 1 − c 2 + 2c 3 )w.

Since u, v and w are linearly independent by assumption, we conclude that

c 1 = 0 and c 1 + 3c 2 = 0 and c 1 − c 2 + 2c 3 = 0. (1)

Putting c 1 = 0 in c 1 + 3c 2 = 0 implies c 2 = 0. And putting c 1 = 0 and c 2 = 0 in c 1 − c 2 + 2c 3 = 0 implies c 3 = 0. Thus the vectors in {u + v + w, 3 v − w, 2 w} are linearly independent.

Alternatively, one can write (1) as matrix equation

Ac =

c 1 c 2 c 3

Computing the reduced row echelon form yields

rref(A) =

Thus rref(A) and A have rank 3 and the equation Ac = 0 admits only the trivial solution c = 0. Grader’s comment: Some students worked with the transposed matrix AT^. For questions involving only the rank of a matrix this does not matter. But generally, it does matter if one uses the transposed matrix or the non-transposed one; in particular, if one sets up a ‘basis change matrix’ and performs explicit calculations.

  1. (12 points) Let Z be the plane in R^3 containing the points (1, 0 , 1), (0, 1 , −1), and (1, 2 , 3).

(a) Find a parametric representation of Z. (4 points) We need a point the plane passes through, and two vectors in the plane:

x 0 =

 (^) , v =

 (^) , w =

The parametric representation of the plane is thus:   

 (^) + t

 (^) + s

 (^) s, t ∈ R

(b) Give an equation for Z of the form ax + by + cz = d. (Here a,b,c,d are scalars, and x,y,z are the usual variables for coordinates of points in R^3 .) (4 points)

We find a normal n to the plane, where n = v × w from above: n =

 ×

The equation of the plane is then:  

x y z

 (^) = 0 ⇐⇒ 6(x − 1) + 2(y − 0) − 2(z − 1) = 0

⇐⇒ 3 x + y − z = 2.

(c) Find the coordinates of a point P in Z having the property that the vector from the origin to P is perpendicular (normal) to Z.

(4 points) Denote the point we are looking for by

a b c

. Because the vector with the same entries

is perpendicular to the plane Z, it must be parallel to Z’s normal vector n. Thus, we must have:  

a b c

 (^) = t

 (^) for some t.

But because the point is in the plane, it must satisfy the equation of the plane as follows:

3 a + b − c = 2 ⇐⇒ 3(6t) + 2t − (− 2 t) = 2 ⇐⇒ 22 t = 2.

Thus t =

, so the point we are looking for is

6 11 2 11 − 112

  1. (12 points) Suppose that all we know about the 3 × 4 matrix A is that its entries are all nonzero, and that its reduced row echelon form is

rref(A) =

 (^) (Note: this is not the matrix A!)

(a) Find a basis for the null space of A; show your reasoning. (4 points) We’re able to solve this part without knowing A, because N (A) = N (rref(A)) (why?). We proceed in the standard manner: using rref(A), we can see that the third column does not contain a pivot, so x 3 is a freee variable. We now express the pivot variables in terms of the free variable: (^)  



x 1 + 2x 3 = 0 x 2 − x 3 = 0 x 4 = 0

and so

x 1 x 2 x 3 x 4

− 2 x 3 x 3 x 3 0

 =^ x^3

and we get that

is a basis for N (A).

(b) If the columns of A, in order, are a 1 , a 2 , a 3 , a 4 ∈ R^3 , circle all sets of vectors below that give a basis for the column space of A. You do not need to justify your answer(s).

{a 1 } {a 2 } {a 3 } {a 4 }

{a 1 , a 2 } {a 1 , a 3 } {a 2 , a 3 } {a 1 , a 4 } {a 2 , a 4 } {a 3 , a 4 }

{a 1 , a 2 , a 3 } {a 1 , a 2 , a 4 } {a 1 , a 3 , a 4 } {a 2 , a 3 , a 4 }

{a 1 , a 2 , a 3 , a 4 }

(4 points) We’ve seen that one basis for C(A) is formed by taking the columns of A that cor- respond to the pivot-columns of rref(A). Thus, {a 1 , a 2 , a 4 } is a basis for C(A). From this, it immediately follows that dim C(A) = 3 and therefore no set of size 1, 2, or 4 can ever be a basis for C(A); we can thus eliminate from further consideration all such sets in the above list. We’re left to consider the three remaining three-element sets of column vectors listed above. Now, recall that according to a result from Chapter 12 of the text, a three-element subset of a three-dimensional subspace V is a basis for V if and only if it is linearly independent; this means it’s sufficient for us to check whether these remaining choices are independent sets. Next, note that since rref(A) has the same column dependencies as A (or equivalently using part (a)), we know that

A

(ctd next page)

Thus, using the column-mixing properties of the matrix-vector product, we have that

− 2 a 1 + a 2 + a 3 = 0,

which means that the set {a 1 , a 2 , a 3 } is linearly dependent, so it cannot be a basis for C(A). Finally, each of the remaining two options is an independent set (and thus a basis); for example, since a 3 = 2a 1 − a 2 , we may re-think of {a 1 , a 3 , a 4 } as {a 1 , 2 a 1 − a 2 , a 4 }. Using the fact that the basis {a 1 , a 2 , a 4 } is linearly independent, we may make an argument analogous to that from problem 1(c) of this exam to see that {a 1 , 2 a 1 −a 2 , a 4 } is also independent. A similar argument works for {a 2 , a 3 , a 4 }.

(c) Suppose we also know that the second and third columns of A are, respectively,

a 2 =

 (^) and a 3 =

Use this information to find the first column a 1 of A; give your reasoning.

(4 points) From above, we see that a 1 = 12 (a 2 + a 3 ). Thus, a 1 =

  1. (12 points) For each part, provide with reasoning an example of a matrix (A, B, or C, respectively) that satisfies the given property, or briefly explain why no such matrix can exist.

(a) The linear system A

[

x 1 x 2

]

 (^) has infinitely many solutions.

(4 points) First, note that for the system to make sense, the matrix A should be a 3×2 matrix.

It would have infinitely many solutions if the vector

 (^) is in C(A) and nullity(A) > 0. The

nullity condition implies that rank(A) < 2; i.e., that the two columns of A are linearly dependent. Such a matrix exists and possible choices of A include  

 (^) and

 (^) among many other options.

(b) The linear system B

[

x 1 x 2

]

 (^) has exactly one solution.

(4 points) Again, the matrix B should be a 3×2 matrix. The system would have a unique

solution if the vector

 (^) is in C(B), and also nullity(B) = 0. The nullity condition implies

that rank(B) = 2; i.e., that the two columns of B are linearly independent. Such a matrix exists and possible choices of B include  

 (^) and

 (^) among many other options.

(c) The linear system C

[

x 1 x 2

]

 (^) has no solutions.

(4 points) If C is a 3 × 2 matrix, the system would have no solution if

 (^) is not in the column

space of C. Such a matrix C exists and can be constructed easily by including a row of zeros to give an ”inconsistent” equation. For example, if the last row of C is zero, the system would imply (0)x 1 + (0)x 2 = −1, which is impossible. Possible choices of C include  

 (^) and

 (^) among many other options.

  1. (12 points)

(a) Suppose S : R^2 → R^3 is a linear transformation such that

S

([

])

 (^) and S

([

])

Find the matrix of S. (4 points) Recall that the matrix corresponding to a linear transformation is given by  

S(e 1 ) S(e 2 ) | |

so to figure out the matrix, we need only compute S(e 1 ) and S(e 2 ). Conveniently, S(e 1 ) is given to us. And we can figure out S(e 2 ) as follows: by linearity,

S(e 2 ) = S

([

])

= S

([

]

[

])

= S

([

])

− 2 S

([

])

Thus, the matrix A corresponding to S is A =

(b) Let T : R^2 → R^2 be the linear transformation that projects vectors onto the line y = x. Find the matrix of T. (4 points) We recall that for projections in R^2 , the matrix of ProjL is given by the expression

1 ‖v‖^2

[

v^21 v 1 v 2 v 1 v 2 v^22

]

where v = (v 1 , v 2 ) is any spanning vector for the line L that we are projecting onto. In this particular example, L is y = x, and this is spanned by (among other choices) the vector (1, 1).

So, letting v = (1, 1) = (v 1 , v 2 ), we compute that the matrix B of T is B =

[

]

(Alternatively, we could use the formula ProjL(v) = (v · u)u to find the columns of B; here u = √^12 (1, 1) is a unit vector that spans L. This formula for ProjL in Rn^ holds for any n!)

(c) For S and T as above, find the matrix of S ◦ T or explain why it cannot be defined. (4 points) The linear transformation S ◦ T : R^2 → R^3 is defined, because the codomain of T and the domain of S coincide (both are R^2 ). Or, at the matrix level, S ◦ T has matrix given by the product AB (using the names above); this product exists because A is 3 × 2 and B is 2 × 2.

We do the product (note it’s 3 × 2): AB = (^12)

[

]

1 2

1 2