Understanding the Equation of a Straight Line
Updated July 2026
The linear equation describes a straight line where is the gradient and is the -intercept. This topic explores how altering these constants transforms the parent function . Understanding these relationships is vital for sketching graphs and interpreting linear functions in the ESAT.
The graph of is a transformation of the identity function , where scales the steepness (gradient) and shifts the position vertically (the -intercept).
To understand how the constants and affect the graph of a straight line, it is useful to view as a sequence of transformations applied to the simplest linear graph: the parent function . By breaking the equation down into steps, you can see exactly how the gradient and intercept modify the line's position and orientation.
The First Sequence: Vertical Stretching and Horizontal Translation
One way to conceptualise the construction of the graph is through the following steps:
- Start with the identity function: . This is a line passing through the origin with a gradient of 1.
- Apply the gradient : . This represents a vertical stretch from the -axis with a scale factor of . If , the line becomes steeper. If , the line becomes less steep. If is negative, the line reflects across the -axis.
- Apply a horizontal translation: . By expanding this expression, we see it equals . In terms of graph transformations, replacing with translates the graph horizontally by the vector .
The Second Sequence: Translation and Gradient Adjustment
An alternative way to reach the same final equation involves shifting the line before adjusting the gradient:
- Start with the identity function: .
- Apply a vertical translation: . This shifts the graph by units vertically. This results in a line with a -intercept at .
- Adjust the gradient: . Here, the gradient is changed to . Note that the -intercept remains at , but the slope of the line changes around that fixed point.
Interpreting Vertical vs Horizontal Shifts
A key observation in linear graphs involves the step . If we define our function as , we can look at this change in two ways:
- Vertical Translation: . This is a shift of units upwards.
- Horizontal Translation: . This is a shift of units to the left.
For the specific function , a vertical shift and a horizontal shift of the same magnitude result in the exact same line. This is a unique property of the identity function that helps explain why can be seen both as a vertical offset and, when adjusted by , part of a horizontal offset.
Practical Application
When sketching , you should always identify the effect of both parameters:
- The value of : This is the -intercept. It tells you where the line crosses the vertical axis .
- The value of : This is the gradient. It tells you the 'rise over run'. For every 1 unit you move to the right, the graph moves units up (or down if is negative).
By picking various pairs of values for and and using a graph sketching package, you can observe these transformations in real time. For instance, increasing while keeping constant will 'pivot' the line around the point , making it steeper.
Key takeaways
- The constant represents the gradient, determines the steepness, and acts as a vertical scale factor relative to .
- The constant is the -intercept, indicating the point where the line crosses the -axis.
- The transformation can be interpreted as either a vertical translation of or a horizontal translation of .
- The full equation can be reached by a vertical stretch followed by a horizontal translation of units.
In the ESAT, if you are asked to identify a graph from an equation, find the -intercept first. This usually eliminates half of the multiple-choice options immediately. Then, check if the gradient is positive or negative to narrow it down further.
Be careful when identifying horizontal shifts. While has a -intercept of , its -intercept is at . Students often mistake for the -intercept.
The dual nature of as both a vertical and horizontal shift in the parent function is due to the fact that the line has a gradient of 1. For any line , a vertical shift of units is always equivalent to a horizontal shift of units.
Frequently asked questions
What happens to the graph if ?
If , the equation becomes . This is a horizontal line where the gradient is zero, meaning it stays at the same -value regardless of the -value.
Why does result in ?
Distributing the across the brackets gives . The terms in the fraction cancel out, leaving . This shows that the vertical intercept is related to a horizontal shift of .
If is negative, how does the graph move?
A negative value translates the graph downwards. For example, is the graph of shifted 3 units down, crossing the -axis at .