Definition (line in vector form). Let p∈Rn and let d∈Rn with d=0. The line through p with direction d is the set
L={p+td:t∈R}⊆Rn.
The equation
r=p+td,t∈R,
is the vector form of L. The scalar t is the parameter, p is the position vector of one point of L — the point reached at t=0 — and d is a direction vector for L.
Read the definition as an instruction. Stand at p; choose a real number t; travel the displacement td. As t runs through R the resulting point r traces out the whole of L: positive t moves one way along the line, negative t the other, and ∣t∣ measures the distance travelled in units of ∥d∥.
The structure: a fixed offset plus a span
Lesson 2 defined span{d}={td:t∈R} and showed that for d=0 this is a line through the origin. Comparing that with the definition above,
L=p+span{d},where p+S:={p+s:s∈S}.
A line in vector form is therefore a span that has been translated by a fixed offset. Two cases arise.
If p∈span{d} — in particular if p=0 — then L=span{d} exactly, and L passes through the origin.
If p∈/span{d} then L misses the origin, and L is not a span of anything.
The second statement needs its reason, and the reason is short. Every span contains 0 (Lesson 2: take every coefficient to be zero). Now 0∈L would mean p+td=0 for some t, that is p=(−t)d∈span{d}. So p∈/span{d} forces 0∈/L, and a set that omits 0 cannot be a span.
Non-example (why d=0 is required). If d=0 then p+t0=p for every t, so {p+t0:t∈R}={p}, a single point. Writing a parameter into an equation does not by itself produce a line; the parameter must actually move the point.
Two points, and why one line has many equations
The line through two points. Let a=b in Rn and put d=b−a, which is non-zero precisely because a=b. Then
r=a+t(b−a),t∈R,
is a line containing a (at t=0) and b (at t=1). The displacement b−a is the journey from a to b in the sense of Lesson 1. Values t∈[0,1] sweep the segment from a to b; values outside [0,1] continue past the ends.
Worked example. For a=(1,−2,4)T and b=(4,1,−2)T, b−a=(3,3,−6)T, so the line through them is
r=(1,−2,4)T+t(3,3,−6)T.
The equation is not unique
One line has infinitely many vector equations, because two choices are free: which point of the line serves as the offset, and which non-zero multiple of the direction serves as d.
Take the line above, use b as the offset, and rescale the direction by −31 to get (−1,−1,2)T:
r=(4,1,−2)T+u(−1,−1,2)T.
The two equations share no number, yet describe the same set. In components the first gives (1+3t,−2+3t,4−6t) and the second gives (4−u,1−u,−2+2u). Equating first components gives u=3−3t. Substituting into the second component of the second form: 1−(3−3t)=−2+3t, which matches. Into the third: −2+2(3−3t)=4−6t, which also matches. Since t↦3−3t is a bijection of R onto R, every point produced by one equation is produced by the other, and the two sets are equal.
Criterion. The equations r=p+td and r=p′+ud′ describe the same line if and only if d′=λd for some λ=0andp′−p∈span{d}. In words: the directions are parallel, and the second offset is a point of the first line. Both conditions are needed — parallel directions alone give parallel lines, which may be distinct.
Misconception. Two very different-looking equations may describe the same line, and two nearly identical ones may not. Compare (1,3)T+t(2,−4)T with (1,3)T+t(4,−4)T: they share an offset and differ in one entry, but (4,−4)T is not a scalar multiple of (2,−4)T, so these are two different lines crossing at (1,3). Never compare vector equations by appearance; apply the criterion.
Component, Cartesian and symmetric forms
Writing r=(x,y,z)T and equating components turns one vector equation into n scalar parametric equations. In R3, with p=(p1,p2,p3)T and d=(d1,d2,d3)T,
x=p1+td1,y=p2+td2,z=p3+td3.
In R2. Eliminate t. If d1=0 then t=(x−p1)/d1, so
y=p2+d1d2(x−p1),
a line of gradient m=d2/d1. For p=(1,2)T and d=(4,−8)T this gives m=−8/4=−2 and y=2−2(x−1)=−2x+4. If d1=0 the elimination is impossible: the line is vertical, x=p1, and has no equation of the form y=mx+c. Vector form covers vertical lines with no special case, which is one practical reason to prefer it.
In R3. If d1,d2,d3 are all non-zero, solving each parametric equation for t and equating gives the symmetric form
d1x−p1=d2y−p2=d3z−p3.
For p=(2,−1,3)T and d=(1,4,−2)T this reads 1x−2=4y+1=−2z−3. If some di=0 that coordinate is constant and is recorded as a separate equation: for p=(1,5,−2)T and d=(3,0,1)T the line is 3x−1=1z+2 together with y=5.
Collinearity
Definition. Points of Rn are collinear if some single line contains all of them. Any two points are collinear; the content of the notion begins at three.
Theorem (collinearity test). Let a,b,c∈Rn with a=b. Then a,b,c are collinear if and only if there is a scalar k∈R with
c−a=k(b−a).
Plain reading. Start at a and record two journeys: the one to b and the one to c. The three points lie on one line exactly when the second journey is a rescaling of the first — same direction up to sign and length.
Proof. Suppose c−a=k(b−a). Since a=b, the vector d=b−a is non-zero, so L:r=a+td is a line. It contains a at t=0, b at t=1, and c=a+kd at t=k. Hence all three are collinear.
Conversely, suppose all three lie on a line r=p+td with d=0, say a=p+tad, b=p+tbd, c=p+tcd. Subtracting, b−a=(tb−ta)d and c−a=(tc−ta)d. Because a=b we have tb=ta, so we may set k=(tc−ta)/(tb−ta) and obtain c−a=k(b−a). ■
The hypothesis a=b cannot be dropped. Take a=b=(0,0)T and c=(1,1)T. These three points are collinear — the line r=t(1,1)T contains all of them — yet b−a=0, so k(b−a)=0=c−a for every k and the criterion returns the wrong verdict. With coincident points the test says nothing.
Procedure. Compute b−a and c−a. Read off the candidate k from the first component in which b−a is non-zero, then check that the same k works in every remaining component. One mismatch is decisive.
Worked example 1 (collinear).a=(2,−1,0)T, b=(5,1,4)T, c=(−4,−5,−8)T. Then b−a=(3,2,4)T and c−a=(−6,−4,−8)T. The first component gives k=−6/3=−2; then −2⋅2=−4 and −2⋅4=−8, both correct. The points are collinear.
Worked example 2 (not collinear).a=(1,1,2)T, b=(4,3,5)T, c=(7,5,9)T. Then b−a=(3,2,3)T and c−a=(6,4,7)T. The first component gives k=2; the second agrees, since 2⋅2=4; the third fails, since 2⋅3=6=7. Not collinear.
Misconception. Example 2 is the standard trap: two of the three components agreed. A scalar multiple is an all-or-nothing relation between whole vectors, so partial agreement is not evidence. Check every component.
Planes in vector form
Definition (parallel vectors). Two vectors u,v∈Rn are parallel if one is a scalar multiple of the other. They are non-parallel otherwise; in particular non-parallel vectors are both non-zero, since 0=0u is a multiple of everything.
Definition (plane in vector form). Let p∈Rn and let u,v∈Rn be non-parallel. The plane through p with directions u,v is
Π={p+su+tv:s,t∈R}=p+span{u,v}.
Lesson 2 showed span{u,v} is a plane through the origin exactly when u,v are non-parallel, and collapses to a line when they are parallel. The offset p translates that plane, and as before Π contains 0 — hence is itself a span — if and only if p∈span{u,v}.
The plane through three points
Construction. Let a,b,c be non-collinear. Put u=b−a and v=c−a. Then
r=a+s(b−a)+t(c−a),s,t∈R,
is a plane containing a (at s=t=0), b (at s=1,t=0) and c (at s=0,t=1).
Why non-collinearity is exactly the right hypothesis. Non-collinear points are in particular distinct, so u=0 and v=0. Given a=b, the collinearity theorem says the three points are collinear if and only if v=c−a is a scalar multiple of u=b−a. Non-collinearity is therefore precisely the statement that v is not a multiple of u; and since u=0, u is then not a multiple of v either. So the three points are non-collinear if and only if u,v are non-parallel — the exact condition the definition of a plane demands.
Non-example (collinear points give no plane). If a,b,c are collinear with a=b, then v=ku and every su+tv=(s+tk)u is a multiple of u. The set a+span{u,v}=a+span{u} is the line through the three points. Two parameters were written down, but only one dimension was obtained. Three points determine a plane only when they are non-collinear.
Worked example.a=(1,0,2)T, b=(3,1,2)T, c=(0,2,5)T. Then u=(2,1,0)T and v=(−1,2,3)T. These are non-parallel: matching first components would need λ=−2 in u=λv, but then the second component would give 1=−4. So the points are non-collinear and
Π:r=(1,0,2)T+s(2,1,0)T+t(−1,2,3)T.
Testing membership. A point q lies in Π if and only if q−a∈span{u,v}, which is a linear system in the two unknowns s,t — the same reduction Lesson 2 used for span membership, applied to q−a rather than q.
Take q=(6,0,−1)T. The third components give 2+0s+3t=−1, so t=−1. The second give 0+s+2t=0, so s=2. Check the first: 1+2(2)+(−1)(−1)=6. Consistent, so q∈Π at (s,t)=(2,−1).
Take q′=(6,0,0)T. The third give 2+3t=0, so t=−32; the second give s=34; the first then give 1+38+32=313=6. Inconsistent, so q′∈/Π.
Perpendicularity: exactly as much dot product as is needed
Definition (dot product). For u,v∈Rn,
u⋅v=u1v1+u2v2+⋯+unvn∈R.
The output is a scalar, not a vector.
The one fact used here.u⋅v=0 means u and v are perpendicular (equivalently, orthogonal). Take this as the working definition of perpendicular for now. Its agreement with the schoolroom notion of a right angle, together with norms, angles, projections, orthogonal complements and the rest of the theory, is developed in Section 9; nothing beyond the displayed fact is used in this section.
Normal form of a plane in R3
Let Π be a plane in R3 through the point p, and let n=0 be perpendicular to every displacement that lies within Π; such an n is a normal to Π. A point r lies in Π exactly when the displacement r−p lies within Π, so
n⋅(r−p)=0⟺n⋅r=n⋅p.
Writing n=(a,b,c)T and r=(x,y,z)T and expanding gives the Cartesian form
ax+by+cz=d,d=n⋅p.
Finding a normal from two directions.n must satisfy n⋅u=0 and n⋅v=0: two linear equations in three unknowns, which always have a non-zero solution.
For u=(2,1,0)T and v=(−1,2,3)T the conditions are 2n1+n2=0 and −n1+2n2+3n3=0. The first gives n2=−2n1; substituting, −n1−4n1+3n3=0, so 3n3=5n1. Choosing n1=3 gives n=(3,−6,5)T. Check: n⋅u=6−6+0=0 and n⋅v=−3−12+15=0.
With p=(1,0,2)T, d=n⋅p=3+0+10=13, so the plane of the previous block is
3x−6y+5z=13.
The three original points confirm it: a=(1,0,2) gives 3−0+10=13; b=(3,1,2) gives 9−6+10=13; c=(0,2,5) gives 0−12+25=13. So does the member (6,0,−1): 18−0−5=13. The non-member (6,0,0) gives 18=13, agreeing with the parametric test.
A caution about dimension. In R3 a single linear equation describes a plane; in R2 the equation ax+by=e describes a line. One equation removes one dimension, so normal form as stated is a fact about R3 specifically: a plane sitting inside R4 is not cut out by one equation. Section 2 turns this counting into a theorem.
The line L in R2 has vector equation r=(2,−1)T+t(3,4)T, t∈R. Enter the y-coordinate of the point of L obtained at t=2.
Which equation describes the line in R2 through the point P=(1,5) with direction vector d=(−2,3)T?
Let A=(1,2,−3) and B=(4,0,1) in R3. Give the direction vector b−a of the line through A and B, written as its three components in order separated by commas (for example: 5,-1,0).
The point (7,10) lies on the line r=(1,−2)T+t(2,4)T. Find the value of t that produces it.
Does the point Q=(5,7,0) lie on the line r=(1,−1,5)T+t(2,4,−2)T in R3?
Let L be the line r=(1,2)T+t(3,−1)T in R2. Is L a span, that is, is L=span{w} for some vector w?
The line r=(1,2)T+t(4,−8)T in R2 can be written in Cartesian form y=mx+c. Enter the value of c.
The points A=(1,2,3), B=(3,6,7) and C=(−2,−4,−3) in R3 are collinear. Enter the scalar k for which c−a=k(b−a).
Are the points A=(2,1), B=(5,7) and C=(0,−2) in R2 collinear?
Let A=(1,0,2), B=(3,1,2) and C=(0,2,5) in R3. Which equation describes the plane through these three points?
The line r=(2,−1,6)T+t(1,2,−3)T meets the xy-plane (the plane z=0) in exactly one point. Enter the x-coordinate of that point.
The point Q=(6,0,−1) lies in the plane Π:r=(1,0,2)T+s(2,1,0)T+t(−1,2,3)T. Enter the value of s for which r=q.
Let L be the line r=(1,3)T+t(2,−4)T in R2. Which of the following is a different vector equation for the same line L?
A line in R3 has vector equation r=(2,−1,3)T+t(1,4,−2)T. One of its points has x=5. Enter the y-coordinate of that point.
For which value of k are the points A=(1,2,−1), B=(3,5,1) and C=(7,k,5) in R3 collinear? Enter the value of k.
In R3, let L1:r=(1,0,2)T+t(2,1,−1)T and L2:r=(0,3,1)T+u(1,−1,2)T. Describe the relationship between L1 and L2 with one word: intersecting, parallel, or skew.
Someone writes down "the line through A=(2,5,−1) and B=(2,5,−1)" as r=a+t(b−a), t∈R. What set does this equation actually describe, and why?
Below is an attempt to find the plane through A=(1,1,1), B=(3,4,5) and C=(5,7,9).
Step 1.u=b−a=(2,3,4)T.
Step 2.v=c−a=(4,6,8)T.
Step 3. Both u and v are non-zero, so r=a+su+tv is the plane through A, B and C.
Step 4. Taking s=t=1 gives (7,10,13), which therefore lies in that plane.