Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Core Straight Line

The Gradient Intercept Equation

20 practice questions 1 video lesson Theory + worked examples

When a line is written as \(y = mx + c\) (gradient-intercept form), the number \(m\) is the gradient and \(c\) is the \(y\)-intercept, so the equation shows at a glance how steep the line is and where it crosses the \(y\)-axis. This NSW Year 9 Core maths subtopic is Stage 5 Core content under NESA outcome MA5‑LIN‑C‑02.

You will read \(m\) and \(c\) from equations such as \(y = -x - 4\) and \(y = 5 - 2x\), build an equation from a gradient and an intercept, and find the equation of a graphed line. You will rearrange forms such as \(2x + 3y = 6\) and \(\frac{x}{3} + \frac{y}{5} = 1\) into \(y = mx + c\), compare the steepness of two lines, find a line parallel to another, and use a plumber's charge of a call-out fee plus an hourly rate. It is part of Year 9 Core Straight Line.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The gradient-intercept form of a straight line is \(y = mx + c\), where \(m\) is the gradient and \(c\) is the \(y\)-intercept. This Year 9 maths page shows how to read \(m\) and \(c\) from an equation, write the equation of a line, rearrange other forms into \(y = mx + c\), and graph a line quickly.

Any straight line that is not vertical can be written as \(y = mx + c\). This is the gradient-intercept form.

\(m\) is the gradient: the number multiplying \(x\), including its sign. \(c\) is the \(y\)-intercept: the value of \(y\) when \(x = 0\), where the line crosses the \(y\)-axis.

If no number is written in front of \(x\), the gradient is \(1\) (or \(-1\) for \(-x\)). If there is no number on its own, \(c = 0\) and the line passes through the origin.

Lines with the same gradient are parallel. The larger the gradient (ignoring its sign), the steeper the line.

The line y = one half x + 2The line y = one half x plus 2. It crosses the y-axis at 2, marked in red as c. From there a run of 2 and a rise of 1, drawn dashed, show the gradient one half. x y βˆ’3 βˆ’2 βˆ’1 1 3 4 5 6 βˆ’1 1 3 4 5 6 run 2 rise 1 c = 2 y = Β½x + 2
In \(y = mx + c\), \(c\) is where the line crosses the \(y\)-axis and \(m\) is the gradient: here \(\dfrac{\text{rise}}{\text{run}} = \dfrac{1}{2}\).
Three lines with the same y-interceptThree lines all crossing the y-axis at 1: y = 2x + 1 is steep and rising, y = one half x + 1 rises gently, and y = -x + 1 falls. x y βˆ’4 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 βˆ’4 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 5 m = 2 m = Β½ m = βˆ’1
Same \(c\), different \(m\). A bigger gradient (ignoring the sign) is steeper, and a negative gradient falls.
\[y = mx + c \qquad m = \text{gradient} \qquad c = y\text{-intercept}\]
y=mx+c
Order does not matter. \(y = 9 - 4x\) is the same line as \(y = -4x + 9\), so \(m = -4\) and \(c = 9\).
Rearranging other forms. Make \(y\) the subject. Move every other term across, expand any brackets, and divide every term by the number multiplying \(y\). For example \(y + 2 = \dfrac{1}{3}(x - 6)\) becomes \(y = \dfrac{1}{3}x - 2 - 2 = \dfrac{1}{3}x - 4\). With every term on one side, \(2x + 5y - 10 = 0\) becomes \(5y = -2x + 10\), so \(y = -\dfrac{2}{5}x + 2\). Letters for the numbers work the same way: move the \(x\)-term and the constant across, then divide every term by the coefficient of \(y\).
Fractions of x and y. For an equation like \(\dfrac{x}{2} + \dfrac{y}{4} = 1\), multiply every term by \(4\) first: \(2x + y = 4\), so \(y = -2x + 4\).
From a graph. Read \(c\) where the line crosses the \(y\)-axis, and find \(m\) as rise over run between two grid points. A line through \((0, 3)\) and \((2, 0)\) has \(c = 3\) and \(m = -\dfrac{3}{2}\).
Real costs. A cost made of a fixed fee plus a rate is a straight line: the rate is \(m\) and the fixed fee is \(c\). A hire of $25 plus $12 per hour is \(C = 12t + 25\), with \(C\) in dollars; for \(4\) hours, \(C = 12 \times 4 + 25 = 73\), so the cost is $73.00.

How to work with y = mx + c

  1. Rearrange the equation so that \(y\) is on its own, if it is not already.
  2. Read \(m\), the number multiplying \(x\) with its sign, and \(c\), the number on its own.
  3. To graph: mark \((0, c)\), then step out the gradient as rise over run to a second point. Rule the line.
  4. To build an equation: substitute the gradient and the \(y\)-intercept into \(y = mx + c\). A parallel line keeps the same \(m\).
  5. Check that the sign of \(m\) matches the direction of the line.
