Maths

Parallel and perpendicular lines - Higher

On the higher paper you may be asked questions about parallel and perpendicular lines on graphs.

On a graph, parallel lines have the same gradient.

For example, y = 2x + 3 and y = 2x - 4 are parallel because they both have a gradient of 2.

Remember that perpendicular lines will always cross at right angles.

In this diagram, the lines y = 2x + 3 and y = -^{1}/_{2} x -1 cross at right angles.

The gradients of these lines are 2 and -^{1}/_{2}.

The product of the gradients is 2 *x* -^{1}/_{2}= -1.

You can work out whether 2 lines are perpendicular by multiplying their gradients. The product of the gradient of perpendicular lines will always be -1.

If lines are perpendicular, M_{1}× M_{2} = − 1

In exams, you will often be asked to find the equation of a line that is perpendicular to a given line. To do this, you will need to work out the gradient of one line before finding the gradient and equation of the other.

Find the perpendicular line to 4y - 3x = 8 through the point (0, 2).

- Re-arrange the equation 4y - 3x = 8 in the form y = mx + c
- y =
^{3}/_{4}x +2

The gradient is ^{3}/_{4}

Now we need to work out the gradient of the 2nd line. Remember that when 2 lines are perpendicular the product of their gradients is -1. Let's call the gradient of the second line **m**.

^{3}/_{4}m = -1- m = -
^{4}/_{3}

In the question we are told that the line passes through the point (0, 2). This means that the line crosses the y axis at +2.

So the equation of the line that is perpendicular to 4y - 3x = 8 is y = - ^{4}/_{3}x + 2

To find the gradient of a line we need to know how many it goes up, for every one across.

Find the gradient of the line joining (1,3) to (4,9).

As we go from (1,3) to (4,9) the y value increases by 6, and the x value increases by 3. So the line goes 6 up for 3 across. So this line has a gradient of 6/3 = 2.

Use this technique to answer the following question:

- Question
Line A goes through the points (4, 9) and (1, 3). Find the perpendicular line through the point (2, 0).

- Answer
First, find the gradient of line A. We know that the line passes through the points (1, 3) and (4, 9). To calculate the gradient, find the difference in the y coordinates and the difference in the x coordinates, and then divide the y value by the x value.

^{9 - 3}/_{4 - 1}=^{6}/_{3}= 2.The gradient of line A is 2.

We know that the product of the gradients of perpendicular lines is -1. If we call the gradient of line B

**m**, then:- m × 2 = -1
- m = -
^{1}/_{2}

A straight line always has the equation y= mx + c

m is always the gradient so we know this equation is

y = -

^{1}/_{2}x + cLine B passes through the point (2, 0). To find out the value of

**c**in the equationy = -

^{1}/_{2}x + cwe substitute the values in the equation with x = 2 and y = 0.

- 0 = -
^{1}/_{2}× 2 + c - 0 = -1 + c
- c = 1

The equation of line B is therefore y = -

^{1}/_{2}x + 1

We have seen graphs in the form y = mx + c before.

When a graph is written in the form y = mx + c, **m** represents the gradient and **c** represents the **y** intercept.

Take the example of the cost of a taxi ride at £1 + £3 per mile. In this case the gradient is the cost per mile and the intercept the £1 standing charge.

This can be written as y = 3x + 1

This line has a gradient of 3 and a **y** intercept of 1.

We can use this information to plot the graph, without drawing a table.

The line cuts the y-axis at 1 so the y intercept is 1.

The line has a gradient of 3 because every time it goes along one square it moves up 3 squares (every mile costs £3).

- Question
Plot the graph of y = -x + 2 without using a table

- Answer
m = -1 and c = 2, so the line cuts the y axis at 2 and has a gradient of -1.

The graph should look like this:

**Remember,** if the gradient is negative, the graph will slope up to the left.

**Now try a **Test Bite.