Gradient and Intercept
Every question with a fully worked solution.
- Gradient and Intercept - Video - Gradient-intercept form of a line Watch
Theory
The gradient \(m\) measures how steep a line is and the \(y\)-intercept \(c\) is where it crosses the \(y\)-axis. This Year 11 Maths Standard page shows how to read \(m\) and \(c\) from \(y=mx+c\), rearrange other equations first, find the gradient with rise over run and the gradient formula, and explain the gradient as a rate of change in everyday problems.
The gradient of a straight line measures how steep it is. It is the rise (the change in \(y\)) divided by the run (the change in \(x\)). A line that goes up from left to right has a positive gradient; a line that goes down has a negative gradient. The bigger the size of the gradient (ignoring the sign), the steeper the line.
The \(y\)-intercept is the value of \(y\) where the line crosses the \(y\)-axis. At that point \(x=0\), so the \(y\)-intercept is the point \((0,\,c)\).
When an equation is written as \(y=mx+c\), you can read both straight off: \(m\), the number multiplying \(x\), is the gradient and \(c\), the number on its own, is the \(y\)-intercept. Each one keeps its sign. If the equation is not in this form, for example \(5y=10x-15\) or \(x-2y+4=0\), first make \(y\) the subject.
In everyday problems the gradient is a rate of change: dollars per gigabyte, centimetres per hour, litres per minute. The vertical intercept is the starting value: a fixed monthly fee, the height at the start, or the amount in a tank before it starts draining.
Gradient–intercept form:
Gradient from a graph, or from any two points \((x_1,\,y_1)\) and \((x_2,\,y_2)\) on the line:
The \(y\)-intercept is found by putting \(x=0\):
Change in \(y\) for a change in \(x\):
For example, if \(m=-3\) and \(x\) increases by \(4\), then \(y\) changes by \(-3\times4=-12\): it decreases by \(12\).
Finding \(m\) and \(c\) from an equation
- Make \(y\) the subject if it is not already: move the \(x\) term and the number to the other side, then divide every term by the number in front of \(y\).
- Reorder to \(y=mx+c\), with the \(x\) term first. For example \(y=9-2x\) becomes \(y=-2x+9\).
- Read \(m\) (the number multiplying \(x\)) and \(c\) (the number on its own), each with its sign.
Finding the gradient from a graph or two points
- Choose two points on the line, ideally where it crosses grid corners or the axes.
- Use \(m=\dfrac{\text{rise}}{\text{run}}\) or \(m=\dfrac{y_2-y_1}{x_2-x_1}\), taking the points in the same order on the top and the bottom.
- Simplify the fraction and check the sign: a falling line must give a negative gradient.
Finding \(c\) when you know \(m\) and a point
- Substitute \(m\) and the point's \(x\) and \(y\) into \(y=mx+c\).
- Solve for \(c\), then write the full equation if it is asked for.
Gradient and intercept in a word problem
- Gradient = rate of change, with units "\(y\) units per \(x\) unit" (for example \(\$\) per GB or cm per hour). A negative gradient means the quantity is decreasing.
- Vertical intercept = the starting value, when the \(x\) quantity is \(0\).
- Compare rates by the size of the gradients: the bigger size changes faster.
(i) \(y=7-5x\)
(ii) \(2y=8x-6\)
(i) Rewrite in the form \(y=mx+c\):
| \(y\) | \(=\) | \(7-5x\) |
| \(\) | \(=\) | \(-5x+7\) |
\(\therefore\) the gradient is \(m=\mathbf{-5}\) and the \(y\)-intercept is \(c=\mathbf{7}\).
(ii) Divide every term by \(2\):
| \(2y\) | \(=\) | \(8x-6\) |
| \(y\) | \(=\) | \(4x-3\) |
\(\therefore\) the gradient is \(m=\mathbf{4}\) and the \(y\)-intercept is \(c=\mathbf{-3}\).
The gradient is not \(8\): read \(m\) only once \(y\) is on its own.
(i) Find the gradient of the line.
(ii) Find the coordinates of the \(y\)-intercept.
Make \(y\) the subject: add \(4y\) to both sides, then divide every term by \(4\).
| \(3x-4y+8\) | \(=\) | \(0\) |
| \(4y\) | \(=\) | \(3x+8\) |
| \(y\) | \(=\) | \(\dfrac{3}{4}x+2\) |
(i) the gradient is \(m=\boldsymbol{\dfrac{3}{4}}\)
(ii) \(c=2\), so the \(y\)-intercept is the point \(\mathbf{(0,\,2)}\).
Check (ii) by putting \(x=0\) in the original equation:
| \(3(0)-4y+8\) | \(=\) | \(0\) |
| \(4y\) | \(=\) | \(8\) |
| \(y\) | \(=\) | \(2\ \checkmark\) |
(i) Find the gradient of the line.
(ii) Find the \(y\)-intercept and write the equation in the form \(y=mx+c\).
(i) Use the gradient formula with \((x_1,\,y_1)=(-2,\,7)\) and \((x_2,\,y_2)=(4,\,-2)\):
| \(m\) | \(=\) | \(\dfrac{y_2-y_1}{x_2-x_1}\) |
| \(\) | \(=\) | \(\dfrac{-2-7}{4-(-2)}\) |
| \(\) | \(=\) | \(\dfrac{-9}{6}\) |
| \(\) | \(=\) | \(-\dfrac{3}{2}\) |
(ii) Substitute the point \((-2,\,7)\) into \(y=mx+c\):
| \(7\) | \(=\) | \(-\dfrac{3}{2}\times(-2)+c\) |
| \(7\) | \(=\) | \(3+c\) |
| \(c\) | \(=\) | \(4\) |
\(\therefore\) the \(y\)-intercept is \(\mathbf{4}\) and \(\boldsymbol{y=-\dfrac{3}{2}x+4}\).
Check with \(Q\): \(-\dfrac{3}{2}\times4+4=-6+4=-2\ \checkmark\)
The line falls from left to right, so a negative gradient makes sense.
(i) At what rate is the volume decreasing?
(ii) Find the vertical intercept and explain what it means.
(iii) A second tank follows \(V=1200-45t\). Which tank's volume falls faster? Give a reason.
(i) Find the gradient using \((3,\,840)\) and \((8,\,540)\):
| \(m\) | \(=\) | \(\dfrac{540-840}{8-3}\) |
| \(\) | \(=\) | \(\dfrac{-300}{5}\) |
| \(\) | \(=\) | \(-60\) |
The volume changes by \(-60\) L each hour, so it decreases at \(\mathbf{60}\textbf{ L/h}\).
(ii) Substitute \((3,\,840)\) into \(V=mt+c\):
| \(840\) | \(=\) | \(-60\times3+c\) |
| \(840\) | \(=\) | \(-180+c\) |
| \(c\) | \(=\) | \(1020\) |
The vertical intercept is \(\mathbf{1020}\): the tank held \(1020\) L at the start (\(t=0\)).
(iii) Compare the size of each gradient:
Tank 1: \(m=-60\), size \(60\)
Tank 2: \(V=-45t+1200\), \(m=-45\), size \(45\)
\(60>45\), so tank 1 loses water faster. Its graph is the steeper line.
Common pitfalls
Frequently asked questions
How do you find the gradient of a line?
Pick two points on the line and divide the rise (change in \(y\)) by the run (change in \(x\)). With coordinates, use \(m=\dfrac{y_2-y_1}{x_2-x_1}\). If the equation is in the form \(y=mx+c\), the gradient is the number multiplying \(x\).
How do you find the gradient and y-intercept from an equation?
Make \(y\) the subject so the equation looks like \(y=mx+c\). Then \(m\) (the number multiplying \(x\)) is the gradient and \(c\) (the number on its own) is the \(y\)-intercept. For \(4y=8x+12\), divide by \(4\) to get \(y=2x+3\), so \(m=2\) and \(c=3\).
What does a negative gradient mean?
The line goes down from left to right: as \(x\) increases, \(y\) decreases. In a real situation it means the quantity is falling, such as the water level in a draining tank.
What does the gradient mean in a real-life problem?
It is the rate of change: how much the \(y\) quantity changes for each one unit of the \(x\) quantity. In \(C=12h+40\) for a hire cost, the cost goes up \(\$12\) for each extra hour, and \(\$40\) is the fixed starting charge.
How do you tell which line is steeper?
Compare the size of the gradients and ignore the signs. The line whose gradient has the larger size is steeper, so \(y=-5x+1\) is steeper than \(y=3x+4\).
Is y = mx + b the same as y = mx + c?
Yes. Some exam papers use \(b\) for the \(y\)-intercept instead of \(c\). In both, \(m\) is the gradient and the number on its own is where the line crosses the \(y\)-axis.