multivariable calculus practice midterm 1 solutions … · multivariable calculus practice midterm...

4
MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS 1. (5 points ) If ~v × ~ w = h1, 1, -1i and ~v · ~ w = 2, find the angle between ~v and ~ w. Solution: Let θ be the angle in question. By using the formula for the magnitude of cross product (Theorem 3b on page 758), we obtain | ~v|| ~ w| sin(θ)= | ~v × ~ w| = |h1, 1, -1i| = 3. We also have | ~v|| ~ w| cos(θ)= ~v · ~ w = 2. It follows that tan(θ)= sin(θ) cos(θ) = 3 2 . Therefore the answer is θ = arctan 3/2. 2. (10 points ) For which values of parameter a, the vectors ~u = h1, a, 2i and ~v = ha, 4, 4i are (a) parallel? (b) orthogonal? (c) make 45 angle? Solution: (a) ~u and ~v are parallel if and only if ~u × ~v = ~ 0. We compute ~u × ~v = h1, a, 2i×ha, 4, 4i = h4a - 8, 2a - 4, 4 - a 2 i. This vector is zero if and only if a = 2. Answer: a = 2. (b) ~u and ~v are orthogonal if and only if ~u · ~v = a +4a +8=5a + 8 = 0. Answer: a = - 8 5 . (c) If ~u and ~v make 45 angle, then by the formula ~v · ~ w = | ~v|| ~ w| cos(θ), we have 5a +8= p 5+ a 2 p a 2 + 32 cos(45 ). This implies a 4 - 13a 2 - 160a + 32 = 0. This cannot be solved by hand, but using a computer one finds that the solutions are approximately a 0.197 and a 6.171 Since calculators will not be allowed on the exam, any actual exam problem will not require extensive computation. 3. (15 points ) Find an equation of the following lines (if they exist!): a. (5 pts ) The line through A = (2, 4, 2),B = (3, 7, -2),C = (1, 3, 3). b. (5 pts ) The line that passes through the points and (3, 7, 0) and (-5, 5, 1). c. (5 pts ) The line through the point (0, 1, 1) and perpendicular to the vector h4, 6, -2i. (a) We have --→ AB = h1, 3, -4i and -→ AC = h-1, -1, 1i. Since h1, 3, -4i × h-1, -1, 1i = h1, -3, -2i6 = ~ 0, we conclude that --→ AB is not parallel to -→ AC . Hence, there is no line through the three points (b) The direction vector is h-5, 5, 1i-h3, 7, 0i = h-8, -2, 1i. By taking the point (3, 7, 0) on the line, we obtain the parametric equation of the line x =3 - 8t y =7 - 2t z = t 1

Upload: lynhan

Post on 16-Jun-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS … · MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS 1. (5 points) If ~v w~= h1;1; 1iand ~vw~= 2, nd the angle between ~vand

MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS

1. (5 points) If ~v × ~w = 〈1, 1,−1〉 and ~v · ~w = 2, find the angle between ~v and ~w.

Solution: Let θ be the angle in question. By using the formula for the magnitude of crossproduct (Theorem 3b on page 758), we obtain

|~v||~w| sin(θ) = |~v × ~w| = |〈1, 1,−1〉| =√

3.

We also have |~v||~w| cos(θ) = ~v · ~w = 2. It follows that tan(θ) = sin(θ)cos(θ) =

√32 . Therefore the

answer is θ = arctan√

3/2.

2. (10 points) For which values of parameter a, the vectors ~u = 〈1, a, 2〉 and ~v = 〈a, 4, 4〉 are

(a) parallel?(b) orthogonal?(c) make 45◦ angle?

Solution:

(a) ~u and ~v are parallel if and only if ~u× ~v = ~0. We compute

~u× ~v = 〈1, a, 2〉 × 〈a, 4, 4〉 = 〈4a− 8, 2a− 4, 4− a2〉.

This vector is zero if and only if a = 2. Answer: a = 2.

(b) ~u and ~v are orthogonal if and only if ~u ·~v = a+ 4a+ 8 = 5a+ 8 = 0. Answer: a = −85 .

(c) If ~u and ~v make 45◦ angle, then by the formula ~v · ~w = |~v||~w| cos(θ), we have

5a+ 8 =√

5 + a2√a2 + 32 cos(45◦).

This implies a4 − 13a2 − 160a + 32 = 0. This cannot be solved by hand, but using a

computer one finds that the solutions are approximately a ≈ 0.197 and a ≈ 6.171

Since calculators will not be allowed on the exam, any actual exam problem will not requireextensive computation.

