Skip to main content

Parametric vector equations of lines: point and direction form, parameter elimination, intersections

Syllabus dot point

“Write parametric vector equations of lines and convert between vector and Cartesian forms”

HSCMaths Extension 1Vectors (ME-V1)14 min read

Quick answer

A line in vector form is r=a+td\mathbf{r} = \mathbf{a} + t\mathbf{d}: a known point a\mathbf{a} plus a parameter tt times the direction d\mathbf{d}. Through two points, take d=b−a\mathbf{d} = \mathbf{b} - \mathbf{a}. Convert to Cartesian by eliminating tt (gradient d2d1\frac{d_2}{d_1}). Find intersections by setting the two forms equal with different parameters and solving; for a collision, equate positions with the same tt and check both coordinates.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

NESA wants you to describe a line not by a Cartesian equation but by a starting point plus a direction: r=a+td\mathbf{r} = \mathbf{a} + t\mathbf{d}. You should be able to write this form from a point and a direction (or from two points), convert it to and from Cartesian form, and use it to find where two lines meet, including the difference between two paths crossing and two particles colliding. The parametric form is the natural language for motion, and it handles vertical lines and intersections more cleanly than y=mx+cy = mx + c.

The answer

A line is a point plus multiples of a direction

Start at a known point AA on the line, with position vector a\mathbf{a}. Pick any non-zero direction vector d\mathbf{d} pointing along the line. Every other point is reached by walking some number of steps tt along d\mathbf{d}. So a general point has position vector

r=a+td,t∈R.\mathbf{r} = \mathbf{a} + t\mathbf{d}, \qquad t \in \mathbb{R}.

Here r\mathbf{r} is the position vector of a variable point on the line and tt is the parameter: each value of tt picks out one point, and as tt runs over all real numbers, r\mathbf{r} sweeps out the whole line. (Different textbooks use λ\lambda, μ\mu or tt for the parameter; they all mean the same thing.) Let us build this up.

Stage 1, the position vector of a known point. Fix the origin OO. The position vector a=OA→\mathbf{a} = \overrightarrow{OA} pins down one point AA that the line passes through.

Stage 1: the position vector to a point on the line The position vector a points from the origin O to the known point A on the line. a O A a is the position vector of a known point A on the line.

Stage 2, the direction vector. From AA, the direction vector d\mathbf{d} points along the line. Adding one copy of d\mathbf{d} to a\mathbf{a} lands on a second point of the line.

Stage 2: the direction vector From A, the direction vector d points along the line; adding one d reaches another point on the line. a d O A d is the direction; from A, adding d steps along the line.

Stage 3, different values of tt give different points. Walking tt steps along d\mathbf{d} from AA reaches the point a+td\mathbf{a} + t\mathbf{d}. At t=0t = 0 we are at AA; t=1t = 1 is one step on; t=2t = 2 is two steps; t=−1t = -1 is one step backwards. The parameter is a coordinate along the line.

Stage 3: points for several values of t Different values of the parameter t give different points on the line: t equals minus one, zero, one and two are marked, evenly spaced. d t = -1 t = 0 (A) t = 1 t = 2 Each t gives r = a + t d, a different point on the line.

Stage 4, the whole line. Letting tt range over every real number sweeps out the entire line. The position vector r\mathbf{r} of a general point PP is a\mathbf{a} (to get onto the line at AA) plus tt copies of d\mathbf{d} (to slide along to PP).

Stage 4: the whole line r = a + t d The line is all points r = a + t d. The position vector a reaches A; the position vector r reaches a general point P on the line. O sits below the line so the two position vectors fan out clearly. r = a + t d a r O A P The line is every point r = a + t d as t runs over all reals.

In components this reads

(xy)=(a1a2)+t(d1d2),sox=a1+td1,y=a2+td2.\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} a_1 \\ a_2 \end{pmatrix} + t \begin{pmatrix} d_1 \\ d_2 \end{pmatrix}, \qquad\text{so}\qquad x = a_1 + t d_1, \quad y = a_2 + t d_2.

Key fact

A line through the point with position vector a\mathbf{a} in the direction d (≠0)\mathbf{d}\,(\ne \mathbf{0}) is

r=a+td,t∈R.\mathbf{r} = \mathbf{a} + t\mathbf{d}, \qquad t \in \mathbb{R}.

