Coordinate geometry · Year 1

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 52. 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.

Skip to the lesson

Find the gradient of the line through the points (1,2) and (3,8).

  1. The gradient is the change in y divided by the change in x.
  2. From (1,2) to (3,8), y changes by 8−2 and x changes by 3−1.
  3. 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.

8−23−1 =62 =3. The line goes up 3 for every 1 across.

Make y the subject of 3y=6x+12. Type it like y=2x-1.

  1. Make y the subject means get y on its own on one side.
  2. y is multiplied by 3. Divide both sides by 3.
  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 6x by 3 but not 12. Divide every term on the right.

Divide both sides by 3: y =6x3+123 =2x+4.

Quick recap of earlier topics (skip it if you are confident)

Solve 2x+3=11.

  1. Undo the +3 first.
  2. Subtract 3 from both sides to get 2x=8.
  3. Then divide both sides by 2.
  • You added 3 to both sides. To undo +3, subtract 3.

2x=11−3=8, so x=4. Check: 2×4+3=11.

Expand (multiply out the brackets) 3(x−4). Type it like 2x+5.

  1. Multiply every term inside the bracket by 3.
  2. 3×x=3x. Now find 3×(−4).
  • You multiplied only the x. Multiply the −4 by 3 as well.
  • A plus times a minus is a minus. 3×(−4)=−12.

3(x−4) =3x−12.

A right-angled triangle has two short sides of 5 cm and 12 cm. Find the length of the longest side, in cm.

  1. Pythagoras’ theorem: the square of the longest side is the sum of the squares of the other two.
  2. 52+122 =25+144.
  3. Take the square root of the total.
  • That is 5+12. 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.

52+122=169 and 169=13. The longest side is 13 cm.

Write 45 in the form a5, where a is a whole number. Type it like 5sqrt(2).

  1. Find the biggest square number that divides 45.
  2. 45=9×5, so 45 =9×5.
  3. What is 9?
  • The square root of 9 is 3, not 9. Take the root of the 9 as well.

45 =9×5 =35.

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).

A line through A (1, 1) and B (3, 5)A straight line that rises to the right through the points A (1, 1) and B (3, 5). Dashed guides show a step of 2 across from A and then 4 up to B. The gradient is 4 divided by 2, which is 2.xyA (1, 1) and B (3, 5)gradient = 4 / 2 = 2across 2up 4A (1, 1)B (3, 5)
Look at the dashed steps from A to B. The line goes across 2 and up 4, so its gradient is 42=2. It goes up 2 for every 1 across.

Key idea: the gradient of the line through (x1,y1) and (x2,y2) is m =y2−y1x2−x1. Read x1 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 (−2,5) and (4,−1).

  1. Call the first point (x1,y1) =(−2,5) and the second (x2,y2) =(4,−1).
  2. The change in y is −1−5=−6.
  3. The change in x is 4−(−2)=6. Subtracting a negative number adds.
  4. m=−66=−1.

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 (0,c) has the equation y=mx+c. The point (0,c) is the y-intercept. This is the form y = mx + c.

The line y = -2x + 3A straight line that falls to the right. It crosses the y-axis at the point (0, 3), so c is 3. Dashed guides show a step of 1 across and then 2 down, so the gradient m is negative 2.xyy = −2x + 3m = −2 and c = 3across 1down 2(0, 3)
Look at the point where the line meets the y-axis. It is (0,3), so c=3. The dashed steps go across 1 and down 2, so m=−2.

Key idea: in y=mx+c, 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 2y+6x=10.

  1. Get y on its own. Subtract 6x from both sides: 2y=−6x+10.
  2. Divide every term by 2: y=−3x+5.
  3. The gradient is m=−3. The y-intercept is (0,5).

The gradient is not 6. The 6 was only the number before you divided by 2.

Two kinds of line do not fit y=mx+c. A horizontal line has the equation y=k, where k is a number, and its gradient is 0. A vertical line has the equation x=k. A vertical line has no gradient. Its change in x is 0, and you cannot divide by 0.

The lines y = 3 and x = -2A solid horizontal line at height 3, which is the line y = 3 and has gradient 0. A dashed vertical line through x = negative 2, which is the line x = -2 and has no gradient.xysolid: y = 3dashed: x = −2gradient 0no gradient
Look at the two lines. The solid line y=3 is level, so its gradient is 0. The dashed line x=−2 is upright, so it has no gradient.

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 (3,7) on the line y=2x+1? Is the point (2,6)?

  1. For (3,7): put in x=3. 2×3+1=7, which equals the y-value. So the point is on the line.
  2. For (2,6): put in x=2. 2×2+1=5, which is not 6. So the point is not on the line.

Now you finish it

Find the gradient of the line through (2,7) and (5,1).

  1. The change in y is 1−7=___.
  2. The change in x is 5−2=___.
  3. So m=___.
Check my answer

1−75−2 =−63 =−2. 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 (2,3) and (6,11).

  1. Find the change in y, then the change in x.
  2. The change in y is 11−3. The change in x is 6−2.
  3. 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.

11−36−2 =84 =2.

Find the gradient of the line through (−1,4) and (3,−4).

  1. The change in y is −4−4.
  2. The change in x is 3−(−1). Take care with the double minus.
  3. Divide the change in y by the change in x.
  • The change in x is 3−(−1)=4, not 2. Subtracting a negative number adds.
  • The line goes down to the right, so the gradient is negative.

−4−43−(−1) =−84 =−2.

Find the gradient of the line shown. Give it as a fraction or a decimal.

A straight line through two marked pointsA straight line that rises to the right. Two points on it are marked: (-2, -1) on the left and (4, 2) on the right.xy(−2, −1)(4, 2)
  1. Read the coordinates of the two marked points.
  2. Go from (−2,−1) to (4,2). How far does y change? How far does x change?
  3. 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.

2−(−1)4−(−2) =36 =12. The line goes up 1 for every 2 across.

Find the gradient of the line 2y=8x−6.

  1. The equation must have y on its own before you read off the gradient.
  2. Divide every term by 2.
  3. Now read the number in front of x.
  • That is the number before you divided by 2. Divide every term by 2 first: y=4x−3.
  • That is the number in front of y. Divide by it, then read the number in front of x.

Dividing by 2 gives y=4x−3. The gradient is 4.

