Skip to content
A9

Plot graphs of straight-line equations; use y = mx + c to identify parallel and perpendicular lines; find the equation of a line through two given points, or one point with a given gradient

Straight-line graphs

Worked answers, methods and verified real exam appearances for A9 on Edexcel GCSE Maths 1MA1.

Explanation

  • A non-vertical straight line has equation y=mx+cy=mx+c, where mm is the gradient and (0,c)(0,c) is the yy-intercept. Plot a line by calculating at least two accurate coordinate pairs and joining them carefully with a ruler.
  • From two points, find m=y2−y1x2−x1m=\dfrac{y_2-y_1}{x_2-x_1}, then substitute either point to find cc.
  • Parallel lines have equal gradients.
  • Higher tier: perpendicular non-vertical lines have gradients whose product is −1-1.
  • Examiners expect the gradient calculation, substitution for the intercept and a final equation in a requested form.
A straight line y=mx+cy=mx+c crosses the vertical axis at (0,c)(0,c) and has constant gradient.

Worked example

Find the equation of the line through (−2,5)(-2,5) and (4,−1)(4,-1).

  1. 1.m=−1−54−(−2)=−66=−1m=\dfrac{-1-5}{4-(-2)}=\dfrac{-6}{6}=-1.
  2. 2.Use y=−x+cy=-x+c and substitute (−2,5)(-2,5): 5=2+c5=2+c.
  3. 3.c=3c=3, so the equation is y=−x+3y=-x+3.

Answer: y=−x+3y=-x+3.

Common mistakes

  • Don't subtract coordinates in different orders in the gradient numerator and denominator.
  • Don't use the xx-intercept as cc in y=mx+cy=mx+c.
  • Don't change only the sign of a gradient to make a perpendicular line (Higher tier).

Exam tip

For a line through two points, show the gradient first and then substitute one point to find cc.

Worked practice

Q1
Tier 1 · Easy

1

Write the equation of the line with gradient 44 and yy-intercept −7-7.

(1)

(Total for Question 1 is 1 mark)

Mark scheme

Mark scheme for question 1
QuestionAnswerMarkMark scheme
1
  • y=4x−7y=4x-7
1In y=mx+cy=mx+c, use m=4m=4 and c=−7c=-7. This gives y=4x−7y=4x-7.
Q2
Tier 2 · Standard

2

Line AA has equation 4y=6x+74y=6x+7. Line BB passes through the points (−2,4)(-2,4) and (2,10)(2,10). Show that the two lines are parallel.

(3)

(Total for Question 2 is 3 marks)

Mark scheme

Mark scheme for question 2
QuestionAnswerMarkMark scheme
2
  • Each line has gradient 32\dfrac{3}{2}, and their yy-intercepts differ (74\tfrac74 and 77), so the lines are parallel and distinct.
3Rearranging line AA gives y=32x+74y=\frac32x+\frac74, so its gradient is 32\frac32 and its yy-intercept is 74\frac74. The gradient of line BB is (10−4)/(2−(−2))=6/4=32(10-4)/(2-(-2))=6/4=\frac32, and substituting (2,10)(2,10) gives y=32x+7y=\frac32x+7. The gradients are equal, so the lines never converge; the yy-intercepts differ, so the lines are not the same line. Hence they are parallel.
Q3
Tier 3 · Hard

3

Find an equation of the line through (−6,5)(-6,5) that is perpendicular to 7x+4y=137x+4y=13. Give your answer in the form y=mx+cy=mx+c.

(4)

(Total for Question 3 is 4 marks)

Mark scheme

Mark scheme for question 3
QuestionAnswerMarkMark scheme
3
  • y=47x+597y=\frac47x+\frac{59}{7}
4Rearrange the given line: 4y=13−7x4y=13-7x, so y=−74x+134y=-\frac74x+\frac{13}{4} and its gradient is −74-\frac74. A perpendicular line has gradient 47\frac47. Write y=47x+cy=\frac47x+c and substitute (−6,5)(-6,5): 5=−247+c5=-\frac{24}{7}+c, so c=597c=\frac{59}{7}. Hence y=47x+597y=\frac47x+\frac{59}{7}.
Q4
Tier 1 · Easy

4

The point PP lies on the line y=3x−5y=3x-5 and has xx-coordinate −2-2. Find the coordinates of PP.

(2)

(Total for Question 4 is 2 marks)

Mark scheme

Mark scheme for question 4
QuestionAnswerMarkMark scheme
4
  • P=(−2,−11)P=(-2,-11)
2Substitute x=−2x=-2 into the line equation: y=3(−2)−5=−6−5=−11y=3(-2)-5=-6-5=-11. Therefore P=(−2,−11)P=(-2,-11).
Q5
Tier 2 · Standard

5

Find an equation of the line with gradient −2-2 that passes through (4,1)(4,1). Give your answer in the form y=mx+cy=mx+c.

(3)

(Total for Question 5 is 3 marks)

Mark scheme

Mark scheme for question 5
QuestionAnswerMarkMark scheme
5
  • y=−2x+9y=-2x+9
3Write y=−2x+cy=-2x+c and substitute (4,1)(4,1): 1=−2(4)+c=−8+c1=-2(4)+c=-8+c. Hence c=9c=9, so the equation is y=−2x+9y=-2x+9.
Q6
Tier 3 · Hard

6

The line through (−4,7)(-4,7) and (2,−5)(2,-5) also passes through (5,k)(5,k). Work out the value of kk.

(3)

(Total for Question 6 is 3 marks)

Mark scheme

Mark scheme for question 6
QuestionAnswerMarkMark scheme
6
  • k=−11k=-11
