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

Graphing Linear Equations

20 practice questions 1 video lesson Theory + worked examples

A straight line can be graphed quickly from its two intercepts, or from its \(y\)-intercept and gradient. For \(y=\frac{2}{5}x-1\), start at \((0,-1)\) and go 5 across and 2 up. In NSW Year 10 Advanced maths lines are given in many forms, such as \(\frac{x}{3}+\frac{y}{5}=1\) or \(0.2x-0.4y=1.6\), and sketched without a table of values (NESA outcome MA5‑LIN‑C‑02).

You will sketch lines using intercepts or the gradient and \(y\)-intercept, see why a line through the origin needs a second point, and match equations to graphs. You will find unknown coefficients from intercepts, decide which lines are the same and which are parallel, find areas of triangles formed with the axes, reflect a line in the \(y\)-axis, and show that a family of lines passes through one point. It is part of Year 10 Advanced Straight Line Graphs.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Graphing Linear Equations - Video - Graphing Straight Lines using X-Y Intercepts Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

To graph a linear equation, find two points on the line and rule through them. The intercept method uses where the line crosses the axes; the gradient–intercept method starts at \(c\) and steps by the gradient. This Year 10 Advanced maths page also covers lines through the origin, two lines on one graph, areas, and graphs in real contexts.

A linear equation in \(x\) and \(y\), such as \(5x + 2y = 10\) or \(y = \dfrac{3}{4}x - 2\), has a straight-line graph. Two points fix a line; a third point is a useful check.

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

A line through the origin, such as \(y = -3x\), has both intercepts at \((0,\ 0)\), so you need another point. Horizontal lines have equations \(y = k\) and vertical lines \(x = k\).

Lines with the same gradient and different intercepts are parallel. Equations that simplify to the same \(y = mx + c\) are the same line.

Intercept methodThe line 3x plus 4y equals 12 drawn through its intercepts (4, 0) and (0, 3), found by putting y equal to 0 and then x equal to 0. xy-2-1123456-2-1123450 (4, 0) (0, 3) 3x + 4y = 12
Intercept method: put \(y = 0\) for the \(x\)-intercept and \(x = 0\) for the \(y\)-intercept, then join the two points.
Gradient-intercept methodThe line y equals two thirds x plus 1. Start at the y-intercept (0, 1), then step 3 right and 2 up, twice, to reach (3, 3) and (6, 5). xy-2-11234567-11234560 3 right 2 up (0, 1) y = ⅔x + 1
Gradient–intercept method: plot \(c\) on the \(y\)-axis, then use the gradient as ‘run across, rise up’ to find more points.

Intercepts of \(ax + by = k\):

\[x\text{-intercept} = \dfrac{k}{a} \qquad y\text{-intercept} = \dfrac{k}{b}\]
x=ka,y=kb

Intercept form: the line with intercepts \(p\) and \(q\) is

\[\dfrac{x}{p} + \dfrac{y}{q} = 1\]
xp+yq=1
Fractions and decimals. Clear them first: multiply \(0.4x + 0.2y = 1.2\) by \(10\) to get \(4x + 2y = 12\), and \(\dfrac{x}{3} - \dfrac{y}{2} = 1\) has intercepts \(3\) and \(-2\).
Reflections. Reflecting a line in the \(y\)-axis replaces \(x\) with \(-x\); reflecting in the \(x\)-axis replaces \(y\) with \(-y\). So \(y = 2x + 1\) reflected in the \(y\)-axis is \(y = -2x + 1\).
Families of lines. \(y - 1 = m(x + 2)\) passes through \((-2,\ 1)\) for every value of \(m\). To find the fixed point of a family, collect the \(m\) terms and factorise.

How to graph a straight line

  1. Choose a method. Equation like \(ax + by = k\): use intercepts. Equation like \(y = mx + c\): use the gradient and intercept.
  2. Find two points: both intercepts, or \((0,\ c)\) and one step of \(\dfrac{\text{rise}}{\text{run}}\) from it. If the line goes through the origin, substitute another \(x\) value.
  3. Plot and rule a line through the points, extending past them. Label the intercepts and the line.
  4. Check with a third point or with the sign of the gradient.

Working with graphs

  1. Point and gradient given: find the equation with \(y - y_1 = m(x - x_1)\), then its intercepts.
  2. Unknown coefficient: substitute a known point, such as an intercept, to find it. If one intercept is linked to the other (e.g. \(2\) more), find the easy intercept first.
  3. Two lines: solve simultaneously to find the intersection, and use gradients to show they are perpendicular or parallel.
  4. Areas: a triangle with the axes has area \(\dfrac{1}{2} \times |x\text{-int}| \times |y\text{-int}|\). A triangle between two lines and an axis uses the gap between their intercepts as the base (Example 3).
  5. Four lines: two pairs of parallel lines whose gradients multiply to \(-1\) enclose a rectangle; find the corners by solving pairs of equations.
  6. In context: the starting value is the intercept and the rate is the gradient. Where two graphs cross, the quantities are equal (Example 4). Check the domain, e.g. time cannot be negative.
Example 1 — Intercept method
Sketch the line \(5x + 2y = 10\), showing both intercepts.
Solution

Find where the line crosses each axis.

\(x = 0:\quad 2y = 10\)\(\Rightarrow\)\(y = 5\)
\(y = 0:\quad 5x = 10\)\(\Rightarrow\)\(x = 2\)
5x+2y=10:(2,0),(0,5)

Plot \((2,\ 0)\) and \((0,\ 5)\) and rule a line through them, extending past both.

