Mathematics/Lessons/Straight Lines/Parallel & Perpendicular Lines
Pure · Straight Lines · Year 1

Parallel & Perpendicular Lines

Because a line's gradient is its direction, whether two lines are parallel or meet at a right angle becomes a question purely about two numbers: $m_1$ and $m_2$.

9 min read 3 worked examples

Every straight line has a gradient, and gradient is nothing but a direction dressed up as a number. So two natural questions about how a pair of lines sit relative to each other — are they parallel? are they at right angles? — turn out to have answers written entirely in terms of their gradients $m_1$ and $m_2$. No new geometry is needed, just two rules.

Parallel lines have equal gradients. Parallel means "same direction, never meeting", and gradient is direction — so two lines are parallel exactly when $m_1 = m_2$. They differ only in their intercept $c$: same slope, shifted up or down. For instance, $y = 3x + 1$ and $y = 3x - 4$ are parallel, since both climb $3$ units for every $1$ across.

Perpendicular lines have gradients whose product is −1. If two lines meet at a right angle, then $m_1 \times m_2 = -1$ — equivalently, each gradient is the negative reciprocal of the other, $m_2 = -\dfrac{1}{m_1}$. So a line of gradient $2$ is perpendicular to one of gradient $-\tfrac12$, and a line of gradient $-\tfrac34$ is perpendicular to one of gradient $\tfrac43$.

Two straight lines, ℓ₁ and ℓ₂, crossing at a point P on Cartesian axes and meeting at a right angle. Their axis intercepts are marked at (0, y), (0, 1) and (x, 0), illustrating perpendicular lines whose gradients multiply to minus one.
Perpendicular lines ℓ₁ and ℓ₂ meet at P at 90°, and their gradients always multiply to −1 — so one gradient is the negative reciprocal of the other.
Why perpendicular gradients multiply to −1

Turning a line through $90°$ swaps its rise and its run, and flips one of their signs. A gradient of $\dfrac{\text{rise}}{\text{run}}$ therefore becomes $-\dfrac{\text{run}}{\text{rise}}$ — precisely the negative reciprocal. Multiply the two together and the rise and run cancel: $\dfrac{\text{rise}}{\text{run}} \times \left(-\dfrac{\text{run}}{\text{rise}}\right) = -1$. That single fact is what lets you turn "these lines are perpendicular" into an equation you can actually use.

Getting the negative reciprocal right

Negative reciprocal means do both steps: flip the fraction and change the sign. The perpendicular of $\tfrac34$ is $-\tfrac43$ — not $-\tfrac34$ (sign only), and not $\tfrac43$ (flip only). For a whole-number gradient like $2$, write it as $\tfrac21$ first so the flip is obvious: the perpendicular gradient is $-\tfrac12$. A quick check: if your two gradients don't multiply to exactly $-1$, they aren't perpendicular.

Worked example 1

Parallel lines · matching the gradient
Find the equation of the line that passes through $(3, -2)$ and is parallel to $y = 4x - 1$.
MethodCopy the gradient, then point–gradient form
1
Parallel lines share a gradient, so the new line also has $m = 4$.
Read straight off the given equation.
2
Point–gradient form through $(3,-2)$: $y - (-2) = 4(x - 3)$.
Known point, known gradient.
3
Expand: $y + 2 = 4x - 12$.
Distribute the 4.
4
So $y = 4x - 14$.
The parallel line through the given point.
▪ solved
Examiner's eye

"Parallel to" is the easiest relationship to use: it hands you the gradient directly, with no flipping or negating required. The intercept of the original line ($-1$) is irrelevant here — only its gradient carries over.

Worked example 2

Perpendicular lines · the negative-reciprocal rule
Line $\ell_1$ has equation $y = 2x + 1$. Find the equation of the line $\ell_2$ that is perpendicular to $\ell_1$ and passes through the point $(4, 3)$.

Two lines are perpendicular exactly when their gradients multiply to $-1$. So the perpendicular gradient is the negative reciprocal: flip the fraction and change the sign.

