7.1 Straight Line Equations


2026 📋 Syllabus Objectives

By the end of these notes, you will be able to:

  • Use the equation of a straight line in different forms
  • Find the equation of a straight line given different pieces of information
  • Apply straight line equations to solve geometric problems

1. The Two Forms of a Straight Line Equation

Every straight line can be written as an equation. There are two main forms you need to know.


Form 1: Slope-Intercept Form

y=mx+cy = mx + c

This is the most common form. Here is what each letter means:

  • yy and xx are the coordinates of any point on the line
  • mm is the gradient — this tells you how steep the line is
  • cc is the y-intercept — this is the value of yy where the line crosses the y-axis (the vertical axis)

Think of it this way: mm tells you the slope of the line, and cc tells you where it starts on the y-axis.

Example: In the equation y=3x+5y = 3x + 5:

  • The gradient is m=3m = 3 (the line goes up 3 units for every 1 unit across)
  • The y-intercept is c=5c = 5 (the line crosses the y-axis at the point (0,5)(0, 5))

Form 2: Point-Gradient Form

yy1=m(xx1)y - y_1 = m(x - x_1)

This form is very useful when you know the gradient of a line and one point that the line passes through.

Here is what each letter means:

  • mm is the gradient of the line
  • (x1,y1)(x_1, y_1) is the known point on the line (a specific coordinate you are given)
  • (x,y)(x, y) is any general point on the line

Why use this form? When you are not given the y-intercept directly, this formula lets you build the equation quickly using just a gradient and one point.


2. How to Find the Gradient

Before you can write the equation of a line, you often need to find its gradient first.

The gradient formula between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is:

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

In plain English: gradient = change in yy ÷ change in xx

  • If the line goes uphill (left to right), the gradient is positive
  • If the line goes downhill (left to right), the gradient is negative
  • If the line is horizontal (flat), the gradient is zero

Sign in to view full notes