A line has gradient 3 and crosses the y-axis at (0,−4). Write its equation in the form y = mx + c. Type it like y=2x+1.

  1. Write y=mx+c. What number is m? What number is c?
  2. m is the gradient and c is the y-coordinate of the y-intercept.
  3. c is −4. Keep the sign.
  • You swapped the two numbers. The gradient 3 goes in front of x.
  • The y-intercept is (0,−4), so c is −4, not 4.

m=3 and c=−4, so y=3x−4. Check: at x=0, y=−4.

Which of these lines has gradient −3?

  • The line y=5−3x
  • The line y=3x−5
  • The line y=5x−3
  1. Find the number in front of x in each line.
  2. Reorder y=5−3x as y=−3x+5 if that helps.

y=5−3x is y=−3x+5. The number in front of x is −3.

Is the point (2,9) on the line y=4x+1?

  • No, because 4×2+1=8
  • Yes, because 4×2+1=9
  • No, because 9 is not a multiple of 4
  1. Put x=2 into the equation.
  2. Does the answer equal the y-value, 9?

When x=2, y =4×2+1 =9. The point (2,9) is on the line.

What is the gradient of the line x=5?

  • The gradient is 0
  • The gradient is 5
  • It has no gradient, because it is vertical
  1. Picture the line x=5. Every point on it has x-coordinate 5.
  2. Is the line level or upright? What is its change in x?

The line x=5 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 (x1,y1) be the point you know. Let (x,y) be any other point on the line. The gradient between them is m, so y−y1x−x1 =m. Multiply both sides by x−x1 to get the key idea below.

The line with gradient -3 through P (1, 4)A straight line that falls to the right through P (1, 4) and Q (3, -2). Dashed guides show a step of 2 across and 6 down from P to Q, so the gradient is negative 6 divided by 2, which is negative 3. The line has equation y minus 4 equals negative 3 times (x minus 1).xyy − 4 = −3(x − 1)gradient −3across 2down 6P (1, 4)Q (3, −2)
Look at the point P and the dashed steps to Q. The gradient is −62=−3. The line through P with this gradient has the equation y−4 =−3(x−1).

Key idea: the line with gradient m through the point (x1,y1) has the equation y−y1 =m(x−x1). Subtract the coordinates of the point from x and y. Then expand the bracket and rearrange if you want y=mx+c.

Worked example

Find the equation of the line with gradient 3 through (2,5). Give it in the form y=mx+c.

  1. Put m=3, x1=2 and y1=5 into the formula: y−5=3(x−2).
  2. Expand the bracket: y−5=3x−6.
  3. Add 5 to both sides: y=3x−1.
  4. Check the point: when x=2, y =3×2−1 =5. This matches.

Worked example: a negative coordinate

Find the equation of the line with gradient −2 through (−1,4).

  1. The point has x1=−1, so x−x1 =x−(−1) =x+1. The formula gives y−4 =−2(x+1).
  2. Expand the bracket: y−4=−2x−2.
  3. Add 4 to both sides: y=−2x+2.
  4. Check the point: when x=−1, y =−2×(−1)+2 =4. 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.

The line through A (1, 5) and B (3, 9)A straight line that rises to the right through A (1, 5) and B (3, 9). It crosses the y-axis at (0, 3). Dashed guides show a step of 2 across and 4 up from A to B, so the gradient is 2 and the equation is y = 2x + 3.xyy = 2x + 3through A (1, 5) and B (3, 9)across 2up 4A (1, 5)B (3, 9)(0, 3)
Look at the points A and B. The line through them goes across 2 and up 4, so its gradient is 2. It crosses the y-axis at (0,3).

Worked example: through two points

Find the equation of the line through A(1,5) and B(3,9).

  1. Find the gradient: m =9−53−1 =42 =2.
  2. Use point A in the formula: y−5=2(x−1).
  3. Expand: y−5=2x−2, so y=2x+3.
  4. Check with point B, which you did not use: 2×3+3=9. This matches.

Using B instead gives y−9=2(x−3), which also simplifies to y=2x+3.

Now you finish it

Find the equation of the line with gradient 5 through (2,1).

  1. The formula gives y − ___ = ___(x − ___).
  2. Expand the bracket: y−1=5x−10.
  3. Add 1 to both sides: y=5x−___.
Check my answer

y−1 =5(x−2) =5x−10, so y=5x−9. Check: at x=2, y=10−9=1.

Check your knowledge: the equation of a line through a point

Find the equation of the line with gradient 4 through (2,3). Give it in the form y = mx + c. Type it like y=2x+1.

  1. Use y−y1 =m(x−x1). What are m, x1 and y1?
  2. y−3=4(x−2). Expand the bracket.
  3. y−3=4x−8. 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. 4(x−2) =4x−8, not 4x−2.
  • The point is (2,3), so the bracket is (x−2), not (x+2).

y−3 =4(x−2) =4x−8, so y=4x−5. Check: when x=2, y=8−5=3.

Find the equation of the line with gradient −3 through (2,−4). Give it in the form y = mx + c. Type it like y=2x+1.

  1. The point has y1=−4. So y−y1 is y−(−4).
  2. y+4 =−3(x−2). Expand the bracket.
  3. y+4=−3x+6. Subtract 4 from both sides.
  • The point is (2,−4), so the left side is y−(−4)=y+4, not y−4.
  • The x-coordinate of the point is 2, so the bracket is (x−2), not (x+2).

y−(−4) =−3(x−2), so y+4=−3x+6 and y=−3x+2. Check: when x=2, y=−6+2=−4.

Find the equation of the line through (2,1) and (5,10). Give it in the form y = mx + c. Type it like y=2x+1.

  1. Find the gradient first.
  2. m =10−15−2. Then use one of the points in y−y1 =m(x−x1).
  3. y−1=3(x−2). Expand, then add 1 to both sides.
  • You multiplied only the x by 3. 3(x−2) =3x−6, not 3x−2.
  • You expanded correctly, but you forgot to add the 1 back to both sides: y=3x−6+1.

m =10−15−2 =3. Then y−1 =3(x−2) =3x−6, so y=3x−5. Check with (5,10): 15−5=10.

