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

Equation of Lines Intercept Form

20 practice questions 1 video lesson Theory + worked examples

Equation of Lines in NSW Year 10 Core maths writes a straight line as \(y = mx + c\), where \(m\) is the gradient and \(c\) the \(y\)-intercept (NESA outcome MA5‑LIN‑C‑02), and also in the form \(ax + by + c = 0\), called general form (MA5‑LIN‑P‑01).

You will read the gradient and \(y\)-intercept from an equation, work out a line's equation from its gradient and a point, from two points or from its intercepts, and convert between gradient–intercept form and general form. You will also find intercepts, test whether a given point is on a line, write equations for lines parallel or perpendicular to others, and model a rainwater tank draining at a constant rate. It is part of Year 10 Core Straight Line Graphs.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Equation of Lines Intercept Form - Video - The Equation of a Line Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

This Year 10 maths page shows how to read and write the equation of a straight line: the gradient and \(y\)-intercept in \(y = mx + c\), changing to and from general form, finding intercepts, the line through two points or through a point with a given gradient, and using a line as a model of a real situation.

Every straight line (except a vertical one) has an equation \(y = mx + c\). This is the gradient–intercept form: \(m\) is the gradient and \(c\) is the \(y\)-intercept, where the line crosses the \(y\)-axis. Some books write \(y = mx + b\); \(b\) means the same as \(c\).

The general form is \(ax + by + c = 0\), with every term on one side and whole-number coefficients, usually with \(a\) positive. For example \(y = 3x - 4\) becomes \(3x - y - 4 = 0\).

The \(x\)-intercept is where the line crosses the \(x\)-axis (there \(y = 0\)). The \(y\)-intercept is where it crosses the \(y\)-axis (there \(x = 0\)).

A point lies on a line if its coordinates make the equation true.

In a real-life model, the gradient is the rate of change (for example litres per hour) and the \(y\)-intercept is the starting value.

Gradient and y-interceptThe line y equals two thirds x plus 1 crosses the y-axis at 1. From there it goes 3 across and 2 up, so its gradient is two thirds. xy run 3 rise 2 c = 1 y = ⅔x + 1
In \(y = mx + c\), start at the \(y\)-intercept \(c\), then use the gradient \(m = \dfrac{\text{rise}}{\text{run}}\) to find more points.
x- and y-interceptsThe line 2x plus 3y minus 12 equals 0 crosses the x-axis at (6, 0) and the y-axis at (0, 4). xy-112345678-11234560 (6, 0) (0, 4) 2x + 3y − 12 = 0
To find the intercepts, put \(y = 0\) (gives \(x = 6\)) and then \(x = 0\) (gives \(y = 4\)). Join the two points.

The three forms of a straight line:

\[y = mx + c \qquad y - y_1 = m(x - x_1) \qquad ax + by + c = 0\]
y=mx+c
A line through the origin has \(c = 0\), so its equation is \(y = mx\). The line through \((0, 0)\) and \((3, 6)\) is \(y = 2x\).
A fraction in the equation. Split it before reading \(m\) and \(c\): \(y = \dfrac{3x + 8}{4} = \dfrac{3}{4}x + 2\).
From the two intercepts. The intercepts \((3, 0)\) and \((0, -6)\) give \(m = \dfrac{-6 - 0}{0 - 3} = 2\) and \(c = -6\), so \(y = 2x - 6\).
Parallel and perpendicular. A parallel line has the same \(m\). A perpendicular line has gradient \(-\dfrac{1}{m}\). Then use the given point to find \(c\).
Horizontal and vertical lines. \(y = 3\) is horizontal (\(m = 0\)) and \(x = -2\) is vertical. The \(x\)-axis is \(y = 0\) and the \(y\)-axis is \(x = 0\).

How to find the equation of a line

  1. Find the gradient \(m\): it may be given, come from two points, or come from a parallel or perpendicular line.
  2. Use a point. Either substitute the point into \(y = mx + c\) and solve for \(c\), or use \(y - y_1 = m(x - x_1)\).
  3. Write the equation in the form asked for. For general form, clear fractions and move every term to one side.
  4. Check by substituting a second point into your equation.

How to find the intercepts

  1. \(x\)-intercept: put \(y = 0\) and solve for \(x\).
  2. \(y\)-intercept: put \(x = 0\) and solve for \(y\).
  3. Write both as points, such as \((5, 0)\) and \((0, -3)\).
Example 1 — Reading the gradient and intercepts
Find the gradient and the \(y\)-intercept of:
(i) \(y = 5 - 4x\)
(ii) \(5x + 2y - 8 = 0\). Also find the \(x\)-intercept of line (ii).
Solution

(i) Write the \(x\) term first: \(y = -4x + 5\). So \(\boldsymbol{m = -4}\) and \(\boldsymbol{c = 5}\).

(ii) Make \(y\) the subject:

\(2y\)\(=\)\(-5x + 8\)
\(y\)\(=\)\(-\dfrac{5}{2}x + 4\)

