Print this page and work through it on paper. Revealed answers are never printed, so you can check one question and still print a clean sheet.
Linear Algebra · Chapter test
Vectors & Euclidean Space
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.Computation · 6 min
Work with squared norms for as long as possible and take a square root only at the end.
- (a)Let and . Find and , and the distance from to .
- (b)Find every value of for which the point is at distance from .
- (c)Show that no point of the form is at distance from , whatever is, and say in one sentence what this means geometrically.
Show the solution to question 1
(a) Head minus tail. Subtracting the coordinates of the tail from those of the head ,
The distance is the norm of the displacement. Squares first: , so the distance is . 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 to is , so the squared distance is
Setting this equal to gives , so and .
Sanity check: at the displacement is with ; at it is , same squares. Two answers were expected, because the points trace a line and a sphere of radius about reaches that line (), so it must cut it twice.
(c) A lower bound from one coordinate. The displacement from to is , so the squared distance is
because a square is never negative. Hence the distance is at least , and in particular never . Geometrically: the points form a line parallel to the -axis at height , while the fixed point sits at height ; the closest the line ever comes is (at , directly below the point), so the sphere of radius about misses the line entirely.
- 2.Sketch · 7 min
Let and . Work on squared paper with the same scale on both axes. Every arrow you draw must be labelled with its components.
- (a)Draw and with their tails at the origin and construct by the parallelogram rule. Then draw 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.
- (b)Draw the arrow from to . Which vector already in your picture is it, and why is it the same vector even though it starts somewhere else?
- (c)Compute and the midpoint of the segment joining the heads of and . Mark the point on your sketch and state which fact about parallelograms it illustrates.
Show the solution to question 2
(a) The parallelogram and its diagonals. Component-wise, and .
The drawing has the four vertices , (head of ), (head of ) and , the fourth corner, which is where a copy of lands when its tail is slid to (and equally where a copy of lands when slid to ). The diagonal from to is : arrowhead at .
The other diagonal joins and . By head minus tail, , so runs from the head of to the head of : its arrowhead is at , pointing right and slightly down. (Drawn the other way it would be .)
Lengths: and , so the diagonal is the longer one. On the paper the segment from to should visibly exceed the segment from to ; if it does not, an arrowhead has been misplaced. (For reference, and .)
(b) A translate is the same vector. The arrow from to has components , which is . A vector is a displacement — three across, one up — and says nothing about where you start. The arrow from to and the arrow from to 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. , the midpoint of the diagonal from to .
The midpoint of the segment from to is — the same point. Mark it at , where the two diagonals cross. It illustrates that the diagonals of a parallelogram bisect each other. Algebraically: walking from halfway along gives , using the distributive axioms, so the midpoint of one diagonal is the midpoint of the other.
- 3.Computation · 7 min
Let and .
- (a)Compute and the unit vector in the direction of . State which theorem guarantees your answer has norm .
- (b)Decide whether each of and lies in . Where it does, write it as a combination of and ; where it does not, say exactly which equation fails.
- (c)For which values of is the list linearly dependent? Prove both directions: that your value of gives dependence, and that every other value gives independence.
Show the solution to question 3
(a) Scale, then subtract. and , so
Then , so and
By homogeneity of the norm, ; directly, . Normalising was legitimate because .
(b) Solve component by component. A general combination is
For : the middle component forces ; then forces . Neither was a choice, so the third component is a consistency check: , which matches. Hence , and it is in the span. (Recompute: .)
For : the middle component forces , then forces . The third component would need , but . That equation fails, so no exist and is not in the span — it lies off the plane through the origin spanned by and .
(c) Reduce to a span question. First, and are independent: would need and , impossible, so neither is a multiple of the other. Write .
Claim: the list is dependent if and only if . If , then is a nontrivial relation (its last coefficient is ), so the list is dependent — this is the proposition that dependence means redundancy. Conversely suppose with not all zero. If the relation reads , and independence of forces too, contradicting nontriviality. So and is in the span.
Now solve . The first and third components give and ; subtracting, , and then . The middle component then demands .
So for the list is dependent, and explicitly , i.e. . For every the first and third components still force , and the middle component then reads , which is false; so is not in the span and, by the claim, the list is independent. The only value is .
- 4.Computation · 7 min
Give exact values throughout: fractions, roots and angles in degrees or as multiples of .
- (a)Find the angle between and in . 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.
- (b)Find every for which and are orthogonal, and verify each answer by a direct dot product.
- (c)Suppose , and the angle between and is . Without introducing components, find , and , and check the second of these against the triangle inequality.
Show the solution to question 4
(a) Definition of the angle. The dot product is . The norms are and . Since , the sign of the cosine is the sign of the dot product, so a positive dot product means an acute angle — and , so the angle will be acute. Then
Cauchy–Schwarz demands , i.e. , which holds; equivalently the cosine lies in . There is no picture of , but the two vectors span a plane inside it and within that plane the angle is an ordinary .
(b) One scalar equation, quadratic in .
This vanishes exactly for and . Two solutions arise because appears in both vectors, so the condition is quadratic rather than linear.
Verification: for , ; for , .
(c) Identities only. By the geometric form of the dot product,
Expanding a squared sum with bilinearity,
For the last one, expand using symmetry, distributivity and homogeneity:
Triangle inequality: , and , so it holds. It also exceeds , as the reverse triangle inequality requires. Notice the negative dot product made the sum shorter than , the value a right angle would give: the vectors broadly disagree, so they partly cancel.
- 5.Proof · 9 min
Prove each statement for all . Quote by name every property of the dot product or of the norm that you use; do not introduce components.
- (a)The reverse triangle inequality: .
- (b) if and only if . Then say what this tells you about the diagonals of a rhombus.
- (c)If for every , then . Explain, with an example, why the hypothesis cannot be weakened to a single .
Show the solution to question 5
(a) Two applications of the triangle inequality. Write . By the triangle inequality,
Exchanging the roles of and gives , and by absolute homogeneity. So both and its negative are at most , which is exactly the statement .
(b) Expand the product. By distributivity and symmetry of the dot product,
using positive definiteness in the form and the cancellation of the two cross terms. Hence the product is exactly when , and since norms are non-negative that is exactly when .
In the parallelogram with sides the diagonals are and . 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 . The hypothesis gives , i.e. by distributivity, for every . Since it holds for every , it holds for :
By positive definiteness the only vector of norm is , so and .
A single does not suffice, because only says that is orthogonal to , and there are plenty of nonzero vectors orthogonal to a given one. Example: , , give with . You cannot cancel a common factor from a dot product equation; what rescues the argument in the theorem is the freedom to pick after seeing .
- 6.Critique · 10 min
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.
- (a)“Let and . Then , while . So : this is the equality case of Cauchy–Schwarz. The triangle inequality is proved from Cauchy–Schwarz, so it is an equality as well: .”
- (b)“Cauchy–Schwarz is trivial. By the geometric form of the dot product, , and for every angle . Therefore in every .” Say for which this reasoning is acceptable and for which it is not, and supply a proof that works for every .
Show the solution to question 6
(a) The failing sentence is “so it is an equality as well”. Everything before it is correct: , so the two vectors are multiples of each other and Cauchy–Schwarz really is an equality, .
What is misused is the structure of the triangle inequality's proof. That proof bounds the cross term by two inequalities in a row,
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 . Here , so the first inequality is strict and the triangle inequality is strict too. The correct equality condition is : the vectors must be parallel and point the same way.
Correct treatment: , so . Via the expansion, , the same. Not only is ; in fact , which is the equality case of the reverse triangle inequality — exactly what opposite directions produce. The picture is a flat triangle in which doubles back over .
(b) The failing sentence is “by the geometric form of the dot product, ”, when . In there is no protractor. The angle between two nonzero vectors is defined as the unique with , and that definition only makes sense because the quotient is known to lie in — 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 is a rearrangement of the definition, not an independent fact.
In and the reasoning is acceptable, because there the geometric angle exists on its own and the law of cosines proves without assuming anything about the dot product's size. For it proves nothing.
A proof for every , using only the four algebraic properties of the dot product. If both sides are ; assume . For every real , positive definiteness gives , and by bilinearity
The leading coefficient is strictly positive, so is an upward parabola that never dips below the axis; therefore it has at most one real root and its discriminant is at most :
Taking non-negative square roots gives . No angle was mentioned, so nothing was assumed — and this is what makes the definition of angle in legitimate in the first place.
- 7.Computation · 8 min
Let and .
- (a)Find and , and write with parallel to and orthogonal to it. Verify the orthogonality directly, and verify that the squared norms of the two pieces add up to .
- (b)Find the distance from the point to the line through the origin in the direction , naming the theorem that justifies your method.
- (c)Without recomputing anything, write down and , and explain from the formulas why one of them changed and the other did not.
Show the solution to question 7
(a) Two dot products do all the work. , so projection onto it is defined.
Hence
The perpendicular piece is what is left:
Orthogonality: . Lengths: ; , which also equals as it must; . And , as the Pythagorean theorem requires for orthogonal pieces. The positive scalar projection says leans towards , at an acute angle.
(b) Best approximation on a line. The line is and the point has position vector . By the best-approximation theorem, the nearest point of the line to is , and the distance is .
Sanity check: , the distance to the particular point of the line, as it must be.
(c) The projection sees only the line; the scalar projection sees the direction. In the formula , put : by homogeneity the numerator becomes , the denominator becomes , and the trailing vector becomes . The factors and cancel the , so
unchanged: spans the same line, and the projection depends only on the line.
For the scalar projection, with gives . The length cancels but the sign survives: the scalar projection is the signed length of the shadow measured along the direction you project onto, and points the opposite way, so the same shadow now reads as negative.
- 8.Proof · 9 min
Fix a nonzero . Prove each statement for all and scalars , naming the dot-product property or theorem used at each step.
- (a) and .
- (b). Explain in one sentence why this had to be true geometrically.
- (c), with equality if and only if is a scalar multiple of .
Show the solution to question 8
Throughout, by positive definiteness and , so the projection formula is defined.
(a) Linearity comes from bilinearity. By definition and then distributivity of the dot product,
the last step being the vector-space axiom . The right side is . For scalars, homogeneity of the dot product gives , so
using the compatibility axiom .
(b) Projecting twice is projecting once. Put with . Then by homogeneity
Geometrically, already lies on the line through , and the shadow of something lying on the floor is itself. (Equivalently, is a decomposition into a multiple of plus a vector orthogonal to , and by the uniqueness clause of the orthogonal decomposition theorem the parallel part of must be .)
(c) Pythagoras on the decomposition. By the orthogonal decomposition theorem, with and . The two pieces are orthogonal to each other, since by homogeneity. So the Pythagorean theorem in gives
because . Taking non-negative square roots, .
Equality holds exactly when , which by positive definiteness means , i.e. is a scalar multiple of . Conversely, if then , so the two norms agree.
(A second route: 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.Computation · 9 min
Let , and .
- (a)Compute , check it by dotting with both factors, and find the area of triangle .
- (b)Let . Find the volume of the parallelepiped with adjacent edges , and .
- (c)For which value of does lie in the plane through , and ? Name the test you use, then confirm the answer by finding an equation of that plane and substituting.
Show the solution to question 9
(a) Edge vectors at , then the cross product. Head minus tail:
Component by component, watching the middle sign ():
Checks: and , so is orthogonal to both factors as the orthogonality theorem requires. Then , which is the area of the parallelogram on the two edges, and the triangle is half of it:
(b) The scalar triple product. , and the volume is the absolute value of
So the volume is . As a determinant with rows , expanding along the first row: , the same. The negative sign only records that this ordering of the edges is left-handed; the volume is .
(c) The coplanarity test. With , and the triple product is
By the coplanarity test, the three edge vectors lie in a common plane exactly when this vanishes, i.e. . Since and are not parallel, their span is a plane, so coplanarity of the three vectors means lies in that plane, which is the same as lying in the plane through . (Consistently, part (b) is the case : volume .)
Confirmation by the plane's equation. The normal is and the plane passes through , so the point–normal form is , i.e.
Check: gives and gives , so and lie on it. Substituting : gives , agreeing with the triple-product test.
- 10.Proof · 11 min
Throughout, . Argue from the algebraic properties of the cross product (anticommutativity, , distributivity, compatibility with scalars), the theorem that is orthogonal to both factors, and the magnitude theorem. Do not expand anything into components.
- (a)Prove that . Then interpret the identity as a comparison of two areas.
- (b)Prove that if for some scalars , then .
- (c)Prove that if , and , then . Then give two examples showing that neither hypothesis on its own is enough.
Show the solution to question 10
A preliminary: distributivity in the left slot. The stated distributive law is . Anticommutativity transfers it to the other slot:
Also by compatibility with scalars, and likewise in the right slot.
(a) Expand and cancel. Using left distributivity, then right distributivity in each term,
The first and last terms are , and by anticommutativity, so the right side is .
Interpretation: the parallelogram with sides has diagonals and . Taking norms, the parallelogram whose sides are those two diagonals has area — 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,
Hence, by homogeneity of the dot product, , and is orthogonal to both of its factors, in particular to . So the triple product is . 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 . By distributivity (and ),
Suppose, for contradiction, that . Then and are both nonzero with , so by the magnitude theorem they are parallel: for some scalar . Then
and because (positive definiteness), so and — a contradiction. Hence , that is, .
The idea: the dot product with sees only the component of a vector along , and the cross product with sees only the component perpendicular to . Either alone is blind to the other component; together they see everything.
Examples. Take . With and : and , so the cross products agree, but (their dot products with are and ). With and : , so the dot products agree, but (their cross products with are and ).
- 11.Computation · 11 min
Consider the lines
- (a)Show that and are neither parallel nor intersecting, and find the angle between their directions.
- (b)Find an equation of the plane that contains and is parallel to . Verify both properties from your equation.
- (c)Show that every point of is at the same distance from , explain why that distance is the shortest distance between any point of and any point of , and compute it. (You may take for granted that the shortest distance is actually attained.)
Show the solution to question 11
(a) Skew, and in fact perpendicular. The directions are and . They are not parallel: would need from the first components and from the second.
A common point would need a single pair with
The second gives . Substituting into the first, , so and . The third then reads , i.e. , which is false. The system is inconsistent, so the lines do not meet. Not parallel and not intersecting: they are skew.
Angle: , so the directions are orthogonal and the angle between the lines is (no absolute value question arises, since the cosine is ).
(b) A normal orthogonal to both directions. contains , so it contains the direction ; it is parallel to , so its normal must also be orthogonal to . The cross product manufactures exactly such a vector:
Check: and . Any nonzero multiple is also a normal, so take (divide by ), which has the convenient norm . Through the point of , the point–normal form is , i.e.
Verification. Along : for every , so all of lies in . Parallel to : , so the direction of is orthogonal to the normal; and the base point of gives , so is parallel to without lying in it.
(c) Distance between skew lines as a point–plane distance. Along the plane's left-hand side reads
independent of . So by the point–plane distance formula every point of is at distance
from . (Equivalently, lies in the parallel plane .)
Why this is the distance between the lines: take any on and any on . Then lies in , and by the point–plane theorem the nearest point of to is the foot of the perpendicular, at distance ; so for every such pair. No two points of the lines are closer than , and since the shortest distance is attained, it equals .
Cross-check with the scalar projection: the displacement between the base points is , and its component along the unit normal is . (For the curious: the closest pair is , , giving and with , a multiple of of length exactly .)
- 12.Critique · 10 min
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.
- (a)“The plane has normal , since dividing the coefficients by does not change the direction. So the distance from to the plane is .”
- (b)“The line has direction , and , so is orthogonal to the normal of the plane . Hence the line lies in that plane.”
- (c)“To find the plane through , and : and , so . The plane is therefore , which every point satisfies, so the plane through , , is all of .”
Show the solution to question 12
(a) The sentence that fails is the distance computation, not the normal. is a perfectly good normal to the plane — any nonzero multiple of is. The error is mixing the reduced normal with the unreduced constant . The formula requires the plane written as with the very same in the norm; the numerator is and is tied to .
Correct treatment, either way. Reduce the whole equation: , then
Or keep the original: with and . Both consistent choices agree; the mixed one gave , three times too large.
Sanity check: at the reduced left-hand side reads , so step against the unit normal : the point gives . It lands on the plane, so the distance is indeed .
(b) The sentence that fails is “hence the line lies in that plane”. The computation is right, and it shows the line is parallel to the plane: moving along never changes the reading . 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 : . So the line is not in the plane.
Correct result: along the line the reading is for every , constant as parallelism predicts, and every point of the line is at distance
from the plane. The line runs parallel to the plane at height 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 ”. The cross product came out because : 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 is not a normal, and is not the equation of a plane (the theorem on the general equation requires ). The cross product was not malfunctioning — it was reporting that the hypothesis fails.
Correct result: , , all lie on the line ( at , at ), 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 produces one. For instance gives the plane , which contains (), () and (); and gives , which also contains all three (, , ). Two different planes through the same three points — so “the plane through ” does not exist, and it is certainly not .
Solutions: calc-path.com/linear-algebra/test/vectors/answers