A line has gradient 4 and passes through (2,3). Find the y-coordinate of the point on the line where x=5.

  1. Write the equation with y−y1 =m(x−x1).
  2. y−3=4(x−2). Put in x=5.
  3. y−3=4×3. Then add 3 to both sides.
  • That is y−3. Add the 3 back to both sides.
  • That uses y=4x+3. The 3 is the y-coordinate of the point, not the y-intercept.

y−3 =4(5−2) =12, so y=15. Going across 3 from the point, the line goes up 4×3=12.

Which equation is the line with gradient 5 through (3,−2)?

  • The line y−2=5(x−3)
  • The line y+2=5(x−3)
  • The line y+2=5(x+3)
  1. Subtract the point’s coordinates: y−y1 and x−x1.
  2. Here x1=3 and y1=−2. Take care with the signs.

y−(−2) =5(x−3), which is y+2=5(x−3).

The equation y−3=2(x+1) is written in point-gradient form. Write down the point (x1,y1) that it is written from. Type it like (4,-5).

  1. The equation is in the form y−y1 =m(x−x1).
  2. The left side is y−3, so y1=3.
  3. The bracket is x+1=x−(−1), so x1=−1.
  • The bracket (x+1) is x−(−1), so x1=−1, not 1.
  • You swapped the coordinates. The x-coordinate comes first.

(x+1) =(x−(−1)) gives x1=−1, and y−3 gives y1=3. The point is (−1,3). Check: put x=−1 into the equation, and y−3=0, so y=3.

3. The general form ax + by + c = 0

Exam questions often say “give your answer in the form ax+by+c=0, 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.

  1. If there are fractions, multiply every term by a number that clears them.
  2. Move every term to one side, so that the other side is 0.
  3. 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 y=34x−2 in the form ax+by+c=0, where a, b and c are integers.

  1. Multiply every term by 4 to clear the fraction: 4y=3x−8.
  2. Move every term to the right side, so that the left side is 0: 0=3x−4y−8.
  3. The answer is 3x−4y−8=0.

Check with a point on the original line. When x=4, y=3−2=1. Then 12−4−8=0.

Worked example: through two points

Find the equation of the line through (2,−1) and (8,3). Give it in the form ax+by+c=0, where a, b and c are integers.

  1. The gradient is 3−(−1)8−2 =46 =23.
  2. Use the point (2,−1): y+1 =23(x−2).
  3. Multiply every term by 3: 3y+3 =2(x−2) =2x−4.
  4. Move every term to one side: 0 =2x −3y −4 −3, which is 2x−3y−7=0.
  5. Check both points. (2,−1): 4+3−7=0. (8,3): 16−9−7=0.

To read information from ax+by+c=0, rearrange it into y=mx+c form. That gives y =−abx−cb. So the gradient is −ab. In this form, the letter c is not the y-intercept. The y-intercept is −cb.

You can also find where the line meets each axis. Put y=0 to find the x-intercept. Put x=0 to find the y-intercept.

The line 3x + 4y - 12 = 0A straight line that falls to the right. It crosses the x-axis at (4, 0) and the y-axis at (0, 3). Its gradient is negative three quarters.xy3x + 4y − 12 = 0gradient −3/4(4, 0)(0, 3)
Look at the two points where the line meets the axes. They are (4,0) and (0,3). Join them to draw the line 3x+4y−12=0.

Worked example: gradient and intercepts

Find the gradient and the two intercepts of 3x+4y−12=0.

  1. Rearrange: 4y=−3x+12, so y=−34x+3. The gradient is −34.
  2. Put y=0: 3x−12=0, so x=4. The x-intercept is (4,0).
  3. Put x=0: 4y−12=0, so y=3. The y-intercept is (0,3).

The line goes down to the right, which matches a negative gradient.

Now you finish it

Find the gradient and the y-intercept of 4x+2y−10=0.

  1. Subtract 4x and add 10 to both sides: 2y=___x+10.
  2. Divide every term by 2: y=___x+___.
  3. The gradient is −2 and the y-intercept is (0,5).
Check my answer

2y=−4x+10, so y=−2x+5. Check with the formula: −ab=−42=−2.

Check your knowledge: the general form

Write y=2x−5 in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. Move every term to one side so that the other side is 0.
  2. Move y to the right: 0=2x−y−5.
  3. 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 −1.
  • The check fails: 2x−y+5=0 gives y=2x+5. The 5 must stay −5.

Move y across: 0=2x−y−5, so 2x−y−5=0. Check: y=2x−5 gives 2x −(2x−5) −5 =0.

Write y=25x+1 in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. Multiply every term by 5 to clear the fraction.
  2. 5y=2x+5.
  3. 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: 5×1=5.

Multiply by 5: 5y=2x+5. Then 0=2x−5y+5, so 2x−5y+5=0.

Find the gradient of the line 5x+2y−8=0. Give it as a fraction or a decimal.

  1. Rearrange into y=mx+c form.
  2. 2y=−5x+8.
  3. Divide every term by 2, then read the number in front of x.
  • Check the sign. 2y=−5x+8, so the number in front of x is negative.
  • You divided the wrong way round. The gradient is −ab=−52.
  • You have not divided by 2 yet. Divide every term by 2.

2y=−5x+8, so y=−52x+4. The gradient is −52.

The line 2x+3y−12=0 crosses the x-axis at the point (p,0). Find p.

  1. On the x-axis, the y-coordinate is 0.
  2. Put y=0 into the equation.
  3. 2x−12=0. Solve for x.
  • That is the y-intercept (put x=0). For the x-axis, put y=0.
  • Check the sign. 2x−12=0 gives 2x=12, so x is positive.

Put y=0: 2x−12=0, so x=6. The line crosses the x-axis at (6,0), so p=6.

Find the coordinates of the y-intercept of the line 3x−2y+8=0. Type it like (0,5).

  1. On the y-axis, the x-coordinate is 0.
  2. Put x=0 into the equation.
  3. −2y+8=0. Solve for y.
  • Check the sign. −2y+8=0 gives 8=2y, so y is positive.
  • The 8 is not the y-intercept here. In this form you must solve −2y+8=0.

Put x=0: −2y+8=0, so y=4. The y-intercept is (0,4).

