Skip to main content
ExamExplained
NSW · Maths Extension 1
Maths Extension 1 study scene
§-Syllabus dot point
NSWMaths Extension 1Syllabus dot point

How do we represent a line in the plane using vector equations?

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

A focused answer to the HSC Maths Extension 1 dot point on parametric vector equations of lines. The point-direction form r = a + t d built up stage by stage, the line through two points, conversion to and from Cartesian, vertical and horizontal lines, intersections, parallel and coincident lines, and collision versus path-crossing, with worked examples and diagrams.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

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,tR.\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.

Line through two points

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

r=a+t(ba)=(1t)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 d10d_1 \ne 0, solve x=a1+td1x = a_1 + t d_1 for t=xa1d1t = \dfrac{x - a_1}{d_1}, then substitute into yy:

y=a2+xa1d1d2ya2=d2d1(xa1).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=ba\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-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

HSC-style2 marksA 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, λ=3y\lambda = 3 - y. Substitute into the first: x=1+2(3y)=72yx = 1 + 2(3 - y) = 7 - 2 y.

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

HSC-style3 marksLines 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λ=52+λ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+367)=(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+2107,5107)=(207,257)\left( 0 + 2 \cdot \frac{10}{7}, \, 5 - \frac{10}{7} \right) = \left( \frac{20}{7}, \frac{25}{7} \right). Agrees.

ExamExplained