Finding the Equation of a Straight Line

Key concept

The equation of a straight line is y = mx + c. The gradient m shows how steep the line is, found from two points using m = (y₂ − y₁) ÷ (x₂ − x₁). The y-intercept c is where the line crosses the y-axis, when x = 0.

Finding the Equation of a Straight Line - introduction visual

Video Lesson

Watch and learn the basics

Finding the Equation of a Straight Line poster

🎬 Did this video explain it clearly?

Flashcards

Review key concepts visually

Linear equation y = mx + c with m labelled as slope and c as y-intercept, shown on a graph crossing the y-axis.Finding linear equation y = mx + c using two points, and steps to calculate gradient (m) and y-intercept (c) with points (2,3) and (4,7) on a graph.Verifying if points (3, 5) and (-2, -4) lie on the line y = 2x - 1 by substituting coordinates into the equation illustrating right and wrong results.

The Straight Line Formula: y = mx + c

  • m is the gradient and tells you how steep the line is.
  • c is the y-intercept and shows where the line crosses the y-axis.

Finding a Linear Equation Using Two Points

  • The gradient is found using ₂ − y₁) ÷ (x₂ − x₁).
  • For example, with points (2,3) and (4,7), the gradient is .

Checking If a Point Lies on a Line

  • Substitute (3,5) into to check if .
  • Because , the point lies on the line.

Practice Questions

Test your understanding

Progress1 / 6
Q1Easy

What does the y-intercept (c) represent in the equation ?

Choose your answer to continue

Interactive Activity

Finding the equation of a straight line using 2 points

Loading interactive widget...

Students Also Ask

The questions students bump into most on this topic

The formula is y = mx + c. Here, m is the gradient, which measures how steep the line is. The y-intercept c is where the line crosses the y-axis. Once you know m and c, the equation describes every point on the line.

In y = mx + c, m is the gradient and c is the y-intercept. The gradient tells you how steep the line is. You find it from the change in y divided by the change in x. The y-intercept is the value of y where the line crosses the y-axis.

No, it does not matter. You can assign either point as P1 and the other as P2. Just keep the same order when you work out the change in y and the change in x. Then the gradient, and the final equation, come out the same.

If you already know where the line crosses the y-axis, c is simply that value. At the y-intercept the line meets the y-axis, where x equals 0 and y equals c. So you can read c straight off without any calculation.

Substitute the point's x and y values into the equation of the line. If both sides are equal, the point lies on the line. For example, put (3, 5) into y = 2x - 1. This gives 5 = 5, so (3, 5) lies on the line. But (-2, -4) gives -4 = -5, so it does not.

Course Overview
Next Lesson

© 2026 Maths Angel. All rights reserved.