Function Transformations and Geometric Solutions
Updated July 2026
Mastering function transformations is vital for the ESAT as it allows you to visualise complex algebraic equations. This topic explores how translations and stretches affect function behavior and provides a geometric framework for solving simultaneous equations. A key fact is that adding a constant within the function argument shifts the graph in the negative direction.
Geometric transformations provide a visual way to manipulate functions: y=f(x+a) and y=f(ax) affect the horizontal position and scale, while y=f(x)+a and y=af(x) affect the vertical, with graph intersections representing solutions to simultaneous equations.
Understanding Function Notation
To master transformations, we must first be clear on what the notation y=f(x) represents. This notation indicates that for any given value on the horizontal axis (the x value), the corresponding vertical value (the y value) on the curve is calculated using the rule defined by f(x). For example, if we have the function y=x2+3, the y value located above x=2 is 22+3=7, and the value above x=4 is 42+3=19. We use this understanding of inputs and outputs to deduce how modifications to the algebra affect the geometry of the graph.
Vertical Stretches: y=af(x)
Consider the specific case where we compare y=f(x)=x3 with y=4f(x)=4x3. In this transformation, every y value in the new function is exactly four times as large as the original y value for the same x coordinate. Geometrically, this is a vertical stretch of the graph by a factor of 4. The stretch occurs away from the x axis: points move upwards if y is positive and downwards if y is negative.


If the constant a is between 0 and 1, such as a=0.5, the graph becomes half its original height. If a is negative, the graph is stretched by the magnitude of a and then reflected in the x axis due to the change in sign.
Vertical Translations: y=f(x)+a
When we compare y=f(x)=x2 with y=f(x)+3=x2+3, we find that every y value increases by 3 units. This translates the entire graph upwards parallel to the y axis. Formally, we describe this as a translation by the vector (30). In general, the transformation y=f(x)+a results in a translation by (a0).
In trigonometry, notation requires care. Writing cosx+a can be ambiguous, as it might be confused with cos(x+a). Mathematicians typically write a+cosx to clarify that the constant is added to the result of the cosine function, not to the angle itself. Similarly, cos−1x refers to the inverse function (arccos) and not 1/cosx, which is written as secx.
Horizontal Translations: y=f(x+a)
This transformation is often counter-intuitive. Adding a positive constant a to the input x actually shifts the graph to the left, in the negative x direction. To understand this, let f(x)=2x and compare it with f(x+3). On the original graph, the y value at x=5 is 25=32. On the new graph y=f(x+3), the y value above x=2 is f(2+3)=f(5)=32. Thus, the value that used to be at x=5 has moved to x=2. This requires shifting the graph 3 units to the left.


In general, y=f(x+a) is a translation of y=f(x) by the vector (0−a). If a is negative, such as y=f(x−4), the graph translates 4 units to the right.
To find the expression for f(x+a), replace every x in the original formula with (x+a).
- If f(x)=x2+2x−5, then f(x+3)=(x+3)2+2(x+3)−5.
- If f(x)=cos(2x), then f(x−π/2)=cos(2(x−π/2))=cos(2x−π). Note that the coefficient 2 must multiply the entire bracketed replacement.
Horizontal Squash: y=f(ax)
Multiplying the input x by a factor a squashes the graph towards the y axis by a factor of a. Consider f(x)=x3−3x2+2 and f(2x). At x=1, the function f(2x) takes the value of f(2), which is −2. This value originally occurred at x=2, but now occurs at x=1, effectively compressing the graph horizontally.


If 0<a<1, the graph is stretched horizontally away from the y axis. If a is negative, the graph is reflected in the y axis in addition to the horizontal scaling.
Summary of Transformations
| Notation | Transformation Type |
|---|---|
| af(x) | Vertical stretch factor a away from x axis. Reflection in x axis if a<0. |
| f(x)+a | Translation by vector (a0). |
| f(x+a) | Translation by vector (0−a). |
| f(ax) | Horizontal squash factor a towards y axis. Reflection in y axis if a<0. |
Combining Transformations
The order of operations is critical when multiple transformations are applied. Consider y=cos(2x+π/6). We could reach this via two different sequences:
- Translate by −π/6 first: cosx→cos(x+π/6), then squash by factor 2: cos(2x+π/6). This is correct.
- Squash by factor 2 first: cosx→cos2x, then translate by −π/6: cos2(x+π/6)=cos(2x+π/3). This is incorrect. Alternatively, if you squash by 2 first, you would need to translate by only −π/12 to reach cos2(x+π/12)=cos(2x+π/6).
Notation for Composite Functions: f(g(x))
The notation f(g(x)) means that the function g(x) is the input for function f. If g(x)=2x and f(x)=x2+3x−2, we find f(g(x)) by replacing every x in f with 2x: f(g(x))=(2x)2+3(2x)−2=4x2+6x−2. Note that f(g(x)) is generally not equal to g(f(x)).
Linear and Quadratic Graphs as Transformations
Any linear graph y=mx+c can be viewed as a series of transformations of y=x. One sequence is a vertical stretch of y=x by factor m, followed by a translation of c/m to the left: y=x→y=mx→y=m(x+c/m)=mx+c.
Similarly, a quadratic in the form y=a(x+b)2+c is a transformation of y=x2:
- Vertical stretch factor a: y=ax2.
- Translation by −b horizontally: y=a(x+b)2.
- Translation by c vertically: y=a(x+b)2+c.
Geometric Interpretation of Equations
The solutions to the equation f(x)=g(x) correspond to the x coordinates of the points where the graphs of y=f(x) and y=g(x) intersect. If the equations are solved simultaneously, the resulting (x,y) pairs represent the geometric locations where the two curves meet. If the graphs do not intersect, there are no real solutions to the simultaneous equations.
Key takeaways
- A horizontal translation f(x+a) shifts the graph by a units in the negative x direction.
- A horizontal squash f(ax) compresses the graph towards the y axis by factor a, which is the inverse of the vertical stretch factor.
- The order of transformations matters, especially for horizontal changes: a squash applied after a translation affects the translation distance.
- Graph intersections provide a visual solution to simultaneous equations where the x values represent the real roots.
When combining horizontal transformations, always check your work by substituting a specific x value, such as the x intercept, to ensure the final graph's position matches your algebraic expression.
A common mistake is applying f(ax)+b as a single horizontal shift. Remember that terms outside the function brackets affect the vertical position, while only terms inside affect the horizontal position.
The relationship between algebraic solutions and graph intersections is the foundation of coordinate geometry. For example, the number of real roots of a polynomial is visually represented by how many times its graph crosses the x axis, which is the intersection with the line y=0.
Frequently asked questions
Why does f(x+a) move the graph to the left if a is positive?
To obtain the same output value f(k), the new input x must satisfy x+a=k, meaning x=k−a. Every point is therefore shifted a units in the negative direction.
How do I correctly apply a horizontal squash and translation together?
It is safest to factorise the input. For f(ax+b), write it as f(a(x+b/a)). This shows a squash by factor a followed by a translation of b/a to the left.
What is the difference between af(x) and f(ax) geometrically?
af(x) is a vertical stretch that changes the y coordinates, while f(ax) is a horizontal squash that changes the x coordinates.
Can every quadratic be sketched using transformations?
Yes, by completing the square to reach the form y=a(x+b)2+c, you can identify the vertical stretch, horizontal translation, and vertical translation required to transform y=x2.
Ready to test your knowledge?
You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.