2. Functions

Composite Transformations Of Graphs

Composite Transformations of Graphs

students, in this lesson you will learn how to combine graph transformations to change the shape, position, and direction of a function’s graph 📈. These ideas are important in IB Mathematics Analysis and Approaches SL because they help you read, sketch, and interpret functions in a structured way. By the end of this lesson, you should be able to explain the meaning of composite transformations, apply them to common functions, and connect them to broader function ideas such as domain, range, and function notation.

Introduction: Why graph transformations matter

Graphs are a visual way to describe relationships between variables. In many real situations, a simple function is not used exactly as written. Instead, it is modified to fit the situation better. For example, a company’s profit graph might be moved upward to represent a fixed bonus, stretched to represent faster growth, or reflected to show a drop in value. These changes are called transformations.

A transformation is a rule that changes a graph in a predictable way. A composite transformation means more than one transformation happens to the same graph. The order matters. If you shift a graph first and then stretch it, the result may be different from stretching first and then shifting. That is one of the most important ideas in this topic.

In IB Mathematics Analysis and Approaches SL, you should be able to use function notation to describe these changes. If $f(x)$ is a base function, then transformed graphs are often written in forms such as $f(x)+k$, $f(x-h)$, $af(x)$, or $f(bx)$. These expressions describe how the original graph changes.

Core ideas and terminology

A base graph is the original graph before any changes are made. Common base graphs include $y=x$, $y=x^2$, $y=\frac{1}{x}$, $y=e^x$, and $y=\log(x)$.

The main transformation types are:

  • Vertical translation: $y=f(x)+k$ shifts the graph up by $k$ units if $k>0$, and down by $|k|$ units if $k<0$.
  • Horizontal translation: $y=f(x-h)$ shifts the graph right by $h$ units if $h>0$, and left by $|h|$ units if $h<0$.
  • Vertical stretch or compression: $y=af(x)$ multiplies all $y$-values by $a$. If $|a|>1$, the graph is stretched vertically. If $0<|a|<1$, it is compressed.
  • Reflection in the $x$-axis: $y=-f(x)$.
  • Horizontal stretch or compression: $y=f(bx)$ changes $x$-values. If $|b|>1$, the graph is compressed horizontally. If $0<|b|<1$, it is stretched horizontally.
  • Reflection in the $y$-axis: $y=f(-x)$.

When several transformations are combined, the final graph is the result of all of them together. For example, $y=-2f(x-3)+1$ means: shift right 3, reflect in the $x$-axis, stretch vertically by factor 2, and shift up 1. The exact order used in interpretation is based on the structure of the function, and students should read the expression carefully.

Reading transformations from a function rule

One of the most useful skills is recognizing the effect of an expression without drawing every point. Suppose the base graph is $y=f(x)$. Then:

  • $y=f(x-2)$ moves the graph right 2.
  • $y=f(x)+2$ moves the graph up 2.
  • $y=3f(x)$ stretches vertically by factor 3.
  • $y=f(2x)$ compresses horizontally by factor $\frac{1}{2}$.

A common mistake is to confuse $f(x-h)$ with $f(x)+h$. The first changes the input and causes a horizontal shift, while the second changes the output and causes a vertical shift. This difference is important because horizontal and vertical transformations do not act in the same way.

Example: If $f(x)=x^2$, then $y=(x-4)^2+1$ is the graph of $y=x^2$ shifted right 4 and up 1. The vertex moves from $(0,0)$ to $(4,1)$. The shape stays a parabola, but its position changes.

Another example: if $f(x)=\sqrt{x}$, then $y=-f(x)+3$ becomes $y=-\sqrt{x}+3$. This reflects the graph in the $x$-axis and then shifts it up 3. The point $(0,0)$ becomes $(0,3)$.

Applying composite transformations step by step

To handle composite transformations well, students, it helps to work carefully and think about what each part does. A good strategy is to start from the inside of the function and move outward.

Consider $y=-2f(x+1)+4$.

  1. The $x+1$ inside the function means a shift left 1.
  2. The factor $-2$ outside means a reflection in the $x$-axis and a vertical stretch by factor 2.
  3. The $+4$ outside means a shift up 4.

Now imagine the base function is $f(x)=x^2$. Then the transformed graph is $y=-2(x+1)^2+4$.

The vertex of the original parabola is $(0,0)$, and after the transformations it becomes $(-1,4)$. The graph opens downward because of the negative sign. The vertical stretch makes it narrower than the original parabola.

This kind of reasoning is exactly what you need in IB Mathematics Analysis and Approaches SL. You are not just memorizing formulas; you are showing that you understand how one graph turns into another.

