M
hscscience Ext 1 · Y12
0/100daily goal
0
0
0 due
0
L1 · 0 XP
KJ
Your weak spots
Insights load after your first practice round.
Module 6 · L15 of 20 ~40 min ⚡ +100 XP available

Vector Equations of Lines in 2D

A GPS navigation app doesn't store a line as $y = mx + c$, it stores a point and a direction. That's the power of the vector form $\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}$: one equation encodes any point on a line by scaling a direction vector. In this lesson you'll derive this form, convert freely between vector, parametric and Cartesian representations, and use it to solve geometrical problems with confidence.

Today's hook, A line passes through the point $(2, 5)$ with direction vector $\begin{pmatrix}3\\-1\end{pmatrix}$. Before reading on, can you write down three distinct points that lie on this line? Jot your coordinates now.
0/5QUESTS
01
Recall, your gut answer first
+5 XP warm-up

A line passes through $(2,5)$ with direction vector $\mathbf{d} = \begin{pmatrix}3\\-1\end{pmatrix}$. Without using any formulawrite down three points you believe lie on this line and explain your reasoning.

auto-saved
02
The big idea, a line as a moving point
+5 XP to read

In Cartesian geometry a line is defined by its slope and intercept. In vector geometry a line is defined by a fixed point on the line plus a direction it travels. Every point on the line is reached by starting at $\mathbf{a}$ and travelling a scalar multiple $\lambda$ of the direction vector $\mathbf{d}$:

If $\mathbf{a}$ is a known position vector and $\mathbf{d}$ is a non-zero direction vector parallel to the line, then the position vector $\mathbf{r}$ of any point on the line satisfies:

$\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}, \quad \lambda \in \mathbb{R}$

As $\lambda$ ranges over all real numbers, $\mathbf{r}$ traces out every point on the line.

a r λd
$\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}$
$\lambda$ is the parameter
Each value of $\lambda$ gives a unique point. $\lambda = 0$ gives point $\mathbf{a}$ itself; negative $\lambda$ goes in the opposite direction.
Direction is not unique
Any non-zero scalar multiple of $\mathbf{d}$ gives the same line. The direction vector can be scaled without changing the line's geometry.
Point is not unique either
Any point on the line can serve as $\mathbf{a}$. Different choices of $\mathbf{a}$ give equivalent (not identical) vector equations for the same line.
03
What you'll master
Know

Key facts

  • Vector equation: $\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}$, $\lambda \in \mathbb{R}$
  • Parametric form: $x = a_1 + \lambda d_1$, $y = a_2 + \lambda d_2$
  • Cartesian form: $\dfrac{x - a_1}{d_1} = \dfrac{y - a_2}{d_2}$ (when $d_1, d_2 \neq 0$)
Understand

Concepts

  • Why $\lambda$ acts as a "time" parameter traversing the line
  • The connection between the direction vector and the Cartesian gradient
  • Why the vector equation is not unique but the line it defines is
Can do

Skills

  • Write the vector equation from a point and a direction
  • Convert between vector, parametric and Cartesian forms
  • Determine whether a given point lies on a line
04
Key terms
Vector equation of a line$\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}$. Gives the position vector of any point on the line for each real value of $\lambda$.
Direction vector $\mathbf{d}$A non-zero vector parallel to the line. The components give the gradient of the line: $m = d_2/d_1$.
Position vector $\mathbf{a}$The position vector of any known point on the line. Acts as the "anchor" of the equation.
Parameter $\lambda$A real scalar. Different values of $\lambda$ produce different points on the line.
Parametric formThe vector equation written as separate $x$ and $y$ component equations: $x = a_1 + \lambda d_1$, $y = a_2 + \lambda d_2$.
Cartesian formObtained by eliminating $\lambda$: $\dfrac{x-a_1}{d_1} = \dfrac{y-a_2}{d_2}$. Equivalent to $y = mx + c$ but expressed symmetrically.
05
The vector equation of a line
core concept

To write the vector equation of a line in 2D, you need two pieces of information: a point on the line and a direction vector.