Find the equation of the line through (1,1) and (4,3). Give it in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. Find the gradient. It is a fraction.
  2. y−1 =23(x−1). Multiply every term by 3.
  3. 3y−3=2x−2. Move every term to one side.
  • Check with the point (1,1): 2−3−1=−2, not 0. From 3y−3=2x−2, the numbers give 0=2x−3y+1.
  • You divided the change in x by the change in y. The gradient is 23, not 32.

m =3−14−1 =23. Then y−1 =23(x−1), so 3y−3=2x−2 and 2x−3y+1=0. Check (4,3): 8−9+1=0.

Which of these points is on the line 2x−y−3=0?

  • The point (1,2)
  • The point (3,−3)
  • The point (2,1)
  1. Put the x-value and the y-value of a point into 2x−y−3.
  2. The point is on the line when the result is 0.

For (2,1): 2×2−1−3 =0. So (2,1) is on the line.

4. Parallel and perpendicular lines

Parallel lines never meet. They are equally steep, so they have the same gradient.

The parallel lines y = 2x + 1 and y = 2x - 3Two straight lines that rise to the right at the same steepness and never meet. The solid line is y = 2x + 1 and the dashed line is y = 2x - 3. On each, a dashed guide shows a step of 1 across and 2 up, so both have gradient 2.xysolid: y = 2x + 1dashed: y = 2x − 31212
Look at the dashed steps on each line. Both go across 1 and up 2. Both lines have gradient 2, so they are parallel. They cross the y-axis at different points.

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.

The perpendicular lines y = 2x - 1 and y = -x/2 + 4Two straight lines that cross at the point (2, 3) at a right angle, marked with a small square. The solid line rises with gradient 2. The dashed line falls with gradient negative one half. Multiplying the two gradients gives negative 1.xysolid: y = 2x − 1dashed: y = −x/2 + 4gradient 2gradient −1/2
Look at the small square where the two lines cross. It marks a right angle. The gradients are 2 and −12. Multiply them: 2×(−12)=−1.

Key idea: two lines are parallel when their gradients are equal: m1=m2. Read m1 as “m one” and m2 as “m two”. Two lines that are not horizontal or vertical are perpendicular when m1×m2=−1. That means m2=−1m1. Always put each equation in the form y=mx+c before you compare gradients.

A horizontal line is perpendicular to a vertical line. The rule m1×m2=−1 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 y=3x+1 that passes through (2,4).

  1. The gradient of y=3x+1 is 3. A parallel line has the same gradient, 3.
  2. Use the point-gradient form: y−4=3(x−2).
  3. Expand: y−4=3x−6, so y=3x−2.
  4. Check the point: when x=2, y=6−2=4. This matches.

Worked example: are these lines parallel?

Are the lines 2y=4x+6 and 4x−2y+1=0 parallel?

  1. Divide the first by 2: y=2x+3. Its gradient is 2.
  2. Rearrange the second: 2y=4x+1, so y=2x+12. Its gradient is 2.
  3. The gradients are equal, so the lines are parallel.

They are two different lines, because their y-intercepts differ: 3 and 12. 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 y=2x+1 that passes through (4,3). Give it in the form ax+by+c=0, where a, b and c are integers.

  1. The gradient of y=2x+1 is 2. The perpendicular gradient is −12.
  2. Use the point-gradient form: y−3 =−12(x−4).
  3. Multiply every term by 2: 2y−6 =−(x−4) =−x+4.
  4. Move every term to one side: x+2y−10=0.
  5. Check the point (4,3): 4+6−10=0. Check the gradients: 2×(−12)=−1.

Worked example: the gradient from the general form

Find the gradient of a line perpendicular to 3x+5y−2=0.

  1. The gradient of 3x+5y−2=0 is −ab=−35.
  2. Turn it upside down: −53. Change the sign: 53.
  3. Check: −35×53=−1.

Now you finish it

A line has gradient 5. Find the gradient of a line perpendicular to it.

  1. Turn 5 upside down. The reciprocal of 5 is ___.
  2. Change the sign. The negative reciprocal is ___.
  3. Check: 5×(−15)=−1.
Check my answer

The reciprocal of 5 is 15. The negative reciprocal is −15. The product is 5×(−15)=−1.

Check your knowledge: parallel and perpendicular lines

Which of these lines is parallel to y=3x−2?

  • The line y=3x+5
  • The line y=2x−2
  • The line 3y=x+6
  1. Parallel lines have the same gradient. What is the gradient of y=3x−2?
  2. Put each option in the form y=mx+c and read its gradient.

y=3x+5 has gradient 3, the same as y=3x−2. The other lines have gradients 2 and 13.

Find the gradient of any line parallel to 4y−12x+5=0.

  1. A parallel line has the same gradient. Find the gradient of this line.
  2. Add 12x to both sides and subtract 5: 4y=12x−5.
  3. 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 −12x to the other side makes it +12x. So the gradient is positive.

4y=12x−5, so y=3x−54. The gradient is 3.

Find the gradient of a line perpendicular to y=4x+7. Give it as a fraction or a decimal.

  1. The gradient of y=4x+7 is 4.
  2. 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 14. The negative reciprocal is −14. Check: 4×(−14)=−1.

Find the gradient of a line perpendicular to y=−23x+1. Give it as a fraction or a decimal.

  1. The gradient is −23.
  2. Turn the fraction upside down.
  3. 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 −23 upside down: −32. Change the sign: 32. Check: −23×32=−1.

The lines y=2x+3 and ky=x−4 are perpendicular. Find the value of k.

  1. Write ky=x−4 in the form y=mx+c. Divide every term by k. You can, because k is not 0: if k were 0, the equation would be 0=x−4, the vertical line x=4.
  2. Its gradient is 1k. The other gradient is 2.
  3. Perpendicular lines have gradients that multiply to −1. Solve 2×1k=−1.
  • Check the sign. The gradients must multiply to −1, so 2k=−1.
  • That is the gradient needed. But k is not the gradient. The gradient of ky=x−4 is 1k.

y=1kx−4k, so the gradient is 1k. 2×1k=−1 gives 2=−k, so k=−2. Check: 1k=−12 and 2×(−12)=−1.

