Straight lines
A straight line has the same steepness everywhere. This page gives you three ways to write its equation. You will test for parallel and perpendicular lines. You will also find the length and the middle of a line segment. A line segment is a piece of a line between two points.
Where you will use this: in Circles, where the radius is a distance. A tangent there is a line at right angles to it. Also in Differentiation, where a tangent and a normal are straight lines. It helps whenever one thing changes at a steady rate. A taxi fare and a leaking tank are examples.
This page starts from GCSE: plotting points, finding the gradient of a line, and using Pythagoras’ theorem. It also uses surds (square roots that do not come out exactly), such as . The warm-up shows you where to look if you have forgotten any of it.
Warm-up: what do you remember from GCSE?
Quick warm-up. No marks. A wrong answer shows where to look.
Find the gradient of the line through the points and .
- The gradient is the change in y divided by the change in x.
- From to , y changes by and x changes by .
- Divide the change in y by the change in x.
- You divided the change in x by the change in y. The gradient has y on the top.
- That is only the change in y. Divide it by the change in x, which is 2.
. The line goes up 3 for every 1 across.
Make y the subject of . Type it like y=2x-1.
- Make y the subject means get y on its own on one side.
- y is multiplied by 3. Divide both sides by 3.
- Divide every term on the right by 3, not only one of them.
- You have not divided yet. Divide both sides by 3.
- You divided by 3 but not 12. Divide every term on the right.
Divide both sides by 3: .
Quick recap of earlier topics (skip it if you are confident)
Solve .
- Undo the +3 first.
- Subtract 3 from both sides to get .
- Then divide both sides by 2.
- You added 3 to both sides. To undo +3, subtract 3.
, so . Check: .
Expand (multiply out the brackets) . Type it like 2x+5.
- Multiply every term inside the bracket by 3.
- . Now find .
- You multiplied only the x. Multiply the by 3 as well.
- A plus times a minus is a minus. .
.
A right-angled triangle has two short sides of 5 cm and 12 cm. Find the length of the longest side, in cm.
- Pythagoras’ theorem: the square of the longest side is the sum of the squares of the other two.
- .
- Take the square root of the total.
- That is . Square each side first, add, then take the square root.
- That is the square of the longest side. Take the square root to get the length.
and . The longest side is 13 cm.
Write in the form a, where a is a whole number. Type it like 5sqrt(2).
- Find the biggest square number that divides 45.
- , so .
- What is ?
- The square root of 9 is 3, not 9. Take the root of the 9 as well.
.
1. The gradient and the equation y = mx + c
The Gradient of a line measures how steep it is. It is the change in y divided by the change in x, between any two points on the line. Many people call these two changes “rise” (how far up) and “run” (how far across).
Key idea: the gradient of the line through and is . Read as “x one”. The small numbers only label the two points. Use the same order on the top and the bottom.
The sign of the gradient tells you the direction. A line that goes up to the right has a positive gradient. A line that goes down to the right has a negative gradient. A horizontal line has gradient 0.
Worked example
Find the gradient of the line through and .
- Call the first point and the second .
- The change in y is .
- The change in x is . Subtracting a negative number adds.
- .
The gradient is negative, so the line goes down to the right. It goes down 1 for every 1 across.
A straight line has an equation. The line with gradient m that crosses the y-axis at the point has the equation . The point is the y-intercept. This is the form y = mx + c.
Key idea: in , the number in front of x is the gradient. The number on its own is where the line crosses the y-axis. Put y on its own on one side before you read off m and c.
Worked example: read off m and c
Find the gradient and the y-intercept of the line .
- Get y on its own. Subtract from both sides: .
- Divide every term by 2: .
- The gradient is . The y-intercept is .
The gradient is not 6. The 6 was only the number before you divided by 2.
Two kinds of line do not fit . A horizontal line has the equation , where k is a number, and its gradient is 0. A vertical line has the equation . A vertical line has no gradient. Its change in x is 0, and you cannot divide by 0.
A point is on a line when its coordinates fit the equation. To test a point, put its x-value into the equation and see whether you get its y-value.
Worked example: is the point on the line?
Is the point on the line ? Is the point ?
- For : put in . , which equals the y-value. So the point is on the line.
- For : put in . , which is not 6. So the point is not on the line.
Now you finish it
Find the gradient of the line through and .
- The change in y is ___.
- The change in x is ___.
- So ___.
Check my answer
. The line goes down 2 for every 1 across.
Check your knowledge: the gradient and y = mx + c
Find the gradient of the line through and .
- Find the change in y, then the change in x.
- The change in y is . The change in x is .
- Divide the change in y by the change in x.
- You divided the change in x by the change in y. The gradient has the change in y on the top.
- That is the change in y only. Divide it by the change in x, which is 4.
.
Find the gradient of the line through and .
- The change in y is .
- The change in x is . Take care with the double minus.
- Divide the change in y by the change in x.
- The change in x is , not 2. Subtracting a negative number adds.
- The line goes down to the right, so the gradient is negative.
.
Find the gradient of the line shown. Give it as a fraction or a decimal.
- Read the coordinates of the two marked points.
- Go from to . How far does y change? How far does x change?
- Divide the change in y by the change in x.
- You divided the change in x by the change in y. The change in y goes on the top.
- That is the change in y only. Divide it by the change in x, which is 6.
. The line goes up 1 for every 2 across.
Find the gradient of the line .
- The equation must have y on its own before you read off the gradient.
- Divide every term by 2.
- Now read the number in front of x.
- That is the number before you divided by 2. Divide every term by 2 first: .
- That is the number in front of y. Divide by it, then read the number in front of x.
Dividing by 2 gives . The gradient is 4.
A line has gradient 3 and crosses the y-axis at . Write its equation in the form y = mx + c. Type it like y=2x+1.
- Write . What number is m? What number is c?
- m is the gradient and c is the y-coordinate of the y-intercept.
- c is . Keep the sign.
- You swapped the two numbers. The gradient 3 goes in front of x.
- The y-intercept is , so c is , not 4.
and , so . Check: at , .
Which of these lines has gradient ?
- Find the number in front of x in each line.
- Reorder as if that helps.
is . The number in front of x is .
Is the point on the line ?
- Put into the equation.
- Does the answer equal the y-value, 9?
When , . The point is on the line.
What is the gradient of the line ?
- Picture the line . Every point on it has x-coordinate 5.
- Is the line level or upright? What is its change in x?
The line is vertical. Its change in x is 0, and you cannot divide by 0. So it has no gradient.
2. The equation of a line through a point
Often you do not know where the line crosses the y-axis. You know its gradient and one point on it instead. Then it is easier to use the point-gradient form.
Let be the point you know. Let be any other point on the line. The gradient between them is m, so . Multiply both sides by to get the key idea below.
Key idea: the line with gradient m through the point has the equation . Subtract the coordinates of the point from x and y. Then expand the bracket and rearrange if you want .
Worked example
Find the equation of the line with gradient 3 through . Give it in the form .
- Put , and into the formula: .
- Expand the bracket: .
- Add 5 to both sides: .
- Check the point: when , . This matches.
Worked example: a negative coordinate
Find the equation of the line with gradient through .
- The point has , so . The formula gives .
- Expand the bracket: .
- Add 4 to both sides: .
- Check the point: when , . This matches.
When you are given two points, first find the gradient. Then use either point in the formula. Both points give the same line.
Worked example: through two points
Find the equation of the line through and .
- Find the gradient: .
- Use point A in the formula: .
- Expand: , so .
- Check with point B, which you did not use: . This matches.
Using B instead gives , which also simplifies to .
Now you finish it
Find the equation of the line with gradient 5 through .
- The formula gives y − ___ = ___(x − ___).
- Expand the bracket: .
- Add 1 to both sides: ___.
Check my answer
, so . Check: at , .
Check your knowledge: the equation of a line through a point
Find the equation of the line with gradient 4 through . Give it in the form y = mx + c. Type it like y=2x+1.
- Use . What are m, and ?
- . Expand the bracket.
- . Now add 3 to both sides.
- The y-coordinate of the point is 3, but that is not c. Expand the bracket and add 3 to both sides.
- You multiplied only the x by 4. , not .
- The point is , so the bracket is , not .
, so . Check: when , .
Find the equation of the line with gradient through . Give it in the form y = mx + c. Type it like y=2x+1.
- The point has . So is .
- . Expand the bracket.
- . Subtract 4 from both sides.
- The point is , so the left side is , not .
- The x-coordinate of the point is 2, so the bracket is , not .
, so and . Check: when , .
Find the equation of the line through and . Give it in the form y = mx + c. Type it like y=2x+1.
- Find the gradient first.
- . Then use one of the points in .
- . Expand, then add 1 to both sides.
- You multiplied only the x by 3. , not .
- You expanded correctly, but you forgot to add the 1 back to both sides: .
. Then , so . Check with : .
A line has gradient 4 and passes through . Find the y-coordinate of the point on the line where .
- Write the equation with .
- . Put in .
- . Then add 3 to both sides.
- That is . Add the 3 back to both sides.
- That uses . The 3 is the y-coordinate of the point, not the y-intercept.
, so . Going across 3 from the point, the line goes up .
Which equation is the line with gradient 5 through ?
- Subtract the point’s coordinates: and .
- Here and . Take care with the signs.
, which is .
The equation is written in point-gradient form. Write down the point that it is written from. Type it like (4,-5).
- The equation is in the form .
- The left side is , so .
- The bracket is , so .
- The bracket is , so , not 1.
- You swapped the coordinates. The x-coordinate comes first.
gives , and gives . The point is . Check: put into the equation, and , so .
3. The general form ax + by + c = 0
Exam questions often say “give your answer in the form , where a, b and c are integers”. An integer is a whole number. It can be positive, negative or zero. This is the general form of a line. Everything is on one side and the other side is 0.
Follow these steps to reach the general form.
- If there are fractions, multiply every term by a number that clears them.
- Move every term to one side, so that the other side is 0.
- If you can, make the number in front of x positive.
If a, b and c all divide by the same number, divide through by it. Then they have no common factor.
Worked example
Write in the form , where a, b and c are integers.
- Multiply every term by 4 to clear the fraction: .
- Move every term to the right side, so that the left side is 0: .
- The answer is .
Check with a point on the original line. When , . Then .
Worked example: through two points
Find the equation of the line through and . Give it in the form , where a, b and c are integers.
- The gradient is .
- Use the point : .
- Multiply every term by 3: .
- Move every term to one side: , which is .
- Check both points. : . : .
To read information from , rearrange it into form. That gives . So the gradient is . In this form, the letter c is not the y-intercept. The y-intercept is .
You can also find where the line meets each axis. Put to find the x-intercept. Put to find the y-intercept.
Worked example: gradient and intercepts
Find the gradient and the two intercepts of .
- Rearrange: , so . The gradient is .
- Put : , so . The x-intercept is .
- Put : , so . The y-intercept is .
The line goes down to the right, which matches a negative gradient.
Now you finish it
Find the gradient and the y-intercept of .
- Subtract and add 10 to both sides: ___.
- Divide every term by 2: ______.
- The gradient is and the y-intercept is .
Check my answer
, so . Check with the formula: .
Check your knowledge: the general form
Write in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- Move every term to one side so that the other side is 0.
- Move y to the right: .
- Write it with the 0 on the right, and check that the number in front of x is positive.
- That is the right line, but the number in front of x is negative. Multiply every term by .
- The check fails: gives . The 5 must stay .
Move y across: , so . Check: gives .
Write in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- Multiply every term by 5 to clear the fraction.
- .
- Move every term to one side so that the other side is 0.
- You multiplied the first two terms by 5 but not the 1. Multiply every term: .
Multiply by 5: . Then , so .
Find the gradient of the line . Give it as a fraction or a decimal.
- Rearrange into form.
- .
- Divide every term by 2, then read the number in front of x.
- Check the sign. , so the number in front of x is negative.
- You divided the wrong way round. The gradient is .
- You have not divided by 2 yet. Divide every term by 2.
, so . The gradient is .
The line crosses the x-axis at the point . Find p.
- On the x-axis, the y-coordinate is 0.
- Put into the equation.
- . Solve for x.
- That is the y-intercept (put ). For the x-axis, put .
- Check the sign. gives , so x is positive.
Put : , so . The line crosses the x-axis at , so .
Find the coordinates of the y-intercept of the line . Type it like (0,5).
- On the y-axis, the x-coordinate is 0.
- Put into the equation.
- . Solve for y.
- Check the sign. gives , so y is positive.
- The 8 is not the y-intercept here. In this form you must solve .
Put : , so . The y-intercept is .
Find the equation of the line through and . Give it in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- Find the gradient. It is a fraction.
- . Multiply every term by 3.
- . Move every term to one side.
- Check with the point : , not 0. From , the numbers give .
- You divided the change in x by the change in y. The gradient is , not .
. Then , so and . Check : .
Which of these points is on the line ?
- Put the x-value and the y-value of a point into .
- The point is on the line when the result is 0.
For : . So is on the line.
4. Parallel and perpendicular lines
Parallel lines never meet. They are equally steep, so they have the same gradient.
Two lines are Perpendicular when they meet at a right angle (90 degrees). Their gradients are linked. Take the gradient of one line, turn it upside down and change its sign. The result is the negative reciprocal. It is the gradient of a perpendicular line.
Key idea: two lines are parallel when their gradients are equal: . Read as “m one” and as “m two”. Two lines that are not horizontal or vertical are perpendicular when . That means . Always put each equation in the form before you compare gradients.
A horizontal line is perpendicular to a vertical line. The rule does not cover this case, because a vertical line has no gradient.
Worked example: a parallel line
Find the equation of the line parallel to that passes through .
- The gradient of is 3. A parallel line has the same gradient, 3.
- Use the point-gradient form: .
- Expand: , so .
- Check the point: when , . This matches.
Worked example: are these lines parallel?
Are the lines and parallel?
- Divide the first by 2: . Its gradient is 2.
- Rearrange the second: , so . Its gradient is 2.
- The gradients are equal, so the lines are parallel.
They are two different lines, because their y-intercepts differ: 3 and . The 4 in front of x in each equation is not the gradient. Both equations had to be rearranged first.
Worked example: a perpendicular line
Find the equation of the line perpendicular to that passes through . Give it in the form , where a, b and c are integers.
- The gradient of is 2. The perpendicular gradient is .
- Use the point-gradient form: .
- Multiply every term by 2: .
- Move every term to one side: .
- Check the point : . Check the gradients: .
Worked example: the gradient from the general form
Find the gradient of a line perpendicular to .
- The gradient of is .
- Turn it upside down: . Change the sign: .
- Check: .
Now you finish it
A line has gradient 5. Find the gradient of a line perpendicular to it.
- Turn 5 upside down. The reciprocal of 5 is ___.
- Change the sign. The negative reciprocal is ___.
- Check: .
Check my answer
The reciprocal of 5 is . The negative reciprocal is . The product is .
Check your knowledge: parallel and perpendicular lines
Which of these lines is parallel to ?
- Parallel lines have the same gradient. What is the gradient of ?
- Put each option in the form and read its gradient.
has gradient 3, the same as . The other lines have gradients 2 and .
Find the gradient of any line parallel to .
- A parallel line has the same gradient. Find the gradient of this line.
- Add to both sides and subtract 5: .
- Divide every term by 4, then read the number in front of x.
- That is the number before you divided by 4. Divide every term by 4 first.
- Moving to the other side makes it . So the gradient is positive.
, so . The gradient is 3.
Find the gradient of a line perpendicular to . Give it as a fraction or a decimal.
- The gradient of is 4.
- Turn 4 upside down. Then change the sign.
- That is the reciprocal. Change the sign as well to get the negative reciprocal.
- You changed the sign but did not turn 4 upside down.
The reciprocal of 4 is . The negative reciprocal is . Check: .
Find the gradient of a line perpendicular to . Give it as a fraction or a decimal.
- The gradient is .
- Turn the fraction upside down.
- Then change the sign. A negative becomes positive.
- You turned the fraction upside down but kept the minus sign. Change the sign too.
- You changed the sign but did not turn the fraction upside down.
Turn upside down: . Change the sign: . Check: .
The lines and are perpendicular. Find the value of k.
- Write in the form . Divide every term by k. You can, because k is not 0: if k were 0, the equation would be , the vertical line .
- Its gradient is . The other gradient is 2.
- Perpendicular lines have gradients that multiply to . Solve .
- Check the sign. The gradients must multiply to , so .
- That is the gradient needed. But k is not the gradient. The gradient of is .
, so the gradient is . gives , so . Check: and .
Find the equation of the line through parallel to . Give it in the form y = mx + c. Type it like y=2x+1.
- What gradient does a parallel line have?
- Use with the point .
- . Expand, then add 1.
- The 1 is the y-coordinate of the point, not c. Use and expand.
- That is the original line. Parallel lines have different y-intercepts. Check: , not 1.
- You multiplied only the x by 2. , not .
, so . Check: when , .
Find the equation of the line through perpendicular to . Give it in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- The gradient of is . Find the negative reciprocal.
- . Multiply every term by 3.
- . Move every term to one side.
- That line is parallel to the original, with gradient . For a perpendicular line, turn the gradient upside down and change the sign.
- You turned the gradient upside down but kept the minus sign: . Change the sign: .
The perpendicular gradient is . , so and . Check : .
5. Distance, midpoint and perpendicular bisector
A line segment is the part of a line between two end points. It has a length and a middle.
The Midpoint of a line segment is the point exactly halfway along it. To find it, take the average of the two x-coordinates and the average of the two y-coordinates.
Key idea: the midpoint of and is . Add the coordinates, then halve. Do not subtract.
The distance between two points is the length of the line segment that joins them. Draw a right-angled triangle on the segment. The two short sides are the change in x and the change in y. Pythagoras’ theorem gives the longest side.
Key idea: the distance d between and is . Square each change first. A squared number is never negative, so the order of the points does not matter.
Worked example
Find the midpoint and the distance of the line segment from to .
- Midpoint: .
- The change in x is . The change in y is .
- Distance: .
The segment is 10 units long and its middle is the point .
Worked example: an exact distance
Find the exact distance between and . Give your answer as a surd in its simplest form.
- The change in x is . The change in y is .
- .
- Simplify: , so .
The exact distance is , which is about 7.21 to 2 decimal places.
The Perpendicular bisector of a line segment cuts it in half and meets it at a right angle. So it needs two facts. It passes through the midpoint, and its gradient is the negative reciprocal of the gradient of the segment.
Worked example: a perpendicular bisector
Find the equation of the perpendicular bisector of and . Give it in the form , where a, b and c are integers.
- The midpoint is .
- The gradient of AB is .
- The perpendicular gradient is the negative reciprocal: .
- Use the point-gradient form through the midpoint: .
- Multiply every term by 3: . So .
- Check the midpoint: . Check the gradients: .
Now you finish it
Find the midpoint of and .
- The x-coordinate is ___.
- The y-coordinate is ___.
- The midpoint is .
Check my answer
and . The midpoint is . It is 3 across and 3 up from the first point, and 3 across and 3 up to the second.
Check your knowledge: distance, midpoint and perpendicular bisector
Find the midpoint of and . Type it like (3,-1).
- Add the two x-coordinates and halve the total.
- Do the same with the two y-coordinates.
- and .
- You added but did not halve. Divide each total by 2.
- That is half of each change. For the midpoint, add the coordinates instead of subtracting.
.
Find the distance between and .
- Find the change in x and the change in y.
- The changes are 3 and 4. Square each one.
- Add the squares, then take the square root.
- That is . Square each change, add them, then take the square root.
- That is the square of the distance. Take the square root.
.
Find the exact distance between and . Give your answer as a surd in its simplest form. Type it like 5sqrt(2).
- The change in x is 6. The change in y is .
- .
- Find the biggest square number that divides 72.
- The value is right, but you must simplify it. .
.
The distance between and is 10. Given that , find k.
- Write the distance formula and put in the numbers: .
- Square both sides: .
- . Take the square root, then use .
- That is the other solution of . The question says , so reject it.
- That is . Add 1 to get k.
, so and or . That gives or . Only has .
Which point is the midpoint of the line segment from to ?
- Add the x-coordinates and halve. Then do the same for y.
- and .
.
The points are and . Find the gradient of the perpendicular bisector of AB.
- The perpendicular bisector is perpendicular to AB. First find the gradient of AB.
- .
- Find the negative reciprocal.
- Check the sign. The negative reciprocal of is negative.
- You changed the sign but did not turn the fraction upside down.
- That is the gradient of AB. The bisector is perpendicular, so you need the negative reciprocal.
The gradient of AB is . The negative reciprocal is . Check: .
Find the equation of the perpendicular bisector of and . Give it in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- Find the midpoint of AB, and the gradient of AB.
- The midpoint is . The gradient of AB is , so the perpendicular gradient is .
- . Multiply every term by 3 and rearrange.
- That line goes through the midpoint but has the gradient of AB. The bisector needs the negative reciprocal.
- That line passes through A, not through the midpoint. Use the midpoint .
The midpoint is . The gradient of AB is , so the bisector has gradient . gives , so . Check : .
6. Modelling with straight lines
Many real situations change at a steady rate. A taxi fare rises by the same amount for each kilometre. A tank leaks the same volume each minute. A straight-line equation that describes such a situation is a Linear model.
In a linear model, the gradient is the rate of change. Its units are the units of y per unit of x, such as pounds per hour. The y-intercept is the starting value, when x is 0.
Key idea: to build a linear model, find the gradient (the rate) and a starting value. Write the equation with letters that fit the situation. Then say what each number means, with its units, and say what you have assumed.
Worked example
A plumber charges a call-out fee of 40 pounds plus 30 pounds for each hour of work. The cost is C pounds for t hours. Write a model, and find the cost of 2.5 hours.
- The model is .
- Put in : .
- The cost of 2.5 hours is 115 pounds.
The 40 is the call-out fee, in pounds. The 30 is the cost of each hour, in pounds per hour. The model assumes that the hourly rate stays the same. It only makes sense when t is greater than or equal to 0. In symbols, that is .
Worked example: building the model from two readings
Water leaks from a tank at a steady rate. At 2 minutes the tank holds 50 litres. At 5 minutes it holds 38 litres. Find a model for the volume V litres at time t minutes. When is the tank empty?
- The gradient is . The tank loses 4 litres each minute.
- Use the point-gradient form: , so .
- At the start, , the tank held 58 litres.
- The tank is empty when : , so .
The tank is empty after 14.5 minutes. The model is only valid until then. After that it would give a negative volume, which is impossible.
Now you finish it
A phone plan costs 12 pounds a month plus 0.05 pounds for each text. The monthly cost is pounds for n texts. Find the cost for 140 texts.
- The cost of the texts is ___ pounds.
- Add the fixed charge: ___ pounds.
Check my answer
. The cost is 19 pounds.
Check your knowledge: modelling
A taxi charges 4 pounds to start and 1.50 pounds for each kilometre. Find the cost of a 6 km journey, in pounds.
- Write a model. Use C for the cost and d for the distance.
- . Put in .
- That is only the cost of the distance. Add the 4 pounds to start.
- You added 4 and 1.5. The 1.5 is the cost of each kilometre, so multiply it by 6 first.
. The journey costs 13 pounds.
A gym charges pounds for n classes. What does the number 8 mean?
- The gradient is the rate: how much C changes for each increase of 1 in n.
- Which number is multiplied by n?
The 8 is the gradient. Each extra class adds 8 pounds to the cost.
A candle burns at a steady rate. It is 30 cm tall after 1 hour and 24 cm tall after 2 hours. Find the gradient of the model of height against time, in cm per hour. Type only the number.
- The gradient is the change in height divided by the change in time.
- The height changes from 30 to 24. The time changes from 1 to 2.
- The candle gets shorter, so the height falls. The gradient is negative.
. The height falls by 6 cm each hour.
A candle is 30 cm tall after 1 hour. It burns at a steady rate, with gradient cm per hour. Its height is h cm after t hours. Write h in terms of t, in the form h = mt + c. Type it like h=2t+5.
- Use the point-gradient form with the point .
- . Expand the bracket.
- . Add 30 to both sides.
- The 30 cm is the height after 1 hour, not the starting height. Use and expand.
- The 24 cm is the height after 2 hours, not the starting height. Use a point and the gradient, then expand.
, so . Check: when , .
A candle has height h cm after t hours, and the model is . How many hours does it take to burn out? It has burnt out when . Type only the number.
- Put into the model.
- . Solve for t.
- That is the starting height in cm, not a time. Solve for t.
gives , so . The candle burns out after 6 hours.
Which assumption does the model make?
- A straight line has the same gradient everywhere.
- What does the gradient mean in this model?
The gradient is the cost of a class, and it is the same everywhere on a straight line. So the model assumes that every class costs the same.
Flip it: run it backwards
So far you have gone from facts about a line to its equation. Now go both ways. You can draw the graph from an equation. You can also find the equation from a graph.
Forwards
From the equation to the graph. Find where the line meets each axis, mark those two points, and join them.
meets the y-axis at . Put to get .
Backwards
From the graph to the equation. Read two points, find the gradient, then use the point-gradient form.
The points and give the gradient .
Worked example: from a graph
A line crosses the y-axis at and the x-axis at . Find its equation in the form , where a, b and c are integers.
- The gradient is .
- The y-intercept is , so .
- Multiply every term by 2: .
- Move every term to one side: .
- Check the other point: gives .
Forwards
From two end points to the midpoint. Add the coordinates and halve.
Backwards
From the midpoint M and one end point A to the other end point B. Double the midpoint and subtract A: , coordinate by coordinate.
Worked example: from the midpoint to an end point
The midpoint of AB is . The point A is . Find B.
- From A to M, x goes up by 2 and y goes up by 3.
- Take the same steps again from M. The x-coordinate is . The y-coordinate is .
- So B is .
- Check: the midpoint of and is .
Check your knowledge: flip it
A line crosses the y-axis at and the x-axis at . Write its equation in the form y = mx + c. Type it like y=2x+1.
- Find the gradient from the two points.
- From to , y changes by and x changes by 2.
- The y-intercept is 4, so c is 4.
- The line goes down to the right, so its gradient is negative.
- You divided the change in x by the change in y. The gradient is .
and , so . Check: at , .
Find the equation of the line shown, in the form y = mx + c. Type it like y=2x+1.
- Read the two marked points and find the gradient.
- From to , y changes by and x changes by 2.
- Use and expand.
- The 7 is the y-coordinate of the point , not the y-intercept. Expand .
- The line goes down to the right, so its gradient is negative.
. Then , so . Check : .
The midpoint of AB is . The point A is . Find the coordinates of B. Type it like (3,-1).
- From A to M, how far does x change? How far does y change?
- Take the same steps again from M.
- Or use , coordinate by coordinate.
- That is the midpoint of A and M. You need the point as far beyond M as A is before it.
- That is the step from A to M. Take that step again from M, not from the origin.
, so B is . Check: .
The line through and has gradient 2. Which equation describes the same line?
- The point-gradient form can use either point.
- Check that the point and the gradient both match.
Use the point and gradient 2: . It simplifies to . Using gives , which is also .
A line crosses the x-axis at and the y-axis at . Write its equation in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- Find the gradient from the two points.
- From to , y changes by 2 and x changes by 3. The y-intercept is .
- . Multiply every term by 3 and rearrange.
- You used the change in x over the change in y. The gradient is , not .
, so . Multiply by 3: , so . Check : .
Spot the mistake
Finding an error in someone else’s working helps you learn. For each one, decide what went wrong.
Priya says: the gradient through and is . What went wrong?
- The gradient is the change in y divided by the change in x.
- Which change is on the top in Priya’s working?
The gradient is . Priya divided the change in x by the change in y.
Sam says: the line has gradient 2. What went wrong?
- The gradient is the number in front of x when y is on its own.
- Rearrange to get y on its own.
, so . The gradient is .
Mia says: a line perpendicular to has gradient . What went wrong?
- Perpendicular gradients multiply to .
- Multiply Mia’s gradient by 3. Do you get ?
, not . The negative reciprocal of 3 is , and .
Leo says: the midpoint of and is . What went wrong?
- The midpoint is the average of the two x-coordinates, and the average of the two y-coordinates.
- An average adds, then divides.
The midpoint is . Leo found half of each change instead.
Check your knowledge: mixed review
These questions mix the ideas from every section, in no fixed order.
Find the equation of the line with gradient 4 through . Give it in the form y = mx + c. Type it like y=2x+1.
- The point has , so .
- . Expand the bracket.
- . Add 3 to both sides.
- The point is , so the bracket is , not .
- You multiplied only the x by 4. , not .
, so . Check: when , .
Find the gradient of the line through and .
- The change in y is .
- The change in x is .
- Divide the change in y by the change in x.
- Check the change in x. , not . Subtracting a negative number adds.
- The line goes down to the right, so the gradient is negative.
.
Find the midpoint of and . Type it like (3,-1).
- Add the two x-coordinates and halve.
- . Then do the same for y.
- You added but did not halve. Divide each total by 2.
- That is half of each change. For the midpoint, add the coordinates instead of subtracting.
.
Find the distance between and .
- The change in x is . The change in y is .
- Square each change, add them, then take the square root.
- That is . Square each change, add, then take the square root.
- That is the square of the distance. Take the square root.
.
Are the lines and parallel?
- The gradient of is .
- Find the gradient of each line.
The first gradient is . The second is . The gradients are equal, so the lines are parallel. Their y-intercepts differ, so they are not the same line.
The line through and has gradient 4. Find k.
- Write the gradient: .
- . Multiply both sides by .
- . Solve for k.
- That is . Divide 8 by 4 first: .
gives , so . Check: .
Find the equation of the line through perpendicular to . Give it in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- The gradient of is .
- The perpendicular gradient is . Use .
- Multiply every term by 2: .
- You changed the sign of but did not turn it upside down. That gives gradient 2, not .
- You turned the gradient upside down but kept the minus sign. That gives . Change the sign.
The gradient of the given line is , so the perpendicular gradient is . gives , so . Check : .
A water butt holds 120 litres. It loses 3 litres each day at a steady rate. After how many days is it empty? Type only the number.
- Write a model for the volume V litres after t days.
- . The butt is empty when .
- You multiplied 120 by 3. Solve instead.
- That is the volume after 1 day. Find the time when the volume is 0.
gives , so . The water butt is empty after 40 days.
Exam style
Use these like a real paper. The marks tell you how much to write. Write your working on paper, then type the answer. The mark scheme appears in the worked solution. In a mark scheme, M1 is a mark for a correct method. A1 is a mark for a correct answer. B1 is a mark for a correct fact or value.
[3 marks] The line l passes through and . Find an equation for l in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- Find the gradient of AB first.
- The gradient is . Use .
- Expand, then move every term to one side.
- Check with A: , not 0. From , the numbers give .
- You divided the change in x by the change in y. Check with B: , not 0. The gradient of AB is .
. Then , so and . Check B: .
- M1 for the gradient
- M1 for (or )
- A1 for
(a) [2 marks] The line l has equation . Find the gradient of l. Give it as a fraction or a decimal.
- Rearrange so that y is on its own.
- . Divide every term by 4.
- Check the sign. , so the number in front of x is negative.
- You divided the wrong way round. The gradient is .
- That is the number in front of x before you divided by 4. Divide every term by 4 first.
, so . The gradient is .
- M1 for rearranging to form, or for using
- A1 for
(b) [3 marks] The line l has equation . The line n is perpendicular to l and passes through . Find an equation for n in the form . Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.
- The gradient of l is . What is the negative reciprocal?
- . Multiply every term by 3.
- . Move every term to one side.
- That line is parallel to l, with gradient . For a perpendicular line, turn the gradient upside down and change the sign.
- You changed the sign but did not turn the fraction upside down. The perpendicular gradient is .
The gradient of n is . , so and . Check : .
- B1 for the perpendicular gradient
- M1 for
- A1 for
[4 marks] Triangle ABC has , and . The angle at B is a right angle. Find the area of triangle ABC, in square units. Type only the number.
- The angle at B is a right angle, so AB and BC are the base and the height.
- Find the lengths AB and BC with the distance formula.
- The area of a triangle is half the base times the height.
- That is base times height. The area of a triangle is half of that.
- You halved twice. Base times height is 20, and the area is half of that.
and . The area is . Check the right angle: the gradient of AB is , the gradient of BC is , and .
- M1 for a method to find the length of AB or BC
- A1 for both lengths or
- M1 for
- A1 for 10
[3 marks] ABCD is a parallelogram, with the corners in this order. The points are , and . Find the coordinates of D. Type it like (3,-1).
- The diagonals of a parallelogram cross at their midpoints. Which two points make a diagonal with A and C?
- Find the midpoint of AC. It is also the midpoint of BD.
- Use , coordinate by coordinate.
- That point is , which is opposite A. D is opposite B.
- That point is , which is opposite C. D is opposite B.
- That is the midpoint of AC, where the diagonals cross. D is the other end of the diagonal that starts at B.
The midpoint of AC is . This is also the midpoint of BD, so . Check: the step from A to B is , and the step from D to C is .
- M1 for the midpoint of AC,
- M1 for using it as the midpoint of BD
- A1 for
(a) [2 marks] A company hires out vans. The cost is linear in the number of days. Hiring a van for 3 days costs 150 pounds. Hiring it for 5 days costs 230 pounds. Find the daily rate, in pounds per day. Type only the number.
- The daily rate is the gradient of the model.
- The cost changes from 150 to 230. The days change from 3 to 5.
- That is the change in cost only. Divide by the change in days, which is 2.
. The daily rate is 40 pounds per day.
- M1 for
- A1 for 40
(b) [2 marks] A van hire costs 150 pounds for 3 days. The cost is linear in the number of days, and the daily rate is 40 pounds per day. Find the fixed charge, in pounds. This is the cost with 0 days. Type only the number.
- Write the model . Use one of the readings.
- For 3 days, .
- That takes off only one day, 40 pounds. The 150 pounds covers 3 days at 40 pounds each.
gives . Check with 5 days: . The fixed charge is 30 pounds.
- M1 for (or with )
- A1 for 30
Why it works
- The gradient. A straight line has the same steepness everywhere. So any two points on it give the same .
- The point-gradient form. Take any point on the line. The gradient from to it is m, so . Multiply both sides by .
- Perpendicular gradients. A line with gradient m goes across 1 and up m. Turn that step through a quarter turn. It becomes across and up 1. Its gradient is .
- The distance. The change in x and the change in y are the two short sides of a right-angled triangle. The distance is the longest side, so Pythagoras gives it.
- The midpoint. Halfway between two numbers is their average. The x and y directions are independent, so you average each one on its own.
- The perpendicular bisector. Every point on it is the same distance from A as from B. That is why it must pass through the midpoint and meet the segment at a right angle.
- Linear models. A straight line has a constant gradient. So a linear model has a constant rate of change. That is the assumption you are making.
Common traps
- Putting the change in x on top of the gradient. The change in y goes on top.
- Reading the gradient from an equation that is not in the form . Rearrange first.
- Mixing the order of the points. Use the same order on the top and the bottom.
- Forgetting the double minus. , not 2.
- Writing where the point has . Subtract the point: .
- In , reading c as the y-intercept. It is .
- Turning the gradient upside down but keeping the sign, or changing the sign but not turning it upside down.
- Using the midpoint formula with a minus instead of a plus.
- Stopping at and forgetting the square root in the distance formula.
- Giving a model's answer with no units, or outside the range where the model makes sense.