The point a\mathbf{a} can be any point on the line, and d\mathbf{d} can be any non-zero multiple of the direction, so the same line has infinitely many vector equations. Two lines are parallel exactly when their direction vectors are scalar multiples of each other.

Line through two points

If a line passes through AA and BB, a direction along it is d=AB→=b−a\mathbf{d} = \overrightarrow{AB} = \mathbf{b} - \mathbf{a}. So

r=a+t(b−a)=(1−t)a+tb.\mathbf{r} = \mathbf{a} + t(\mathbf{b} - \mathbf{a}) = (1 - t)\mathbf{a} + t\mathbf{b}.

The second form is worth noticing: at t=0t = 0 you are at AA, at t=1t = 1 you are at BB, and for 0<t<10 < t < 1 you are on the segment between them (this is exactly the section-formula idea from geometric proofs).

Converting to Cartesian form: eliminate the parameter

To get a Cartesian equation, write the two component equations and eliminate tt. If d1≠0d_1 \ne 0, solve x=a1+td1x = a_1 + t d_1 for t=x−a1d1t = \dfrac{x - a_1}{d_1}, then substitute into yy:

y=a2+x−a1d1 d2⟹y−a2=d2d1(x−a1).y = a_2 + \frac{x - a_1}{d_1}\,d_2 \quad\Longrightarrow\quad y - a_2 = \frac{d_2}{d_1}(x - a_1).

That is the point-slope form, so the gradient is d2d1\dfrac{d_2}{d_1}, the "rise over run" of the direction vector. Going the other way, a Cartesian line y=mx+cy = mx + c has direction vector (1,m)(1, m) and passes through (0,c)(0, c), giving r=(0,c)+t(1,m)\mathbf{r} = (0, c) + t(1, m).

Vertical and horizontal lines

The parametric form copes with cases that break y=mx+cy = mx + c:

  • If d1=0d_1 = 0 (direction straight up), the line is vertical: x=a1x = a_1 for all tt, with no defined gradient.
  • If d2=0d_2 = 0 (direction horizontal), the line is horizontal: y=a2y = a_2.

This robustness, no special-casing vertical lines, is one practical reason the vector form is preferred for motion and intersection problems.

Intersection of two lines

Two lines meet where their position vectors coincide. Use different parameters for the two lines and set them equal:

a1+λd1=a2+μd2.\mathbf{a}_1 + \lambda\mathbf{d}_1 = \mathbf{a}_2 + \mu\mathbf{d}_2.

That is one equation per coordinate, so two equations in the two unknowns λ\lambda and μ\mu. Solve them, then substitute back to get the meeting point.

Intersection of two lines Two lines L1 and L2 cross at a single point X. Setting their parametric forms equal and solving for the two parameters finds X. L1 L2 X Set the parametric forms equal; solve for the two parameters to find X.

Three outcomes are possible. A unique solution means the lines cross at one point. No solution means they are parallel and distinct (directions are scalar multiples, but no shared point). Infinitely many solutions means they are the same line (coincident).

Two readings of the parameter

  • Geometric: tt just indexes points along the line; its scale depends on how big d\mathbf{d} is.
  • Time: if a particle starts at a\mathbf{a} at time 00 and moves with velocity d\mathbf{d}, then r(t)=a+td\mathbf{r}(t) = \mathbf{a} + t\mathbf{d} is its position at time tt, and d\mathbf{d} is genuinely its velocity vector.

The time reading is what makes collision problems different from intersection problems, covered next.

Collision versus path-crossing

If two particles trace lines that cross, their paths share a point, but the particles only collide if they are at that point at the same time. So for a collision you must find a single value of tt that makes both position vectors equal, not two different parameter values. Equate the position vectors using the same tt:

r1(t)=r2(t).\mathbf{r}_1(t) = \mathbf{r}_2(t).

Solve one coordinate for tt, then check the other coordinate holds at that same tt. If it does, they collide (and you have the time and place); if it does not, the paths merely cross.

How exam questions ask about parametric lines

  • "Write the vector equation of the line through AA with direction d\mathbf{d}": state r=a+td\mathbf{r} = \mathbf{a} + t\mathbf{d}.
  • "... through AA and BB": take d=b−a\mathbf{d} = \mathbf{b} - \mathbf{a} first.
  • "Find the Cartesian equation" or "... in the form y=mx+cy = mx + c": eliminate the parameter.
  • "Find the point of intersection of L1L_1 and L2L_2": set the forms equal (different parameters), solve, substitute back.
  • "Are the lines parallel? Do they meet?": compare directions for parallelism; if parallel, test whether a point of one lies on the other to tell coincident from distinct.
  • "Do the two particles collide?" or "At what time do they meet?": equate positions with the same parameter tt and require both coordinates to match.
