chalk

Equation of a straight line

You will be able to write the equation of a straight line from a point and its steepness, or from two points. You will also read the steepness of a line written another way, and find where a line crosses the -axis.

Core idea

The equation of a line

Picture a ramp. It has a steepness, and it starts at some height on the -axis. Two numbers describe it, and the equation is .

The number is the gradient. It tells you how far the line goes up for each step to the right.

The number is the height where the line crosses the -axis.

Finding c from a point and a gradient

Say you know the gradient and one point on the line. Put the point's and into the equation. Now is the only unknown, so you can solve for it.

Finding the gradient from two points

Say you know two points and no gradient. Subtract the two heights, and subtract the two sideways positions. Divide the first answer by the second, and that gives . Then you find as before.

Standard form

A line can also be written as . To read its gradient, get on its own.

Move the term across, then divide every term by .

The gradient is then .

Where the line crosses the x-axis

Think of the ramp meeting the floor. Every point on the -axis has height .

So put into the equation. Then solve for , and that is where the line crosses.

Take the line . With a height of , it says . So the line crosses the -axis at .

Most people read the gradient of as . That is wrong, because has to be on its own first.

Worked example

A line has gradient and passes through the point . Find in .

Put the point in first. Then solve for .

put in x and y
work out the product
move the product across, changing its sign

Check: , so it balances.

Problems

1Basics

A line has gradient and passes through the point . Find in .

Hint

Put the point's and into the equation, so that is the only unknown.

Sign in to see the solution
2Easy

A line passes through and . Find in . Give as a fraction.

Hint

Find the gradient first, as the change in over the change in .

Sign in to see the solution
3Easy

Find the gradient of the line . Give it as a fraction.

Hint

Rearrange so that is on its own, and the gradient is the number in front of .

Sign in to see the solution
4Medium

A line has gradient and passes through the point . Find the -coordinate of the point where it crosses the -axis.

Hint

Find first, as in the earlier problems.

Sign in to see the solution

What's next