Linear Algebra and Vector Geometry 201-SN4-RE • CEGEP, Montreal
Corrected exercises: vectors in space and the three products (201-SN4-RE)
This is the set of corrected exercises on vectors in space for Linear Algebra and Vector Geometry, course 201-SN4-RE (formerly 201-NYC) of the CEGEP Science program. Part A covers the basics: components and norm in R3, operations and the unit vector (exercise 1), the dot product, angles and the orthogonal projection (exercise 2), the cross product and areas (exercise 3), the scalar triple product and volumes (exercise 4), direction angles and direction cosines (exercise 5). Part B rises to exam level: Lagrange's identity and the coplanarity criterion (exercise 6), a complete tetrahedron whose height is computed in two ways that must agree (exercise 7), the orthogonal decomposition and the distance from a point to a line (exercise 8), the vector triple product and its non-associativity (exercise 9), then two skew lines classified and measured with the scalar triple product (exercise 10). Part C goes over the classics (exercises 11 to 15): the cube in coordinates, a parallelogram in space, decomposing a vector with scalar triple products, the tetrahedral angle of methane and the power received by a tilted solar panel.
Exercises 0.1 and 0.2 open the set with eighteen direct calculations, like the drill lists of the textbooks: norms, distances, dot products, angles, direction cosines and projections first, then cross products with the symbolic determinant, areas, scalar triple products, volumes and coplanarity, each with a value to find and checked on the spot.
This set is written for CEGEP students in the Science program, and for Social Science students in the mathematics profile who take linear algebra (201-105). A warning for those coming from Secondary 5: the vectors of high school live in the plane, and the cross product and the scalar triple product do not exist there. They are two entirely new tools, and they are the ones that make the difference on the test.
The reflex to keep throughout: the dot product returns a number, the cross product returns a vector, the scalar triple product returns a number. Before writing a line of computation, ask yourself what type of answer the question expects. Half of the exam mistakes come from there. The solutions also deal with the cross product believed to be commutative (exercise 3), the vector that would make 45∘ with all three axes (exercise 5) and the triple product believed to be associative (exercise 9).
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•Components of a vector between two points in space: AB=(xB−xA,yB−yA,zB−zA). Norm: ∥v∥=a2+b2+c2 for v=(a,b,c). Unit vector in the same direction: ∥v∥v.
•Dot product: u⋅v=a1a2+b1b2+c1c2=∥u∥∥v∥cosθ. It is a NUMBER. Two non-zero vectors are orthogonal if and only if u⋅v=0. The sign gives the type of angle: positive if acute, zero if right, negative if obtuse.
•Orthogonal projection of u onto v: vector projection uv=∥v∥2u⋅vv; scalar projection =∥v∥u⋅v.
•Cross product: u×v=(b1c2−c1b2,c1a2−a1c2,a1b2−b1a2). It is a VECTOR, orthogonal to both u and v. It is not commutative: v×u=−(u×v).
•Norm of the cross product: ∥u×v∥=∥u∥∥v∥sinθ. It is the area of the parallelogram built on u and v; the area of the triangle is half of it. Two vectors are collinear if and only if u×v=0.
•Scalar triple product: u⋅(v×w). It is a NUMBER. Its absolute value is the volume of the parallelepiped built on the three vectors; the volume of the corresponding tetrahedron is one sixth of it. Three vectors are coplanar if and only if their scalar triple product is zero.
•Plane through a point P(x0,y0,z0) with normal vector n=(a,b,c): a(x−x0)+b(y−y0)+c(z−z0)=0. Distance from a point S to this plane: d=a2+b2+c2∣axS+byS+czS+d0∣.
Calculations: norms, dot products and angles
Exercise 0.1: Norms, dot products and angles: ten direct calculations
For each line, compute the requested quantity from the components, in an orthonormal coordinate system of space. Give exact values when they are integers or fractions, irrational norms and components to three decimals (the distance in c) to two decimals), and angles to the tenth of a degree.
Four formulas are enough: ∥u∥=a2+b2+c2, u⋅v=aa′+bb′+cc′, cosθ=∥u∥∥v∥u⋅v, and the projection of u onto v, scalar ∥v∥u⋅v or vector ∥v∥2u⋅vv. Always compute the dot product and the norms first, divide next, and take the inverse cosine only at the very end, with the calculator in degrees.
a) The components of the vector AB, for A(2,−3,4) and B(−1,5,6).
b) The norm of u=(4,−7,4).
c) The distance between the points P(−1,3,2) and Q(2,−1,7), as an exact value, then to two decimals.
d) The dot product of u=(3,−2,5) and v=(−4,1,2).
e) The value of k for which u=(k,3,−2) and v=(5,k,6) are orthogonal.
f) The norm of w=(1,−2,3), then the third component of the unit vector in the same direction as w.
g) The angle between u=(1,2,−2) and v=(3,0,4), to the tenth of a degree.
h) The direction cosine cosβ of the vector v=(1,−4,8), then the direction angle β it makes with the y-axis.
i) The scalar projection of u=(5,1,−2) onto v=(2,−2,1), that is, the signed length of its shadow on the direction of v.
j) The first and third components of the vector projection of u=(3,−1,4) onto v=(1,1,2).
Show the solution
Answers
a)AB=(−3,8,2)
b)∥u∥=81=9
c)PQ=50=52≈7.07
d)u⋅v=−4
e)8k−12=0; k=23
f)∥w∥=14≈3.742; 143≈0.802
g)cosθ=−31; θ≈109.5∘
h)cosβ=−94≈−0.444; β≈116.4∘
i)36=2
j)610(1,1,2)=(35,35,310)
The move that decides everything: know what the formula returns BEFORE applying it. A norm and a dot product return a number, a vector projection returns a vector, an angle goes through a cosine. And in the two projections, the only difference is in the denominator: ∥v∥ for a length, ∥v∥2 for a vector.
a)
AB=B−A=(−1−2,5−(−3),6−4)=(−3,8,2). Pitfall: computing A−B=(3,−8,−2), which is the vector BA; it is the head minus the tail.
b)
∥u∥=42+(−7)2+42=16+49+16=81=9. The square of a negative component is positive.
c)
PQ=(3,−4,5), so PQ=9+16+25=50=52≈7.07.
d)
u⋅v=3×(−4)+(−2)×1+5×2=−12−2+10=−4. A negative dot product signals an obtuse angle.
e)
u⋅v=5k+3k−12=8k−12, which is zero for k=23. Pitfall: forgetting the k in the second component of v, which gives 5k=12 and k=512.
f)
∥w∥=1+4+9=14≈3.742, and the unit vector is 141(1,−2,3): its third component is 143≈0.802. EVERY component is divided by the norm.
g)
u⋅v=3+0−8=−5, ∥u∥=3 and ∥v∥=5, so cosθ=−155=−31 and θ=arccos(−31)≈109.5∘. Pitfall: dropping the sign, which gives 70.5∘, the supplementary angle.
h)
∥v∥=1+16+64=9 and cosβ=9−4≈−0.444, the second component over the norm, since β is measured from the y-axis. So β=arccos(−94)≈116.4∘. Pitfall: taking the third component, the one of the z-axis.
i)
u⋅v=10−2−2=6 and ∥v∥=4+4+1=3, so the scalar projection is 36=2. Pitfall: dividing by ∥u∥=30, which projects v onto u.
j)
u⋅v=3−1+8=10 and ∥v∥2=1+1+4=6, so the projection is 610(1,1,2)=(35,35,310): first component 35≈1.667, third 310≈3.333. Pitfall: dividing by ∥v∥=6 instead of its square.
Check: a norm can be recomputed backwards (the unit vector of f) has norm 1), a zero dot product is checked by substituting k into both vectors, and the projection in j) must leave a remainder u−p=(34,−38,32) orthogonal to v, which takes one line: 34−38+34=0.
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.
Calculations: cross products and scalar triple products
Exercise 0.2: Cross products and scalar triple products: eight direct calculations
For each line, compute the cross product, the area, the scalar triple product, the volume or the parameter requested, in an orthonormal coordinate system of space. Give exact values when they are integers, the area in c) to two decimals and the volume in g) to three decimals.
The cross product is computed with the symbolic determinant iaa′jbb′kcc′, expanded along the first row, CHANGING the sign of the j term. Its norm is the area of the parallelogram built on the two vectors, half of it the area of the triangle. The scalar triple product u⋅(v×w) is the determinant of the three vectors: its absolute value gives the volume of the parallelepiped, one sixth of it that of the tetrahedron, and it is zero exactly when the three vectors are coplanar.
a) The cross product u×v, for u=(1,3,−2) and v=(2,−1,4).
b) The cross product k×u, for k=(0,0,1) and u=(4,−1,5).
c) The area of the parallelogram built on u=(2,0,1) and v=(1,3,−1), to two decimals.
d) The area of the triangle with vertices A(0,1,2), B(2,3,2) and C(1,1,4).
e) The scalar triple product u⋅(v×w), for u=(1,2,0), v=(0,1,3) and w=(2,0,1).
f) The volume of the parallelepiped built on u=(2,1,−1), v=(1,−3,2) and w=(−1,2,1).
g) The volume of the tetrahedron with vertices A(1,0,1), B(3,1,1), C(1,2,2) and D(2,1,4), to three decimals.
h) The value of m for which u=(1,−1,2), v=(2,1,m) and w=(0,3,1) are coplanar.
Show the solution
Answers
a)u×v=(10,−8,−7)
b)k×u=(1,4,0)
c)∥(−3,3,6)∥=36≈7.35
d)21∥(4,−4,−2)∥=3
e)u⋅(1,6,−2)=13
f)triple product −16; volume 16
g)611≈1.833
h)15−3m=0; m=5
The move that decides everything: the MINUS sign in front of the j component of the symbolic determinant. Every other error in this list is caught by an orthogonality check; this one spreads silently into the area, the volume and the parameter, unless you check.
a)
u×v=(3×4−(−2)(−1),−(1×4−(−2)×2),1×(−1)−3×2)=(12−2,−8,−7)=(10,−8,−7). Check: u⋅(10,−8,−7)=10−24+14=0. Pitfall: forgetting the minus on the j component, which gives 8 instead of −8.
b)
k×u=(0×5−1×(−1),−(0×5−1×4),0×(−1)−0×4)=(1,4,0). Pitfall: the order. u×k=(−1,−4,0), the opposite: the cross product is anticommutative.
c)
u×v=(0×(−1)−1×3,−(2×(−1)−1×1),2×3−0×1)=(−3,3,6), so the area is 9+9+36=54=36≈7.35.
d)
AB=(2,2,0), AC=(1,0,2), and AB×AC=(4−0,−(4−0),0−2)=(4,−4,−2), with norm 16+16+4=6. The area of the triangle is 26=3. Pitfall: stopping at 6, the area of the parallelogram.
e)
v×w=(1×1−3×0,−(0×1−3×2),0×0−1×2)=(1,6,−2), then u⋅(1,6,−2)=1+12+0=13. You can also expand the determinant of the three vectors along the first row: 1×(1−0)−2×(0−6)+0=13.
f)
v×w=(−3−4,−(1+2),2−3)=(−7,−3,−1), then u⋅(v×w)=−14−3+1=−16. The volume is ∣−16∣=16. Pitfall: answering −16; the sign of the scalar triple product gives the orientation of the triple, not an amount of volume.
g)
Three edges from A: AB=(2,1,0), AC=(0,2,1), AD=(1,1,3). AC×AD=(6−1,−(0−1),0−2)=(5,1,−2), then AB⋅(5,1,−2)=10+1+0=11. The volume is 611≈1.833. Pitfall: taking 311 or 211; the tetrahedron is one SIXTH of the parallelepiped.
h)
v×w=(1−3m,−(2−0),6−0)=(1−3m,−2,6), then u⋅(v×w)=1−3m+2+12=15−3m. The vectors are coplanar when this product is zero: m=5.
Check: a cross product is orthogonal to both factors, so two zero dot products validate it, as in a). A scalar triple product can be recomputed by a cyclic permutation, v⋅(w×u) must give the same value, and in h) check that v=(2,1,5) does make the determinant zero.
Part A: The basics in space (/50)
Exercise 1: Components, norm and operations in space
Consider the points A(1,2,−1), B(3,5,5) and C(2,6,7) in space.
a) Find the components of the vectors AB and AC.
b) Compute ∥AB∥ and ∥AC∥.
c) Find the components of the vector 2AB−3AC.
d) Find the unit vector with the same direction and the same sense as AB.
Show the solution
Answers
a)AB=(2,3,6), AC=(1,4,8)
b)7 and 9
c)(1,−6,−12)
d)(72,73,76)
a)
AB=(3−1,5−2,5−(−1))=(2,3,6) and AC=(2−1,6−2,7−(−1))=(1,4,8).
b)
∥AB∥=22+32+62=4+9+36=49=7 and ∥AC∥=12+42+82=1+16+64=81=9.
c)
2AB=(4,6,12) and 3AC=(3,12,24), so 2AB−3AC=(4−3,6−12,12−24)=(1,−6,−12).
d)
The unit vector is ∥AB∥AB=71(2,3,6)=(72,73,76). Check: 494+499+4936=4949=1.
Exercise 2: Dot product, angle and orthogonal projection
Consider the vectors u=(2,−1,3) and v=(1,4,−2).
a) Compute u⋅v. Without computing the angle, say whether the angle between u and v is acute, right or obtuse, and justify.
b) Compute the measure of the angle θ between u and v, to the nearest tenth of a degree.
c) Find the value of k for which u is orthogonal to w=(k,2,1).
d) Find the vector projection of u onto v.
Show the solution
Answers
a)−8: obtuse angle
b)θ≈117.8∘
c)k=−21
d)−218(1,4,−2)
a)
u⋅v=(2)(1)+(−1)(4)+(3)(−2)=2−4−6=−8. The dot product is negative, so cosθ<0 and the angle is obtuse. No angle computation is needed: the sign is enough.
b)
∥u∥=4+1+9=14 and ∥v∥=1+16+4=21. So cosθ=1421−8=294−8≈−0.4666, hence θ≈117.8∘. It is indeed an obtuse angle, consistent with a).
c)
u⋅w=2k+(−1)(2)+(3)(1)=2k+1. Orthogonality requires 2k+1=0, so k=−21.
d)
uv=∥v∥2u⋅vv=21−8(1,4,−2)=(−218,−2132,2116). The projection points in the direction opposite to v, which is expected since the angle is obtuse.
Exercise 3: Cross product, orthogonality and areas
Take again u=(2,−1,3) and v=(1,4,−2).
a) Compute u×v.
b) Check by computation that u×v is orthogonal to u and to v.
c) Compute the area of the parallelogram built on u and v, then the area of the corresponding triangle.
d) Compute v×u and compare it with the result of a). What can you conclude about the commutativity of the cross product?
(u×v)⋅u=(−10)(2)+(7)(−1)+(9)(3)=−20−7+27=0 and (u×v)⋅v=(−10)(1)+(7)(4)+(9)(−2)=−10+28−18=0. Both dot products are zero, so u×v is indeed orthogonal to both vectors.
c)
∥u×v∥=(−10)2+72+92=100+49+81=230≈15.17. The area of the parallelogram is 230≈15.17 square units, and that of the triangle 2230≈7.58 square units.
d)
v×u=(10,−7,−9)=−(u×v). So the cross product is NOT commutative: swapping the order of the factors reverses the direction of the resulting vector. It is anticommutative. This is the costliest mistake of the chapter, because the norm (and therefore the area) stays the same: the error does not show on an area, but it ruins any oriented normal vector.
Exercise 4: Scalar triple product, volume and coplanarity
Take again u=(2,−1,3) and v=(1,4,−2), and let w=(3,2,1).
Recall that u×v=(−10,7,9).
a) Compute the scalar triple product (u×v)⋅w.
b) Are the vectors u, v and w coplanar? Justify.
c) Compute the volume of the parallelepiped built on u, v and w, then the volume of the corresponding tetrahedron.
d) Replace w by w′=(3,2,m). Find the value of m for which u, v and w′ become coplanar.
Show the solution
Answers
a)−7
b)Not coplanar
c)7; tetrahedron 67≈1.17
d)m=916
a)
(u×v)⋅w=(−10)(3)+(7)(2)+(9)(1)=−30+14+9=−7.
b)
The scalar triple product is −7=0, so the three vectors are NOT coplanar. Watch the sign: coplanarity is characterized by the product being zero, not by its sign. A negative scalar triple product only indicates the orientation of the triple.
c)
Volume of the parallelepiped: V=∣(u×v)⋅w∣=∣−7∣=7 cubic units. Volume of the tetrahedron: Vt=67≈1.17 cubic units.
d)
(u×v)⋅w′=(−10)(3)+(7)(2)+(9)(m)=−30+14+9m=9m−16. Coplanarity requires 9m−16=0, so m=916≈1.78.
Exercise 5: Direction angles and direction cosines
The direction angles of a non-zero vector v=(a,b,c) are the angles α, β, γ it makes with the x-, y- and z-axes. Their cosines, called direction cosines, describe the orientation of the vector in space completely.
a) Express cosα, cosβ and cosγ in terms of the components of v, then compute them for v=(2,3,6). Give the three direction angles to the tenth of a degree.
b) Prove that cos2α+cos2β+cos2γ=1 for every non-zero vector, and explain the link with the unit vector.
c) Find a vector that makes the SAME angle with all three axes, and compute this common angle.
d) Can a vector make a 45∘ angle with each of the three axes? And if it makes 60∘ with the x-axis and 60∘ with the y-axis, what angle must it make with the z-axis?
Show the solution
Answers
a)72, 73, 76; 73.4∘, 64.6∘, 31.0∘
b)Components of the unit vector
c)(1,1,1): 54.7∘
d)No; γ=45∘
a)
The cosine of the angle between v and the x-axis is the cosine of the angle between v and the vector i=(1,0,0): cosα=∥v∥∥i∥v⋅i=∥v∥a. Likewise cosβ=∥v∥b and cosγ=∥v∥c. For v=(2,3,6), ∥v∥=4+9+36=49=7, so cosα=72, cosβ=73, cosγ=76. The direction angles are α=arccos72≈73.4∘, β=arccos73≈64.6∘ and γ=arccos76≈31.0∘. The vector is closest to the z-axis, which is consistent with its largest component.
b)
Adding the squares: cos2α+cos2β+cos2γ=∥v∥2a2+∥v∥2b2+∥v∥2c2=∥v∥2a2+b2+c2. By definition of the norm, a2+b2+c2=∥v∥2, so the sum is 1. The link with the unit vector is direct and illuminating: the unit vector of v is ∥v∥v=(∥v∥a,∥v∥b,∥v∥c)=(cosα,cosβ,cosγ). The direction cosines ARE the components of the unit vector, and the identity is nothing but the fact that a unit vector has norm 1. Check on a): 494+499+4936=4949=1.
c)
Making the same angle with all three axes means cosα=cosβ=cosγ, so, by a), ∥v∥a=∥v∥b=∥v∥c, that is, a=b=c. The vector v=(1,1,1) works, as do all its multiples: it is the diagonal of the cube. Its common angle satisfies cos2θ+cos2θ+cos2θ=1, that is 3cos2θ=1, so cosθ=31 and θ=arccos31≈54.7∘. This is the well-known angle between the diagonal of a cube and its edges.
d)
No: if all three angles were 45∘, the sum of the squared cosines would be 3cos245∘=3×21=23, which exceeds 1 and contradicts the identity of b). So no vector can be at 45∘ from all three axes at once: the identity imposes a constraint, and the three angles are not independent. On the other hand, 60∘ with the x-axis and 60∘ with the y-axis is possible: cos2γ=1−cos260∘−cos260∘=1−41−41=21, so cosγ=21 and γ=45∘. The third angle is completely determined (up to the sign of cosγ, which distinguishes the two possible orientations): the constraint of b) fixes it.
Part B: Exam level (/50)
Exercise 6: Proofs: Lagrange's identity and the coplanarity criterion
This exercise asks for almost no numerical computation: you work with the vectors themselves. Let u and v be two non-zero vectors in space, and θ the angle between them.
a) Starting from u⋅v=∥u∥∥v∥cosθ and ∥u×v∥=∥u∥∥v∥sinθ, show that ∥u×v∥2+(u⋅v)2=∥u∥2∥v∥2. This equality is Lagrange's identity.
b) Check this identity on the vectors u=(2,−1,3) and v=(1,4,−2) of Part A.
c) Deduce from Lagrange's identity that if u and v are orthogonal, then ∥u×v∥=∥u∥∥v∥. Interpret this result geometrically in terms of area.
d) Show that three vectors u, v and w in space are coplanar if and only if u⋅(v×w)=0. Reason on the direction of v×w.
Show the solution
Answers
a)sin2θ+cos2θ=1
b)230+64=294=14×21
c)Area of the rectangle ∥u∥∥v∥
d)u⊥v×w: coplanar
a)
Square both relations: (u⋅v)2=∥u∥2∥v∥2cos2θ and ∥u×v∥2=∥u∥2∥v∥2sin2θ. Adding: ∥u×v∥2+(u⋅v)2=∥u∥2∥v∥2(sin2θ+cos2θ)=∥u∥2∥v∥2, since sin2θ+cos2θ=1. The identity is proved.
b)
We have u×v=(−10,7,9) so ∥u×v∥2=230, and u⋅v=−8 so (u⋅v)2=64. The sum is 230+64=294. On the other side, ∥u∥2=14 and ∥v∥2=21, so ∥u∥2∥v∥2=14×21=294. Both sides are equal: the identity checks out.
c)
If u and v are orthogonal, then u⋅v=0, and the identity becomes ∥u×v∥2=∥u∥2∥v∥2, hence ∥u×v∥=∥u∥∥v∥ (norms being non-negative). Geometrically: the parallelogram built on two orthogonal vectors is a rectangle, and its area is indeed the product of its two sides. For fixed norms ∥u∥ and ∥v∥, the area is therefore largest when the vectors are perpendicular.
d)
The vector v×w is orthogonal to the plane spanned by v and w. Saying that u, v and w are coplanar amounts to saying that u lies in this plane, that is, that u is orthogonal to the normal v×w, which is exactly u⋅(v×w)=0. Conversely, if this dot product is zero, u is orthogonal to v×w and therefore lies in the plane of v and w: the three vectors are coplanar. An equivalent reading: the volume of the parallelepiped is zero, so the solid is flattened.
Exercise 7: Problem: the tetrahedron, two methods for one height
In an orthonormal coordinate system of space, consider the tetrahedron with vertices P(1,1,1), Q(3,2,1), R(2,4,3) and S(4,3,5).
The goal is to compute the height of the tetrahedron from S, that is, the distance from S to the plane PQR, along two independent paths that must give the same number.
a) Find the components of PQ, PR and PS.
b) Compute PQ×PR, then the area of the triangle PQR.
c) Compute the volume of the tetrahedron PQRS.
d) First method: deduce from b) and c) the height h from S, using V=31×Abase×h.
e) Second method: find a Cartesian equation of the plane PQR, then compute the distance from S to this plane. Check that you get the height of d) again.
f) Does the point T(0,5,1) lie in the plane PQR? Compute the volume of the tetrahedron PQRT, and explain why the value obtained by testing T in the equation of the plane made it predictable.
Show the solution
Answers
a)(2,1,0), (1,3,2), (3,2,4)
b)(2,−4,5); area 235≈3.35
c)V=3
d)h=565≈2.68
e)2x−4y+5z−3=0; distance 2.68
f)No; volume 3
a)
PQ=(3−1,2−1,1−1)=(2,1,0), PR=(2−1,4−1,3−1)=(1,3,2) and PS=(4−1,3−1,5−1)=(3,2,4).
b)
PQ×PR=((1)(2)−(0)(3),(0)(1)−(2)(2),(2)(3)−(1)(1))=(2,−4,5). Its norm is 4+16+25=45=35. The area of the triangle PQR is half the area of the parallelogram: APQR=235≈3.35 square units.
c)
Scalar triple product: (PQ×PR)⋅PS=(2)(3)+(−4)(2)+(5)(4)=6−8+20=18. The volume of the tetrahedron is V=6∣18∣=3 cubic units.
d)
From V=31APQRh we get h=APQR3V=2353×3=359×2=3518=56=565≈2.68.
e)
The vector n=PQ×PR=(2,−4,5) is normal to the plane PQR, which passes through P(1,1,1). Its equation is 2(x−1)−4(y−1)+5(z−1)=0, that is 2x−4y+5z−3=0. Quick check on Q: 6−8+5−3=0, and on R: 4−16+15−3=0. Distance from S(4,3,5): d=22+(−4)2+52∣2(4)−4(3)+5(5)−3∣=45∣8−12+25−3∣=3518=565≈2.68. This is exactly the height of d), which validates both paths.
f)
Test T(0,5,1) in the equation of the plane: 2(0)−4(5)+5(1)−3=0−20+5−3=−18=0. So T does NOT lie in the plane PQR. The volume of the tetrahedron PQRT is therefore not zero: PT=(−1,4,0) and (PQ×PR)⋅PT=(2)(−1)+(−4)(4)+(5)(0)=−2−16=−18, hence V=6∣−18∣=3 cubic units. The prediction without any volume computation was possible: the value −18 obtained by testing T in the equation of the plane IS exactly the scalar triple product n⋅PT, because 2x−4y+5z−3 equals n⋅PM for every point M: the equation of the plane is built on the same normal vector. A point off the plane gives a non-zero volume; only a point in the plane would have given a zero volume.
Exercise 8: Orthogonal decomposition and the distance from a point to a line
Every vector splits in a unique way into a part PARALLEL to a given direction and a part ORTHOGONAL to it. This decomposition, combined with the cross product, gives two ways of measuring the distance from a point to a line. Consider the line Δ through A(1,0,2) with direction vector d=(2,1,−2), and the point P(4,4,3).
The figure shows the plane that contains the line and the point.
a) Compute AP, then decompose it as AP=p+q, where p is the projection of AP onto d and q the orthogonal component.
b) Check that q is indeed orthogonal to d, then check the decomposition with the Pythagorean theorem ∥AP∥2=∥p∥2+∥q∥2.
c) First method: deduce the distance from the point P to the line Δ.
d) Second method: compute the same distance with the formula d=∥d∥∥AP×d∥. Check that it agrees with c), and explain why the two methods must give the same result.
Show the solution
Answers
a)p=98d, q=(911,928,925)
b)964+9170=26
c)3170≈4.35
d)Same distance with the cross product
a)
AP=(4−1,4−0,3−2)=(3,4,1). The projection of AP onto d is p=∥d∥2AP⋅dd. Compute AP⋅d=(3)(2)+(4)(1)+(1)(−2)=6+4−2=8 and ∥d∥2=4+1+4=9, so p=98(2,1,−2)=(916,98,−916). The orthogonal component is q=AP−p=(3−916,4−98,1+916)=(911,928,925).
b)
Orthogonality: q⋅d=91[(11)(2)+(28)(1)+(25)(−2)]=91(22+28−50)=90=0. The component q is indeed orthogonal to d, which confirms the decomposition. Pythagorean check: ∥AP∥2=9+16+1=26. Also ∥p∥2=∥d∥2(AP⋅d)2=964 and ∥q∥2=81112+282+252=81121+784+625=811530=9170. The sum is 964+9170=9234=26, which matches: p and q are indeed the two legs of a right triangle whose hypotenuse is AP.
c)
The distance from the point P to the line Δ is the length of the perpendicular segment dropped from P to Δ, that is, exactly ∥q∥, the component of AP orthogonal to the direction of the line. We get d=∥q∥=9170=3170≈4.35. The parallel part p only slides along the line and contributes nothing to the distance.
d)
Second method: AP×d=((4)(−2)−(1)(1),(1)(2)−(3)(−2),(3)(1)−(4)(2))=(−8−1,2+6,3−8)=(−9,8,−5). Its norm is ∥AP×d∥=81+64+25=170, and ∥d∥=3, so d=3170≈4.35. This is exactly the value of c). The agreement is no accident: the norm of the cross product is ∥AP×d∥=∥AP∥∥d∥sinθ, where θ is the angle between AP and d. Dividing by ∥d∥ gives ∥AP∥sinθ, which is precisely the length of the side opposite θ in the right triangle, that is, the perpendicular distance ∥q∥. Both methods compute the same height, one by subtracting the projection, the other through the area of the parallelogram divided by its base ∥d∥.
Exercise 9: The vector triple product and non-associativity
The cross product of a vector with a cross product, called the vector triple product, obeys a remarkable identity that reduces it to dot products. It also reveals that the cross product, unlike the multiplication of numbers, is NOT associative. Work with u=(1,2,3), v=(0,1,−1) and w=(2,1,0).
a) Compute v×w, then u×(v×w).
b) Check on these vectors the vector triple product identity u×(v×w)=(u⋅w)v−(u⋅v)w.
c) Compute (u×v)×w and compare it with u×(v×w). What can you conclude about the associativity of the cross product?
d) Using the identity of b), prove that u×(v×w) always lies in the plane spanned by v and w. Is this result compatible with the fact that this vector is orthogonal to u?
Show the solution
Answers
a)(2,5,−4)
b)4v+w=(2,5,−4)
c)(−1,2,−7): not associative
d)Combination of v and w
a)
v×w=((1)(0)−(−1)(1),(−1)(2)−(0)(0),(0)(1)−(1)(2))=(0+1,−2−0,0−2)=(1,−2,−2). Then u×(v×w)=(1,2,3)×(1,−2,−2)=((2)(−2)−(3)(−2),(3)(1)−(1)(−2),(1)(−2)−(2)(1))=(−4+6,3+2,−2−2)=(2,5,−4).
b)
Compute the two dot products: u⋅w=(1)(2)+(2)(1)+(3)(0)=4 and u⋅v=(1)(0)+(2)(1)+(3)(−1)=2−3=−1. The identity gives (u⋅w)v−(u⋅v)w=4(0,1,−1)−(−1)(2,1,0)=(0,4,−4)+(2,1,0)=(2,5,−4). This is exactly the result of a). The identity, remembered as the “BAC minus CAB” rule because it reads a×(b×c)=b(a⋅c)−c(a⋅b), turns a computation of two cross products into two dot products, which are much faster.
c)
First, u×v=((2)(−1)−(3)(1),(3)(0)−(1)(−1),(1)(1)−(2)(0))=(−2−3,0+1,1−0)=(−5,1,1). Then (u×v)×w=(−5,1,1)×(2,1,0)=((1)(0)−(1)(1),(1)(2)−(−5)(0),(−5)(1)−(1)(2))=(0−1,2−0,−5−2)=(−1,2,−7). Compare: (u×v)×w=(−1,2,−7) while u×(v×w)=(2,5,−4). The two results DIFFER, so the cross product is NOT associative: where the parentheses go changes the result. This is a fundamental difference from the multiplication of numbers, and it forbids writing u×v×w without parentheses, a notation that has no meaning.
d)
The identity of b) reads u×(v×w)=(u⋅w)v−(u⋅v)w, that is, a LINEAR COMBINATION of v and w: the vector has the form λv+μw with λ=u⋅w and μ=−(u⋅v). Every linear combination of v and w lies in the plane they span: the vector triple product therefore lives in the plane of v and w. This result is perfectly compatible with orthogonality to u. Indeed, u×(v×w) is orthogonal to u, as every cross product is to both its factors. There is no contradiction: the vector can lie in the plane of v and w and be perpendicular to u at the same time, as long as u is not itself perpendicular to that plane. It can also be read another way: unlike v×w, which is perpendicular to the plane of v and w, crossing it once more with u brings the result back INTO that plane, folding it down.
Exercise 10: Problem: two skew lines, classification and distance
In space, two lines can be parallel, intersecting, or neither: they are then called SKEW (not coplanar). The three products of the chapter are enough to decide and to measure. Consider the line Δ1 through P(1,0,1) with direction vector d1=(1,2,−1), and the line Δ2 through Q(2,1,0) with direction vector d2=(2,−1,1).
a) Compute d1×d2. What can you already conclude about whether the two lines are parallel?
b) Compute the scalar triple product PQ⋅(d1×d2) and conclude: are the lines intersecting or skew?
c) Compute the distance between the two lines with the formula d=∥d1×d2∥∣PQ⋅(d1×d2)∣, and interpret this quotient.
d) Move Δ2 so that it now passes through the point Q′(2,1,m), its direction d2 remaining unchanged. Find the value of m for which Δ1 and Δ2 become intersecting.
Show the solution
Answers
a)(1,−3,−5): not parallel
b)Scalar triple product 3: skew
c)353≈0.51
d)m=53
a)
d1×d2=((2)(1)−(−1)(−1),(−1)(2)−(1)(1),(1)(−1)−(2)(2))=(2−1,−2−1,−1−4)=(1,−3,−5). This vector is not zero, so d1 and d2 are not collinear: the two lines are NOT parallel. Two possibilities remain, intersecting or skew, and question b) decides between them.
b)
PQ=(2−1,1−0,0−1)=(1,1,−1). The scalar triple product is PQ⋅(d1×d2)=(1)(1)+(1)(−3)+(−1)(−5)=1−3+5=3. This scalar triple product is NON-ZERO, so the vectors PQ, d1 and d2 are not coplanar. Now two lines are coplanar if and only if this scalar triple product is zero: here the lines do not lie in one plane, so they are SKEW. Being neither parallel nor intersecting, they never meet even though they do not have the same direction.
c)
The norm of the cross product is ∥d1×d2∥=1+9+25=35, so d=35∣3∣=353≈0.51. Interpretation: the scalar triple product ∣PQ⋅(d1×d2)∣ is the volume of the parallelepiped built on PQ, d1 and d2; the norm ∥d1×d2∥ is the area of the base built on d1 and d2. The quotient is therefore the HEIGHT of the parallelepiped, measured perpendicular to the base, that is, the shortest gap between the two lines, along their common perpendicular. A volume divided by an area does give a length.
d)
Replacing Q by Q′(2,1,m), the vector becomes PQ′=(1,1,m−1), while d1×d2=(1,−3,−5) does not change, since the directions are unchanged. The two lines become coplanar when their scalar triple product vanishes: PQ′⋅(d1×d2)=(1)(1)+(1)(−3)+(m−1)(−5)=1−3−5m+5=3−5m. Solve 3−5m=0: m=53. For this value the lines are coplanar; and since they are still not parallel (their directions remain non-collinear), two coplanar non-parallel lines must INTERSECT. They therefore meet at a single point when m=53.
Part C: the classics (/50)
Exercise 11: The cube in coordinates: angles, area and distance
Place a cube with edge 1 in an orthonormal coordinate system, with vertices O(0,0,0), A(1,0,0), B(0,1,0), C(0,0,1) and G(1,1,1), the vertex opposite O.
a) Compute the angle between the two space diagonals OG and AA′, where A′(0,1,1) is the vertex opposite A. Round to the tenth of a degree.
b) Compute the angle between the face diagonal (1,1,0) and the space diagonal OG, to the tenth of a degree.
c) Compute the area of the triangle ABC to three decimals. What kind of triangle is it?
d) Compute the volume of the tetrahedron OABC.
e) Deduce from c) and d) the distance from O to the plane ABC, to three decimals. What fraction of the diagonal OG is this distance?
Show the solution
Answers
a)cosθ=31: 70.5∘
b)35.3∘
c)23≈0.866, equilateral
d)61
e)31≈0.577: one third
a)
OG=(1,1,1) and AA′=(−1,1,1), both with norm 3. cosθ=3−1+1+1=31, so θ≈70.5∘. Two space diagonals of a cube are not perpendicular.
b)
cosθ=231+1+0=62≈0.8165, so θ≈35.3∘.
c)
AB=(−1,1,0) and AC=(−1,0,1), AB×AC=(1⋅1−0⋅0,0⋅(−1)−(−1)⋅1,(−1)⋅0−1⋅(−1))=(1,1,1). Area 23≈0.866. The three sides are face diagonals, of length 2: the triangle is EQUILATERAL, and 43(2)2=23 confirms it.
d)
(OA×OB)⋅OC=(0,0,1)⋅(0,0,1)=1, so V=61≈0.167.
e)
V=31Ah gives h=A3V=3/21/2=31≈0.577. The diagonal has length 3, so 3h=31: the plane ABC, with equation x+y+z=1, cuts the space diagonal at one third of its length, and the normal (1,1,1) found in c) points precisely along this diagonal.
The thread: in the cube, every geometry question comes down to a dot product, a cross product or a scalar triple product on vectors with coordinates 0 and 1.
Exercise 12: A parallelogram in space
Consider the points A(1,0,2), B(3,1,4), C(4,3,3) and D(2,2,1).
a) Show that ABCD is a parallelogram.
b) Is this parallelogram a rectangle?
c) Compute its area, to two decimals.
d) Compute the angle ∠BAD, to the tenth of a degree.
e) Compute the lengths of the two diagonals, to two decimals, and check the parallelogram law AC2+BD2=2(AB2+AD2).
Show the solution
Answers
a)AB=DC=(2,1,2)
b)No: dot product 2
c)50≈7.07
d)74.2∘
e)19 and 11: 30=30
a)
AB=(2,1,2) and DC=(4−2,3−2,3−1)=(2,1,2): AB=DC, so ABCD is a parallelogram. The four points must also not be collinear: AD=(1,2,−1) is not a multiple of AB.
b)
AB⋅AD=2+2−2=2=0: the angle at A is not a right angle, so it is not a rectangle.
c)
AB×AD=(1⋅(−1)−2⋅2,2⋅1−2⋅(−1),2⋅2−1⋅1)=(−5,4,3), with norm 25+16+9=50≈7.07. This is the area of the parallelogram, with no division by two.
d)
∥AB∥=3 and ∥AD∥=6, so cos∠BAD=362≈0.2722 and ∠BAD≈74.2∘. Check with the area: 36sin74.2∘≈7.07.
e)
AC=(3,3,1), AC=19≈4.36; BD=(−1,1,−3), BD=11≈3.32. AC2+BD2=19+11=30 and 2(AB2+AD2)=2(9+6)=30: the law checks out. The diagonals are unequal, which confirms that it is not a rectangle.
The thread: two equal vectors make the parallelogram, the dot product decides the right angle, the cross product gives the area.
Exercise 13: Decomposing a vector with scalar triple products
Write [p,q,r]=p⋅(q×r) for the scalar triple product. Consider a=(1,0,1), b=(0,1,1), c=(1,1,0) and v=(3,5,4).
a) Compute [a,b,c]. What can you conclude about the set {a,b,c}?
b) Write v=αa+βb+γc. By taking the dot product with b×c, show that α=[a,b,c][v,b,c].
c) Compute α.
d) By the same reasoning, compute β=[a,b,c][a,v,c] and γ=[a,b,c][a,b,v].
e) Check the decomposition, and recognize the rule for solving systems that these formulas express.
Show the solution
Answers
a)−2: basis
b)The other two terms vanish
c)α=1
d)β=3, γ=2
e)Cramer's rule
a)
b×c=(1⋅0−1⋅1,1⋅1−0⋅0,0⋅1−1⋅1)=(−1,1,−1), then [a,b,c]=−1+0−1=−2=0. The three vectors are not coplanar: they form a basis of R3, and the decomposition of v exists and is unique.
b)
b×c is orthogonal to b and to c, so b⋅(b×c)=c⋅(b×c)=0. Taking the dot product of the equality with b×c leaves v⋅(b×c)=αa⋅(b×c), hence the formula, the denominator being non-zero.
c)
[v,b,c]=(3,5,4)⋅(−1,1,−1)=−3+5−4=−2, so α=−2−2=1.
d)
v×c=(5⋅0−4⋅1,4⋅1−3⋅0,3⋅1−5⋅1)=(−4,4,−2) and [a,v,c]=−4+0−2=−6, so β=3. b×v=(1⋅4−1⋅5,1⋅3−0⋅4,0⋅5−1⋅3)=(−1,3,−3) and [a,b,v]=−1+0−3=−4, so γ=2.
e)
a+3b+2c=(1+0+2,0+3+2,1+3+0)=(3,5,4)=v. These formulas are CRAMER'S RULE: the scalar triple product is the determinant of the three vectors, and each unknown is the quotient of the determinant in which v replaces the corresponding vector by the determinant of the basis.
The thread: the scalar triple product isolates one coordinate by cancelling the other two at once; that is the geometric idea behind Cramer's rule.
Exercise 14: Problem: methane and the tetrahedral angle
In the methane molecule CH4, place the carbon atom at the origin and the four hydrogen atoms at H1(1,1,1), H2(1,−1,−1), H3(−1,1,−1) and H4(−1,−1,1), in a unit of length to be determined.
a) Compute the distance between the carbon and each hydrogen, to three decimals. What do you notice?
b) Compute the angle ∠H1CH2, to the tenth of a degree.
c) Compute the distance H1H2 to two decimals, and show that the six distances between hydrogens are equal. What is the shape of the solid H1H2H3H4?
d) The carbon-hydrogen bond is actually 1.09 angstroms long. What length, in angstroms, is one unit of the coordinate system? Deduce the actual distance between two hydrogens, to two decimals.
e) Compute CH1+CH2+CH3+CH4. What does this tell you about the position of the carbon, and about the polarity of the molecule?
Show the solution
Answers
a)3≈1.732 for all four
b)109.5∘
c)8≈2.83: regular tetrahedron
d)0.629 Å; 1.78 Å
e)Zero sum: nonpolar
a)
CHi=1+1+1=3≈1.732 for each of the four: the hydrogens are all at the same distance from the carbon.
b)
CH1⋅CH2=1−1−1=−1, so cosθ=3−1 and θ≈109.5∘. This is the TETRAHEDRAL angle, the same for all six pairs, since every dot product between two distinct hydrogens equals −1.
c)
H1H2=(0,−2,−2), with norm 8≈2.83. Two distinct hydrogens always have two opposite coordinates and one equal coordinate: each difference contains two ±2 and one 0, and the six distances all equal 8. The solid is a REGULAR TETRAHEDRON, with the carbon at its centre.
d)
3 units correspond to 1.09 angstroms, so one unit is 31.09≈0.629 angstroms. H1H2=8×0.629≈1.78 angstroms, in agreement with the value measured for methane.
e)
The sum is (1+1−1−1,1−1+1−1,1−1−1+1)=(0,0,0): the carbon is the centroid of the four hydrogens. The four bonds being identical and of equal length, their dipole moments, carried by these four vectors, cancel out: the molecule is NONPOLAR.
The thread: the symmetry of a molecule can be read off its coordinates; dot products and norms give the bond angles and the bond lengths.
Exercise 15: Problem: the power received by a solar panel
A rectangular solar panel has the vectors a=(2,0,0) and b=(0,1,1) as sides, in metres, the z-axis being vertical. Sunlight arrives along the unit direction s=31(1,−2,2), pointing towards the Sun, with an irradiance of 1000W per square metre perpendicular to the rays.
Take as given that the power received is 1000×(a×b)⋅s watts: the area of the panel times the cosine of the angle between its normal and the direction of the Sun.
The orange arrow shows the direction of the Sun.
a) Check that the panel is indeed rectangular, then compute its area to two decimals.
b) Compute the normal vector a×b and check that s is a unit vector.
c) Compute the angle of incidence, between the normal and the direction of the Sun, to the tenth of a degree.
d) Compute the power received by the panel, to the nearest watt.
e) What power would the same panel receive lying flat, with normal (0,0,1)? And facing the Sun exactly?
Show the solution
Answers
a)Rectangle, 22≈2.83 m²
b)(0,−2,2)
c)19.5∘
d)2667 W
e)1886 W lying flat; 2828 W facing the Sun
a)
a⋅b=0: the sides are perpendicular, so the parallelogram is a rectangle. Area ∥a∥∥b∥=22≈2.83m2.
b)
a×b=(0⋅1−0⋅1,0⋅0−2⋅1,2⋅1−0⋅0)=(0,−2,2), with norm 8, equal to the area. ∥s∥=311+4+4=1.
c)
(a×b)⋅s=31(0+4+4)=38, so cosi=88/3≈0.9428 and i≈19.5∘.
d)
P=1000×38≈2667W. The scalar triple product directly gives the APPARENT area of the panel seen from the Sun, 38≈2.67m2.
e)
Lying flat, the normal of the same length is (0,0,22) and (0,0,22)⋅s=342≈1.886: P≈1886W. Facing the Sun, cosi=1 and P=1000×22≈2828W. The chosen tilt already collects 94% of the maximum, against 67% lying flat.
The thread: the cross product of the sides gives a normal whose norm is the area; its dot product with a direction gives the area seen from that direction.
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.
Get in touch for a first session. We work on 201-SN4-RE at the real level of the tests, from computing the three products to proofs and volume problems.