Find the equation of the line through (3,1) parallel to y=2x+5. Give it in the form y = mx + c. Type it like y=2x+1.

  1. What gradient does a parallel line have?
  2. Use y−y1 =m(x−x1) with the point (3,1).
  3. y−1=2(x−3). Expand, then add 1.
  • The 1 is the y-coordinate of the point, not c. Use y−1=2(x−3) and expand.
  • That is the original line. Parallel lines have different y-intercepts. Check: 2×3+5=11, not 1.
  • You multiplied only the x by 2. 2(x−3) =2x−6, not 2x−3.

y−1 =2(x−3) =2x−6, so y=2x−5. Check: when x=3, y=6−5=1.

Find the equation of the line through (6,1) perpendicular to y=−3x+2. Give it in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. The gradient of y=−3x+2 is −3. Find the negative reciprocal.
  2. y−1 =13(x−6). Multiply every term by 3.
  3. 3y−3=x−6. Move every term to one side.
  • That line is parallel to the original, with gradient −3. For a perpendicular line, turn the gradient upside down and change the sign.
  • You turned the gradient upside down but kept the minus sign: −13. Change the sign: 13.

The perpendicular gradient is 13. y−1 =13(x−6), so 3y−3=x−6 and x−3y−3=0. Check (6,1): 6−3−3=0.

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.

The midpoint of A (-1, 2) and B (5, 10)A line segment from A (-1, 2) to B (5, 10) with its midpoint M (2, 6) marked. Dashed guides drop from M to x = 2 and across to y = 6. The x-coordinate 2 is halfway between negative 1 and 5, and the y-coordinate 6 is halfway between 2 and 10.xyM is the midpoint of ABM = (2, 6)x = 2y = 6A (−1, 2)B (5, 10)M (2, 6)
Look at the point M. Its x-coordinate, 2, is halfway between −1 and 5. Its y-coordinate, 6, is halfway between 2 and 10.

Key idea: the midpoint of (x1,y1) and (x2,y2) is (x1+x22,y1+y22). 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.

The distance from A (-1, 2) to B (5, 10)A right-angled triangle. The longest side is the line segment AB from A (-1, 2) to B (5, 10). The other two sides are dashed: 6 across and then 8 up, meeting at a right angle marked with a small square. Pythagoras gives the length of AB.xyA (−1, 2) and B (5, 10)distance = 10across 6up 8ABA (−1, 2)B (5, 10)
Look at the triangle. The short sides are 6 across and 8 up. So AB2 =62+82 =100, and AB is 10.

Key idea: the distance d between (x1,y1) and (x2,y2) is (x2−x1)2+(y2−y1)2. 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 A(−1,2) to B(5,10).

  1. Midpoint: (−1+52,2+102) =(2,6).
  2. The change in x is 5−(−1)=6. The change in y is 10−2=8.
  3. Distance: d =62+82 =36+64 =100 =10.

The segment is 10 units long and its middle is the point (2,6).

Worked example: an exact distance

Find the exact distance between A(1,4) and B(5,−2). Give your answer as a surd in its simplest form.

  1. The change in x is 5−1=4. The change in y is −2−4=−6.
  2. d =42+(−6)2 =16+36 =52.
  3. Simplify: 52=4×13, so 52 =213.

The exact distance is 213, 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.

The perpendicular bisector of the line segment from A (1, 4) to B (5, -2)A solid line segment AB from A (1, 4) to B (5, -2). Its midpoint M (3, 1) is marked, and matching tick marks show that AM and MB are equal. A dashed line through M crosses AB at a right angle, marked with a small square. This dashed line is the perpendicular bisector of AB.xysolid: AB dashed: 2x − 3y − 3 = 0M (3, 1)A (1, 4)B (5, −2)Mbisector
Look at the dashed line. It passes through M, the midpoint of AB, and crosses AB at a right angle. The matching tick marks show that AM and MB are equal.

Worked example: a perpendicular bisector

Find the equation of the perpendicular bisector of A(1,4) and B(5,−2). Give it in the form ax+by+c=0, where a, b and c are integers.

  1. The midpoint is (1+52,4+(−2)2) =(3,1).
  2. The gradient of AB is −2−45−1 =−64 =−32.
  3. The perpendicular gradient is the negative reciprocal: 23.
  4. Use the point-gradient form through the midpoint: y−1 =23(x−3).
  5. Multiply every term by 3: 3y−3=2x−6. So 2x−3y−3=0.
  6. Check the midpoint: 6−3−3=0. Check the gradients: −32×23=−1.

Now you finish it

Find the midpoint of (2,−5) and (8,1).

  1. The x-coordinate is 2+82=___.
  2. The y-coordinate is −5+12=___.
  3. The midpoint is (5,−2).
Check my answer

2+82=5 and −5+12=−2. The midpoint is (5,−2). 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 (2,6) and (8,−2). Type it like (3,-1).

  1. Add the two x-coordinates and halve the total.
  2. Do the same with the two y-coordinates.
  3. 2+82 and 6+(−2)2.
  • 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.

(2+82,6−22) =(5,2).

Find the distance between (1,2) and (4,6).

  1. Find the change in x and the change in y.
  2. The changes are 3 and 4. Square each one.
  3. Add the squares, then take the square root.
  • That is 3+4. Square each change, add them, then take the square root.
  • That is the square of the distance. Take the square root.

d =32+42 =25 =5.

Find the exact distance between (0,5) and (6,−1). Give your answer as a surd in its simplest form. Type it like 5sqrt(2).

  1. The change in x is 6. The change in y is −1−5.
  2. d =62+(−6)2 =72.
  3. Find the biggest square number that divides 72.
  • The value is right, but you must simplify it. 72=36×2.

d =36+36 =72 =36×2 =62.

The distance between (2,1) and (8,k) is 10. Given that k>1, find k.

  1. Write the distance formula and put in the numbers: 62+(k−1)2 =10.
  2. Square both sides: 36+(k−1)2 =100.
  3. (k−1)2=64. Take the square root, then use k>1.
  • That is the other solution of (k−1)2=64. The question says k>1, so reject it.
  • That is k−1. Add 1 to get k.

36+(k−1)2 =100, so (k−1)2=64 and k−1=8 or k−1=−8. That gives k=9 or k=−7. Only k=9 has k>1.

Which point is the midpoint of the line segment from (−4,1) to (2,7)?

  • The point (3,3)
  • The point (−2,8)
  • The point (−1,4)
  1. Add the x-coordinates and halve. Then do the same for y.
  2. −4+22 and 1+72.