3. (15 points) Find an equation of the following lines (if they exist!):a. (5 pts) The line through A = (2, 4, 2), B = (3, 7,−2), C = (1, 3, 3).b. (5 pts) The line that passes through the points and (3, 7, 0) and (−5, 5, 1).c. (5 pts) The line through the point (0, 1, 1) and perpendicular to the vector 〈4, 6,−2〉.

(a) We have−−→AB = 〈1, 3,−4〉 and

−→AC = 〈−1,−1, 1〉. Since

〈1, 3,−4〉 × 〈−1,−1, 1〉 = 〈1,−3,−2〉 6= ~0,

we conclude that−−→AB is not parallel to

−→AC. Hence, there is no line through the three points

(b) The direction vector is 〈−5, 5, 1〉 − 〈3, 7, 0〉 = 〈−8,−2, 1〉. By taking the point (3, 7, 0)on the line, we obtain the parametric equation of the line

x = 3− 8t

y = 7− 2t

z = t1

Page 2: MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS … · MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS 1. (5 points) If ~v w~= h1;1; 1iand ~vw~= 2, nd the angle between ~vand

Note that there are other possible answers. For example, by taking the point (−5, 5, 1)on the line, we obtain another parametric equation of the line

x = −5− 8t

y = 5− 2t

z = t

(c) There are infinitely many such lines. For any a, b such that two numbers a, b, not bothequal to zero, the non-zero vector 〈a, b, 2a+ 3b〉 is perpendicular to the vector 〈4, 6,−2〉.Therefore

x = at

y = 1 + bt

z = 1 + (2a+ 3b)t

is an example of such a line.

4. (15 points)a. (10 pts) Find the plane perpendicular to the planes x+ y− z = 1 and 2x− 3y+ 4z = 5

and passing through the point P = (1, 0,−2).

b. (5 pts) What is the distance from P to the plane 2x− 3y + 4z = 5?Solution:

(a) The normal vector of the plane we need is perpendicular to the normal vectors of the twogiven planes. The normal vectors of the two given planes are 〈1, 1,−1〉 and 〈2,−3, 4〉.So the normal vector of the plane we need is

〈1, 1,−1〉 × 〈2,−3, 4〉 = 〈1,−6,−5〉.Thus the answer is (x− 1)− 6y − 5(z + 2) = 0; or after simplification

x− 6y − 5z − 11 = 0

(b) The distance is given by the distance formula (Formula (9.5.7) on page 776):

|2× 1− 3× 0 + 4× (−2)− 5|√22 + (−3)2 + 42

=11√29.

5. (15 points) Determine whether the following vectors are parallel, perpendicular or neither.Explain why.

a. (4 pts) 〈2,−3, 1〉 and 〈2, 1,−1〉Solution: Since 〈2,−3, 1〉 · 〈2, 1,−1〉 = 4− 3− 1 = 0, the vectors are perpendicular

b. (4 pts) 2i + j− 4k and −7i− 72 j + 14k

Solution: Since (−7i− 72 j + 14k) = (−7

2)(2i + j− 4k), the vectors are parallel

c. (4 pts) a and a× b + a× c, where a,b and c are arbitrary vectors.Solution: Since a · (a × b + a × c) = a · (a × b) + a · (a × c) = 0 + 0 = 0, the vectors are

perpendicular

d. (3 pts) 〈1, 2,−1〉 and n, where n is any vector perpendicular to the plane defined by2x− y − z = 1Solution: Any vector perpendicular to the plane 2x− y− z = 1 is parallel to the normal vectorof the plane n = 〈2,−1,−1〉.

2

Page 3: MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS … · MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS 1. (5 points) If ~v w~= h1;1; 1iand ~vw~= 2, nd the angle between ~vand

Since 〈1, 2,−1〉·n = 2−2+1 = 1 6= 0, the vectors 〈1, 2,−1〉 and n are not perpendicular. Further-

more, 〈1, 2,−1〉 is not a scalar multiplie of n. Therefore, the vectors are neither parallel nor perpendicular

6. (15 points)a. (8 pts) Determine whether the three points (1,−5, 2), (−1,−3, 3) and (−3,−1, 5) lie

on the same line.

Solution: Let a = 〈−2, 2, 1〉 and b = 〈−4, 4, 3〉 be the vectors originating at the first point andending at the second point and third point, respectively. The three points lie on the same lineif and only if the area of the parallelogram they span is 0, which is true if and only if a×b = 0.We compute

a× b =

∣∣∣∣∣∣i j k−2 2 1−4 4 3

∣∣∣∣∣∣ = (6− 4)i− (−6− (−4))j + (−8− (−8))k = 2i + 2j

