Graphing linear functions
This section focuses on the key features and methods for working with linear graphs. It demonstrates how to sketch graphs from rules, derive rules from graphs, and calculate key features such as the gradient and \(x\)- and \(y\)-axis intercepts.
Use this page to revise the following concepts of graphing linear functions:
Features of linear graphs
Linear graphs are straight-line graphs that visually represent a constant rate of change in the relationship between two variables, showing how one changes in response to the other. They are expressed in the general form \(y = a + bx\), where a is the \(y\)-intercept and \(b\) is the gradient.
Key features of linear graphs are:
- gradient or slope : Represents the steepness and direction of the line
- \(x\)- and \(y\)-axis intercepts: The points where the line crosses the \(x\)-axis and \(y\)-axis, respectively.
Determining the gradient
The gradient of a linear function can be calculated from its rule, derived from a table of values, determined using two points, or found using rise over run on a graph.
Below are four methods that can be used to determine the gradient.
Determining \(x\)- and \(y\) -axis intercepts
The \(x\)-intercept is the point where a graph crosses the \(x\)-axis \((y=0)\), and the \(y\)-intercept is where it crosses the \(y\)-axis \((x=0)\).
For an equation in the form \(y = a + bx\) the:
\(x\)-axis intercept is calculated by substituting \(y = 0\) into the rule and solving for \(x\)
\[0 = a + bx \quad \Rightarrow \quad x = -\frac{a}{b}\]
The \(x\)-intercept is \(\left({-}\frac{a}{b},0\right)\).
Sometimes it can be helpful to rearrange the rule into the standard form \(y = a + bx\) first, however this is not required.
\(y\)-axis intercept is calculated by substituting \(x = 0\) into the rule and solving for \(y\)
\[y = a + b(0) \quad \Rightarrow \quad y = a\]
The \(y\)-inercept is \((0,a)\).
Worked Example
Determine \(x\)- and \(y\)-axis intercepts for the linear function with rule \(2.5y = 0.5 - 1.5x\).
\(x\)-axis intercept
Substitute \(y = 0\) into the rule
\[2.5(0) = 0.5 - 1.5x\]
Solve for \(x\)
\[\begin{align}0 &= 0.5 - 1.5x \\ 1.5x &= 0.5 \\ x &= \frac{1}{3}\end{align}\]
The \(x\)-intercept is \((\frac{1}{3},0)\).
\(y\)-axis intercept
Subsitute \(x = 0\) into the rule
\[2.5y = 0.5 -1.5(0)\]
Solve for \(y\)
\[y = 0.2\]
The \(y\)-intercept is \((0,0.2)\).
Check your understanding
View
Plotting linear graphs
Going from rule to graph
To sketch a linear graph from a rule, determine two points that satisfy the rule and connect them with a straight line.
Two commonly used methods are:
- calculate both axes intercepts and draw a straight line between them
- use the \(y\)-intercept and gradient to locate a second point.
Going from graph to rule
To determine the rule for a given linear graph, locate two points on the graph and use these to calculate the gradient and establish the \(y\)-intercept.
Two commonly used methods are:
- read the \(y\)-intercept directly from the graph and locate a second convenient point to calculate the gradient
- select two convenient points on the line to calculate the gradient and \(y\)-intercept











