Intersections and Transformations of Graphs

Updated July 2026

Understand how to find coordinate axis intercepts and apply function transformations. This guide covers vertical and horizontal translations, stretches, and squashes, alongside techniques for determining the number of real roots in a polynomial. Mastering these transformations is essential for identifying key features of complex functions in the ESAT.

Core concept

A graph transformation alters the algebraic form of y=f(x)y = f(x) to shift, stretch, or reflect the curve, which directly determines the position of roots and axis intersections.

Intersecting the Coordinate Axes

To determine where the graph of a function y=f(x)y = f(x) intersects the coordinate axes, we use specific algebraic substitutions. For the yy axis, the xx coordinate must be zero. By calculating f(0)f(0), we find the yy coordinate of the intersection. For the xx axis, the yy coordinate must be zero. We solve the equation f(x)=0f(x) = 0 to find the xx coordinates. These solutions are known as the real roots of the function. A general polynomial of degree nn can possess a maximum of nn real roots, though it may have fewer.

The Notation y=f(x)y = f(x)

Before exploring transformations, it is vital to understand the notation. The expression y=f(x)y = f(x) indicates that for any value of xx, the corresponding yy value on the curve is calculated using the function ff. For example, if f(x)=x2+3f(x) = x^2 + 3, then at x=2x = 2, y=22+3=7y = 2^2 + 3 = 7. At x=4x = 4, y=42+3=19y = 4^2 + 3 = 19. This relationship allows us to deduce how changes to the algebra of the function affect the physical graph.

Vertical Stretches: y=af(x)y = a f(x)

When we multiply the entire function by a constant aa, every yy value is multiplied by that constant. If we compare y=x3y = x^3 with y=4x3y = 4x^3, each yy value on the second graph is four times as large as on the first. This results in a vertical stretch away from the xx axis by a factor of 4.

img-78.jpeg

In general, y=af(x)y = a f(x) stretches the graph vertically by factor aa. If 0<a<10 < a < 1, the graph becomes less tall (a vertical squash). If aa is negative, the graph is reflected in the xx axis in addition to the stretch.

img-79.jpeg

Vertical Translations: y=f(x)+ay = f(x) + a

Adding a constant aa to the function result moves the entire graph vertically. For y=x2+3y = x^2 + 3, every point on the graph y=x2y = x^2 is shifted up by 3 units. Formally, we describe this as a translation by the vector (0a)\binom{0}{a}. If aa is negative, the graph moves downwards parallel to the yy axis.

Note that in trigonometry, we often write a+cosxa + \cos x instead of cosx+a\cos x + a to avoid confusion with cos(x+a)\cos(x + a).

Horizontal Translations: y=f(x+a)y = f(x + a)

This transformation is frequently misunderstood. While it may seem intuitive that adding aa to xx should shift the graph to the right, it actually shifts the graph to the left. To find f(x+a)f(x + a) from a given f(x)f(x), we replace every instance of xx in the expression with (x+a)(x + a).

Example: Given f(x)=x2+2x5f(x) = x^2 + 2x - 5, then f(x+3)=(x+3)2+2(x+3)5f(x + 3) = (x + 3)^2 + 2(x + 3) - 5.

Example: Given f(x)=cos(2x)f(x) = \cos(2x), then f(xπ2)=cos2(xπ2)=cos(2xπ)f(x - \frac{\pi}{2}) = \cos 2(x - \frac{\pi}{2}) = \cos(2x - \pi). It is a common error to forget to multiply the entire replacement by the coefficient of xx.

To understand why y=f(x+3)y = f(x + 3) shifts the graph of f(x)=2xf(x) = 2^x to the left, consider the yy values. On y=f(x)y = f(x), the yy value above x=5x = 5 is 25=322^5 = 32. On y=f(x+3)y = f(x + 3), the yy value above x=2x = 2 is f(2+3)=f(5)=32f(2+3) = f(5) = 32. The value that used to occur at x=5x=5 now occurs earlier at x=2x=2. Thus, the graph has moved 3 units to the left.

img-80.jpeg

img-81.jpeg

In general, y=f(x+a)y = f(x + a) is a translation of y=f(x)y = f(x) by the vector (a0)\binom{-a}{0}.

Horizontal Stretches: y=f(ax)y = f(ax)

Multiplying the input xx by a factor aa squashes the graph towards the yy axis by a factor of aa. To find f(ax)f(ax), we replace every xx with axax. For example, if f(x)=x2f(x) = x^2, then f(3x)=(3x)2=9x2f(3x) = (3x)^2 = 9x^2.

Consider f(x)=x33x2+2f(x) = x^3 - 3x^2 + 2. If we look at y=f(2x)y = f(2x), the yy value above x=1x = 1 is f(2×1)=f(2)f(2 \times 1) = f(2). In the original graph, the yy value for x=2x = 2 was 2-2. Now, that same yy value occurs at x=1x = 1. This causes the graph to squash horizontally.