Since a× b is non-zero, we conclude that the four points do not lie on the same line

b. (7 pts) Determine whether the four points (1, 1, 0), (1, 1,−2), (0, 2,−1) and (5,−3, 0)lie on the same plane.

Solution: Let a = 〈0, 0,−2〉, b = 〈−1, 1,−1〉, and c = 〈4,−4, 0〉 be the vectors from the firstpoint to the second, third and fourth, respectively. The four points lie on the same plane if andonly if the volume of the parallelepiped that they span is 0. The volume of the parallelepiped is|(a× b) · c)| which we will now compute. First

a× b =

∣∣∣∣∣∣i j k0 0 −2−1 1 −1

∣∣∣∣∣∣ = 2i + 2j

Therefore |(a× b) · c| = |8− 8| = 0 so the four points do lie on the same plane

Alternatively, one can find the plane containing three of the points and check whether the fourthpoint lies in this plane. For example, the plane containing the first three points has normalvector a× b = 〈2, 2, 0〉. Hence the plane through the first three points is 2(x− 1) + 2(y − 1) = 0or

x+ y = 2.

The fourth point (5,−3, 0) lies in this plane. Hence the four points are coplanar.

7. (15 points) Let a = 〈−1, 0, 1〉 and b = 〈2, 2, 0〉 be vectors.

a. (8 pts) Find the angle between a and b.Solution: Since a · b = |a||b| cos θ where 0 ≤ θ ≤ π is the angle between a and b, we have

cos θ =a · b|a||b|

=−2√2√

8= −1

2

so that θ = 2π/3

b. (7 pts) Find two unit vectors orthogonal to a and b.Solution: We compute that

a× b =

∣∣∣∣∣∣i j k−1 0 12 2 0

∣∣∣∣∣∣ = −2i + 2j− 2k = 〈−2, 2,−2〉

3

Page 4: MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS … · MULTIVARIABLE CALCULUS PRACTICE MIDTERM 1 SOLUTIONS 1. (5 points) If ~v w~= h1;1; 1iand ~vw~= 2, nd the angle between ~vand

The length of a × b is ||a × b|| =√

4 + 4 + 4 = 2√

3. Both ±(a × b)/|a × b| are unit vectorsperpendicular to a and b. Therefore the answer is

〈−√33 ,√33 ,−

√33 〉 and 〈

√33 ,−

√33 ,√33 〉

8. (15 points) Let P be the plane perpendicular to 〈1, 2, 3〉 passing through the point (1, 0, 1).

a. (5 pts) Find the scalar equation for the plane P .Solution: The scalar equation is (x− 1) + 2y + 3(z − 1) = 0 or x+ 2y + 3z = 4.

b. (5 pts) Is the plane P parallel to the plane defined by 2x + 3y − 4z = 2? Is itperpendicular?

Solution: Plane P has normal vector n1 = 〈1, 2, 3〉 while the plane 2x+ 3y−4z = 2 has normalvector n2 = 〈2, 3,−4〉. Since n1 and n2 are not scalar multiplies, the planes are not parallel.Since n1 · n2 = 2 + 6− 12 = −4 6= 0, the planes are not perpendicular.

c. (5 pts) Does the line given by the parameterization x(t) = 3t + 1, y(t) = 3 andz(t) = −t+ 3 intersect the plane P?

Solution: The line is in the direction of the vector v = 〈3, 0,−1〉. Since v · n1 = 3 − 3 = 0, vis perpendicular to n1. Therefore either the line lies on the plane or is parallel to the plane butdoes not intersect. By setting t = 0, we see that the point (3, 3, 3) is on the line. But this pointdoes not line on the plane as it does not satisfy the equation x + 2y + 3z = 4. Therefore, theanswer is No.

9. (15 points)a. (10 pts) Find parametric equations for the line of intersection of the planes x+ y = 1

and y + z = 1.

Solution: The point (0, 1, 0) is on both planes (one could use other points, such as (1, 0, 1) andthis would lead to a slightly different parametric equation of the line.)The first plane has normal vector n1 = 〈1, 1, 0〉 and the second plane has normal vector n2 =〈0, 1, 1〉. Therefore, the line of intersection has the direction vector v = n1 × n2. We compute

n1 × n2 =

∣∣∣∣∣∣i j k1 1 00 1 1

∣∣∣∣∣∣ = i− j + k = 〈1,−1, 1〉

This gives the parametric equation for the line of intersection:

x(t) = t

y(t) = 1− tz(t) = t

b. (5 pts) Find symmetric equations in x, y and z for the same line.

Solution: By solving for t, we get the symmetric equation:

x = 1− y = z

4