Parallel and Perpendicular Lines
On this page
How to use the gradients of parallel and perpendicular lines to find the equation of a line, the tangent to a circle and an unknown in an equation.
Builds on: Gradients and y = mx + c, Equation of a Straight Line
Key facts
Parallel lines have the same gradient
Perpendicular gradients multiply to −1: 2\times\left(-\frac12\right)=-1
Gradient = change in y ÷ change in x =2\div4=\frac12
A tangent is perpendicular to the radius
- Read a gradient only from y=mx+c. Rearrange first: 2y=5x+4 is y=\frac52x+2, so its gradient is \frac52, not 5.
- For a perpendicular gradient, turn the gradient upside down and change its sign: \frac23 becomes -\frac32, and −4 becomes \frac14.
- For a line through a point, write y=mx+c with its gradient, then substitute the point to find c.
- A horizontal line y=b is perpendicular to a vertical line x=a.
Worked example 1: A perpendicular line through a point
The straight line L has equation 3y=2x+9
Find an equation of the straight line that is perpendicular to L and passes through (6,-1)
- Rearrange L: y=\frac23x+3, so the gradient of L is \frac23
- Perpendicular gradient: -\frac32
- Substitute (6,-1) into y=-\frac32x+c: -1=-\frac32\times6+cso -1=-9+cso c=8
- y=-\frac32x+8
- The gradient of L is not 2: divide every term by 3 first. And c is not the point's y-coordinate: substitute both coordinates to find it.
Now try this
The straight line L has equation 4y=3x+1
Find an equation of the straight line that is perpendicular to L and passes through (6,-2)
- y=\frac34x+\frac14, so the gradient of L is \frac34 and the perpendicular gradient is -\frac43
- -2=-\frac43\times6+cso -2=-8+cso c=6
- y=-\frac43x+6
Worked example 2: The tangent to a circle
A circle has equation x^2+y^2=20
The point P(4,-2) lies on the circle.
Find an equation of the tangent to the circle at P.
- The centre is O(0,0). The tangent at P is perpendicular to the radius OP.
- Gradient of OP: \dfrac{-2-0}{4-0}=-\frac12
- Gradient of the tangent: 2
- Substitute (4,-2) into y=2x+c: -2=8+cso c=-10
- y=2x-10
- If the question asks for a form such as ax+by=c, rearrange at the end: 2x-y=10. The last mark is lost if the form asked for is not given.
Now try this
A circle has equation x^2+y^2=10
The point P(1,3) lies on the circle.
Find an equation of the tangent to the circle at P.
Give your answer in the form ax+by=c where a, b and c are integers.
- Gradient of OP: \dfrac{3-0}{1-0}=3, so the gradient of the tangent is -\frac13
- Substitute (1,3) into y=-\frac13x+c: 3=-\frac13+cso c=\frac{10}3
- y=-\frac13x+\frac{10}3. Multiply by 3: 3y=-x+10so x+3y=10
Worked example 3: A perpendicular side of a shape
ABCD is a square.
A is the point (1,2) and B is the point (4,1)
Find an equation of the line through B and C.
- Gradient of AB: \dfrac{1-2}{4-1}=-\frac13
- BC is perpendicular to AB, because the angles of a square are right angles. So the gradient of BC is 3
- B is on BC. Substitute (4,1) into y=3x+c: 1=12+cso c=-11
- y=3x-11
- Substitute a point on the line you want. A is not on BC.
Now try this
ABCD is a rectangle.
A is the point (-2,4) and B is the point (4,8)
Find an equation of the line through A and D.
- Gradient of AB: \dfrac{8-4}{4-(-2)}=\frac46=\frac23, so the gradient of AD is -\frac32
- Substitute (-2,4) into y=-\frac32x+c: 4=3+cso c=1
- y=-\frac32x+1
Worked example 4: Perpendicular gradients with an unknown
Line L_1 has equation y=4x+3
Line L_2 has equation 8y+kx-5=0
L_1 and L_2 are perpendicular.
Find the value of k.
- The gradient of L_1 is 4, so the gradient of L_2 must be -\frac14
- Rearrange L_2: 8y=-kx+5so y=-\frac k8x+\frac58 and its gradient is -\frac k8
- -\frac k8=-\frac14so k=2
- Finding the two gradients is not the end: put them equal and solve for k.
Now try this
Line L_1 has equation y=-3x+1
Line L_2 has equation 9y-kx=5
L_1 and L_2 are perpendicular.
Find the value of k.
- The gradient of L_1 is −3, so the gradient of L_2 must be \frac13
- Rearrange L_2: 9y=kx+5so y=\frac k9x+\frac59 and its gradient is \frac k9
- \frac k9=\frac13so k=3
Worked example 5: Are two lines parallel?
Here are the equations of two straight lines.
6y=2x+5\qquad x-3y=9
Are the lines parallel?
You must give a reason for your answer.
- 6y=2x+5 is y=\frac13x+\frac56, gradient \frac13
- x-3y=9 is 3y=x-9so y=\frac13x-3, gradient \frac13
- Yes. The lines are parallel because they have the same gradient, \frac13
- To prove that two line segments are parallel, work out each gradient from its end points and show the gradients are equal.
Interactive diagram
Next: Equation of a Circle and Tangents
More on this topic: Parallel and Perpendicular Lines worksheet with full solutions