Equation of a straight line

There are lots of different ways to represent a straight line - here’s a summary of a few of them.

y = mx + c

This is probably the way you’re familiar with. In this equation:

This equation is useful if you know the gradient and y-intercept of a line, and want to find the value of y for a given x.

Ax + By + C = 0

This is called the general form of a straight line. In this equation:

y - y_1 = m(x - x_1)

This is called the point-slope form of a straight line. In this equation:

This essentially, more explicitly, describes how we get from one point on the line to another, using the gradient.

It’s useful when we know the gradient of the line and points on it, but don’t know the y-intercept.

flashcards

QuestionAnswer
y = mx + cm = gradient, c = y-intercept; y changes by m for unit change in x.
What is the general form of a straight line?Ax + By + C = 0, where A, B, C are constants.
What is the point-slope form of a straight line?y - y_1 = m(x - x_1), where (x_1, y_1) is a specific point on the line.
When is point-slope form most useful?When we know gradient and a point on the line but not the y-intercept.