# straight Lines

You will be expected to be able to find the equation of a straight line given a variety of scenarios. This could be as simple as finding the equation of a line given two points, or it could be finding the equation of a parallel or perpendicular line given points or other relevant information. You may also be expected to represent straight lines in different formats including the following:

## Line Equations given Two Points

Recall that to find the equation of a straight line between two points, you must first find the gradient of the line that connects the two points. We can calculate this gradient using rise over run. One of the points can then be used to calculate the y-intercept of the line. Remind yourself of how to do this with the following example.

**Example – Find the equation of the line between the points (2,4) and (4,10)**.

It is always a good idea to sketch the information first – sometimes this helps you realise what to do next if you get stuck. The line that connects these two points rises by 6 as it runs along 2 and so rise over run is . It follows that the gradient of the line is 3. Hence, this tells us that the line is of the form . To then find , plug one of the given points into the equation so far: and so c must be -2. The final equation of the line is .

## Parallel and Perpendicular Lines

You may be required to find the equation of a straight line that is either parallel or perpendicular to another given line. This type of question varies in its complexity. For instance, you could be given some very basic information as in Example 1 below or it can be much more involved as in Example 2.

Note that **parallel lines have the same gradient** – see Example 1. However, if the gradient of a given line is then the **gradient of a line perpendicular to it is** – see Examples 1 and 2.

When studying differentiation, you will meet tangents and normals – these are examples of perpendicular lines.

## Proportionality

Consider the straight lines that intersect the -axis at the origin. For this type of straight line the y-intercept is 0 in the straight line equation and so they are of the form . We tend to use instead of when we talk about the gradient of a line that goes through the origin because is known as the constant of proportionality. When the straight line takes an equation of this form, we say that is proportional to or . Click here to see more on proportionality.

**Example** – Recall that the circumference of a circle () is found by multiplying the diameter of the circle () by . The circumference of a circle is thus proportional to the diameter and the constant of proportionality is – we write this as . Zero diameter means zero circumference and so the plot of circumference against diameter goes through the origin.

This isn’t quite as simple as the plot of , for example, but is still a constant all the same. Note that circumference is also proportional to radius but the constant of proportionality is then .

## Modelling with Straight Lines

This table shows some temperatures given in degrees Celsius and their corresponding temperatures in degrees Fahrenheit.

0 | 10 | 20 | 30 | 40 | |

32 | 50 | 68 | 86 | 104 |

From the graph below we can see that the relationship between Celsius and Fahrenheit is precisely a linear one. More specifically, the gradient is and the y-intercept is and so :

This equation can now be used to convert any temperature given in Celsius to Fahrenheit and vice versa.

## Examples

## Videos

A past exam question (and solutions) testing knowledge and problem solving in coordinate geometry: straight lines.

Coordinate Geometry past AS exam question and solutions – straight lines and GCSE trigonometry.

Tricky coordinate geometry past AS Maths exam question – tests knowledge of straight lines, problem solving and also brings in a quadrilateral at the end.