Exam technique

Always use a different letter for each line's parameter (λ\lambda and μ\mu, or tt and ss); reusing one letter is the classic way to lose an intersection question. After solving for the parameters, substitute back into both lines and check you get the same point, that check is a free mark and catches arithmetic slips. For "collision", make it explicit that you are using one shared tt and that you verified the second coordinate, then state the time and the position with units if it is a motion context. Remember a vector equation is the whole line: if asked for a specific point, substitute the given parameter value rather than quoting the equation.

Worked example

Write a vector equation from a point and a direction

Write the vector equation of the line through A=(1,2)A = (1, 2) in the direction d=(3,−1)\mathbf{d} = (3, -1). Place the point and add any scalar multiple of the direction:

r=(1,2)+t(3,−1)=(1+3t, 2−t),t∈R.\mathbf{r} = (1, 2) + t(3, -1) = (1 + 3t,\, 2 - t), \quad t \in \mathbb{R}.

Each value of tt selects one point of the line.

Find the direction from two points, then write the equation

Find the vector equation of the line through A=(2,1)A = (2, 1) and B=(5,7)B = (5, 7). The direction is the displacement from AA to BB:

d=AB→=B−A=(3,6),r=(2,1)+t(3,6).\mathbf{d} = \overrightarrow{AB} = B - A = (3, 6), \qquad \mathbf{r} = (2, 1) + t(3, 6).

Dividing the direction by 33 gives the simpler equivalent form r=(2,1)+s(1,2)\mathbf{r} = (2, 1) + s(1, 2), the same line with a different parameter scale.

Eliminate the parameter to convert to Cartesian form

For the line r=(1,3)+t(2,5)\mathbf{r} = (1, 3) + t(2, 5), write x=1+2tx = 1 + 2t and y=3+5ty = 3 + 5t. Solve the first for tt and substitute into the second:

t=x−12,y=3+5(x−1)2=5x+12.t = \frac{x - 1}{2}, \qquad y = 3 + \frac{5(x - 1)}{2} = \frac{5x + 1}{2}.

Cartesian form: 2y=5x+12y = 5x + 1. The gradient 52\frac{5}{2} is exactly d2d1\frac{d_2}{d_1}.

Set the parametric forms equal to find an intersection

Lines L1:r=(1,0)+λ(1,2)L_1: \mathbf{r} = (1, 0) + \lambda(1, 2) and L2:r=(0,4)+μ(1,−1)L_2: \mathbf{r} = (0, 4) + \mu(1, -1). Use different parameters and set the components equal: 1+λ=μ1 + \lambda = \mu and 2λ=4−μ2\lambda = 4 - \mu. Substitute the first into the second:

2λ=4−(1+λ)=3−λ⟹3λ=3,λ=1.2\lambda = 4 - (1 + \lambda) = 3 - \lambda \quad\Longrightarrow\quad 3\lambda = 3, \quad \lambda = 1.

Then μ=2\mu = 2. The intersection is (1+1, 0+2)=(2,2)(1 + 1,\, 0 + 2) = (2, 2). Check on L2L_2: (0+2, 4−2)=(2,2)(0 + 2,\, 4 - 2) = (2, 2). Confirmed.

Distinguish path-crossing from collision

Particle 1 starts at (0,0)(0, 0) with velocity (2,1)(2, 1); particle 2 starts at (8,3)(8, 3) with velocity (−1,1)(-1, 1). Their positions at time tt are r1(t)=(2t,t)\mathbf{r}_1(t) = (2t, t) and r2(t)=(8−t,3+t)\mathbf{r}_2(t) = (8 - t, 3 + t). For a collision both coordinates must agree at the same tt. From the xx-components:

2t=8−t⟹t=83.2t = 8 - t \quad\Longrightarrow\quad t = \tfrac{8}{3}.

Check the yy-components at t=83t = \frac{8}{3}: y1=83y_1 = \frac{8}{3} but y2=3+83=173y_2 = 3 + \frac{8}{3} = \frac{17}{3}. Since 83≠173\frac{8}{3} \ne \frac{17}{3}, the particles are never at the same place at the same time. Their paths may cross geometrically, but they do not collide.

