top of page

6.2 Equation of a Straight Line

OCR A-level Maths Year 1 (AS) · H240 · Chapter 6: Coordinate Geometry

What is in the full lesson (15 activities)

Every item below opens free in the course.

A free OCR A-level Maths Year 1 lesson for OCR A Level Mathematics A (H240) from OBA School: gradients, the equation of a line in different forms, intersections and straight-line models (OCR H240: 1.03a, 1.03c). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Find the gradient of the line through two points
  • Find the equation of a line in the forms y = mx + c, y − y₁ = m(x − x₁) and ax + by + c = 0
  • Find where a line meets the axes and where two lines intersect
  • Build a straight-line model from information in context and interpret its gradient and intercept

Key words

  • Gradient: The steepness of a line: the change in y for each increase of 1 in x.
  • Intercept: Where a line crosses an axis. The y-intercept is the value of y when x = 0.
  • Integer form: ax + by + c = 0 where a, b and c are integers.
  • Intersection: The point where two lines meet: its coordinates satisfy both equations.
  • Linear model: A straight-line equation used to describe a real situation, such as a cost that rises at a fixed rate.

Gradient and y = mx + c

Key facts: Gradient through (x₁, y₁) and (x₂, y₂): m = (y₂ − y₁)/(x₂ − x₁) Line with gradient m and y-intercept c: y = mx + c

Worked example: gradient, then the equation

Find the equation of the line through (−1, 4) and (3, −8).
m = (−8 − 4)/(3 − (−1)) = (−12)/4 = −3, so y = −3x + c.
Substitute (−1, 4): 4 = 3 + c, so c = 1.

Answer: y = −3x + 1

A positive gradient slopes up from left to right; a negative gradient slopes down. A horizontal line y = k has gradient 0. A vertical line x = k has no gradient (it is undefined).

Point and gradient, and the form ax + by + c = 0

Key fact: The line through (x₁, y₁) with gradient m is y − y₁ = m(x − x₁)

This form is quickest when you know one point and the gradient. Exam questions often then ask for the form ax + by + c = 0 with integer coefficients: clear the fractions and collect every term on one side.

Worked example: integer form

Find the equation of the line through (2, −5) with gradient 2/3, in the form ax + by + c = 0.
y + 5 = (2/3)(x − 2). Multiply by 3: 3y + 15 = 2x − 4.
Collect terms: 0 = 2x − 3y − 19.

Answer: 2x − 3y − 19 = 0

Worked example: intercepts and area

The line 3x + 4y − 24 = 0 meets the axes at A and B. Find the area of triangle AOB.
y = 0: 3x = 24, x = 8. x = 0: 4y = 24, y = 6.
Area = 1/2 × 8 × 6

Answer: A(8, 0), B(0, 6), area 24 square units

Where two lines meet

The point of intersection satisfies both equations, so solve them simultaneously. Substitution works well when one equation is already in the form y = ...

Worked example: intersection

Find where y = 2x − 3 meets 3x + 2y = 22.
Substitute: 3x + 2(2x − 3) = 22, so 7x − 6 = 22, x = 4.
Then y = 2 × 4 − 3 = 5. Check: 3 × 4 + 2 × 5 = 22.

Answer: (4, 5)

Two different lines with the same gradient are parallel and never meet: the simultaneous equations have no solution.

Straight-line models

A quantity that changes at a constant rate can be modelled by a straight line. The gradient is the rate of change (with units) and the intercept is the starting value.

Worked example: building and using a model

A plumber charges a fixed call-out fee plus an hourly rate. A 2-hour job costs £110 and a 5-hour job costs £200.
(a) Find a model C = mt + c for the cost £C of a job lasting t hours. (b) Interpret m and c.
(a) m = (200 − 110)/(5 − 2) = 30. Then 110 = 30 × 2 + c, so c = 50.
(b) The hourly rate is £30 per hour; the call-out fee is £50.

Answer: C = 30t + 50

Limitations. A model only fits inside the range of the data it came from. The plumber may charge for whole hours, or more at weekends. A model such as h = 24 − 1.5t for the height of a burning candle stops making sense when h reaches 0, at t = 16.

Common mistakes

  • Writing the gradient upside down. The difference in y goes on top: m = (y₂ − y₁)/(x₂ − x₁).
  • Mixing the order of the points: if you use y₂ − y₁ on top, use x₂ − x₁ below.
  • Leaving fractions in "integer form" or forgetting "= 0". (2/3)x − y − 19/3 = 0 is not in the form asked for.
  • Sign slips with y − y₁ = m(x − x₁) when a coordinate is negative: y − (−5) is y + 5.
  • Using a linear model far outside the data, or reading the gradient without units.

Revision questions

Try these, then check your answers below each one.

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

Answer: -2

Working: (−3 − 5)/(6 − 2) = (−8)/4 = −2.

Question 2. Which is the equation of the line through (3, −1) with gradient 4? (Choose from: y = 4x − 13; y = 4x + 11; y = 4x − 1; y = 4x − 7.)

Answer: y = 4x − 13

Working: y + 1 = 4(x − 3), so y = 4x − 12 − 1 = 4x − 13.

Question 3. Do the points (1, 2), (3, 8) and (5, 14) lie on one straight line?

Answer: Yes

Working: Both segments have gradient 6/2 = 3 and share the point (3, 8), so the points are collinear.

Related lessons

Continue in the full course

This lesson is section 6.2 of our free OCR A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 6.2 in the free course →

 

 

 

 

 

 

 

bottom of page