MATH 133 Linear Algebra and Geometry • McGill University, Montreal
Corrected exercises: dot product, projections and planes (MATH 133)
This is the corrected exercise set for the dot product chapter of MATH 133, Linear Algebra and Geometry, the first-year course at McGill University in Montreal, section 4.2 of Nicholson.It covers the dot product and angles, orthogonality, the projection of one vector on another, the scalar equation of a plane, the intersection of a line with a plane, angles between planes and every distance the chapter asks for.
What the set covers, the traps it targets
It covers the dot product and angles, orthogonality, the projection of one vector on another, the scalar equation of a plane, the intersection of a line with a plane, angles between planes and every distance the chapter asks for.
All numbers reduce by hand, as they must in an exam without a calculator.
The thread running through the whole set: every length and every angle here is a PROJECTION onto one well-chosen direction, and for a plane that direction is always the normal n, never a vector lying in the plane. The distance from a point to a line is what is LEFT after projecting on the direction of the line; the distance from a point to a plane is the projection ITSELF, on the normal. Parallel planes, perpendicular planes, lines parallel to a plane and angles between planes are all read off the normals.
The traps named explicitly in the solutions: dividing by ∥v∥ instead of ∥v∥2 in a projection, taking the length of the projection for the distance to a line, forgetting to divide by ∥n∥ in the distance to a plane, subtracting right-hand sides of parallel planes whose normals were not made equal, reading d⋅n=0 as perpendicular when it means parallel, reporting 135∘ as the angle between two planes, and taking a vertical gap for the distance to a slanted plane.
•u⋅v=u1v1+u2v2+u3v3=∥u∥∥v∥cosθ, with θ∈[0,π]; u⋅u=∥u∥2.
•Sign of u⋅v: positive, acute; zero, orthogonal; negative, obtuse.
•projvu=∥v∥2u⋅vv, and u−projvu is orthogonal to v.
•Plane through P with normal n=(a,b,c): n⋅(X−P)=0, that is ax+by+cz=d with d=n⋅P.
•Line P+td and plane with normal n: d⋅n=0, one point; d⋅n=0, parallel or contained, decided by one point.
•Distance from (x0,y0,z0) to ax+by+cz=d: a2+b2+c2∣ax0+by0+cz0−d∣.
•Angle between two planes: cosθ=∥n1∥∥n2∥∣n1⋅n2∣, always acute; parallel when the normals are proportional.
Part A: the basics (/50)
Exercise 1: The dot product, and the angle it hides
10 answers to check
The dot product of u=(u1,u2,u3) and v=(v1,v2,v3) is the NUMBER u⋅v=u1v1+u2v2+u3v3. It is also ∥u∥∥v∥cosθ, where θ is the angle between the two vectors, taken in [0,π]. Putting the two formulas side by side is how an angle in space is computed without a protractor.
Throughout, u=(2,1,−2) and v=(1,1,0). The figure shows what the sign of the dot product says before any angle is computed.
a) Compute u⋅v, ∥u∥ and ∥v∥, then the angle between u and v.
b) Show that w=(1,0,1) is orthogonal to u.
c) Find every real k for which (k,k,1) and (k,−3,2) are orthogonal.
d) Without computing any angle, decide whether the angle between u and x=(−1,2,1) is acute, right or obtuse.
e) Give the angle between u and −v, and explain the relation with a).
Show the solution
Answers
a)u⋅v=3, ∥u∥=3, ∥v∥=2, θ=4π (45∘)
b)u⋅w=0 with both vectors non-zero, so they are orthogonal.
c)k=1 or k=2
d)Obtuse, since u⋅x=−2<0.
e)43π (135∘), that is π−4π.
a)
Multiply coordinate by coordinate and add: u⋅v=2×1+1×1+(−2)×0=3. The lengths are ∥u∥=4+1+4=3 and ∥v∥=1+1+0=2. Then cosθ=∥u∥∥v∥u⋅v=323=21, so θ=4π. Two slips cost the mark here: forgetting the square root in a length (writing ∥u∥=9), and dividing by only one of the two lengths. The values in a MATH 133 exam are chosen so that cosθ lands on 0, ±21, ±21 or ±23; if yours does not, recheck a length before reaching for arccos.
b)
u⋅w=2×1+1×0+(−2)×1=0. Since neither vector is zero, cosθ=0 and θ=2π: they are orthogonal. The sentence must mention that both vectors are non-zero. The zero vector has dot product 0 with everything, and by convention it is called orthogonal to every vector, but it has no direction and no angle.
c)
Orthogonal means the dot product is zero, and here it is a quadratic in k: (k,k,1)⋅(k,−3,2)=k2−3k+2=(k−1)(k−2). So k=1 or k=2. Check both, because a sign slip in the middle coordinate would change the roots: (1,1,1)⋅(1,−3,2)=1−3+2=0 and (2,2,1)⋅(2,−3,2)=4−6+2=0. Answering only k=1 loses half the part: the question says every real k.
d)
u⋅x=−2+2−2=−2. Lengths are positive, so cosθ has the SIGN of the dot product: positive means acute, zero means right, negative means obtuse. Here the angle is obtuse, and computing it would be wasted time. This sign test is exactly what the figure shows, and it is the fastest way to answer questions of the type is the angle at vertex A of this triangle obtuse.
e)
u⋅(−v)=−3 while the lengths are unchanged, so cosθ′=−21 and θ′=43π. Reversing one vector replaces θ by π−θ. Keep this in mind for the rest of the chapter: a line or a plane does not care about the sign of its direction or normal vector, so an angle between LINES or between PLANES is always reported as the acute one, whereas an angle between two VECTORS can be anything in [0,π].
Points are earned before the solution; after it, you can keep practising.
For you:
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: Projection: the shadow and what is left over
13 answers to check
The projection of u on a non-zero vector v is the vector p=projvu=∥v∥2u⋅vv. It is the part of u that lies along v, and u−p is what is left over, which is orthogonal to v. Every distance in this chapter comes from this one decomposition.
Take u=(3,1,2) and v=(1,1,1).
a) Compute p=projvu.
b) Compute u−p, check that it is orthogonal to v, and write u as a sum of a vector parallel to v and a vector orthogonal to v.
c) Give the scalar component of u along v and compare it with ∥p∥.
d) Compute projuv. Is it equal to p?
e) Show that replacing v by 2v or by −v does not change p, and explain what this says about the formula.
Show the solution
Answers
a)p=(2,2,2)
b)u−p=(1,−1,0), and (3,1,2)=(2,2,2)+(1,−1,0)
c)∥v∥u⋅v=23=∥p∥
d)projuv=(79,73,76), not equal to p.
e)Both give (2,2,2): the projection depends only on the LINE spanned by v.
a)
u⋅v=3+1+2=6 and ∥v∥2=3, so p=36(1,1,1)=(2,2,2). Note that ∥v∥2 is computed WITHOUT a square root: ∥v∥2=v⋅v. The most frequent wrong line on this formula divides by ∥v∥ instead of ∥v∥2 and writes 36(1,1,1), a vector 3 times too long. Part e) shows why that version cannot be right.
b)
u−p=(3,1,2)−(2,2,2)=(1,−1,0), and (1,−1,0)⋅(1,1,1)=1−1+0=0: orthogonal, as it must be. So u=(2,2,2)+(1,−1,0), the first vector a multiple of v, the second orthogonal to it. This check costs five seconds and catches almost every arithmetic slip in a): if u−p does not dot to zero with v, the projection is wrong. It is also the picture on the figure: the leftover arrow stands at a right angle on the line of v.
c)
The scalar component is ∥v∥u⋅v=36=23, a signed NUMBER, whereas p is a VECTOR. Here ∥p∥=4+4+4=23, the same value, because u⋅v>0. Had the dot product been negative, the scalar component would be −∥p∥ and p would point against v. Exam questions say which one they want, projection (a vector) or scalar component (a number), and giving the other loses the part.
d)
projuv=∥u∥2v⋅uu=146(3,1,2)=(79,73,76). It is NOT p: it lies along u, not along v, and has a different length, 146 instead of 23. The dot product in the numerator is symmetric, the rest of the formula is not. Write the subscript, the vector you project ON, before writing anything else.
e)
With 2v=(2,2,2): ∥2v∥2u⋅2v2v=1212(2,2,2)=(2,2,2). With −v: 3−6(−1,−1,−1)=(2,2,2). The scale factor appears twice on top and twice below, so it cancels: the projection depends only on the line through the origin spanned by v. This is precisely why the denominator must be ∥v∥2. With ∥v∥ alone the answer would double when v doubles, and a shadow on a line cannot depend on which arrow you used to name that line.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 3: Distance from a point to a line: project, then keep the rest
14 answers to check
The line L passes through P0=(1,0,1) with direction d=(1,2,2), so its points are X(t)=(1+t,2t,1+2t). The point Q=(5,5,3) is not on L. The figure names w=P0Q.
The idea is the decomposition of the previous exercise, used with a purpose: the part of w along d tells you where to stop on the line, and the part left over IS the shortest segment from Q to the line.
a) Compute w and projdw.
b) Find the point F of L closest to Q.
c) Find the distance from Q to L.
d) Check your answer two ways: FQ is orthogonal to d, and the lengths satisfy Pythagoras.
e) Recover F and the distance without projections, by writing ∥X(t)Q∥2 as a quadratic in t and completing the square.
Show the solution
Answers
a)w=(4,5,2), projdw=(2,4,4)
b)F=(3,4,5), reached at t=2
c)distance =3
d)(2,1,−2)⋅(1,2,2)=0 and 45=36+9
e)9(t−2)2+9, minimum 9 at t=2, so again F=(3,4,5) and distance 3
a)
w=Q−P0=(5−1,5−0,3−1)=(4,5,2). Then w⋅d=4+10+4=18 and ∥d∥2=1+4+4=9, so projdw=918(1,2,2)=(2,4,4). The ratio 918=2 is worth keeping: it is the value of the parameter t at the foot of the perpendicular.
b)
Walk from P0 along the line by exactly the projection: F=P0+(2,4,4)=(3,4,5), which is X(2), so F is indeed on L. The projection answers where on the line; it does not answer how far from the line.
c)
The distance is the length of what is LEFT: w−projdw=(4,5,2)−(2,4,4)=(2,1,−2), of length 4+1+4=3. This is the trap of the exercise and it costs the whole part: ∥projdw∥=6 is the distance from P0 to F ALONG the line, and it depends on which point P0 was used to write L. The distance from Q to the line cannot depend on that choice, and the leftover does not.
d)
FQ=Q−F=(2,1,−2), the leftover of c), and (2,1,−2)⋅(1,2,2)=2+2−4=0: the segment FQ meets L at a right angle, as on the solution figure. Pythagoras in the right triangle P0FQ: ∥w∥2=16+25+4=45, and 62+32=36+9=45. Both checks hold, and each takes a line.
e)
X(t)Q=w−td=(4−t,5−2t,2−2t), so ∥X(t)Q∥2=(4−t)2+(5−2t)2+(2−2t)2=9t2−36t+45=9(t−2)2+9. The square is never negative, so the minimum is 9, reached at t=2: same foot F=X(2), same distance 9=3. No derivative is needed, and none is expected in MATH 133. The two methods are the same computation in disguise: expanding gives ∥w∥2−2t(w⋅d)+t2∥d∥2, whose vertex sits at t=∥d∥2w⋅d, the coefficient of the projection.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 4: A plane is one point and a normal
12 answers to check
A plane in space is determined by one point P on it and one non-zero vector n orthogonal to it, the NORMAL. A point X lies on the plane exactly when PX lies in the plane, that is when n⋅(X−P)=0. Expanded, this is the scalar equation ax+by+cz=d, and the coefficients (a,b,c) ARE the normal.
The figure shows the one relation this exercise uses: every vector that stays inside the plane is orthogonal to n.
a) Write the scalar equation of the plane through P=(2,−1,3) with normal n=(1,−2,2).
b) Do A=(4,1,4) and B=(1,1,5) lie on this plane? Justify with PA for the first.
c) Find the plane through Q=(1,1,1) perpendicular to the line (x,y,z)=(3,0,−1)+t(2,−1,1).
d) Find the plane through R=(1,0,2) parallel to the plane 2x+y−2z=5.
e) In R3, what is the set of points satisfying 3x−y=7? Give a normal and two of its points.
Show the solution
Answers
a)x−2y+2z=10
b)A lies on it (PA⋅n=0); B does not (1−2+10=9=10).
c)2x−y+z=2
d)2x+y−2z=−2
e)A plane with normal (3,−1,0), containing for instance (3,2,0) and (3,2,5).
a)
n⋅(X−P)=0 reads 1(x−2)−2(y+1)+2(z−3)=0, that is x−2y+2z=2+2+6=10. The shortcut is to write x−2y+2z=d straight from the normal and find d by substituting P: 2−2(−1)+2(3)=10. Always substitute P back into the final equation; a sign slip on d is the commonest error here and it moves the plane without changing its tilt.
b)
For A: PA=(2,2,1) and n⋅PA=2−4+2=0, so PA lies in the plane and A is on it; substitution agrees, 4−2+8=10. For B: 1−2+10=9=10, so B is NOT on it. Note that B is off by one unit of the equation, not one unit of distance; the actual distance would be ∥n∥1=31, as exercise 6 will show.
c)
A plane perpendicular to a line has the DIRECTION of the line as its normal: n=(2,−1,1). Through Q: 2x−y+z=2−1+1=2. The point (3,0,−1) of the line is irrelevant, since the plane is asked to pass through Q, and a copy that uses it instead writes 2x−y+z=5, a parallel plane in the wrong place. Perpendicular to a line and containing a line are opposite situations: for the second, the direction would have to be ORTHOGONAL to n.
d)
Parallel planes share their normal, so the answer is 2x+y−2z=d with d=2(1)+0−2(2)=−2: the plane 2x+y−2z=−2. Only d changes. The given plane is 2x+y−2z=5 and R gives −2=5, so R is not on it and the new plane is a genuine different, parallel plane. Had R satisfied the original equation, the only answer would have been the original plane itself.
e)
In R3 the equation 3x−y=7 is 3x−y+0z=7: a PLANE with normal (3,−1,0), not a line. The missing z means z is free, so the plane is vertical: it contains the whole vertical line through every point of the line 3x−y=7 in the xy-plane. For instance (3,2,0) and (3,2,5) both satisfy it, since 9−2=7. Calling it a line is the classic error of carrying the picture of R2 into R3: one linear equation in three unknowns always leaves two free parameters.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 5: Where a line meets a plane: one point, none, or all of it
11 answers to check
The plane is Π:2x−y+3z=6, with normal n=(2,−1,3). A line X(t)=P+td can cross Π in exactly one point, run parallel to it without touching it, or lie inside it. One dot product, d⋅n, separates the first case from the other two; one substitution separates the last two.
a) Find the intersection of Π with L1:(0,1,1)+t(1,1,1).
b) Same question for L2:(0,0,0)+t(1,2,0).
c) Same question for L3:(3,0,0)+t(1,−1,−1).
d) For which a is L:(1,2,0)+t(a,2,1) parallel to Π? For that value, does L lie in Π?
e) Give the line through the point found in a) that is perpendicular to Π.
Show the solution
Answers
a)One point, (1,2,2), at t=1
b)No intersection: L2 is parallel to Π and off it.
c)L3 lies in Π: every t works.
d)a=−21; then L is parallel to Π but not in it.
e)(1,2,2)+s(2,−1,3)
a)
First the test: d⋅n=2−1+3=4=0, so L1 is not parallel to Π and meets it in exactly one point. Substitute X(t)=(t,1+t,1+t) into the equation: 2t−(1+t)+3(1+t)=4t+2=6, so t=1 and the point is (1,2,2). Check: 2−2+6=6. Notice that the coefficient of t after substitution, 4, is exactly d⋅n. That is not a coincidence, and it is the whole explanation of the three cases.
b)
d⋅n=2−2+0=0. Substituting (t,2t,0) gives 2t−2t+0=0=6, an equation with no solution: the t has disappeared because its coefficient is d⋅n=0, and what remains is false. The line is PARALLEL to Π and does not meet it. Geometrically, d is orthogonal to the normal, so the line runs alongside the plane; the origin is at the wrong level, 0=6.
c)
d⋅n=2+1−3=0 again, so L3 is parallel to Π. Substituting (3+t,−t,−t): 6+2t+t−3t=6, that is 6=6, true for EVERY t. The line lies inside the plane. Parts b) and c) have the same direction test and opposite conclusions, which is why the test alone never finishes the question: when d⋅n=0, check whether ONE point of the line satisfies the equation.
d)
Parallel means d⋅n=2a−2+3=2a+1=0, so a=−21. The point (1,2,0) gives 2−2+0=0=6, so the line is parallel to Π and disjoint from it. The trap on this part is the word parallel: d⋅n=0 means d is perpendicular to the NORMAL, hence parallel to the PLANE. A student who reads it as the line is perpendicular to the plane writes the exact opposite of the truth, and every later part inherits the error.
e)
A line perpendicular to Π has the direction of the NORMAL: (1,2,2)+s(2,−1,3). Here d⋅n=∥n∥2=14=0, so it does cross Π, at s=0, as it should. The two conditions to keep apart: a line is PERPENDICULAR to a plane when d is a multiple of n, and PARALLEL to it when d⋅n=0.
Points are earned before the solution; after it, you can keep practising.
For you:
Part B: problems and reasoning (/50)
Exercise 6: Distance from a point to a plane, and where the formula comes from
10 answers to check
The plane is Π:2x−y+2z=5, with normal n=(2,−1,2), and Q=(3,0,4). The formula a2+b2+c2∣ax0+by0+cz0−d∣ is on every formula sheet. A MATH 133 exam asks where it comes from, and the answer is one projection: pick any point P of the plane, and project PQ on the normal.
a) Check that P=(0,−5,0) lies on Π, then compute the distance from Q to Π by projecting PQ on n.
b) Derive the general formula from the same argument, and explain why the choice of P does not matter.
c) Find the point F of Π closest to Q.
d) Find the mirror image Q′ of Q across Π, and check its distance to Π.
e) Are the origin and Q on the same side of Π? And the point R=(1,1,1)?
Show the solution
Answers
a)0+5+0=5, so P∈Π; distance =∥n∥∣PQ⋅n∣=39=3
b)a2+b2+c2∣ax0+by0+cz0−d∣, since n⋅P=d for every P∈Π
c)F=(1,1,2)
d)Q′=(−1,2,0), at distance 3 on the other side
e)Origin: opposite side to Q. R: same side as the origin.
a)
2(0)−(−5)+2(0)=5, so P is on Π. Then PQ=(3,5,4) and PQ⋅n=6−5+8=9, with ∥n∥=4+1+4=3. The projection of PQ on n is 99n=(2,−1,2), of length 3, and this length IS the distance: on the figure, the normal direction is the only direction in which moving changes your distance to the plane. Note the contrast with exercise 3. For a line, the distance was the part LEFT after projecting on the direction; for a plane, it is the projection itself, on the normal. And ∥PQ∥=50 is not the distance: P was an arbitrary point.
b)
Let Q=(x0,y0,z0) and let P be any point of ax+by+cz=d, so n⋅P=d. Then PQ⋅n=n⋅Q−n⋅P=ax0+by0+cz0−d, and the distance is the absolute value of the scalar component: a2+b2+c2∣ax0+by0+cz0−d∣. The choice of P has vanished from the result because n⋅P=d for EVERY point of the plane; equivalently, two choices of P differ by a vector lying in the plane, which is orthogonal to n and projects to zero. Here: 3∣6−0+8−5∣=3. Forgetting the denominator, the most frequent error, gives 9.
c)
From Q, move back along the normal by the projection found in a): F=Q−∥n∥2n⋅Q−dn=(3,0,4)−99(2,−1,2)=(1,1,2). Check that F is on Π: 2−1+4=5. Check that FQ=(2,−1,2) is parallel to n: it is n itself, so FQ meets the plane at a right angle, and ∥FQ∥=3 as in a). Dividing by ∥n∥ here instead of ∥n∥2 gives (−3,3,−2), which is not on Π (−6−3−4=−13), and the substitution catches it at once.
d)
The mirror image is as far beyond F as Q is before it: Q′=Q−2(2,−1,2)=(−1,2,0), and F is the midpoint of QQ′, since 21(3−1,0+2,4+0)=(1,1,2). Distance check with the formula: 3∣−2−2+0−5∣=39=3. The quantity inside the absolute value is −9 for Q′ and +9 for Q, which is the subject of e).
e)
Drop the absolute value and look at the sign of s(X)=2x−y+2z−5. s(Q)=9>0, s(0,0,0)=−5<0: opposite signs, so the origin and Q are on OPPOSITE sides and any segment joining them crosses Π. s(R)=2−1+2−5=−2<0, the sign of the origin: same side as the origin. The absolute value in the formula is exactly what throws this information away, so a question about sides is answered BEFORE taking it.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 7: Parallel planes, and the angle between two planes
7 answers to check
Two planes are compared through their normals and nothing else. Proportional normals: the planes are parallel, or the same plane. Otherwise the planes meet, and the angle between them is the angle between their normals, reported as the acute one. The figure shows a cross-section taken perpendicular to both planes, where each plane appears as a line and each normal as an arrow.
a) Show that Π1:x+2y−2z=3 and Π2:2x+4y−4z=18 are parallel and distinct, and find the distance between them.
b) Find every plane parallel to Π1 at distance 1 from it.
c) Find the angle between the planes x−z=0 and y−z=2.
d) Find the angle between the planes x+y=1 and −x=4.
e) Find k so that the plane kx+2y−z=0 is perpendicular to Π1.
Show the solution
Answers
a)Normals (2,4,−4)=2(1,2,−2), and Π2 is x+2y−2z=9; distance =2
b)x+2y−2z=0 and x+2y−2z=6
c)3π (60∘)
d)4π (45∘), not 135∘
e)k=−6
a)
n2=(2,4,−4)=2n1, so the planes are parallel. Divide the equation of Π2 by 2 to give it the SAME normal: x+2y−2z=9. Same left side, different right side, so the planes are distinct. Now the distance is ∥n1∥∣9−3∣=36=2. The classic wrong line is 3∣18−3∣=5, comparing right-hand sides of equations written with different normals. A second route, which needs no rescaling, checks it: (3,0,0) is on Π1, and its distance to Π2 is 4+16+16∣6−18∣=612=2.
b)
A plane parallel to Π1 is x+2y−2z=c, and its distance to Π1 is 3∣c−3∣. Setting this equal to 1 gives ∣c−3∣=3, so c=0 or c=6. There are TWO answers, one on each side, and giving only one loses half the part. A useful sanity check: x+2y−2z=0 passes through the origin, and the distance from the origin to Π1 is indeed 33=1.
c)
n1=(1,0,−1) and n2=(0,1,−1): n1⋅n2=1 and both lengths are 2, so cosθ=21 and θ=3π. Why the normals: on the figure, turning plane Π1 by θ onto plane Π2 turns its normal by the same θ, since each normal is glued at a right angle to its plane. Using direction vectors lying in the planes instead does not work: a plane contains infinitely many directions, and two of them chosen at random can make any angle at all.
d)
n1=(1,1,0), n2=(−1,0,0): cosφ=2×1−1=−21, so the NORMALS make φ=43π. The planes make the acute angle θ=π−φ=4π. The same plane could have been written x=−4, with normal (1,0,0), and the computation would then have given 4π directly: the sign of a normal is arbitrary, so the angle between planes is defined by cosθ=∥n1∥∥n2∥∣n1⋅n2∣, with the absolute value. Answering 135∘ loses the part.
e)
Perpendicular planes have perpendicular normals: (k,2,−1)⋅(1,2,−2)=k+4+2=k+6=0, so k=−6. Check: (−6,2,−1)⋅(1,2,−2)=−6+4+2=0. Do not confuse with the condition for PARALLEL planes, which asks for proportional normals and would have no solution here, since the z-coefficients −1 and −2 force a ratio of 2 that the y-coefficients 2 and 2 refuse.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 8: Five statements to correct
9 answers to check
Each statement below was written by a student preparing for a MATH 133 midterm, and each is false. Say what is wrong, give the correct statement, and give the smallest example that settles it.
a) u⋅v=0, so one of the two vectors must be the zero vector.
b) projvu=projuv, because u⋅v=v⋅u.
c) The plane 2x−y+z=3 contains the line (x,y,z)=t(2,−1,1), since that line has the direction of the plane.
d) The distance from (1,1,1) to the plane x+y+z=6 is ∣1+1+1−6∣=3.
e) ∥u+v∥2=∥u∥2+∥v∥2 for any two vectors.
Show the solution
Answers
a)False: (1,0,0)⋅(0,1,0)=0. A zero dot product means orthogonal.
b)False: with u=(1,0,0), v=(1,1,0) one gets (21,21,0) and (1,0,0).
c)False: (2,−1,1) is the NORMAL, so the line is perpendicular to the plane and meets it once, at (1,−21,21).
d)False: divide by ∥n∥=3; the distance is 3.
e)False: ∥u+v∥2=∥u∥2+2u⋅v+∥v∥2; equality only when u⋅v=0.
a)
FALSE. (1,0,0)⋅(0,1,0)=0 and neither vector is zero. For numbers, ab=0 forces a zero factor; the dot product is not a product of numbers but a sum of products, and it vanishes exactly when the angle is a right angle or one vector is zero. Correct statement: u⋅v=0 means u and v are orthogonal. Only u⋅u=0 forces u=0, since it is a sum of squares.
b)
FALSE. projvu lies along v and projuv lies along u, so they cannot agree unless something special happens. With u=(1,0,0) and v=(1,1,0): u⋅v=1, so projvu=21(1,1,0) while projuv=11(1,0,0). Correct statement: only the numerator is symmetric; the two projections are equal only when u⋅v=0, both then being zero, or when u=v.
c)
FALSE. The coefficients (2,−1,1) are the NORMAL of the plane, so this line is PERPENDICULAR to it. Substituting (2t,−t,t) gives 4t+t+t=6t=3, so t=21: exactly one intersection point, (1,−21,21). A plane has no single direction; it contains every direction orthogonal to n. Correct statement: a line lies in the plane when its direction is orthogonal to n AND one of its points satisfies the equation, for example (0,0,3)+t(1,2,0), since 2−2+0=0 and 0−0+3=3.
d)
FALSE. ∣1+1+1−6∣=3 is the value of n⋅Q−d, the scalar component multiplied by ∥n∥. The distance is ∥n∥3=33=3. The quickest way to see the error: 2x+2y+2z=12 is the same plane, and the incorrect method would give 6 for it. A distance cannot depend on how the equation was scaled, and dividing by ∥n∥ is exactly what removes that dependence.
e)
FALSE. Expanding with the rules of the dot product, ∥u+v∥2=(u+v)⋅(u+v)=∥u∥2+2u⋅v+∥v∥2. With u=v=(1,0,0), the left side is ∥(2,0,0)∥2=4 and the right side of the claim is 2. Correct statement: the identity holds exactly when u⋅v=0, and it is then Pythagoras' theorem in vector form. It is the identity behind the check in exercise 3 d).
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 9: Work as a dot product: a cart hauled up a track
14 answers to check
A cart is hauled in a straight line from A=(0,0,0) to B=(6,6,3), coordinates in metres with the z-axis vertical. A winch cable pulls on it with the constant force F=(110,20,100) newtons, and the cart weighs 300 N. The work done by a constant force along a straight displacement d is the dot product W=F⋅d, in joules.
The figure below shows the track, the cable force and the weight.
a) Compute the displacement d, its length, and the work done by the cable.
b) Find the component of F along the track, and cosθ for the angle between the cable and the track.
c) Split F into a part parallel to the track and a part perpendicular to it, and say how much work each part does.
d) Find the work done by gravity and the net work of the two forces.
e) The cart is instead taken from A to C=(6,0,0), then from C to B, the cable force being the same. Compute the work of F on this path and explain the result.
Show the solution
Answers
a)d=(6,6,3), ∥d∥=9 m, W=1080 J
b)120 N along the track, cosθ=54
c)(80,80,40)+(30,−60,60): 1080 J and 0 J
d)Wg=−900 J, net work 180 J
e)660+420=1080 J, the same, because F⋅(a+b)=F⋅a+F⋅b
a)
d=B−A=(6,6,3) and ∥d∥=36+36+9=9 m. The work is W=F⋅d=110×6+20×6+100×3=660+120+300=1080 J. There is no angle to measure and no cosine to look up: in coordinates, the dot product does the trigonometry for you. Writing W=∥F∥∥d∥=150×9=1350 J ignores the angle and overstates the work by a quarter.
b)
∥F∥=12100+400+10000=22500=150 N. The scalar component along the track is ∥d∥F⋅d=91080=120 N, and cosθ=150×91080=54. Only 120 N of the 150 N pulls the cart along; the angle itself is arccos54, and no MATH 133 question would ask for it in degrees.
c)
The parallel part is the projection: F∥=811080(6,6,3)=340(6,6,3)=(80,80,40). The perpendicular part is what is left: F⊥=(110,20,100)−(80,80,40)=(30,−60,60). Check: F⊥⋅d=180−360+180=0. Their lengths are 120 N and 90 N, and 1202+902=1502, the right triangle on the solution figure. The parallel part does all the work, F∥⋅d=480+480+120=1080 J, and the perpendicular part does none: it only presses the cart sideways against the track.
d)
Gravity is G=(0,0,−300) N, so Wg=G⋅d=−300×3=−900 J. Only the vertical rise of 3 m counts, not the 9 m of track: the dot product with a vertical vector picks out the vertical coordinate and nothing else. The net work of the two forces is 1080−900=180 J, positive, so if these are the only forces doing work the cart gains 180 J of kinetic energy.
e)
AC=(6,0,0) and CB=(0,6,3), so F⋅AC=660 J and F⋅CB=120+300=420 J, total 1080 J, the same as the straight path. The reason is purely algebraic: AC+CB=d and the dot product distributes, F⋅AC+F⋅CB=F⋅d. For a CONSTANT force, the work depends only on the start and the end.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 10: A roof in space: pitch, a lamp, a shadow and the sun
13 answers to check
Coordinates in metres, z vertical, the ridge of a roof running along the x-axis at height 6 m. The front panel lies in the plane Π:3y+4z=24 for 0≤y≤4, the back panel in −3y+4z=24 for −4≤y≤0. The figure is the cross-section seen along the ridge. A lamp hangs in the attic at Q=(2,1,4), and a point A=(1,6,7.5) marks the top of a neighbouring mast. Sunlight travels in the direction s=(0,−4,−3).
a) Find the normal of Π and the cosine of the angle between the front panel and the horizontal plane z=0. Check it against the rise and run of the roof.
b) Find the distance from the lamp Q to the front panel and the point of the panel closest to it. Compare with the VERTICAL gap between Q and the roof.
c) Where does the shadow of the mast top A fall on the front panel?
d) A solar panel lies flat on the front panel. The power it collects is proportional to the cosine of the angle between the sunlight and the normal. Find that factor.
e) Find the cosine of the angle between the two panels given by the normals, and the true angle inside the attic under the ridge.
Show the solution
Answers
a)n=(0,3,4), cosθ=54, matching a rise of 3 for a run of 4
b)distance 1 m, closest point (2,1.6,4.8); the vertical gap is 1.25 m
c)(1,2,4.5)
d)2524=0.96
e)cos=257 between the planes; inside the attic the angle is obtuse, with cosine −257
a)
The normal is read off the equation: n=(0,3,4), with ∥n∥=5. The horizontal plane has normal k=(0,0,1), so cosθ=∥n∥∥k∥∣n⋅k∣=54. Check on the figure: from the ridge (y,z)=(0,6) to the eave (4,3) the roof drops 3 m over a run of 4 m, along a slope of length 5, so cosθ=54 and tanθ=43. The angle between planes is again the angle between normals, as in exercise 7.
b)
n⋅Q=3+16=19, so the distance is 5∣19−24∣=1 m. The closest point is F=Q+2524−19n=(2,1,4)+51(0,3,4)=(2,1.6,4.8), and indeed 3(1.6)+4(4.8)=4.8+19.2=24. Straight above the lamp, the roof is at z=424−3=5.25, a vertical gap of 1.25 m. The vertical gap is NOT the distance to a slanted plane; it is longer, by exactly the factor cosθ1: 1.25×54=1. A cable from the lamp to the roof is shortest along the normal.
c)
The shadow is where the sun ray through A meets Π: X(t)=A+ts=(1,6−4t,7.5−3t). First the test, s⋅n=−12−12=−24=0, so the ray does cross the plane. Substituting: 3(6−4t)+4(7.5−3t)=48−24t=24, so t=1 and the shadow falls at (1,2,4.5). It has 0≤y=2≤4, so it lands on the front panel itself and not on its extension beyond the eave, a check the plane equation alone cannot make.
d)
cosα=∥s∥∥n∥∣s⋅n∣=5×524=2524=0.96. The panel collects 96 per cent of what it would collect facing the sun squarely. The absolute value matters: s points DOWN into the roof and n points up and out, so the raw dot product is negative, but the question is about the angle between the ray and the line of the normal, not about orientation.
e)
The back panel has normal m=(0,−3,4), and n⋅m=−9+16=7, so the angle between the planes has cosine 257, an acute angle. Inside the attic, the two panels meet under the ridge at the angle π−2θ, where θ is the pitch of a): each panel tilts down by θ from the horizontal. Its cosine is −cos2θ=−(2cos2θ−1)=−(2532−1)=−257, an obtuse angle. Both numbers are right answers to different questions: the formula gives the acute angle between the two planes, and the attic angle is its supplement. Say which one the question asks for before writing a number.
Points are earned before the solution; after it, you can keep practising.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.