(−4+22,1+72) =(−1,4).

The points are A(1,3) and B(5,5). Find the gradient of the perpendicular bisector of AB.

  1. The perpendicular bisector is perpendicular to AB. First find the gradient of AB.
  2. 5−35−1 =12.
  3. Find the negative reciprocal.
  • Check the sign. The negative reciprocal of 12 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 12. The negative reciprocal is −2. Check: 12×(−2)=−1.

Find the equation of the perpendicular bisector of A(−1,−2) and B(3,4). Give it in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. Find the midpoint of AB, and the gradient of AB.
  2. The midpoint is (1,1). The gradient of AB is 64=32, so the perpendicular gradient is −23.
  3. y−1 =−23(x−1). 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 (1,1).

The midpoint is (1,1). The gradient of AB is 32, so the bisector has gradient −23. y−1 =−23(x−1) gives 3y−3=−2x+2, so 2x+3y−5=0. Check (1,1): 2+3−5=0.

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.

A plumber charges a call-out fee plus an hourly rateA straight line on a graph of cost C in pounds against time t in hours. It starts at the point (0, 40) on the vertical axis, which is the call-out fee. A dashed guide shows that each extra hour adds 30 pounds, so the gradient is 30 pounds per hour.t (hours)C (pounds)C = 40 + 30tgradient: 30 pounds for each houracross 1 hourup 30 pounds(0, 40): the call-out fee
Look at the start of the line. It begins at (0,40): the plumber charges 40 pounds before any work. Each extra hour adds 30 pounds, so the gradient is 30 pounds per hour.

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.

  1. The model is C=40+30t.
  2. Put in t=2.5: C =40+30×2.5 =40+75 =115.
  3. 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 t≥0.

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?

  1. The gradient is 38−505−2 =−123 =−4. The tank loses 4 litres each minute.
  2. Use the point-gradient form: V−50 =−4(t−2), so V=−4t+58.
  3. At the start, t=0, the tank held 58 litres.
  4. The tank is empty when V=0: 0=−4t+58, so t=14.5.

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 C=12+0.05n pounds for n texts. Find the cost for 140 texts.

  1. The cost of the texts is 0.05×140=___ pounds.
  2. Add the fixed charge: 12+7=___ pounds.
Check my answer

C =12 +0.05×140 =12+7 =19. 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.

  1. Write a model. Use C for the cost and d for the distance.
  2. C=4+1.5d. Put in d=6.
  • 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.

C =4+1.5×6 =4+9 =13. The journey costs 13 pounds.

A gym charges C=25+8n pounds for n classes. What does the number 8 mean?

  • The cost of each class, in pounds
  • The cost when no classes are attended
  • The number of classes attended
  1. The gradient is the rate: how much C changes for each increase of 1 in n.
  2. 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.

  1. The gradient is the change in height divided by the change in time.
  2. 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.

24−302−1 =−6. 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 −6 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.

  1. Use the point-gradient form with the point (1,30).
  2. h−30 =−6(t−1). Expand the bracket.
  3. h−30=−6t+6. Add 30 to both sides.
  • The 30 cm is the height after 1 hour, not the starting height. Use h−30 =−6(t−1) and expand.
  • The 24 cm is the height after 2 hours, not the starting height. Use a point and the gradient, then expand.

h−30 =−6(t−1) =−6t+6, so h=−6t+36. Check: when t=2, h =−12+36 =24.

A candle has height h cm after t hours, and the model is h=−6t+36. How many hours does it take to burn out? It has burnt out when h=0. Type only the number.

  1. Put h=0 into the model.
  2. 0=−6t+36. Solve for t.
  • That is the starting height in cm, not a time. Solve 0=−6t+36 for t.

0=−6t+36 gives 6t=36, so t=6. The candle burns out after 6 hours.

Which assumption does the model C=25+8n make?

  • The fixed charge changes each month
  • Every class costs the same amount
  • Nobody attends more than 8 classes
  1. A straight line has the same gradient everywhere.
  2. 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.

y=2x−3 meets the y-axis at (0,−3). Put y=0 to get x=32.

Backwards

From the graph to the equation. Read two points, find the gradient, then use the point-gradient form.

The points (0,−2) and (4,0) give the gradient 24=12.

Drawing the line y = 2x - 3 from its interceptsA straight line that rises to the right. It crosses the y-axis at (0, -3) and the x-axis at (3/2, 0). Marking these two points and joining them draws the line.xyy = 2x − 3find the intercepts, then join them(0, −3)(3/2, 0)
Look at the two marked points. They are the y-intercept and the x-intercept of y=2x−3. Join them to draw the line.

Worked example: from a graph

A line crosses the y-axis at (0,−2) and the x-axis at (4,0). Find its equation in the form ax+by+c=0, where a, b and c are integers.

A line through (0, -2) and (4, 0)A straight line that rises to the right. It crosses the y-axis at the point (0, -2) and the x-axis at the point (4, 0).xy(0, −2)(4, 0)
Look at the two marked points. Use them to find the gradient. One of them is the y-intercept, so you can write the equation at once.
  1. The gradient is 0−(−2)4−0 =24 =12.
  2. The y-intercept is −2, so y=12x−2.
  3. Multiply every term by 2: 2y=x−4.
  4. Move every term to one side: x−2y−4=0.
  5. Check the other point: (4,0) gives 4−0−4=0.

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: B=2M−A, coordinate by coordinate.

Worked example: from the midpoint to an end point

The midpoint of AB is M(3,2). The point A is (1,−1). Find B.

  1. From A to M, x goes up by 2 and y goes up by 3.
  2. Take the same steps again from M. The x-coordinate is 2×3−1=5. The y-coordinate is 2×2−(−1)=5.
  3. So B is (5,5).
  4. Check: the midpoint of (1,−1) and (5,5) is (1+52,−1+52) =(3,2).

Check your knowledge: flip it

A line crosses the y-axis at (0,4) and the x-axis at (2,0). Write its equation in the form y = mx + c. Type it like y=2x+1.

  1. Find the gradient from the two points.
  2. From (0,4) to (2,0), y changes by −4 and x changes by 2.
  3. 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 −42.

m =0−42−0 =−2 and c=4, so y=−2x+4. Check: at x=2, y=−4+4=0.

