In this section we consider the particular relationship between the equations of parallel lines and perpendicular lines. The key to this is the gradient of lines that are parallel or perpendicular to each other.
| y = x | y = x + 4 | y = x – 2 | ![]() |

What do the three equations have in common?
| y = | 4x – 2 |
| y = | 4x |
| y = | 4x + 10 |
The equations of four lines are listed below:
| A | y = 3x + 2 | B | y = 4x + 2 |
|---|---|---|---|
| C | y = 3x – 8 | D | y = 4x + 12 |
The graph shows two perpendicular lines, A and B:
| Gradient of A | = | |
| = | 2 |
| Gradient of B | = | |
| = |
| Equation of B is y = | x – 2 |
| The gradients of the lines are 2 and | . |
| Gradient of B = |
| ||||
| OR | ||||
| Gradient of A × Gradient of B = –1 |
Line A has equation y = 3x + 2. Write down the gradient of line B that is perpendicular, and a possible equation for B.
| Gradient of A | = | 3 |
| Gradient of B | = | |
| = |
| Equation of B will be y = | x + c. |
| so a possible equation is y = | x + 4. |