CalcPath
ProgressProblem setsFeedback
← Question sheet

Linear Algebra · Solutions

Vectors & Euclidean Space

12 questions · about 104 minutes

Work this sheet on paper, showing every step — the method is what is being tested, and the solutions are written so you can check your route rather than just your answer. Name every definition and theorem you use (“by Cauchy–Schwarz”, “by the orthogonal decomposition theorem”, “by the coplanarity test”) and check its hypotheses, in particular that any vector you normalise, project onto, or use as a direction is not the zero vector. No calculator is needed anywhere: every answer is an exact fraction, root or angle. Full worked solutions are on a separate page; each question also has its own reveal, so you can check one answer without seeing the rest.

  1. 1.Computation

    Work with squared norms for as long as possible and take a square root only at the end.

    1. (a)Let P=(3,−2,1) and Q=(1,2,5). Find PQ​ and QP​, and the distance from P to Q.
    2. (b)Find every value of t for which the point (2,t,−1) is at distance 7 from (−1,3,5).
    3. (c)Show that no point of the form (t,3,2) is at distance 2 from (−1,3,5), whatever t is, and say in one sentence what this means geometrically.

    Solution

    (a) Head minus tail. Subtracting the coordinates of the tail P from those of the head Q,

    PQ​=⟨1−3,2−(−2),5−1⟩=⟨−2,4,4⟩,QP​=−PQ​=⟨2,−4,−4⟩.

    The distance is the norm of the displacement. Squares first: ∥PQ​∥2=4+16+16=36, so the distance is 36​=6. The reversed vector has the same norm, as it must — distance does not depend on which point you start from.

    (b) Square the distance, not the unknown. The displacement from (−1,3,5) to (2,t,−1) is ⟨3,t−3,−6⟩, so the squared distance is

    9+(t−3)2+36=(t−3)2+45.

    Setting this equal to 72=49 gives (t−3)2=4, so t−3=±2 and t∈{1,5}.

    Sanity check: at t=1 the displacement is ⟨3,−2,−6⟩ with 9+4+36=49; at t=5 it is ⟨3,2,−6⟩, same squares. Two answers were expected, because the points (2,t,−1) trace a line and a sphere of radius 7 about (−1,3,5) reaches that line (7>45​), so it must cut it twice.

    (c) A lower bound from one coordinate. The displacement from (−1,3,5) to (t,3,2) is ⟨t+1,0,−3⟩, so the squared distance is

    (t+1)2+0+9≥9for every real t,

    because a square is never negative. Hence the distance is at least 3, and in particular never 2. Geometrically: the points (t,3,2) form a line parallel to the x-axis at height z=2, while the fixed point sits at height z=5; the closest the line ever comes is 3 (at t=−1, directly below the point), so the sphere of radius 2 about (−1,3,5) misses the line entirely.

  2. 2.Sketch

    Let u=⟨3,1⟩ and v=⟨−1,2⟩. Work on squared paper with the same scale on both axes. Every arrow you draw must be labelled with its components.

    1. (a)Draw u and v with their tails at the origin and construct u+v by the parallelogram rule. Then draw u−v as the other diagonal of the same parallelogram, making clear which way its arrowhead points. Compute both vectors to check the drawing, and use their norms to decide which diagonal must be the longer one.
    2. (b)Draw the arrow from (2,−1) to (5,0). Which vector already in your picture is it, and why is it the same vector even though it starts somewhere else?
    3. (c)Compute 21​(u+v) and the midpoint of the segment joining the heads of u and v. Mark the point on your sketch and state which fact about parallelograms it illustrates.

    Solution

    (a) The parallelogram and its diagonals. Component-wise, u+v=⟨3−1,1+2⟩=⟨2,3⟩ and u−v=⟨3+1,1−2⟩=⟨4,−1⟩.

    The drawing has the four vertices O=(0,0), U=(3,1) (head of u), V=(−1,2) (head of v) and (2,3), the fourth corner, which is where a copy of v lands when its tail is slid to U (and equally where a copy of u lands when slid to V). The diagonal from O to (2,3) is u+v: arrowhead at (2,3).

    The other diagonal joins V=(−1,2) and U=(3,1). By head minus tail, VU=⟨3−(−1),1−2⟩=⟨4,−1⟩=u−v, so u−v runs from the head of v to the head of u: its arrowhead is at (3,1), pointing right and slightly down. (Drawn the other way it would be v−u.)

    Lengths: ∥u+v∥2=4+9=13 and ∥u−v∥2=16+1=17, so the u−v diagonal is the longer one. On the paper the segment from (−1,2) to (3,1) should visibly exceed the segment from (0,0) to (2,3); if it does not, an arrowhead has been misplaced. (For reference, ∥u∥=10​ and ∥v∥=5​.)

    (b) A translate is the same vector. The arrow from (2,−1) to (5,0) has components ⟨5−2,0−(−1)⟩=⟨3,1⟩, which is u. A vector is a displacement — three across, one up — and says nothing about where you start. The arrow from (2,−1) to (5,0) and the arrow from (0,0) to (3,1) are translates of each other, so they are one vector drawn in two places; on the sketch they are parallel, equal in length and point the same way.

    (c) The diagonals bisect each other. 21​(u+v)=21​⟨2,3⟩=⟨1,23​⟩, the midpoint of the diagonal from O to (2,3).

    The midpoint of the segment from V=(−1,2) to U=(3,1) is (2−1+3​,22+1​)=(1,23​) — the same point. Mark it at (1,23​), where the two diagonals cross. It illustrates that the diagonals of a parallelogram bisect each other. Algebraically: walking from V halfway along u−v gives v+21​(u−v)=21​(u+v), using the distributive axioms, so the midpoint of one diagonal is the midpoint of the other.

  3. 3.Computation

    Let u=⟨2,0,3⟩ and v=⟨1,2,1⟩.

    1. (a)Compute w=3u−2v and the unit vector in the direction of w. State which theorem guarantees your answer has norm 1.
    2. (b)Decide whether each of ⟨1,6,0⟩ and ⟨1,8,2⟩ lies in span{u,v}. Where it does, write it as a combination of u and v; where it does not, say exactly which equation fails.
    3. (c)For which values of k is the list u,v,⟨3,k,4⟩ linearly dependent? Prove both directions: that your value of k gives dependence, and that every other value gives independence.

    Solution

    (a) Scale, then subtract. 3u=⟨6,0,9⟩ and 2v=⟨2,4,2⟩, so

    w=⟨6−2,0−4,9−2⟩=⟨4,−4,7⟩.

    Then ∥w∥2=16+16+49=81, so ∥w∥=9 and

    w^=91​w=⟨94​,−94​,97​⟩.

    By homogeneity of the norm, ∥w^∥=​91​​∥w∥=91​⋅9=1; directly, 8116+16+49​=1. Normalising was legitimate because w=0.

    (b) Solve component by component. A general combination is

    au+bv=⟨2a+b,2b,3a+b⟩.

    For ⟨1,6,0⟩: the middle component forces b=3; then 2a+3=1 forces a=−1. Neither was a choice, so the third component is a consistency check: 3(−1)+3=0, which matches. Hence ⟨1,6,0⟩=−u+3v, and it is in the span. (Recompute: ⟨−2,0,−3⟩+⟨3,6,3⟩=⟨1,6,0⟩.)

    For ⟨1,8,2⟩: the middle component forces b=4, then 2a+4=1 forces a=−23​. The third component would need 3a+b=2, but 3(−23​)+4=−21​=2. That equation fails, so no a,b exist and ⟨1,8,2⟩ is not in the span — it lies off the plane through the origin spanned by u and v.

    (c) Reduce to a span question. First, u and v are independent: cu=v would need 2c=1 and 0⋅c=2, impossible, so neither is a multiple of the other. Write wk​=⟨3,k,4⟩.

    Claim: the list is dependent if and only if wk​∈span{u,v}. If wk​=au+bv, then au+bv−wk​=0 is a nontrivial relation (its last coefficient is −1), so the list is dependent — this is the proposition that dependence means redundancy. Conversely suppose c1​u+c2​v+c3​wk​=0 with not all ci​ zero. If c3​=0 the relation reads c1​u+c2​v=0, and independence of u,v forces c1​=c2​=0 too, contradicting nontriviality. So c3​=0 and wk​=−c3​c1​​u−c3​c2​​v is in the span.

    Now solve ⟨2a+b,2b,3a+b⟩=⟨3,k,4⟩. The first and third components give 2a+b=3 and 3a+b=4; subtracting, a=1, and then b=1. The middle component then demands k=2b=2.

    So for k=2 the list is dependent, and explicitly u+v=⟨3,2,4⟩, i.e. u+v−w2​=0. For every k=2 the first and third components still force a=b=1, and the middle component then reads k=2, which is false; so wk​ is not in the span and, by the claim, the list is independent. The only value is k=2.

  4. 4.Computation

    Give exact values throughout: fractions, roots and angles in degrees or as multiples of π.

    1. (a)Find the angle between ⟨1,1,1,1⟩ and ⟨1,1,0,0⟩ in R4. Before computing, say what the sign of the dot product must be for the angle to come out acute, and afterwards confirm that your cosine obeys Cauchy–Schwarz.
    2. (b)Find every k for which ⟨k,1,2⟩ and ⟨k,−3,k⟩ are orthogonal, and verify each answer by a direct dot product.
    3. (c)Suppose ∥u∥=2, ∥v∥=5 and the angle between u and v is 120∘. Without introducing components, find u⋅v, ∥u+v∥ and ∥2u−v∥, and check the second of these against the triangle inequality.

    Solution

    (a) Definition of the angle. The dot product is 1+1+0+0=2. The norms are 1+1+1+1​=2 and 1+1​=2​. Since ∥u∥∥v∥>0, the sign of the cosine is the sign of the dot product, so a positive dot product means an acute angle — and 2>0, so the angle will be acute. Then

    cosθ=22​2​=2​1​=22​​,θ=4π​=45∘.

    Cauchy–Schwarz demands ∣u⋅v∣≤∥u∥∥v∥, i.e. 2≤22​, which holds; equivalently the cosine 22​​ lies in [−1,1]. There is no picture of R4, but the two vectors span a plane inside it and within that plane the angle is an ordinary 45∘.

    (b) One scalar equation, quadratic in k.

    ⟨k,1,2⟩⋅⟨k,−3,k⟩=k2−3+2k=k2+2k−3=(k+3)(k−1).

    This vanishes exactly for k=1 and k=−3. Two solutions arise because k appears in both vectors, so the condition is quadratic rather than linear.

    Verification: for k=1, ⟨1,1,2⟩⋅⟨1,−3,1⟩=1−3+2=0; for k=−3, ⟨−3,1,2⟩⋅⟨−3,−3,−3⟩=9−3−6=0.

    (c) Identities only. By the geometric form of the dot product,

    u⋅v=∥u∥∥v∥cos120∘=2⋅5⋅(−21​)=−5.

    Expanding a squared sum with bilinearity,

    ∥u+v∥2=∥u∥2+2u⋅v+∥v∥2=4−10+25=19,∥u+v∥=19​.

    For the last one, expand (2u−v)⋅(2u−v) using symmetry, distributivity and homogeneity:

    ∥2u−v∥2=4u⋅u−4u⋅v+v⋅v=16+20+25=61,∥2u−v∥=61​.

    Triangle inequality: ∥u+v∥≤∥u∥+∥v∥=7, and 19​<49​=7, so it holds. It also exceeds ∣5−2∣=3=9​, as the reverse triangle inequality requires. Notice the negative dot product made the sum shorter than 29​, the value a right angle would give: the vectors broadly disagree, so they partly cancel.

  5. 5.Proof

    Prove each statement for all u,v∈Rn. Quote by name every property of the dot product or of the norm that you use; do not introduce components.

    1. (a)The reverse triangle inequality: ​∥u∥−∥v∥​≤∥u−v∥.
    2. (b)∥u∥=∥v∥ if and only if (u+v)⋅(u−v)=0. Then say what this tells you about the diagonals of a rhombus.
    3. (c)If u⋅w=v⋅w for every w∈Rn, then u=v. Explain, with an example, why the hypothesis cannot be weakened to a single w.

    Solution

    (a) Two applications of the triangle inequality. Write u=(u−v)+v. By the triangle inequality,

    ∥u∥≤∥u−v∥+∥v∥,so∥u∥−∥v∥≤∥u−v∥.

    Exchanging the roles of u and v gives ∥v∥−∥u∥≤∥v−u∥, and ∥v−u∥=∥(−1)(u−v)∥=∣−1∣∥u−v∥=∥u−v∥ by absolute homogeneity. So both ∥u∥−∥v∥ and its negative are at most ∥u−v∥, which is exactly the statement ​∥u∥−∥v∥​≤∥u−v∥. ■

    (b) Expand the product. By distributivity and symmetry of the dot product,

    (u+v)⋅(u−v)=u⋅u−u⋅v+v⋅u−v⋅v=∥u∥2−∥v∥2,

    using positive definiteness in the form x⋅x=∥x∥2 and the cancellation of the two cross terms. Hence the product is 0 exactly when ∥u∥2=∥v∥2, and since norms are non-negative that is exactly when ∥u∥=∥v∥. ■

    In the parallelogram with sides u,v the diagonals are u+v and u−v. The statement says: the diagonals are orthogonal if and only if the sides have equal length — a parallelogram has perpendicular diagonals precisely when it is a rhombus. Both directions are proved at once, in every dimension.

    (c) Choose the witness w=u−v. The hypothesis gives u⋅w−v⋅w=0, i.e. (u−v)⋅w=0 by distributivity, for every w. Since it holds for every w, it holds for w=u−v:

    (u−v)⋅(u−v)=∥u−v∥2=0.

    By positive definiteness the only vector of norm 0 is 0, so u−v=0 and u=v. ■

    A single w does not suffice, because u⋅w=v⋅w only says that u−v is orthogonal to w, and there are plenty of nonzero vectors orthogonal to a given one. Example: u=⟨1,0⟩, v=⟨0,1⟩, w=⟨1,1⟩ give u⋅w=1=v⋅w with u=v. You cannot cancel a common factor from a dot product equation; what rescues the argument in the theorem is the freedom to pick w after seeing u−v.

  6. 6.Critique

    Two arguments follow. Each contains a genuine error. For each: identify the exact sentence that fails, explain what has been misused, and then give a correct treatment.

    1. (a)“Let u=⟨1,2,2⟩ and v=⟨−2,−4,−4⟩. Then u⋅v=−2−8−8=−18, while ∥u∥∥v∥=3⋅6=18. So ∣u⋅v∣=∥u∥∥v∥: this is the equality case of Cauchy–Schwarz. The triangle inequality is proved from Cauchy–Schwarz, so it is an equality as well: ∥u+v∥=∥u∥+∥v∥=9.”
    2. (b)“Cauchy–Schwarz is trivial. By the geometric form of the dot product, u⋅v=∥u∥∥v∥cosθ, and ∣cosθ∣≤1 for every angle θ. Therefore ∣u⋅v∣≤∥u∥∥v∥ in every Rn.” Say for which n this reasoning is acceptable and for which it is not, and supply a proof that works for every n.

    Solution

    (a) The failing sentence is “so it is an equality as well”. Everything before it is correct: v=−2u, so the two vectors are multiples of each other and Cauchy–Schwarz really is an equality, ∣−18∣=18.

    What is misused is the structure of the triangle inequality's proof. That proof bounds the cross term by two inequalities in a row,

    u⋅v≤∣u⋅v∣≤∥u∥∥v∥,

    and the conclusion is an equality only if both are. Cauchy–Schwarz equality makes the second one an equality; the first one is an equality only when u⋅v≥0. Here u⋅v=−18<18, so the first inequality is strict and the triangle inequality is strict too. The correct equality condition is u⋅v=+∥u∥∥v∥: the vectors must be parallel and point the same way.

    Correct treatment: u+v=⟨−1,−2,−2⟩, so ∥u+v∥=1+4+4​=3. Via the expansion, ∥u+v∥2=9+2(−18)+36=9, the same. Not only is 3<9; in fact 3=∣3−6∣=​∥u∥−∥v∥​, which is the equality case of the reverse triangle inequality — exactly what opposite directions produce. The picture is a flat triangle in which v doubles back over u.

    (b) The failing sentence is “by the geometric form of the dot product, u⋅v=∥u∥∥v∥cosθ”, when n≥4. In Rn there is no protractor. The angle between two nonzero vectors is defined as the unique θ∈[0,π] with cosθ=∥u∥∥v∥u⋅v​, and that definition only makes sense because the quotient is known to lie in [−1,1] — which is precisely Cauchy–Schwarz. So the argument uses the theorem to build the angle, and then uses the angle to prove the theorem: it is circular. The identity u⋅v=∥u∥∥v∥cosθ is a rearrangement of the definition, not an independent fact.

    In R2 and R3 the reasoning is acceptable, because there the geometric angle φ exists on its own and the law of cosines proves u⋅v=∥u∥∥v∥cosφ without assuming anything about the dot product's size. For n≥4 it proves nothing.

    A proof for every n, using only the four algebraic properties of the dot product. If v=0 both sides are 0; assume v=0. For every real t, positive definiteness gives ∥u+tv∥2≥0, and by bilinearity

    q(t)=∥u+tv∥2=∥v∥2t2+2(u⋅v)t+∥u∥2≥0for all t.

    The leading coefficient ∥v∥2 is strictly positive, so q is an upward parabola that never dips below the axis; therefore it has at most one real root and its discriminant is at most 0:

    4(u⋅v)2−4∥u∥2∥v∥2≤0⟹(u⋅v)2≤∥u∥2∥v∥2.

    Taking non-negative square roots gives ∣u⋅v∣≤∥u∥∥v∥. ■ No angle was mentioned, so nothing was assumed — and this is what makes the definition of angle in Rn legitimate in the first place.

  7. 7.Computation

    Let u=⟨4,1,7⟩ and v=⟨2,−1,2⟩.

    1. (a)Find projv​u and compv​u, and write u=u∥​+u⊥​ with u∥​ parallel to v and u⊥​ orthogonal to it. Verify the orthogonality directly, and verify that the squared norms of the two pieces add up to ∥u∥2.
    2. (b)Find the distance from the point (4,1,7) to the line through the origin in the direction v, naming the theorem that justifies your method.
    3. (c)Without recomputing anything, write down proj−3v​u and comp−3v​u, and explain from the formulas why one of them changed and the other did not.

    Solution

    (a) Two dot products do all the work. v=0, so projection onto it is defined.

    u⋅v=8−1+14=21,v⋅v=4+1+4=9,∥v∥=3.

    Hence

    u∥​=projv​u=921​v=37​⟨2,−1,2⟩=⟨314​,−37​,314​⟩,compv​u=321​=7.

    The perpendicular piece is what is left:

    u⊥​=u−u∥​=⟨4−314​,1+37​,7−314​⟩=⟨−32​,310​,37​⟩.

    Orthogonality: u⊥​⋅v=3−4−10+14​=0. Lengths: ∥u∥2=16+1+49=66; ∥u∥​∥2=(37​)2⋅9=49, which also equals (compv​u)2 as it must; ∥u⊥​∥2=94+100+49​=9153​=17. And 49+17=66, as the Pythagorean theorem requires for orthogonal pieces. The positive scalar projection says u leans towards v, at an acute angle.

    (b) Best approximation on a line. The line is {tv} and the point has position vector u. By the best-approximation theorem, the nearest point of the line to u is projv​u, and the distance is ∥u−projv​u∥=∥u⊥​∥=17​.

    Sanity check: 17​<66​=∥u∥, the distance to the particular point 0 of the line, as it must be.

    (c) The projection sees only the line; the scalar projection sees the direction. In the formula projw​u=w⋅wu⋅w​w, put w=−3v: by homogeneity the numerator becomes −3(u⋅v), the denominator becomes 9(v⋅v), and the trailing vector becomes −3v. The factors −3 and −3 cancel the 9, so

    proj−3v​u=projv​u=⟨314​,−37​,314​⟩,

    unchanged: −3v spans the same line, and the projection depends only on the line.

    For the scalar projection, compw​u=∥w∥u⋅w​ with w=−3v gives ∣−3∣∥v∥−3(u⋅v)​=−compv​u=−7. The length 3 cancels but the sign survives: the scalar projection is the signed length of the shadow measured along the direction you project onto, and −3v points the opposite way, so the same shadow now reads as negative.

  8. 8.Proof

    Fix a nonzero v∈Rn. Prove each statement for all u,w∈Rn and scalars c, naming the dot-product property or theorem used at each step.

    1. (a)projv​(u+w)=projv​u+projv​w and projv​(cu)=cprojv​u.
    2. (b)projv​(projv​u)=projv​u. Explain in one sentence why this had to be true geometrically.
    3. (c)∥projv​u∥≤∥u∥, with equality if and only if u is a scalar multiple of v.

    Solution

    Throughout, v⋅v=∥v∥2>0 by positive definiteness and v=0, so the projection formula is defined.

    (a) Linearity comes from bilinearity. By definition and then distributivity of the dot product,

    projv​(u+w)=v⋅v(u+w)⋅v​v=v⋅vu⋅v+w⋅v​v=v⋅vu⋅v​v+v⋅vw⋅v​v,

    the last step being the vector-space axiom (a+b)v=av+bv. The right side is projv​u+projv​w. For scalars, homogeneity of the dot product gives (cu)⋅v=c(u⋅v), so

    projv​(cu)=v⋅vc(u⋅v)​v=c(v⋅vu⋅v​v)=cprojv​u,

    using the compatibility axiom a(bv)=(ab)v. ■

    (b) Projecting twice is projecting once. Put p=projv​u=kv with k=v⋅vu⋅v​. Then by homogeneity

    projv​p=v⋅v(kv)⋅v​v=v⋅vk(v⋅v)​v=kv=p.■

    Geometrically, p already lies on the line through v, and the shadow of something lying on the floor is itself. (Equivalently, p=p+0 is a decomposition into a multiple of v plus a vector orthogonal to v, and by the uniqueness clause of the orthogonal decomposition theorem the parallel part of p must be p.)

    (c) Pythagoras on the decomposition. By the orthogonal decomposition theorem, u=u∥​+u⊥​ with u∥​=projv​u=kv and u⊥​⋅v=0. The two pieces are orthogonal to each other, since u⊥​⋅(kv)=k(u⊥​⋅v)=0 by homogeneity. So the Pythagorean theorem in Rn gives

    ∥u∥2=∥u∥​∥2+∥u⊥​∥2≥∥u∥​∥2,

    because ∥u⊥​∥2≥0. Taking non-negative square roots, ∥projv​u∥≤∥u∥.

    Equality holds exactly when ∥u⊥​∥2=0, which by positive definiteness means u⊥​=0, i.e. u=u∥​=kv is a scalar multiple of v. Conversely, if u=cv then projv​u=v⋅vc(v⋅v)​v=cv=u, so the two norms agree. ■

    (A second route: ∥projv​u∥=∥v∥2∣u⋅v∣​∥v∥=∥v∥∣u⋅v∣​≤∥v∥∥u∥∥v∥​=∥u∥ by Cauchy–Schwarz, with equality in the Cauchy–Schwarz equality case. Both routes say the same thing: a shadow is never longer than the object casting it, and is exactly as long only when the object lies flat along the line.)

  9. 9.Computation

    Let A=(1,1,0), B=(3,0,2) and C=(0,2,1).

    1. (a)Compute n=AB×AC, check it by dotting with both factors, and find the area of triangle ABC.
    2. (b)Let D=(2,3,5). Find the volume of the parallelepiped with adjacent edges AB, AC and AD.
    3. (c)For which value of k does D=(2,3,k) lie in the plane through A, B and C? Name the test you use, then confirm the answer by finding an equation of that plane and substituting.

    Solution

    (a) Edge vectors at A, then the cross product. Head minus tail:

    AB=⟨2,−1,2⟩,AC=⟨−1,1,1⟩.

    Component by component, watching the middle sign (u3​v1​−u1​v3​):

    n=⟨(−1)(1)−(2)(1),(2)(−1)−(2)(1),(2)(1)−(−1)(−1)⟩=⟨−3,−4,1⟩.

    Checks: n⋅AB=−6+4+2=0 and n⋅AC=3−4+1=0, so n is orthogonal to both factors as the orthogonality theorem requires. Then ∥n∥=9+16+1​=26​, which is the area of the parallelogram on the two edges, and the triangle is half of it:

    Area(ABC)=21​26​.

    (b) The scalar triple product. AD=⟨1,2,5⟩, and the volume is the absolute value of

    AD⋅(AB×AC)=⟨1,2,5⟩⋅⟨−3,−4,1⟩=−3−8+5=−6.

    So the volume is ∣−6∣=6. As a determinant with rows AD,AB,AC, expanding along the first row: 1((−1)(1)−(2)(1))−2((2)(1)−(2)(−1))+5((2)(1)−(−1)(−1))=−3−8+5=−6, the same. The negative sign only records that this ordering of the edges is left-handed; the volume is 6.

    (c) The coplanarity test. With D=(2,3,k), AD=⟨1,2,k⟩ and the triple product is

    ⟨1,2,k⟩⋅⟨−3,−4,1⟩=−3−8+k=k−11.

    By the coplanarity test, the three edge vectors lie in a common plane exactly when this vanishes, i.e. k=11. Since AB and AC are not parallel, their span is a plane, so coplanarity of the three vectors means AD lies in that plane, which is the same as D lying in the plane through A,B,C. (Consistently, part (b) is the case k=5: volume ∣5−11∣=6.)

    Confirmation by the plane's equation. The normal is n=⟨−3,−4,1⟩ and the plane passes through A, so the point–normal form is −3(x−1)−4(y−1)+(z−0)=0, i.e.

    3x+4y−z=7.

    Check: B gives 9+0−2=7 and C gives 0+8−1=7, so B and C lie on it. Substituting D=(2,3,k): 6+12−k=7 gives k=11, agreeing with the triple-product test.

  10. 10.Proof

    Throughout, u,v,w∈R3. Argue from the algebraic properties of the cross product (anticommutativity, x×x=0, distributivity, compatibility with scalars), the theorem that x×y is orthogonal to both factors, and the magnitude theorem. Do not expand anything into components.

    1. (a)Prove that (u−v)×(u+v)=2(u×v). Then interpret the identity as a comparison of two areas.
    2. (b)Prove that if w=au+bv for some scalars a,b, then u⋅(v×w)=0.
    3. (c)Prove that if u=0, u×v=u×w and u⋅v=u⋅w, then v=w. Then give two examples showing that neither hypothesis on its own is enough.

    Solution

    A preliminary: distributivity in the left slot. The stated distributive law is x×(y+z)=x×y+x×z. Anticommutativity transfers it to the other slot:

    (y+z)×x=−(x×(y+z))=−(x×y)−(x×z)=y×x+z×x.

    Also (−y)×x=((−1)y)×x=−(y×x) by compatibility with scalars, and likewise in the right slot.

    (a) Expand and cancel. Using left distributivity, then right distributivity in each term,

    (u−v)×(u+v)=u×u+u×v−v×u−v×v.

    The first and last terms are 0, and −v×u=u×v by anticommutativity, so the right side is u×v+u×v=2(u×v). ■

    Interpretation: the parallelogram with sides u,v has diagonals u+v and u−v. Taking norms, the parallelogram whose sides are those two diagonals has area ∥(u−v)×(u+v)∥=2∥u×v∥ — exactly twice the area of the original. (It is also non-degenerate exactly when the original is, since one cross product vanishes iff the other does.)

    (b) A dependent triple has zero triple product. By distributivity and compatibility with scalars,

    v×w=v×(au+bv)=a(v×u)+b(v×v)=a(v×u).

    Hence, by homogeneity of the dot product, u⋅(v×w)=au⋅(v×u), and v×u is orthogonal to both of its factors, in particular to u. So the triple product is a⋅0=0. ■ This is one direction of the coplanarity test, proved without a determinant: if the third edge lies in the plane of the first two, the box is flat.

    (c) Cancellation needs both products. Put x=v−w. By distributivity (and −w=(−1)w),

    u×x=u×v−u×w=0,u⋅x=u⋅v−u⋅w=0.

    Suppose, for contradiction, that x=0. Then u and x are both nonzero with u×x=0, so by the magnitude theorem they are parallel: x=tu for some scalar t. Then

    0=u⋅x=u⋅(tu)=t∥u∥2,

    and ∥u∥2>0 because u=0 (positive definiteness), so t=0 and x=0 — a contradiction. Hence x=0, that is, v=w. ■

    The idea: the dot product with u sees only the component of a vector along u, and the cross product with u sees only the component perpendicular to u. Either alone is blind to the other component; together they see everything.

    Examples. Take u=i. With v=j and w=i+j: i×j=k and i×(i+j)=0+k=k, so the cross products agree, but v=w (their dot products with i are 0 and 1). With v=j and w=k: i⋅j=0=i⋅k, so the dot products agree, but v=w (their cross products with i are k and −j).

  11. 11.Computation

    Consider the lines

    L1​:r(t)=⟨1,0,2⟩+t⟨1,2,2⟩,L2​:r(s)=⟨3,1,−1⟩+s⟨2,1,−2⟩.

    1. (a)Show that L1​ and L2​ are neither parallel nor intersecting, and find the angle between their directions.
    2. (b)Find an equation of the plane Π that contains L1​ and is parallel to L2​. Verify both properties from your equation.
    3. (c)Show that every point of L2​ is at the same distance from Π, explain why that distance is the shortest distance between any point of L1​ and any point of L2​, and compute it. (You may take for granted that the shortest distance is actually attained.)

    Solution

    (a) Skew, and in fact perpendicular. The directions are d1​=⟨1,2,2⟩ and d2​=⟨2,1,−2⟩. They are not parallel: cd1​=d2​ would need c=2 from the first components and c=21​ from the second.

    A common point would need a single pair (t,s) with

    1+t=3+2s,2t=1+s,2+2t=−1−2s.

    The second gives s=2t−1. Substituting into the first, 1+t=3+4t−2, so t=0 and s=−1. The third then reads 2+0=−1+2, i.e. 2=1, which is false. The system is inconsistent, so the lines do not meet. Not parallel and not intersecting: they are skew.

    Angle: d1​⋅d2​=2+2−4=0, so the directions are orthogonal and the angle between the lines is 90∘ (no absolute value question arises, since the cosine is 0).

    (b) A normal orthogonal to both directions. Π contains L1​, so it contains the direction d1​; it is parallel to L2​, so its normal must also be orthogonal to d2​. The cross product manufactures exactly such a vector:

    d1​×d2​=⟨(2)(−2)−(2)(1),(2)(2)−(1)(−2),(1)(1)−(2)(2)⟩=⟨−6,6,−3⟩.

    Check: ⟨−6,6,−3⟩⋅d1​=−6+12−6=0 and ⟨−6,6,−3⟩⋅d2​=−12+6+6=0. Any nonzero multiple is also a normal, so take n=⟨2,−2,1⟩ (divide by −3), which has the convenient norm ∥n∥=4+4+1​=3. Through the point (1,0,2) of L1​, the point–normal form is 2(x−1)−2(y−0)+(z−2)=0, i.e.

    Π:2x−2y+z=4.

    Verification. Along L1​: 2(1+t)−2(2t)+(2+2t)=2+2t−4t+2+2t=4 for every t, so all of L1​ lies in Π. Parallel to L2​: n⋅d2​=4−2−2=0, so the direction of L2​ is orthogonal to the normal; and the base point (3,1,−1) of L2​ gives 6−2−1=3=4, so L2​ is parallel to Π without lying in it.

    (c) Distance between skew lines as a point–plane distance. Along L2​ the plane's left-hand side reads

    2(3+2s)−2(1+s)+(−1−2s)=6+4s−2−2s−1−2s=3,

    independent of s. So by the point–plane distance formula every point of L2​ is at distance

    D=∥n∥∣3−4∣​=31​

    from Π. (Equivalently, L2​ lies in the parallel plane 2x−2y+z=3.)

    Why this is the distance between the lines: take any P on L1​ and any Q on L2​. Then P lies in Π, and by the point–plane theorem the nearest point of Π to Q is the foot of the perpendicular, at distance 31​; so ∥PQ​∥≥31​ for every such pair. No two points of the lines are closer than 31​, and since the shortest distance is attained, it equals 31​.

    Cross-check with the scalar projection: the displacement between the base points is ⟨3,1,−1⟩−⟨1,0,2⟩=⟨2,1,−3⟩, and its component along the unit normal is 3∣⟨2,1,−3⟩⋅⟨2,−2,1⟩∣​=3∣4−2−3∣​=31​. (For the curious: the closest pair is t=−92​, s=−911​, giving P=(97​,−94​,914​) and Q=(95​,−92​,913​) with QP​=91​⟨2,−2,1⟩, a multiple of n of length exactly 31​.)

  12. 12.Critique

    Three arguments follow, each wrong. For each: quote the sentence where it goes wrong, explain what has been misunderstood, and give the correct result with justification.

    1. (a)“The plane 2x−4y+4z=8 has normal ⟨1,−2,2⟩, since dividing the coefficients by 2 does not change the direction. So the distance from P=(3,1,2) to the plane is ∥⟨1,−2,2⟩∥∣3−2(1)+2(2)−8∣​=3∣−3∣​=1.”
    2. (b)“The line r(t)=⟨1,0,3⟩+t⟨2,1,0⟩ has direction d=⟨2,1,0⟩, and ⟨2,1,0⟩⋅⟨1,−2,2⟩=0, so d is orthogonal to the normal of the plane 2x−4y+4z=8. Hence the line lies in that plane.”
    3. (c)“To find the plane through A=(1,0,0), B=(2,1,1) and C=(3,2,2): AB=⟨1,1,1⟩ and AC=⟨2,2,2⟩, so n=AB×AC=⟨2−2,2−2,2−2⟩=⟨0,0,0⟩. The plane is therefore 0(x−1)+0y+0z=0, which every point satisfies, so the plane through A, B, C is all of R3.”

    Solution

    (a) The sentence that fails is the distance computation, not the normal. ⟨1,−2,2⟩ is a perfectly good normal to the plane — any nonzero multiple of ⟨2,−4,4⟩ is. The error is mixing the reduced normal with the unreduced constant 8. The formula D=a2+b2+c2​∣ax1​+by1​+cz1​−d∣​ requires the plane written as ax+by+cz=d with the very same a,b,c in the norm; the numerator is ∣n⋅r1​−d∣ and d is tied to n.

    Correct treatment, either way. Reduce the whole equation: x−2y+2z=4, then

    D=1+4+4​∣3−2+4−4∣​=31​.

    Or keep the original: n=⟨2,−4,4⟩ with ∥n∥=4+16+16​=6 and D=6∣6−4+8−8∣​=62​=31​. Both consistent choices agree; the mixed one gave 1, three times too large.

    Sanity check: at P the reduced left-hand side reads 5>4, so step 31​ against the unit normal 31​⟨1,−2,2⟩: the point (3−91​,1+92​,2−92​)=(926​,911​,916​) gives 926−22+32​=936​=4. It lands on the plane, so the distance is indeed 31​.

    (b) The sentence that fails is “hence the line lies in that plane”. The computation d⋅n=2−2+0=0 is right, and it shows the line is parallel to the plane: moving along d never changes the reading 2x−4y+4z. But a line parallel to a plane either lies in it or misses it entirely, and which one is decided by a single point. Test the base point (1,0,3): 2(1)−4(0)+4(3)=14=8. So the line is not in the plane.

    Correct result: along the line the reading is 2(1+2t)−4(t)+4(3)=2+4t−4t+12=14 for every t, constant as parallelism predicts, and every point of the line is at distance

    ∥⟨2,−4,4⟩∥∣14−8∣​=66​=1

    from the plane. The line runs parallel to the plane at height 1 above it and never meets it. “Lies in” needs two things — direction orthogonal to the normal and one point on the plane — and only the first was checked.

    (c) The sentence that fails is “the plane is therefore 0(x−1)+0y+0z=0”. The cross product came out 0 because AC=2AB: the three points are collinear, and the recipe for a plane through three points requires them not to be. A normal vector is by definition nonzero, so 0 is not a normal, and 0=0 is not the equation of a plane (the theorem on the general equation ax+by+cz=d requires ⟨a,b,c⟩=0). The cross product was not malfunctioning — it was reporting that the hypothesis fails.

    Correct result: A, B, C all lie on the line r(t)=⟨1,0,0⟩+t⟨1,1,1⟩ (B at t=1, C at t=2), and three collinear points do not determine a plane: every plane containing that line passes through all three, and there are infinitely many. Any normal orthogonal to ⟨1,1,1⟩ produces one. For instance ⟨1,−1,0⟩ gives the plane x−y=1, which contains A (1−0), B (2−1) and C (3−2); and ⟨0,1,−1⟩ gives y−z=0, which also contains all three (0−0, 1−1, 2−2). Two different planes through the same three points — so “the plane through A,B,C” does not exist, and it is certainly not R3.

← Back to the question sheet

CalcPath·Free university mathematics

SubjectsProblem setsProgressFeedbackAbout