Equation of a Straight Line

Main form: y = mx + c

m = gradient, c = y-intercept (where line cuts y-axis)

Finding the equation

Method 1: If given gradient m and point (x1, y1):
y - y1 = m(x - x1)

Method 2: If given two points: first find m, then use Method 1.

Examples

Gradient 3, passes through (0, 2)   ⇒   y = 3x + 2

Through (1, 5) and (3, 9): m = (9-5)/(3-1) = 2, then y - 5 = 2(x - 1)   ⇒   y = 2x + 3

Other forms

Horizontal line: y = k

Vertical line: x = k

Discussion

How was the lesson? Discuss Lesson

Related Exercises

Find the equation

Find the equation of the line y = mx + c for:Gradient 2, y-intercept 5Gradient -1, passes through (0, 4)Passes …

View Exercise Submit Exercise