Find the equation of the line shown, in the form y = mx + c. Type it like y=2x+1.

A straight line through two marked pointsA straight line that falls steeply to the right. Two points on it are marked: (1, 7) near the top and (3, 1) lower down.xy(1, 7)(3, 1)
  1. Read the two marked points and find the gradient.
  2. From (1,7) to (3,1), y changes by −6 and x changes by 2.
  3. Use y−7 =−3(x−1) and expand.
  • The 7 is the y-coordinate of the point (1,7), not the y-intercept. Expand y−7 =−3(x−1).
  • The line goes down to the right, so its gradient is negative.

m =1−73−1 =−3. Then y−7 =−3(x−1) =−3x+3, so y=−3x+10. Check (3,1): −9+10=1.

The midpoint of AB is M(4,−1). The point A is (1,5). Find the coordinates of B. Type it like (3,-1).

  1. From A to M, how far does x change? How far does y change?
  2. Take the same steps again from M.
  3. Or use B=2M−A, 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.

B=2M−A, so B is (2×4−1,2×(−1)−5) =(7,−7). Check: (1+72,5+(−7)2) =(4,−1).

The line through (1,2) and (3,6) has gradient 2. Which equation describes the same line?

  • The line y−2=2(x−3)
  • The line y−6=2(x−3)
  • The line y−6=3(x−1)
  1. The point-gradient form can use either point.
  2. Check that the point and the gradient both match.

Use the point (3,6) and gradient 2: y−6=2(x−3). It simplifies to y=2x. Using (1,2) gives y−2=2(x−1), which is also y=2x.

A line crosses the x-axis at (3,0) and the y-axis at (0,−2). Write its equation in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. Find the gradient from the two points.
  2. From (0,−2) to (3,0), y changes by 2 and x changes by 3. The y-intercept is −2.
  3. y=23x−2. Multiply every term by 3 and rearrange.
  • You used the change in x over the change in y. The gradient is 23, not 32.

m =0−(−2)3−0 =23, so y=23x−2. Multiply by 3: 3y=2x−6, so 2x−3y−6=0. Check (3,0): 6−0−6=0.

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 (1,5) and (4,−1) is 4−1−1−5 =3−6 =−12. What went wrong?

  • She put the change in x on the top
  • She should have subtracted the points in the other order
  • A gradient cannot be negative, so her answer must be positive
  1. The gradient is the change in y divided by the change in x.
  2. Which change is on the top in Priya’s working?

The gradient is −1−54−1 =−63 =−2. Priya divided the change in x by the change in y.

Sam says: the line 2x+3y=12 has gradient 2. What went wrong?

  • He should have divided 12 by 3 to find the gradient
  • He should have used the number in front of y, which is 3
  • He read off the 2 before putting y on its own
  1. The gradient is the number in front of x when y is on its own.
  2. Rearrange 2x+3y=12 to get y on its own.

3y=−2x+12, so y=−23x+4. The gradient is −23.

Mia says: a line perpendicular to y=3x+1 has gradient −3. What went wrong?

  • Perpendicular lines should have the same gradient, not different ones
  • The gradient should be 13, the reciprocal of 3
  • She did not turn the 3 upside down
  1. Perpendicular gradients multiply to −1.
  2. Multiply Mia’s gradient by 3. Do you get −1?

3×(−3)=−9, not −1. The negative reciprocal of 3 is −13, and 3×(−13)=−1.

Leo says: the midpoint of (2,3) and (6,9) is (6−22,9−32) =(2,3). What went wrong?

  • He should not have halved the totals
  • He subtracted instead of adding
  • He should have added an x-coordinate to a y-coordinate
  1. The midpoint is the average of the two x-coordinates, and the average of the two y-coordinates.
  2. An average adds, then divides.

The midpoint is (2+62,3+92) =(4,6). 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 (−2,3). Give it in the form y = mx + c. Type it like y=2x+1.

  1. The point has x1=−2, so x−x1=x+2.
  2. y−3=4(x+2). Expand the bracket.
  3. y−3=4x+8. Add 3 to both sides.
  • The point is (−2,3), so the bracket is (x+2), not (x−2).
  • You multiplied only the x by 4. 4(x+2) =4x+8, not 4x+2.

y−3 =4(x−(−2)) =4x+8, so y=4x+11. Check: when x=−2, y=−8+11=3.

Find the gradient of the line through (−3,2) and (1,−6).

  1. The change in y is −6−2.
  2. The change in x is 1−(−3).
  3. Divide the change in y by the change in x.
  • Check the change in x. 1−(−3)=4, not −2. Subtracting a negative number adds.
  • The line goes down to the right, so the gradient is negative.

−6−21−(−3) =−84 =−2.

Find the midpoint of (−5,2) and (1,8). Type it like (3,-1).

  1. Add the two x-coordinates and halve.
  2. −5+12. 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.

(−5+12,2+82) =(−2,5).

Find the distance between (−1,−2) and (4,10).

  1. The change in x is 4−(−1). The change in y is 10−(−2).
  2. Square each change, add them, then take the square root.
  • That is 5+12. Square each change, add, then take the square root.
  • That is the square of the distance. Take the square root.

d =52+122 =25+144 =169 =13.

Are the lines 3x+2y−6=0 and 6x+4y+1=0 parallel?

  • Yes, because both have gradient −32
  • No, because the numbers in the two equations are different
  • They are the same line
  1. The gradient of ax+by+c=0 is −ab.
  2. Find the gradient of each line.

The first gradient is −32. The second is −64=−32. The gradients are equal, so the lines are parallel. Their y-intercepts differ, so they are not the same line.

The line through (1,3) and (k,11) has gradient 4. Find k.

  1. Write the gradient: 11−3k−1 =4.
  2. 8k−1=4. Multiply both sides by k−1.
  3. 8=4(k−1). Solve for k.
  • That is k−1=8. Divide 8 by 4 first: k−1=2.

8=4(k−1) gives k−1=2, so k=3. Check: 11−33−1 =82 =4.

Find the equation of the line through (3,−2) perpendicular to 2x+y−1=0. Give it in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. The gradient of 2x+y−1=0 is −ab=−2.
  2. The perpendicular gradient is 12. Use y+2 =12(x−3).
  3. Multiply every term by 2: 2y+4=x−3.
  • You changed the sign of −2 but did not turn it upside down. That gives gradient 2, not 12.
  • You turned the gradient upside down but kept the minus sign. That gives −12. Change the sign.