MethodNegative reciprocal, then point–gradient form
1
The gradient of $\ell_1$ is $2$. Perpendicular gradient $= -\dfrac{1}{2}$ (negative reciprocal of $2$).
Because $2 \times -\tfrac12 = -1$.
2
Use point–gradient form with $(4,3)$: $y - 3 = -\dfrac{1}{2}(x - 4)$.
Known point and known gradient.
3
Expand: $y - 3 = -\dfrac{1}{2}x + 2$.
Distribute the $-\tfrac12$.
4
So $y = -\dfrac{1}{2}x + 5$.
The perpendicular line.
▪ solved
Examiner's eye

The perpendicular gradient here is $-\tfrac12$, and a quick check confirms it: $2 \times -\tfrac12 = -1$ ✓. Notice the given equation $y = 2x + 1$ was only needed for its gradient — its intercept $+1$ plays no part, since $\ell_2$ is fixed by its own point $(4,3)$. Reading off just the gradient you need, and ignoring the rest, is what keeps these solutions short.

Worked example 3

The perpendicular bisector · combining midpoint and gradient
Find the equation of the perpendicular bisector of the line segment joining $P(1, 2)$ and $Q(5, 8)$.

A perpendicular bisector cuts a segment exactly in half, at a right angle. So it passes through the midpoint of $PQ$, with the perpendicular gradient to $PQ$. Two ideas, combined.

MethodMidpoint, then perpendicular gradient, then the line
1
Midpoint of $PQ$: $\left(\dfrac{1+5}{2}, \dfrac{2+8}{2}\right) = (3,\,5)$.
Average the x's and the y's.
2
Gradient of $PQ$: $\dfrac{8-2}{5-1} = \dfrac{6}{4} = \dfrac{3}{2}$.
The segment's own gradient.
3
Perpendicular gradient $= -\dfrac{2}{3}$ (negative reciprocal of $\tfrac32$).
The bisector is perpendicular to PQ.
4
Line through $(3,5)$ with gradient $-\tfrac23$: $y - 5 = -\dfrac{2}{3}(x - 3)$.
Point–gradient form at the midpoint.
5
Expand and tidy: $y - 5 = -\dfrac23 x + 2$, so $y = -\dfrac{2}{3}x + 7$.
The perpendicular bisector.
▪ solved
Look deeper — why this shape of question is everywhere

The perpendicular bisector is the set of all points equidistant from $P$ and $Q$ — which is why it turns up constantly in circle problems (the centre of a circle through two points lies on their perpendicular bisector — see the circle lessons later in this topic). Recognising "midpoint + perpendicular gradient" as a single move saves you every time this reappears.

Common mistake

Don't mix up the two rules: parallel lines have equal gradients ($m_1 = m_2$), while perpendicular lines have gradients multiplying to $-1$ ($m_1 m_2 = -1$). A frequent slip is to give a "perpendicular" line the same gradient, or to negate the gradient without also flipping it. When a question says perpendicular, always take the full negative reciprocal — flip and change sign — and sanity-check that your two gradients multiply to exactly $-1$.

Check yourself

Find the equation of the line through $(-1, 4)$ that is perpendicular to $y = \tfrac{1}{3}x + 2$, giving your answer in the form $ax + by + c = 0$ with integer coefficients.
(Hint: perpendicular gradient first, then point–gradient form, then clear fractions.)

Method
1
Gradient of the given line is $\tfrac13$, so the perpendicular gradient is $-3$.
Negative reciprocal of $\tfrac13$.
2
Point–gradient form through $(-1,4)$: $y - 4 = -3(x + 1)$.
3
Expand: $y - 4 = -3x - 3$, so $y = -3x + 1$.
4
Rearrange to the requested form: $3x + y - 1 = 0$.
Integer coefficients, one side zero.
▪ solved

The negative reciprocal of $\tfrac13$ is $-3$ (flip and sign). Moving everything to one side gives the tidy integer form $3x+y-1=0$.