Graph of 5x + 2y = 10A line through (2, 0) on the x-axis and (0, 5) on the y-axis, falling from left to right. xy-2-11234-2-11234560 (2, 0) (0, 5) (1, 2.5)

Check with a third point: \(x = 1\) gives \(2y = 5\), so \((1,\ 2.5)\) should also be on the line, and it is.

Example 2 — Gradient and intercept
Use the gradient and \(y\)-intercept to sketch \(y = \dfrac{3}{4}x - 2\). Find the exact \(x\)-intercept.
Solution

The \(y\)-intercept is \(-2\), so start at \((0,\ -2)\). The gradient \(\dfrac{3}{4}\) means \(4\) right and \(3\) up, which lands on \((4,\ 1)\).

Graph of y = three quarters x minus 2A line crossing the y-axis at (0, -2) and passing through (4, 1), with a dashed step of 4 right and 3 up between them. It crosses the x-axis at eight thirds. xy-2-1123456-3-2-11230 (0, −2) (4, 1) 8/3
\(0\)\(=\)\(\dfrac{3}{4}x - 2\)
\(\dfrac{3}{4}x\)\(=\)\(2\)
\(x\)\(=\)\(\dfrac{8}{3}\)
x=83

The \(x\)-intercept is \(\mathbf{\dfrac{8}{3}}\), between \(2\) and \(3\), which matches the sketch.

Example 3 — Two lines on one graph
Sketch \(y = x + 1\) and \(2x + y = 7\) on the same axes. Find where they meet, and the area of the triangle they form with the \(x\)-axis.
Solution

Solve the equations together. Substitute \(y = x + 1\) into the second equation.

\(2x + (x + 1)\)\(=\)\(7\)
\(3x\)\(=\)\(6\)
\(x\)\(=\)\(2,\quad y = 3\)
(2,3)

The lines meet at \(\boldsymbol{(2,\ 3)}\). Their \(x\)-intercepts are \(x = -1\) and \(x = 3.5\).

Two lines and the triangle they make with the x-axisThe lines y equals x plus 1 and 2x plus y equals 7 meet at (2, 3). With the x-axis they enclose a shaded triangle with corners (-1, 0), (3.5, 0) and (2, 3). xy-2-112345-1123450 (2, 3) −1 3.5
\(\text{base}\)\(=\)\(3.5 - (-1) = 4.5\)
\(\text{height}\)\(=\)\(3\)
\(\text{Area}\)\(=\)\(\dfrac{1}{2} \times 4.5 \times 3 = \mathbf{6.75}\text{ units}^2\)
A=12×4.5×3=6.75

The height is the \(y\)-coordinate of the meeting point.

Example 4 — A graph in context
Tank A holds \(200\) L and is filling at \(15\) L per minute. Tank B holds \(500\) L and is draining at \(25\) L per minute. Write a rule for the volume \(V\) litres in each tank after \(t\) minutes, sketch both, and find when they hold the same amount.
Solution

Each rule is starting amount plus (or minus) rate times time. The rate is the gradient and the starting amount is the vertical intercept.

\(\text{A:}\quad V\)\(=\)\(200 + 15t\)
\(\text{B:}\quad V\)\(=\)\(500 - 25t\)
Volume of water in two tanksTwo straight-line graphs of volume against time. Tank A starts at 200 litres and rises; tank B starts at 500 litres and falls. They cross at 7.5 minutes, marked with a gold dot. 5 10 15 200 400 A B t (min) V (L)

Set the volumes equal:

\(200 + 15t\)\(=\)\(500 - 25t\)
\(40t\)\(=\)\(300\)
\(t\)\(=\)\(7.5\)
\(V\)\(=\)\(200 + 15 \times 7.5 = 312.5\)
200+15t=500−25t,t=7.5

After \(\mathbf{7.5}\) minutes both tanks hold \(\mathbf{312.5}\) L, where the graphs cross.

Common pitfalls

Gradient steps go right first. For \(m = -\dfrac{4}{3}\), go \(3\) right and \(4\) down. Going left with a negative rise draws the wrong line.
Rearrange before reading m and c. \(y = 4 - \dfrac{1}{2}x\) has gradient \(-\dfrac{1}{2}\) and \(y\)-intercept \(4\). The order of the terms does not matter, the signs do.
One point is not enough. \(4x - y = 0\) gives \((0,\ 0)\) for both intercepts. Substitute \(x = 1\) to get a second point, \((1,\ 4)\).
Same line or parallel? \(y = 3x + 2\) and \(6x - 2y = -4\) are the same line, because the second simplifies to the first. Simplify before you decide.
Label your sketch. Mark both intercepts with their values and write the equation on the line. A sketch without labels earns little credit.

Frequently asked questions

How do you graph a line using intercepts?

Put \(y = 0\) and solve for the \(x\)-intercept, then put \(x = 0\) and solve for the \(y\)-intercept. Plot both points on the axes and rule a line through them.

How do you graph y = mx + c?

Plot the \(y\)-intercept \(c\) on the \(y\)-axis. From there, use the gradient: go right by the run and up by the rise (down if the gradient is negative). Join the points with a straight line.

How do you graph a line that goes through the origin?

Both intercepts are at the origin, so choose another \(x\) value, such as \(x = 1\) or \(x = 2\), find \(y\), and draw the line through that point and the origin.

How do you find where two lines intersect?

Solve their equations simultaneously, for example by substituting one into the other. The solution is the point where the graphs cross; check it on your sketch.

What does the gradient mean on a real-life graph?

It is the rate of change, such as litres per minute or kilometres per hour. The vertical intercept is the starting value.