img-82.jpeg

img-83.jpeg

In general, y=f(ax)y = f(ax) is a horizontal stretch by a factor of 1a\frac{1}{a} towards the yy axis. If a<0a < 0, the graph is also reflected in the yy axis.

Combining Transformations

The order in which transformations are applied is critical. Consider y=cos(2x+π6)y = \cos(2x + \frac{\pi}{6}). There are two ways to interpret this starting from y=cosxy = \cos x:

  1. Translate by (π60)\binom{-\frac{\pi}{6}}{0} to get cos(x+π6)\cos(x + \frac{\pi}{6}), then apply a horizontal squash by factor 2 to get cos(2x+π6)\cos(2x + \frac{\pi}{6}). This is correct.

  2. Squash by factor 2 to get cos2x\cos 2x, then translate by (π120)\binom{-\frac{\pi}{12}}{0}. This results in cos2(x+π12)=cos(2x+π6)\cos 2(x + \frac{\pi}{12}) = \cos(2x + \frac{\pi}{6}). This is also correct.

If you squash by 2 first and then translate by π6\frac{\pi}{6}, you would get cos2(x+π6)=cos(2x+π3)\cos 2(x + \frac{\pi}{6}) = \cos(2x + \frac{\pi}{3}), which is incorrect.

The Notation f(g(x))f(g(x))

Composite functions involve taking the output of one function as the input for another. To find f(g(x))f(g(x)), replace every xx in f(x)f(x) with the entire expression for g(x)g(x). For example, if g(x)=2xg(x) = 2x and f(x)=x2+3x2f(x) = x^2 + 3x - 2, then f(g(x))=(2x)2+3(2x)2=4x2+6x2f(g(x)) = (2x)^2 + 3(2x) - 2 = 4x^2 + 6x - 2. Generally, f(g(x))f(g(x)) is not equal to g(f(x))g(f(x)).

Linear and Quadratic Graphs

We can view standard equations through the lens of transformations:

  1. Linear: y=mx+cy = mx + c can be seen as y=xy = x stretched vertically by factor mm then translated by (0c)\binom{0}{c}.

  2. Quadratic: y=a(x+b)2+cy = a(x + b)^2 + c is the graph y=x2y = x^2 stretched vertically by aa, translated horizontally by b-b, and translated vertically by cc. The vertex of this parabola is located at (b,c)(-b, c).

Key takeaways

  • y=f(x+a)y = f(x + a) is a horizontal translation by aa units to the left (negative xx direction) if aa is positive.
  • y=af(x)y = af(x) is a vertical stretch of factor aa, while y=f(ax)y = f(ax) is a horizontal stretch of factor 1/a1/a.
  • To find intersections with the yy axis, calculate f(0)f(0); to find roots (xx intercepts), solve f(x)=0f(x) = 0.
  • A polynomial of degree nn can have at most nn real roots.
  • When combining transformations like f(ax+b)f(ax + b), the order is vital: translating before squashing uses the value bb, but squashing before translating requires adjusting the shift to b/ab/a.
Tips

When finding the roots of transformed functions in the ESAT, it is often easier to find the roots of the parent function f(x)f(x) first and then apply the horizontal transformations to those specific xx values.

Cautions

Be careful with inverse notation. The expression cos1x\cos^{-1} x refers to the inverse function (arccos), not 1/cosx1/\cos x. Reciprocals are written using specific terms like secx\sec x.

Insight

The relationship between the degree of a polynomial and its roots is a fundamental theorem of algebra. While a degree nn polynomial has exactly nn complex roots, the ESAT focuses on real roots, which correspond to the physical intersections seen on a coordinate grid.

Frequently asked questions

Why does f(x+a)f(x + a) move the graph to the left instead of the right?

This happens because a specific yy value now requires a smaller xx input to achieve the same total value inside the function. If f(5)=10f(5) = 10, then in f(x+2)f(x + 2), we only need x=3x = 3 to reach that same f(5)f(5) state. Consequently, all points occur 2 units earlier on the xx axis.

What is the maximum number of times a cubic graph can cross the xx axis?

A cubic is a polynomial of degree 3, so it can have at most 3 real roots, meaning it can cross the xx axis a maximum of 3 times.

Does the transformation y=af(x)y = af(x) change the roots of the function?

No, a vertical stretch does not change the xx intercepts. If f(x)=0f(x) = 0, then a×f(x)a \times f(x) will also be 0, provided aa is not zero. However, it will change the yy intercept unless the intercept is at the origin.

Is f(g(x))f(g(x)) the same as f(x)×g(x)f(x) \times g(x)?

No. f(g(x))f(g(x)) is a composite function where the expression for g(x)g(x) is substituted into f(x)f(x). f(x)g(x)f(x)g(x) is the product of the two function outputs. These are fundamentally different operations.

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.

Intersections and Transformations of Graphs | esat.fyi