So \(\boldsymbol{m = -\dfrac{5}{2}}\) and \(\boldsymbol{c = 4}\). For the \(x\)-intercept, put \(y = 0\):

\(5x - 8\)\(=\)\(0\)
\(x\)\(=\)\(\dfrac{8}{5} = 1.6\)
x=1.6

The \(x\)-intercept is \(\boldsymbol{(1.6, 0)}\).

Example 2 — The line through two points
Find the equation of the line through \((-2, -1)\) and \((4, 3)\). Give it in gradient–intercept form and in general form.
Solution

Find the gradient first.

\(m\)\(=\)\(\dfrac{3 - (-1)}{4 - (-2)} = \dfrac{4}{6} = \dfrac{2}{3}\)

Use \(y - y_1 = m(x - x_1)\) with the point \((4, 3)\):

\(y - 3\)\(=\)\(\dfrac{2}{3}(x - 4)\)
\(y\)\(=\)\(\dfrac{2}{3}x - \dfrac{8}{3} + 3\)
\(y\)\(=\)\(\boldsymbol{\dfrac{2}{3}x + \dfrac{1}{3}}\)

For general form, multiply by \(3\) and move every term to one side:

\(3y\)\(=\)\(2x + 1\)
\(0\)\(=\)\(\boldsymbol{2x - 3y + 1}\)
2x−3y+1=0

Check with the other point \((-2, -1)\): \(-4 + 3 + 1 = 0\) ✓

Example 3 — A linear model
A phone battery drains at a steady rate. After \(2\) hours it shows \(74\%\) and after \(5\) hours it shows \(47\%\).
(i) Write an equation for the charge \(B\%\) after \(t\) hours.
(ii) What was the charge at the start?
(iii) After how many hours is it flat?
Solution

(i) The points \((2, 74)\) and \((5, 47)\) lie on a straight line. The gradient is the rate of change.

\(m\)\(=\)\(\dfrac{47 - 74}{5 - 2} = \dfrac{-27}{3} = -9\)
\(74\)\(=\)\(-9(2) + c\)
\(c\)\(=\)\(92\)

So \(\boldsymbol{B = -9t + 92}\). The battery loses \(9\%\) each hour.

(ii) At the start \(t = 0\), so \(B = 92\): the charge was \(\boldsymbol{92\%}\).

(iii) Put \(B = 0\):

\(-9t + 92\)\(=\)\(0\)
\(t\)\(=\)\(\dfrac{92}{9} \approx \boldsymbol{10.2~\text{hours}}\)
B=−9t+92
Example 4 — A perpendicular line through a point

(i) Find the equation of the line through \((-4, 6)\) that is perpendicular to \(y = 2x - 7\).
(ii) Does the point \((10, -1)\) lie on this line?
Solution

(i) The given gradient is \(2\), so the perpendicular gradient is \(-\dfrac{1}{2}\). Substitute the point into \(y = mx + c\) to find \(c\).

\(6\)\(=\)\(-\dfrac{1}{2}(-4) + c\)
\(6\)\(=\)\(2 + c\)
\(c\)\(=\)\(4\)

The line is \(\boldsymbol{y = -\dfrac{1}{2}x + 4}\).

y=−12x+4

(ii) Substitute \(x = 10\):

\(y\)\(=\)\(-\dfrac{1}{2}(10) + 4 = -1\)

This matches the \(y\)-value, so yes, \((10, -1)\) lies on the line.

Common pitfalls

The gradient is the number with x. In \(y = 7 - 2x\) the gradient is \(-2\), not \(7\). Rewrite it as \(y = -2x + 7\) first.
Read m and c only when y is the subject. In \(3x + 2y - 6 = 0\), \(m\) is not \(3\). Rearranging gives \(y = -\dfrac{3}{2}x + 3\).
Do not mix up the intercepts. For the \(x\)-intercept put \(y = 0\); for the \(y\)-intercept put \(x = 0\). Write them as points.
General form has no fractions. \(x - \dfrac{1}{2}y + 3 = 0\) is not finished: multiply by \(2\) to get \(2x - y + 6 = 0\).

Frequently asked questions

What does y = mx + c mean?

It is the equation of a straight line. \(m\) is the gradient (how steep the line is) and \(c\) is the \(y\)-intercept (where it crosses the \(y\)-axis).

How do you find the equation of a line through two points?

Find the gradient with \(m = \dfrac{y_2 - y_1}{x_2 - x_1}\). Then substitute one point into \(y = mx + c\) to find \(c\), and check with the other point.

What is the general form of a straight line?

It is \(ax + by + c = 0\): every term on one side, equal to zero, with whole-number coefficients.

How do you find the x-intercept of a line?

Put \(y = 0\) in the equation and solve for \(x\). The \(x\)-intercept is the point \((x, 0)\).

How do you check whether a point is on a line?

Substitute the \(x\)-value of the point into the equation. If you get the \(y\)-value of the point, the point is on the line.