Equations of Straight Lines: Gradient, y − y₁ = m(x − x₁) and ax + by + c = 0 | OCR B (MEI) A Level Maths notes

Free preview: Equations of Straight Lines: Gradient, y − y₁ = m(x − x₁) and ax + by + c = 0

Gradient: Measuring How Steep a Line Is

Year 1 (AS)

Let's start with a question. If I tell you a straight line passes through (1, 2), can you draw it?

  • Not yet. Infinitely many lines pass through (1, 2). They spin round that point like the hands of a clock.
  • But if I also tell you how steep it is, there is only one line. So a straight line is fixed by just two facts: how steep it is, and one point on it.
  • The equation of a line is a rule that every point (x, y) on the line obeys, and no other point does.
  • This note shows how to turn "steepness + a point" into that rule, and how to move between the different ways of writing it.

What gradient means

  • The gradient tells you how much y goes up for every 1 unit you move to the right.
  • Take two points on the line, (x1,y1) and (x2,y2). The little numbers 1 and 2 are just labels: "first point" and "second point".
  • The change in y is the rise. The change in x is the run.
  • Gradient = rise ÷ run, exactly as at GCSE.

m=y2−y1x2−x1

💡 In plain words

  • Subtract the y values, subtract the x values, divide.
  • Either point can go first, but take the x values in the same order as the y values.
  • The letter m is the usual name for a gradient.

👀 Watch me do it: the gradient of the line through P(−2, 7) and Q(4, −5)

What I writeWhy I do it
Let (x1,y1)=(−2,7) and (x2,y2)=(4,−5).Label the points first, so I can't mix them up.
m=−5−74−(−2)Second minus first on top, and second minus first on the bottom. Same order.
=−126Careful with the double negative: 4−(−2)=4+2=6.
=−2Simplify.
Check: from P to Q, x goes right 6 and y goes down 12. Down 2 for every 1 across.A negative answer should mean the line goes downhill, and it does.

Diagram: Left: the y values are taken B minus A but the x values A minus B. That gives - 32, and the line misses B.

What the picture shows

  1. Left: the y values are taken B minus A but the x values A minus B. That gives −32, and the line misses B.
  2. Right: both differences go the same way, 8 − 2 over 5 − 1, giving 32.
  3. Mixing the order only ever flips the sign, so a quick sketch tells you if the sign is wrong.

What the sign tells you

GradientWhat the line doesEquation looks like
PositiveGoes up from left to righty=2x+1, for example
NegativeGoes down from left to righty=−3x+4, for example
ZeroHorizontal (flat): y never changesy=k for some number k
No gradientVertical: x never changesx=k for some number k
  • Why does a vertical line have no gradient? The run is 0, and you cannot divide by 0.
  • Notice the swap that catches people: the vertical line has equation x = k, and the horizontal line has equation y = k.

Diagram: x = 3 is every point whose x coordinate is 3, such as (3, −2), (3, 1) and (3, 4).

What the picture shows

  1. x = 3 is every point whose x coordinate is 3, such as (3, −2), (3, 1) and (3, 4).
  2. Those points stack straight up, so the line is vertical, not horizontal.
  3. A horizontal line keeps y fixed instead, so it is y = 3.

📝 Same order, top and bottom

  • Right: 8−25−1=32 (B minus A on top and bottom).
  • Wrong: 8−21−5=−32 (B minus A on top, A minus B on the bottom).
  • Brackets help with negatives: write 5−(−3), not 5−−3.

✏️ YOUR TURN 1

Try this first:

Find the gradient of the line through each pair of points.

  1. (2, 3) and (6, 11)
  2. (−1, 4) and (3, −8)
  3. (5, −2) and (−3, −2)
  4. (4, 1) and (4, 9)

Answer:

  1. 11−36−2=84=2.
  2. −8−43−(−1)=−124=−3.
  3. −2−(−2)−3−5=0−8=0. The y values are equal, so the line is horizontal: y = −2.
  4. The run is 4−4=0, so there is no gradient. The x values are equal, so the line is vertical: x = 4.

✏️ YOUR TURN 2

Try this first:

The line through A(3, k) and B(7, 1) has gradient −12. Find k.

Answer:

  • Gradient: 1−k7−3=1−k4.
  • Set it equal to −12: 1−k4=−12.
  • Multiply both sides by 4: 1−k=−2, so k=3.
  • Check: from (3, 3) to (7, 1) the rise is −2 and the run is 4, giving −12.

The Form y = mx + c

Now we know how steep a line is. Next we need its equation. Let's look at one line closely and see the rule hiding in it.

Line through A(1, 2) and B(5, 8) with a gradient triangle: run 4, rise 6, gradient 3/2, meeting the y-axis at (0, 0.5)

Following the graph

  1. The line passes through A(1, 2) and B(5, 8).
  2. From A to B, x goes from 1 to 5, so the run is 5−1=4.
  3. In the same move, y goes from 2 to 8, so the rise is 8−2=6.
  4. Gradient = 64=32. So every step of 1 to the right takes the line up by 1.5.
  5. The line crosses the y-axis at (0, 0.5). This point is the y-intercept.

Building the rule

  • Start at the y-intercept, where x = 0 and y = 0.5.
  • Move x steps to the right. Each step adds 32 to y, so y goes up by 32x.
  • So at any point on the line, y=0.5+32x. Written the usual way round: y=32x+12.

y=mx+c

💡 In plain words

  • m is the gradient: the number in front of x.
  • c is where the line crosses the y-axis, the point (0, c).
  • The rule says: start at height c, then go up m for every 1 step to the right.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Coordinate Geometry

  1. Equations of Straight Lines: Gradient, y − y₁ = m(x − x₁) and ax + by + c = 0
  2. Parallel and Perpendicular Lines, Distances, Midpoints and Intersections
  3. Straight-Line Models: Using y = mx + c in Real Contexts
  4. The Equation of a Circle: Centre, Radius and Completing the Square
  5. Circle Properties in Coordinate Geometry: Tangents, Chords and Semicircles
  6. Where a Line Meets a Circle or Curve: Intersections and the Discriminant
  7. Parametric Equations: Converting to Cartesian Form and Sketching Curves
  8. Modelling Motion and Shapes with Parametric Equations
  9. Move Up a Grade: A Level Maths Coordinate Geometry
  10. Tricky Bits: A Level Maths Coordinate Geometry

What's inside for this topic

10 teacher notes, 202 practice questions, 65 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Parallel and Perpendicular Lines, Distances, Midpoints and Intersections

Equations of Straight Lines: Gradient, y − y₁ = m(x − x₁) and ax + by + c = 0 on other exam boards

All OCR B (MEI) A Level Maths topics · A Level Maths