Deriving the equation: Suppose the line passes through point $A$ with position vector $\mathbf{a} = \begin{pmatrix}a_1\\a_2\end{pmatrix}$ and is parallel to vector $\mathbf{d} = \begin{pmatrix}d_1\\d_2\end{pmatrix}$.

For any point $P$ with position vector $\mathbf{r}$ on the line, the vector $\overrightarrow{AP} = \mathbf{r} - \mathbf{a}$ must be parallel to $\mathbf{d}$. Two vectors are parallel if and only if one is a scalar multiple of the other, so:

$$\mathbf{r} - \mathbf{a} = \lambda\mathbf{d} \quad \Longrightarrow \quad \mathbf{r} = \mathbf{a} + \lambda\mathbf{d}, \quad \lambda \in \mathbb{R}$$

Example: Line through $(1, 3)$ with direction $\begin{pmatrix}2\\-1\end{pmatrix}$:

$\mathbf{r} = \begin{pmatrix}1\\3\end{pmatrix} + \lambda\begin{pmatrix}2\\-1\end{pmatrix}$

Check card 01, when $\lambda=1$: $(1+2, 3-1) = (3,2)$. When $\lambda=-1$: $(-1, 4)$. Both are on the line.

Two points define a line. If the line passes through $A(\mathbf{a})$ and $B(\mathbf{b})$, the direction vector is $\mathbf{d} = \mathbf{b} - \mathbf{a}$, so the equation is $\mathbf{r} = \mathbf{a} + \lambda(\mathbf{b} - \mathbf{a})$. When $\lambda = 0$ you're at $A$; when $\lambda = 1$ you're at $B$.

To write the vector equation of a line in 2D, you need two pieces of information: a point on the line and a direction vector .

Pause, copy the vector equation $\mathbf{r}=\mathbf{a}+\lambda\mathbf{d}$ with the geometric meaning ($\mathbf{a}$ = position, $\mathbf{d}$ = direction, $\lambda$ = scalar parameter) into your book.

Quick check: A line passes through the point $(4, -1)$ with direction vector $\begin{pmatrix}1\\3\end{pmatrix}$. Which of the following is the correct vector equation?

06
Parametric form, splitting the components
core concept

We just saw that the vector equation of a line through point $\mathbf{a}$ with direction $\mathbf{d}$ is $\mathbf{r}=\mathbf{a}+\lambda\mathbf{d}$, $\lambda\in\mathbb{R}$. That raises a question: how do you convert this vector form to parametric equations by equating individual components? This card answers it → equate $x$ and $y$ components separately: $x=a_1+\lambda d_1$ and $y=a_2+\lambda d_2$ give the parametric form.

Writing the vector equation $\mathbf{r} = \begin{pmatrix}a_1\\a_2\end{pmatrix} + \lambda\begin{pmatrix}d_1\\d_2\end{pmatrix}$ component by component gives the parametric form:

$$x = a_1 + \lambda d_1, \qquad y = a_2 + \lambda d_2$$

This is useful when you need to find specific coordinates or test whether a point lies on the line.

Example: For $\mathbf{r} = \begin{pmatrix}2\\5\end{pmatrix} + \lambda\begin{pmatrix}3\\-1\end{pmatrix}$, the parametric equations are:

$x = 2 + 3\lambda, \quad y = 5 - \lambda$

Does $(8, 3)$ lie on this line? Set $8 = 2 + 3\lambda \Rightarrow \lambda = 2$. Check: $y = 5 - 2 = 3$ ✓. Yes, $(8,3)$ lies on the line (at $\lambda = 2$).

Testing a point. Substitute the $x$-coordinate to find $\lambda$, then verify the $y$-coordinate gives the same $\lambda$. If the same $\lambda$ works in both equations, the point is on the line.

Writing the vector equation $\mathbf{r} = \begin{pmatrix}a_1\\a_2\end{pmatrix} + \lambda\begin{pmatrix}d_1\\d_2\end{pmatrix}$ component by component gives the parametric form :

Pause, copy the parametric form: $x=a_1+\lambda d_1$, $y=a_2+\lambda d_2$ (2D); explain how varying $\lambda$ moves along the line into your book.

Did you get this? True or false: The point $(5, 3)$ lies on the line $\mathbf{r} = \begin{pmatrix}2\\5\end{pmatrix} + \lambda\begin{pmatrix}3\\-1\end{pmatrix}$.

