18.4 Straight-line graph problems
GCSE Maths Foundation · OCR J560 · Chapter 18: Straight-line graphs
What is in the full lesson (13 activities)
Every item below opens free in the course.
- Video: How to find the equation of a line by using a pair of points
- Video: Finding equation of a line by using formula y-y1 = m(x-x1)
- Video: Straight Line of the Form ax + by=c-Exercise
- Video: Gradient of a straight line
- Video: Interior angles of a quadrilateral
- Video: Interior and Exterior angles of a quadrilateral (exercise)
- Video: Simultaneous equations (Example)
- Notes: Lesson notes: Straight-line graph problems
- Interactive lesson: Interactive lesson: Straight-line graph problems
- Practice questions: Practice questions (8 questions, 12 marks)
- Interactive lesson: Practice game: Straight-line graph problems
- Worksheet: Worksheet: Straight-line graph problems
- Answers: Answers and mark scheme of the Worksheet: Straight-line graph problems
A free OCR GCSE Maths Foundation lesson (J560) from OBA School: equations from graphs, where lines meet, shapes on coordinate grids and real-life linear graphs (OCR J560: 7.02a, 7.02b). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with interactive activities, practice quizzes and printable worksheets, in our free online course.
What you will learn
- Find the equation of a straight line from its graph or from two points
- Find where two lines meet, from a graph and by working it out
- Solve geometry problems on a coordinate grid, such as midpoints, missing corners and areas
- Explain what the gradient and intercept mean in a real-life formula
Key words
- Point of intersection: The point where two lines cross. Its coordinates fit both equations.
- Midpoint: The point exactly halfway between two points. Add the x-coordinates and halve; add the y-coordinates and halve.
- Vertex: A corner of a shape (plural: vertices).
- Fixed charge: An amount paid whatever happens. On a graph it is the y-intercept.
The equation of a line from its graph
Read the y-intercept c where the line crosses the y-axis. Then find the gradient m from a triangle: up ÷ across. Write y = mx + c.
Worked example: the line in the diagram
The line crosses the y-axis at (0, −2), so c = −2.
From (1, 1) to (3, 7): up 6, across 2. Gradient = 6 ÷ 2 = 3.
Answer: y = 3x − 2
If you are given two points instead, work out the gradient from the coordinates, then substitute one point to find c (see section 28.2).
Where two lines meet
Draw both lines on the same grid. The point where they cross is the only point on both lines. You can also work it out: set the two expressions for y equal to each other.
Worked example: y = 2x + 1 and y = 7 − x
Set them equal: 2x + 1 = 7 − x.
Add x to both sides: 3x + 1 = 7. Subtract 1: 3x = 6, so x = 2.
Substitute: y = 2 × 2 + 1 = 5. Check in the other line: 7 − 2 = 5 ✓
Answer: (2, 5)
Key fact: The point where two lines cross gives the solution of the two equations together. Reading it from a graph gives an approximate answer, so check it in both equations.
Shapes on a coordinate grid
Worked example: midpoint
Find the midpoint of P(2, 3) and Q(8, 11).
x: (2 + 8) ÷ 2 = 5. y: (3 + 11) ÷ 2 = 7.
Answer: (5, 7)
Worked example: area enclosed by lines
Find the area of the triangle made by the lines y = 2x, x = 3 and the x-axis.
The corners are (0, 0), (3, 0) and (3, 6), since y = 2 × 3 = 6 when x = 3.
Base 3, height 6. Area = ½ × 3 × 6 = 9.
Answer: 9 square units
Worked example: missing vertex
A rectangle has vertices (1, 2), (6, 2) and (6, 5). Find the fourth vertex.
The sides are horizontal and vertical. It must have the x-coordinate of (1, 2) and the y-coordinate of (6, 5).
Answer: (1, 5)
Real-life straight-line graphs
In a formula like C = 2.5d + 3, the gradient is the rate (£2.50 for each mile) and the y-intercept is the starting amount (a fixed charge of £3).
Worked example: using the formula
(a) A 6-mile journey: C = 2.5 × 6 + 3 = 15 + 3 = £18.
(b) A fare of £23: 2.5d + 3 = 23, so 2.5d = 20 and d = 8 miles.
Answer: (a) £18 (b) 8 miles
Common mistakes
- Reading the x-intercept instead of the y-intercept for c.
- Giving only the x-coordinate of a point of intersection. A point needs both coordinates.
- Subtracting instead of adding when finding a midpoint.
- Using a sloping side as the height of a triangle. The height must be at right angles to the base.
- Mixing up the meaning of the gradient (the rate) and the intercept (the starting value) in real-life graphs.
Revision questions
Try these, then check your answers below each one.
Question 1. What is the midpoint of (2, 5) and (8, 1)? (Choose from: (5, 3), (3, 2), (6, 4), (10, 6).)
Answer: (5, 3)
Working: (2 + 8) ÷ 2 = 5, (5 + 1) ÷ 2 = 3.
Question 2. A straight line passes through (0, 2) and (3, 14). Work out the value of y on this line when x = 5.
Answer: 22
Working: Gradient = 12 ÷ 3 = 4, c = 2: y = 4x + 2. 4 × 5 + 2 = 22.
Question 3. A taxi fare is C = 2d + 4, where C is in pounds and d is the distance in miles. A fare is £20. How many miles was the journey?
Answer: 8 miles
Working: 2d = 16, so d = 8 miles.
Exam board focus: OCR GCSE Maths (J560)
Specification: in the OCR J560 specification this lesson covers 7.02a (straight line graphs) and 7.02b (parallel and perpendicular lines). In the national GCSE subject content these are A9, A10, A22 and A16 (algebra).
Your exams: OCR Foundation tier students sit three papers: J560/01 (calculator allowed), J560/02 (non-calculator) and J560/03 (calculator allowed). Each paper lasts 1 hour 30 minutes and is worth 100 marks. Questions on this topic can appear on any of the three papers, so practise it both with and without a calculator.
Higher tier: the OCR Higher course covers this topic too, in 18.2 Gradient, intercept and y = mx + c and 18.4 Straight-line graph problems.
Studying with a different exam board? AQA: 28.4 Working with Straight-line Graphs; Edexcel: our free Edexcel GCSE Maths Foundation course.
Related lessons
- Previous lesson: 18.3 Parallel lines
- Next lesson: 19.1 Working with linear graphs
Continue in the full course
This lesson is section 18.4 (OGCMF1804) of our free OCR GCSE Maths Foundation course (OCR J560: 7.02a, 7.02b). In the full course you get every video for this section, an animated interactive lesson, a practice interactivity, a self-marking practice quiz, a printable worksheet with a mark scheme, and your progress saved. Go to the full OCR GCSE Maths Foundation course.
This lesson is part of the free GCSE Maths Foundation course. You can also browse all our free GCSE courses.