Equations of straight lines

Maths: Applications and Interpretation · Functions. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths: Applications and Interpretation topics

The idea

The gradient of a line measures how steep it is: the change in y for each increase of 1 in x. A positive gradient goes up from left to right and a negative gradient goes down.

The same line can be written in three forms. y = mx + c shows the gradient m and the y-intercept c directly. The general form ax + by + d = 0 must be rearranged to read them. The point-gradient form is the quickest way to build an equation from a point and a gradient.

In a linear model the gradient is a rate of change (for example dollars per minute) and the intercept is the starting value when x = 0.

Rules to remember

Common mistake

For a perpendicular line students only change the sign or only turn the fraction over. You must do both: perpendicular to gradient 3 is −1/3, not −3 and not 1/3.

Worked example

Line L passes through (1, 3) and (5, 11). Find the equation of the line through (4, 1) that is perpendicular to L.

  1. Gradient of L = (11 − 3) ÷ (5 − 1) = 8 ÷ 4 = 2.
  2. Perpendicular gradient = −1/2, because 2 × (−1/2) = −1.
  3. y − 1 = −(1/2)(x − 4), so y = −(1/2)x + 2 + 1.

Answer: y = −(1/2)x + 3

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Systems of linear equations and polynomial equations (technology)Functions, graphs and their key features →Take a Maths: Applications and Interpretation test