PROBLEM 1 · WRITE THE VECTOR EQUATION

Find the vector equation of the line passing through $A(3, -2)$ and $B(7, 4)$.

1
$\mathbf{a} = \begin{pmatrix}3\\-2\end{pmatrix}$; direction $\mathbf{d} = \mathbf{b} - \mathbf{a} = \begin{pmatrix}7\\4\end{pmatrix} - \begin{pmatrix}3\\-2\end{pmatrix} = \begin{pmatrix}4\\6\end{pmatrix}$
Use either point as the anchor. Find the direction vector by subtracting position vectors.
PROBLEM 2 · CONVERT TO CARTESIAN

Convert $\mathbf{r} = \begin{pmatrix}1\\4\end{pmatrix} + \lambda\begin{pmatrix}2\\-3\end{pmatrix}$ to Cartesian form.

1
Write parametric equations: $x = 1 + 2\lambda$, $y = 4 - 3\lambda$
Read off the components directly.
PROBLEM 3 · TEST A POINT

Does $P(11, 1)$ lie on the line $\mathbf{r} = \begin{pmatrix}-1\\7\end{pmatrix} + \lambda\begin{pmatrix}4\\-2\end{pmatrix}$?

1
$x$-equation: $11 = -1 + 4\lambda \Rightarrow 4\lambda = 12 \Rightarrow \lambda = 3$
Set $x = 11$ and solve for $\lambda$.

Fill the gap: The Cartesian form of a line is obtained by writing the parametric equations, solving each for $\lambda$, then the two expressions.

Trap 01
Swapping point and direction
Writing $\mathbf{r} = \mathbf{d} + \lambda\mathbf{a}$ instead of $\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}$ gives a completely different line. Always identify which vector is the fixed point ($\mathbf{a}$) and which is the direction ($\mathbf{d}$).
Trap 02
Forgetting $\lambda \in \mathbb{R}$
The equation $\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}$ only represents an infinite line when $\lambda$ ranges over all real numbers. If $\lambda \geq 0$, it's a ray; if $0 \leq \lambda \leq 1$, it's a line segment. Always state the domain of $\lambda$ if it is not the full real line.
Trap 03
Cartesian form when $d_1 = 0$ or $d_2 = 0$
If $d_1 = 0$, the line is vertical: $x = a_1$. If $d_2 = 0$, it is horizontal: $y = a_2$. In these cases you cannot use $\dfrac{x-a_1}{d_1}$ (division by zero). Write the special-case Cartesian form directly.

Did you get this? True or false: The line with direction vector $\begin{pmatrix}0\\5\end{pmatrix}$ passing through $(3, 1)$ has Cartesian equation $x = 3$.

Work mode · how are you completing this lesson?
1

Write the vector equation of the line through $(-2, 6)$ with direction $\begin{pmatrix}5\\-3\end{pmatrix}$.

2

Find the vector equation of the line passing through $P(0, 4)$ and $Q(3, -2)$. State the parametric form as well.

3

Convert $\mathbf{r} = \begin{pmatrix}3\\1\end{pmatrix} + \lambda\begin{pmatrix}4\\-5\end{pmatrix}$ to Cartesian form.

4

Determine whether the point $(7, -4)$ lies on the line $\mathbf{r} = \begin{pmatrix}1\\2\end{pmatrix} + \lambda\begin{pmatrix}2\\-2\end{pmatrix}$.

5

A line has Cartesian equation $\dfrac{x-2}{3} = \dfrac{y+1}{4}$. Write it as a vector equation.

Odd one out: Three of these are valid vector equations for the same line through $(1,2)$ with direction $\begin{pmatrix}3\\1\end{pmatrix}$. Which one is NOT?

11
Revisit your thinking

Earlier you were asked to find three points on the line through $(2,5)$ with direction $\begin{pmatrix}3\\-1\end{pmatrix}$.

Using the parametric form $x = 2+3\lambda$, $y = 5-\lambda$: at $\lambda=0$ you get $(2,5)$, at $\lambda=1$ you get $(5,4)$, at $\lambda=-1$ you get $(-1,6)$. The key insight is that you simply add integer multiples of the direction vector to your anchor point, there is nothing more to it than that.