Composite transformations on different function families

Composite transformations appear across many function types.

For a linear function such as $f(x)=x$, the graph is a straight line. If we transform it to $y=2f(x-3)-1$, then the line becomes steeper, shifts right 3, and shifts down 1. The new equation is $y=2(x-3)-1$, which simplifies to $y=2x-7$.

For a quadratic function such as $f(x)=x^2$, transformations change the vertex and the width of the parabola. A graph like $y=\frac{1}{2}(x+2)^2-5$ is a wider parabola, shifted left 2 and down 5.

For a rational function such as $f(x)=\frac{1}{x}$, transformations can move asymptotes. The graph of $y=\frac{1}{x-4}+2$ has vertical asymptote $x=4$ and horizontal asymptote $y=2$.

For an exponential function such as $f(x)=e^x$, a graph like $y=-3e^{x-1}+2$ is reflected in the $x$-axis, stretched vertically by factor 3, shifted right 1, and shifted up 2. Exponential graphs are often used for growth and decay, so these transformations are useful in real contexts like population change or finance.

For a logarithmic function such as $f(x)=\log(x)$, transformations move the vertical asymptote and adjust the graph’s position. The graph of $y=\log(x+2)-1$ shifts left 2 and down 1, and its vertical asymptote becomes $x=-2$.

Domain, range, and transformation effects

Composite transformations do more than change appearance. They can also change the domain and range.

If the base function is $f(x)=\sqrt{x}$, then its domain is $x\ge 0$. After a transformation such as $y=\sqrt{x-5}$, the domain becomes $x\ge 5$ because the expression inside the square root must still be nonnegative.

For $f(x)=\frac{1}{x}$, the original domain is $x\ne 0$. If we transform it to $y=\frac{1}{x+1}-3$, then the domain becomes $x\ne -1$, and the range becomes $y\ne -3$.

This is why composite transformations are connected to the broader topic of functions. They help you understand how the input and output values are altered, which is central to function language and representation.

Worked example with a graph interpretation

Let the base function be $f(x)=x^2$. Suppose the transformed function is $g(x)=3f(x-2)-6$.

First, rewrite it as $g(x)=3(x-2)^2-6$.

Interpretation:

  • shift right 2
  • stretch vertically by factor 3
  • shift down 6

The original vertex $(0,0)$ moves to $(2,-6)$.

If you test a point such as $(1,1)$ on $y=x^2$, then after shifting right 2 it becomes $(3,1)$, after stretching vertically by 3 it becomes $(3,3)$, and after shifting down 6 it becomes $(3,-3)$. This point-checking method can help you verify your sketch ✅.

Common mistakes to avoid

A frequent error is reversing horizontal and vertical shifts. Remember that $f(x-2)$ is right 2, not up 2.

Another mistake is forgetting that a negative sign outside the function reflects across the $x$-axis. For example, $y=-f(x)+1$ is not the same as $y=-(f(x)+1)$ in terms of transformation order, because the first reflects first and then shifts, while the second shifts first inside the expression before reflecting.

Also, when working with horizontal transformations, be careful: $f(2x)$ does not shift the graph left or right. It compresses the graph horizontally.

Conclusion

Composite transformations of graphs are a powerful way to describe how functions change. In IB Mathematics Analysis and Approaches SL, you need to recognize the effect of expressions such as $f(x-h)$, $af(x)$, and $f(bx)$, and combine them correctly. These transformations are important because they connect algebraic notation with visual graph changes, and they help you analyze domain, range, asymptotes, vertices, and real-world behavior.

students, if you can read a transformed function and describe its changes clearly, you are building a strong foundation for the rest of the Functions topic and for later work with modeling, inverses, and composite functions.

Study Notes

  • A transformation changes a graph in a predictable way.
  • Composite transformations mean more than one transformation is applied.
  • $f(x)+k$ shifts a graph vertically.
  • $f(x-h)$ shifts a graph horizontally.
  • $af(x)$ changes the graph vertically and may reflect it if $a<0$.
  • $f(bx)$ changes the graph horizontally and may reflect it if $b<0$.
  • Horizontal changes happen inside the function; vertical changes happen outside.
  • The order of transformations matters.
  • Composite transformations can change domain and range.
  • Base graphs such as $y=x^2$, $y=\frac{1}{x}$, $y=e^x$, and $y=\log(x)$ are common starting points.
  • Careful notation helps avoid mistakes when sketching or interpreting graphs.

Practice Quiz

5 questions to test your understanding