3The gradient between the first two points is −5−72−(−4)=−126=−2\dfrac{-5-7}{2-(-4)}=\dfrac{-12}{6}=-2. From x=2x=2 to x=5x=5 is an increase of 33, so yy changes by −2×3=−6-2\times3=-6. Hence k=−5−6=−11k=-5-6=-11.
Q7
Tier 2 · Standard

7

Line LL is parallel to the line 3y=6x−123y=6x-12 and passes through (−1,5)(-1,5). Find an equation of LL in the form y=mx+cy=mx+c.

(3)

(Total for Question 7 is 3 marks)

Mark scheme

Mark scheme for question 7
QuestionAnswerMarkMark scheme
7
  • y=2x+7y=2x+7
3Rearrange the given line to y=2x−4y=2x-4, so a parallel line has gradient 22. Write LL as y=2x+cy=2x+c and substitute (−1,5)(-1,5): 5=−2+c5=-2+c, so c=7c=7. Therefore LL is y=2x+7y=2x+7.
Q8
Tier 3 · Hard

8

The line px+2y=8px+2y=8 passes through (4,−2)(4,-2). Work out the value of pp. Hence find the gradient, the xx-intercept and the yy-intercept of the line.

(4)

(Total for Question 8 is 4 marks)

Mark scheme

Mark scheme for question 8
QuestionAnswerMarkMark scheme
8
  • p=3p=3
  • Gradient −32-\dfrac32
  • xx-intercept 83\dfrac83
  • yy-intercept 44
4Substitute (4,−2)(4,-2): 4p+2(−2)=84p+2(-2)=8, so 4p=124p=12 and p=3p=3. The line is 3x+2y=83x+2y=8, or y=−32x+4y=-\dfrac32x+4, giving gradient −32-\dfrac32 and yy-intercept 44. Setting y=0y=0 gives 3x=83x=8, so the xx-intercept is 83\dfrac83.
Q9
Tier 3 · Hard

9

The points are A(−3,7)A(-3,7), B(1,−1)B(1,-1) and C(4,−7)C(4,-7). Show that the three points are collinear. Find an equation of the line through them.

(4)

(Total for Question 9 is 4 marks)

Mark scheme

Mark scheme for question 9
QuestionAnswerMarkMark scheme
9
  • The gradients ABAB and BCBC are both −2-2
  • y=−2x+1y=-2x+1
4The gradient of ABAB is −1−71−(−3)=−2\dfrac{-1-7}{1-(-3)}=-2. The gradient of BCBC is −7−(−1)4−1=−2\dfrac{-7-(-1)}{4-1}=-2. Equal gradients through the common point BB show the three points are collinear. Write y=−2x+cy=-2x+c and substitute B(1,−1)B(1,-1): −1=−2+c-1=-2+c, so c=1c=1 and the equation is y=−2x+1y=-2x+1.
Q10
Tier 3 · Hard

10

Higher only: The endpoints of a line segment are A(−2,1)A(-2,1) and B(4,5)B(4,5). Find the equation of the perpendicular bisector of ABAB in the form y=mx+cy=mx+c.

(5)

(Total for Question 10 is 5 marks)

Mark scheme

Mark scheme for question 10
QuestionAnswerMarkMark scheme
10
  • y=−32x+92y=-\dfrac32x+\dfrac92
5The midpoint is (−2+42,1+52)=(1,3)\left(\dfrac{-2+4}{2},\dfrac{1+5}{2}\right)=(1,3). The gradient of ABAB is 5−14−(−2)=23\dfrac{5-1}{4-(-2)}=\dfrac23, so the perpendicular gradient is −32-\dfrac32. Using the unique midpoint gives y−3=−32(x−1)y-3=-\dfrac32(x-1), hence y=−32x+92y=-\dfrac32x+\dfrac92. A line segment has one midpoint and one perpendicular direction, so the configuration is unique.

Verified exam appearances

SeriesPaperQuestionMarksCalculatorTierLinks
2022-112HQ92AllowedHigherQPMS
2019-062HQ163AllowedHigherQPMS
2022-061HQ204Non-calculatorHigherQPMS
2023-111HQ123Non-calculatorHigherQPMS
2021-112HQ115AllowedHigherQPMS
2023-113FQ283AllowedFoundationQPMS
2024-061HQ235Non-calculatorHigherQPMS
2022-113FQ93AllowedFoundationQPMS
2019-062HQ23AllowedHigherQPMS
2021-111FQ183Non-calculatorFoundationQPMS
2024-112HQ215AllowedHigherQPMS
2024-113FQ273AllowedFoundationQPMS
2019-112HQ255AllowedHigherQPMS
2022-062FQ173AllowedFoundationQPMS
2023-113HQ93AllowedHigherQPMS
2023-061FQ94Non-calculatorFoundationQPMS
2023-061HQ153Non-calculatorHigherQPMS
2019-113FQ174AllowedFoundationQPMS
2024-063FQ193AllowedFoundationQPMS
2024-061FQ254Non-calculatorFoundationQPMS
2023-063HQ234AllowedHigherQPMS
2023-111FQ143Non-calculatorFoundationQPMS
2024-111HQ204Non-calculatorHigherQPMS
2022-062HQ122AllowedHigherQPMS
2024-113HQ165AllowedHigherQPMS
2024-061HQ64Non-calculatorHigherQPMS
2019-062FQ213AllowedFoundationQPMS

Other points in A Algebra · equations and reasoning

Want help turning this into marks?

Bring A9 or any tricky specification point, and we can work through the method and exam wording together.