auto-saved
01
Multiple choice
+5 XP per correct · +25 XP all-correct

Pick your answer, then rate your confidencethat tells the system what to drill next.

02
Short answer
ApplyBand 32 marks

Q1. Find the vector equation of the line passing through $A(2,-3)$ and $B(6, 1)$. (2 marks)

auto-saved
ApplyBand 43 marks

Q2. Convert the vector equation $\mathbf{r} = \begin{pmatrix}-1\\3\end{pmatrix} + \lambda\begin{pmatrix}5\\-2\end{pmatrix}$ to Cartesian form. Hence find the gradient and $y$-intercept of the line. (3 marks)

auto-saved
AnalyseBand 53 marks

Q3. The line $\ell$ has equation $\mathbf{r} = \begin{pmatrix}4\\0\end{pmatrix} + \lambda\begin{pmatrix}2\\3\end{pmatrix}$. Find the value of $k$ such that the point $(k, 6)$ lies on $\ell$. (3 marks)

auto-saved
Comprehensive answers (click to reveal)

Activity answers:

1. $\mathbf{r} = \begin{pmatrix}-2\\6\end{pmatrix} + \lambda\begin{pmatrix}5\\-3\end{pmatrix}$

2. $\mathbf{d} = Q-P = \begin{pmatrix}3\\-6\end{pmatrix}$; $\mathbf{r} = \begin{pmatrix}0\\4\end{pmatrix} + \lambda\begin{pmatrix}3\\-6\end{pmatrix}$; parametric: $x = 3\lambda$, $y = 4 - 6\lambda$

3. Parametric: $x = 3+4\lambda$, $y = 1-5\lambda$. Solve each for $\lambda$: $\lambda = \dfrac{x-3}{4}$, $\lambda = \dfrac{y-1}{-5}$. Cartesian: $\dfrac{x-3}{4} = \dfrac{y-1}{-5}$, i.e. $5x + 4y = 19$.

4. $x = 1+2\lambda$; set $x=7$: $\lambda=3$. Check $y$: $2-2(3) = -4$ ✓. Yes, $(7,-4)$ lies on the line.

5. Read off: $\mathbf{a} = \begin{pmatrix}2\\-1\end{pmatrix}$, $\mathbf{d} = \begin{pmatrix}3\\4\end{pmatrix}$. So $\mathbf{r} = \begin{pmatrix}2\\-1\end{pmatrix} + \lambda\begin{pmatrix}3\\4\end{pmatrix}$.

Q1 (2 marks): $\mathbf{d} = \begin{pmatrix}4\\4\end{pmatrix}$ [1]. $\mathbf{r} = \begin{pmatrix}2\\-3\end{pmatrix} + \lambda\begin{pmatrix}4\\4\end{pmatrix}$ (or simplified direction $\begin{pmatrix}1\\1\end{pmatrix}$) [1].

Q2 (3 marks): Parametric: $x = -1+5\lambda$, $y = 3-2\lambda$ [1]. Solve: $\lambda = \dfrac{x+1}{5} = \dfrac{y-3}{-2}$ [1]. Cartesian: $\dfrac{x+1}{5} = \dfrac{y-3}{-2}$, i.e. $2x + 5y = 13$, so $y = -\tfrac{2}{5}x + \tfrac{13}{5}$; gradient $= -\tfrac{2}{5}$, $y$-intercept $= \tfrac{13}{5}$ [1].

Q3 (3 marks): Set $y = 6$: $0 + 3\lambda = 6 \Rightarrow \lambda = 2$ [1]. Substitute: $x = 4 + 2(2) = 8$ [1]. So $k = 8$ [1].

01
Boss battle · The Line Master
earn bronze · silver · gold

Five timed questions. Beat the boss to bank a tier, gold (90% + speed), silver (75%), or bronze (50%). Replays welcome.

⚔ Enter the arena
02
Science Jump · platform challenge

Climb platforms by answering vector equations of lines questions. Lighter alternative to the boss.

Mark lesson as complete

Tick when you've finished the practice and review.