You will be able to draw a straight line from its equation, and read the equation back from two points on the line.
Core idea
Take the line . Every straight line has an equation of this shape, .
In this line, is and is .
The gradient
Stand on the line and take one step to the right. The line goes down by three. That steepness is called the gradient, and it is the in the equation.
A positive means the line climbs as you step right. A negative means it falls.
The -intercept
Step back to where , on the upright axis. There the line has height .
That height is called the -intercept, and it is the .
Plotting from a table
To draw the line, pick a few values of , such as . Put each one into the equation to get . Each pair is a point to mark.
Two points are enough to fix a line. A third point is a check that you made no slip.
Gradient from two points
Pick any two points on the line. Count how far you go up or down between them: that is the rise. Count how far you go across: that is the run.
The gradient is the rise divided by the run. Take the second point minus the first for both, so the signs stay right.
Horizontal and vertical lines
On a flat line, every point has the same height. Its equation is , where is that height.
On an upright line, every point has the same distance across. Its equation is . It has no gradient, because it never moves across.
Most people turn the gradient upside down and divide the run by the rise. The rise goes on top, because the gradient says how much the line climbs for each step across.
Worked example
Take the line .
What is when ?
This is one row of the plotting table. Put in the value of , multiply, then add.
The point is on the line. Do the same for two more values of . The three points should sit on one straight line.
Problems
A straight line passes through and . Find its gradient.
Hint
Divide the rise by the run, taking the second point minus the first each time.
A horizontal line passes through .
Its equation has the form . Find .
Hint
Every point on a flat line has the same -value.
A line passes through and is parallel to the -axis.
Its equation has the form . Find .
Hint
Every point on a line parallel to the -axis has the same -value.
A straight line has gradient and passes through . Find its -intercept.
Hint
Put the point into and solve for .