Identify parallel lines and tell coincident from distinct

Lines L1:r=(1,1)+λ(2,3)L_1: \mathbf{r} = (1, 1) + \lambda(2, 3) and L2:r=(4,0)+μ(4,6)L_2: \mathbf{r} = (4, 0) + \mu(4, 6). The direction of L2L_2 is (4,6)=2(2,3)(4, 6) = 2(2, 3), a multiple of L1L_1's direction, so the lines are parallel. To decide coincident versus distinct, test whether L2L_2's point (4,0)(4, 0) lies on L1L_1. Set (1+2λ, 1+3λ)=(4,0)(1 + 2\lambda,\, 1 + 3\lambda) = (4, 0): the first component gives λ=1.5\lambda = 1.5, but then the second gives 1+3(1.5)=5.5≠01 + 3(1.5) = 5.5 \ne 0. So (4,0)(4, 0) is not on L1L_1; the lines are parallel and distinct (they never meet).

Common traps
Reusing one parameter for two lines
Different lines need different parameters (λ\lambda and μ\mu). One shared letter forces a false constraint and breaks intersection questions.
Direction-vector scaling confusion
(2,6)(2, 6) and (1,3)(1, 3) are the same direction; the equation can use either, only the parameter values change. Do not treat differently scaled directions as different lines.
Parallel vs intersecting
Lines are parallel iff their directions are scalar multiples. If they are not, the lines must meet at exactly one point.
Coincident lines look "parallel but special"
Parallel lines can be the same line. Always test a point before declaring "no intersection".
Collision treated as intersection
Paths crossing is not a collision. A collision needs one shared time tt making both coordinates equal; verify the second coordinate at the time found from the first.
Quoting the equation when a point is wanted
r=(1,2)+t(3,−1)\mathbf{r} = (1, 2) + t(3, -1) is the line; the point at t=1t = 1 is (4,1)(4, 1). Substitute the given tt.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC-style2 marks
A line passes through A=(1,3)A = (1, 3) in the direction d=(2,−1)\mathbf{d} = (2, -1). Write its vector equation and hence find its Cartesian equation.
Show worked answer →

Vector equation: r=(1,3)+λ(2,−1)\mathbf{r} = (1, 3) + \lambda (2, -1), so x=1+2λx = 1 + 2 \lambda and y=3−λy = 3 - \lambda.

Eliminate λ\lambda. From the second equation, λ=3−y\lambda = 3 - y. Substitute into the first: x=1+2(3−y)=7−2yx = 1 + 2(3 - y) = 7 - 2 y.

Cartesian: x+2y=7x + 2 y = 7 (equivalently y=7−x2y = \frac{7 - x}{2}).

HSC-style3 marks
Lines L1:r=(2,1)+λ(1,3)L_1: \mathbf{r} = (2, 1) + \lambda (1, 3) and L2:r=(0,5)+μ(2,−1)L_2: \mathbf{r} = (0, 5) + \mu (2, -1) intersect. Find the point of intersection.
Show worked answer →

Set the components equal: 2+λ=2μ2 + \lambda = 2 \mu and 1+3λ=5−μ1 + 3 \lambda = 5 - \mu.

From the first, μ=2+λ2\mu = \frac{2 + \lambda}{2}. Substitute into the second: 1+3λ=5−2+λ21 + 3 \lambda = 5 - \frac{2 + \lambda}{2}.

Multiply by 22: 2+6λ=10−(2+λ)=8−λ2 + 6 \lambda = 10 - (2 + \lambda) = 8 - \lambda, so 7λ=67 \lambda = 6, giving λ=67\lambda = \frac{6}{7}.

Point on L1L_1: (2+67, 1+3⋅67)=(207,257)\left( 2 + \frac{6}{7}, \, 1 + 3 \cdot \frac{6}{7} \right) = \left( \frac{20}{7}, \frac{25}{7} \right).

Check μ=2+6/72=20/72=107\mu = \frac{2 + 6/7}{2} = \frac{20/7}{2} = \frac{10}{7}; on L2L_2: (0+2⋅107, 5−107)=(207,257)\left( 0 + 2 \cdot \frac{10}{7}, \, 5 - \frac{10}{7} \right) = \left( \frac{20}{7}, \frac{25}{7} \right). Agrees.

Practise this

Sources & how we know this

ExamExplained