Example 1 β€” Reading m and c
Write down the gradient and the \(y\)-intercept of
(i) \(y = -3x + 8\)
(ii) \(y = 7 - x\).
Solution

The gradient is the number multiplying \(x\), sign included. The \(y\)-intercept is the number on its own.

\(\text{(i)}\ m\)\(=\)\(\mathbf{-3}, \quad c = \mathbf{8}\)

(ii) Write it the usual way round first: \(y = -x + 7\). The \(x\) has no number in front, so the coefficient is \(-1\).

\(\text{(ii)}\ m\)\(=\)\(\mathbf{-1}, \quad c = \mathbf{7}\)
y=−x+7

Both lines have negative gradients, so both fall from left to right.

Example 2 β€” Building the equation
Find the equation of the line that is parallel to \(y = \dfrac{2}{3}x + 1\) and has a \(y\)-intercept of \(-4\).
Solution

Parallel lines have the same gradient, so \(m = \dfrac{2}{3}\). The \(y\)-intercept gives \(c = -4\). Substitute both into \(y = mx + c\).

\(y\)\(=\)\(mx + c\)
\(y\)\(=\)\(\mathbf{\dfrac{2}{3}x - 4}\)
y=23x−4
Two parallel lines with gradient two thirdsThe dashed line y = two thirds x + 1 and, in red, the parallel line through (0, -4) with the same gradient. x y βˆ’5 βˆ’4 βˆ’2 βˆ’1 1 2 4 βˆ’6 βˆ’5 βˆ’3 βˆ’2 βˆ’1 2 3 y = β…”x + 1 (0, βˆ’4)
Example 3 β€” Rearranging first
Rearrange \(3x - 4y = 8\) into the form \(y = mx + c\), and state the gradient and \(y\)-intercept.
Solution

Get the \(y\)-term alone, then divide every term by the number multiplying \(y\).

\(3x - 4y\)\(=\)\(8\)
\(-4y\)\(=\)\(-3x + 8\)
\(y\)\(=\)\(\dfrac{3}{4}x - 2\)
y=34x−2

The gradient is \(\mathbf{\dfrac{3}{4}}\) and the \(y\)-intercept is \(\mathbf{-2}\). Dividing \(-3x\) and \(8\) by \(-4\) flips both signs.

Graph of y = three quarters x - 2The line y = three quarters x minus 2, crossing the y-axis at (0, -2). A run of 4 and a rise of 3 are drawn dashed. x y βˆ’2 βˆ’1 1 2 3 5 6 βˆ’4 βˆ’3 1 2 3 run 4 rise 3 (0, βˆ’2)
Example 4 β€” Graphing from m and c
Sketch \(y = -2x + 5\) using its gradient and \(y\)-intercept.
Solution

Mark the \(y\)-intercept, then step out the gradient as rise over run.

\(c\)\(=\)\(5 \;\Rightarrow\; (0, 5)\)
\(m\)\(=\)\(-2 = \dfrac{-2}{1}\)
m=−2,c=5

From \((0, 5)\) go \(1\) across and \(2\) down to \((1, 3)\). Rule the line through the two points.

Graph of y = -2x + 5 from m and cThe line y = -2x + 5. From the y-intercept (0, 5), one across and two down reaches (1, 3). x y βˆ’2 βˆ’1 2 3 4 5 βˆ’2 βˆ’1 1 2 4 6 1 down 2 (0, 5) (1, 3)

Common pitfalls

Keep the sign with the gradient. In \(y = -3x + 8\) the gradient is \(-3\), not \(3\).
Watch out for the order of terms. In \(y = 9 - 4x\), the gradient is \(-4\) and the intercept is \(9\). The gradient is always the number with the \(x\).
Divide every term. When rearranging \(-4y = -3x + 8\), divide both \(-3x\) and \(8\) by \(-4\), not just one of them.
Parallel means same gradient, not same intercept. Two different parallel lines have equal \(m\) values and different \(c\) values.

Frequently asked questions

What does y = mx + c mean?

It is the gradient-intercept form of a straight line. \(m\) is the gradient, the steepness of the line, and \(c\) is the \(y\)-intercept, where the line crosses the \(y\)-axis.

How do you find the gradient from an equation?

Rearrange the equation into \(y = mx + c\). The gradient is the number multiplying \(x\), including its sign. For \(y = -3x + 8\) the gradient is \(-3\).

How do you write the equation of a line from the gradient and y-intercept?

Substitute them into \(y = mx + c\). A line with gradient \(\dfrac{2}{3}\) and \(y\)-intercept \(-4\) is \(y = \dfrac{2}{3}x - 4\).

How do you graph a line using the gradient and y-intercept?

Plot the \(y\)-intercept \((0, c)\). Write the gradient as rise over run and step it out from that point to get a second point. Rule a straight line through both.

Do parallel lines have the same gradient?

Yes. Parallel lines have equal gradients. They have different \(y\)-intercepts, otherwise they would be the same line.