The gradient of the given line is −2, so the perpendicular gradient is 12. y+2 =12(x−3) gives 2y+4=x−3, so x−2y−7=0. Check (3,−2): 3+4−7=0.

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.

  1. Write a model for the volume V litres after t days.
  2. V=120−3t. The butt is empty when V=0.
  • You multiplied 120 by 3. Solve 0=120−3t instead.
  • That is the volume after 1 day. Find the time when the volume is 0.

0=120−3t gives 3t=120, so t=40. 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 A(1,7) and B(5,−1). Find an equation for l in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. Find the gradient of AB first.
  2. The gradient is −1−75−1 =−2. Use y−7 =−2(x−1).
  3. Expand, then move every term to one side.
  • Check with A: 2+7+9=18, not 0. From y−7=−2x+2, the numbers give 2x+y−9=0.
  • You divided the change in x by the change in y. Check with B: 5−2−15=−12, not 0. The gradient of AB is −2.

m =−1−75−1 =−2. Then y−7 =−2(x−1) =−2x+2, so y=−2x+9 and 2x+y−9=0. Check B: 10−1−9=0.

  • M1 for the gradient −2
  • M1 for y−7 =−2(x−1) (or y+1 =−2(x−5))
  • A1 for 2x+y−9=0

(a) [2 marks] The line l has equation 3x+4y=7. Find the gradient of l. Give it as a fraction or a decimal.

  1. Rearrange so that y is on its own.
  2. 4y=−3x+7. Divide every term by 4.
  • Check the sign. 4y=−3x+7, so the number in front of x is negative.
  • You divided the wrong way round. The gradient is −34.
  • That is the number in front of x before you divided by 4. Divide every term by 4 first.

4y=−3x+7, so y =−34x+74. The gradient is −34.

  • M1 for rearranging to y=mx+c form, or for using −ab
  • A1 for −34

(b) [3 marks] The line l has equation 3x+4y=7. The line n is perpendicular to l and passes through (6,−1). Find an equation for n in the form ax+by+c=0. Use integers a, b and c with no common factor. Make a positive. Type it like 3x+2y-7=0.

  1. The gradient of l is −34. What is the negative reciprocal?
  2. y+1 =43(x−6). Multiply every term by 3.
  3. 3y+3=4x−24. Move every term to one side.
  • That line is parallel to l, with gradient −34. 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 43.

The gradient of n is 43. y−(−1) =43(x−6), so 3y+3=4x−24 and 4x−3y−27=0. Check (6,−1): 24+3−27=0.

  • B1 for the perpendicular gradient 43
  • M1 for y+1 =43(x−6)
  • A1 for 4x−3y−27=0

[4 marks] Triangle ABC has A(0,1), B(4,3) and C(2,7). The angle at B is a right angle. Find the area of triangle ABC, in square units. Type only the number.

Triangle ABC with A (0, 1), B (4, 3) and C (2, 7)A shaded triangle with its corners labelled A (0, 1) at the lower left, B (4, 3) at the lower right and C (2, 7) at the top.xyA (0, 1)B (4, 3)C (2, 7)
  1. The angle at B is a right angle, so AB and BC are the base and the height.
  2. Find the lengths AB and BC with the distance formula.
  3. 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.

AB =42+22 =20 and BC =(−2)2+42 =20. The area is 12×20×20 =12×20 =10. Check the right angle: the gradient of AB is 12, the gradient of BC is −2, and 12×(−2)=−1.

  • M1 for a method to find the length of AB or BC
  • A1 for both lengths 20 or 25
  • M1 for 12×AB×BC
  • A1 for 10

[3 marks] ABCD is a parallelogram, with the corners in this order. The points are A(1,1), B(5,2) and C(7,6). Find the coordinates of D. Type it like (3,-1).

Three corners of a parallelogramThree points joined by two line segments: A (1, 1) at the lower left, B (5, 2) to its right, and C (7, 6) above and to the right of B. The fourth corner, D, is not marked.xyA (1, 1)B (5, 2)C (7, 6)
  1. The diagonals of a parallelogram cross at their midpoints. Which two points make a diagonal with A and C?
  2. Find the midpoint of AC. It is also the midpoint of BD.
  3. Use D=2M−B, coordinate by coordinate.
  • That point is B+C−A, which is opposite A. D is opposite B.
  • That point is A+B−C, 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 (1+72,1+62) =(4,3.5). This is also the midpoint of BD, so D =(2×4−5,2×3.5−2) =(3,5). Check: the step from A to B is (4,1), and the step from D to C is (7−3,6−5) =(4,1).

  • M1 for the midpoint of AC, (4,3.5)
  • M1 for using it as the midpoint of BD
  • A1 for (3,5)

(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.

  1. The daily rate is the gradient of the model.
  2. 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.

230−1505−3 =802 =40. The daily rate is 40 pounds per day.

  • M1 for 230−1505−3
  • 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.

  1. Write the model C=40d+c. Use one of the readings.
  2. For 3 days, 150=40×3+c.
  • That takes off only one day, 40 pounds. The 150 pounds covers 3 days at 40 pounds each.

150=40×3+c gives c =150−120 =30. Check with 5 days: 40×5+30 =230. The fixed charge is 30 pounds.

  • M1 for 150−3×40 (or C−150 =40(d−3) with d=0)
  • 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 y2−y1x2−x1.
  • The point-gradient form. Take any point (x,y) on the line. The gradient from (x1,y1) to it is m, so y−y1x−x1 =m. Multiply both sides by x−x1.
  • Perpendicular gradients. A line with gradient m goes across 1 and up m. Turn that step through a quarter turn. It becomes across −m and up 1. Its gradient is 1−m=−1m.
  • 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 y=mx+c. Rearrange first.
  • Mixing the order of the points. Use the same order on the top and the bottom.
  • Forgetting the double minus. 3−(−1)=4, not 2.
  • Writing (x+1) where the point has x1=1. Subtract the point: (x−1).
  • In ax+by+c=0, reading c as the y-intercept. It is −cb.
  • 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 d2 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.

I can…

Come back in a week and tick again, without looking.

Back to the pyramid Glossary