You are given three points in a plane: A has coordinates (2,3)

Math 222
Homework 11 Solutions
Spring 2013
Problem 6.9.10: You are given three points in a plane: A has coordinates (2, 3), B has
~ etc.
coordinates (−1, 2), and C has coordinates (4, −1). Compute AB,
~ = ~b −~a. So AB
~ = (−3, −1), AC
~ = (2, −4), and BC
~ = (5, 3). The
Solution Recall that AB
~ = −BA.
~
other three can be obtained from these by multiplying by −1, since AB
Problem 6.10.3: Find a parametric equation for the line going through the points A(3, 0, 1)
and B(2, 1, 2). Where does this line intersection the coordinate planes?
~ = ~b − ~a = (−1, 1, 1) and goes through (3, 0, 1), so one
Solution The line is parallel to AB
parametric equation is
l(t) = (3, 0, 1) + t(−1, 1, 1)
The xy-plane is given by z = 0. For the z-coordinate of l(t) to equal zero, we must have
t = −1. This gives the point (3, 0, 1) − (−1, 1, 1) = (4, −1, 0).
The xz-plane is given by y = 0. For the y-coordinate of l(t) to equal zero, we must have
t = 0. This gives the point (3, 0, 1).
The yz-plane is given by x = 0. For the x-coordinate of l(t) to equal zero, we must have
t = 3. This gives the point l(3) = (0, 3, 4).
Problem 6.10.4: (a) Find a parametric equation for the line which contains the vectors
~a = (2, 3, 1) and ~b = (3, 2, 3). (b) The vector ~c = (c1 , 1, c3 ) is on this line. What is it?
Solution (a) As before, one equation for the line will be ~a + t(~b − ~a), giving
l(t) = (2, 3, 1) + t(1, −1, 2)
(b) We set (2 + t, 3 − t, 1 + 2t) = (c1 , 1, c3 ). From the y-coordinates, we see that t = 2
must hold, so (c1 , c2 , c3 ) = (4, 1, 5).
Problem 6.10.6: Midpoints of the Tetrahedron.
~
Solution From the midpoint formula, we see that P has position vector ~a+2 b and Q has
~
~ c+d~
position vector ~c+2 d . It follows that M has position vector ~a+b+~
.
4
~b+~c
~a+d~
Similarly, R has position vector 2 , S has position vector 2 . So N also has position
~ c+d~
vector ~a+b+~
.
4
Problem 6.11.1: Given ~a = (2, 1, 3) and ~b = (1, 1, 0), find the parallel and perpendicular
pieces of each with respect to the other.
a·b ~
2
Solution Directly from the formulas, ~ak = kbk
2 b. Note that a · b = 3 and that kbk = 2. It
follows that ~ak = 32 (1, 1, 0) = (1.5, 1.5, 0). Recall that ~a⊥ = ~a − ~ak = (0.5, −0.5, 3).
b·a
Similarly, ~bk = kak
a. As before, b · a = 3. kak2 = 22 + 12 + 32 = 14. So ~bk =
2~
(3/7, 3/14, 9/14). As before, ~b⊥ = ~b − ~bk = (4/7, 11/14, −9/14).
1
Problem 6.11.3: An eraser is lying on the plane P with equation x1 +3x2 +x3 = 6. Gravity
pulls the eraser down, and exerts a force given by f~ = (0, 0, −mg). (a) Find a normal ~n for
the plane P. (b) Decompose the force f~ into a part perpendicular to the plane and a part
perpendicular to ~n.
Solution (a) Recall that we can simply “read off” the normal vector from the coefficients
of x1 , x2 , and x3 in the defining equation for the plane: ~n = (1, 3, 1).
(b) Note that f~ · ~n = −mg. Note also that k~nk2 = 12 + 32 + 12 = 11. It follows that
f~k = −mg
(1, 3, 1). Then f~⊥ = f~ − f~k = ( mg
, 3mg
, − 10mg
).
11
11
11
11
Problem 6.12.1: (a) Simplify k~a − ~bk2 .
Solution Note that this quantity is precisely (~a − ~b) · (~a − ~b) = ~a · ~a − ~b · ~a − ~a · ~b + ~b · ~b,
which simplifies to k~ak2 − 2~a · ~b + k~bk2 .
Problem 6.12.2: Simplify (~a + ~b) · (~a − ~b).
Solution Using the distributive property twice, this expression ~a · ~a + ~b · ~a − ~a · ~b − ~b · ~b,
which simplifies to k~ak2 − k~bk2
Problem 6.12.3: Find the lengths of the sides and the angles in the triangle ABC whose
vertices are A(2, 1), B(3, 2), and C(1, 4).
~ = ~b − ~a = (1, 1), AC
~
Solution The sides of the triangle are AB
√ √
√ = ~c − ~a = (−1, 3),
~ = ~c − ~b = (−2, 2). These have lengths 2, 10, and 2 2, respectively, by the
and BC
Pythagorean theorem.
~ and AC.
~ Then AB
~ · AC
~ =
Let θA denote the angle at vertex A, i.e. the angle between AB
1
2
−1
◦
~
~ cos θA . We find that cos θA = √ √ , so θA = cos √ , or about 63.43 .
kABkk
ACk
2 10
5
~ · BA
~ = kBCkkBAk cos θB . (Note that we have to use BA
~ instead of AB
~
Similarly, BC
~ = −AB,
~ so we can use our previous calculations.)
to get the correct angle. Fortunately BA
This gives us cos θB = 0, so θB = π2 : θB is a right angle.
From basic geometry, we know that the angles in a triangle must add up to π. So
θC = π2 − cos−1 √15 , or about 26.57◦ .
Problem 6.12.4: Suppose you are given A(1, 1), B(3, 2) and a point C along the line
l(t) = (0, 3)+t(1, −1). If ∆ABC is a right triangle, where is C? (There are three possibilities,
depending on which angle you choose to be a right angle.)
~ = (2, 1), AC
~ = (t − 1, 2 − t), and BC
~ = (t − 3, 1 − t)
Solution To start, we find that AB
for some value of t.
There are multiple ways to approach this problem. Suppose that the right angle is at the
~ so the legs BC
~ and AC
~ must be perpendicular. In
vertex C. Then the hypotenuse is AB,
~ · AC
~ = 0. Explicitly,
terms of dot products, this tells us that BC
(t − 1)(t − 3) + (2 − t)(1 − t) = 0
Simplifying, we see that (t − 1)(t − 3 − 2 + t) = 0, so (t − 1)(2t − 5) = 0: either t = 1 or
t = 25 . So either C = (1, 2) or C = (2.5, 0.5).
2
~ so the legs BC
~
If instead the right angle is at the vertex B, then the hypotenuse is AC,
~
~
~
and AB are perpendiuclar: BC · AB = 0. Explicitly,
2(t − 3) + 1(1 − t) = 0
Solving this, we find that 2t − 6 + 1 − t = 0, or t = 5. This yields the point C = (5, −2).
We’ll use a different method in the last case, when the right angle is at the vertex A. By
~ is the hypotenuse, so we get
the Pythagorean theorem, side opposite A (i.e. BC)
~ 2 + kABk
~ 2 = kBCk
~ 2
kACk
This tells us (22 + 12 ) + (t − 1)2 + (2 − t)2 = (t − 3)2 + (1 − t)2 . Simplifying, we find that
5 + 4 − 4t + t2 = t2 − 6t + 9, so t = 0: C is the point l(0) = (0, 3).
Refer to the textbook’s solution guide to see a pretty picture of how these four possible
choices of C are related geometrically.
Problem 6.12.5: (a) Find the defining equation and a normal vector ~n for the line l which
is the graph of y = 1 + 21 x. (b) What is the distance from the origin to l?
Solution (a) Rewrite the defining equation as −x+2y = 2. Then the normal is ~n = (−1, 2).
x−~a)|
(b) Recall the equation d(~x, l) = |~n·(~
, where ~a is some point on the line. Here, we
k~
nk
take ~x = (0, 0) and choose ~a = (0, 1). Evaluating this expression gives us √25 .
Problem 6.12.6: (a) Let l and m be the lines with parametrizations l(t) = (2, 0) + t(1, 2)
and m(s) = (0, −1) + s(−2, 3). Find where the intersect and find the angle between the lines
at this point of intersection.
Solution (a) For the lines to intersect for some values of s and t, two equations must be
satisfied (one for each coordinate):
2 + t = 0 − 2s
2t = −1 + 3s
Or
t + 2s = −2
2t − 3s = −1
Multiplying the first equation by 2 and subtracting the second gives 7s = −3, so s = − 37
and t = −2 + 76 = − 78 . The point we get is (6/7, −16/7).
(b) The angle between the lines is the angle between the vectors (1, 2) and (−2, 3):
changing (2, 0) or (0, −1) replaces one of the lines by a parallel one, so they will still meet
in the same angle. So we can replace both l by t(1, 2) and m by s(−2, 3); the angle between
these lines is simply the angle between the vectors (1, 2) and (−2, 3) since the intersection
point is the origin.
4
Using dot products, we find that (1, 2) · (−2, 3) = (12 + 22 )(22 + 32 ) cos θ, so cos θ = 65
.
3
Problem 6.12.8: Let l and m be the lines with parameterizations l(t) = (2, α, 1) + t(1, 2, 0)
and m(s) = (0, 1, −1) + s(−2, 0, 3), where α is some unknown number. If it is known that
the lines intersect, what can you say about α?
Solution If the lines intersect for some numbers t, s, we have a system of three equations:
2 + t = −2s
α + 2t = 1
1 = −1 + 3s
From the third equation, s = 23 . From the first equation, t = −2 − 2s = −2 −
= 23
.
From the second equation, α = 1 − 2t = 1 + 20
3
3
4
4
3
= − 10
.
3