Transformations of Functions
Welcome, students! In this lesson, you will learn how to change the graph of a function in predictable ways β¨. These changes are called transformations. In AP Precalculus, transformations help you understand how polynomial and rational functions behave without having to redraw everything from scratch. By the end of this lesson, you should be able to explain the main ideas and terminology, apply the rules to new graphs, and connect transformations to the larger study of polynomial and rational functions.
Objectives:
- Explain what transformations are and name the most important types.
- Use transformation rules to sketch or interpret graphs.
- Connect transformed functions to polynomial and rational behavior.
- Describe how transformations change key features like intercepts, asymptotes, and end behavior.
A key idea to remember is this: when a function is transformed, the graph changes in a systematic way. That means if you know the original function, you can often predict the new graph by looking at how the input or output was changed.
What Transformations Mean
A function transformation is a rule that changes a parent function into a new function. A parent function is a simple base function that acts like a starting point. For example, $f(x)=x^2$ is the parent function for many quadratic polynomials, and $f(x)=\frac{1}{x}$ is a common parent function for rational functions.
The most common transformations are:
- Translations: shifting the graph left, right, up, or down.
- Reflections: flipping the graph over an axis.
- Stretches and compressions: making the graph taller, shorter, wider, or narrower.
These transformations can be written using function notation. If $f(x)$ is the original function, then:
- $f(x)+k$ shifts the graph up by $k$ units.
- $f(x)-k$ shifts the graph down by $k$ units.
- $f(x-h)$ shifts the graph right by $h$ units.
- $f(x+h)$ shifts the graph left by $h$ units.
- $-f(x)$ reflects the graph across the $x$-axis.
- $f(-x)$ reflects the graph across the $y$-axis.
- $af(x)$ stretches vertically by a factor of $|a|$ if $|a|>1$ and compresses vertically if $0<|a|<1$.
- $f(ax)$ compresses horizontally by a factor of $|a|$ if $|a|>1$ and stretches horizontally if $0<|a|<1$.
A useful memory trick is to think about the inside and outside of the function. Changes outside the function affect the $y$-values. Changes inside the function affect the $x$-values.
Working With Vertical and Horizontal Shifts
Vertical shifts are usually easier to notice first because they move the whole graph up or down. For example, if $f(x)=x^2$, then $g(x)=x^2+3$ is the same parabola moved up 3 units. Its vertex moves from $(0,0)$ to $(0,3)$.
Horizontal shifts work a little differently. If $g(x)=(x-4)^2$, then the graph of $f(x)=x^2$ moves right 4 units, not left. This is one of the most important ideas in the lesson. The sign inside the parentheses is opposite the direction of movement.
Consider the rational function $f(x)=\frac{1}{x}$. If we define $g(x)=\frac{1}{x-2}$, then the graph shifts right 2 units. The vertical asymptote moves from $x=0$ to $x=2$, and the horizontal asymptote stays at $y=0$.
If we instead define $h(x)=\frac{1}{x}+5$, then the graph shifts up 5 units. The horizontal asymptote changes from $y=0$ to $y=5$.
This matters because transformations often move important features. For polynomial graphs, the vertex, turning points, and intercepts can move. For rational graphs, asymptotes are especially important, and students should always track them carefully.
Reflections, Stretches, and Compressions
Reflections flip a graph. If $g(x)=-f(x)$, then every output value becomes the opposite sign. A point $(x,y)$ becomes $(x,-y)$. If $g(x)=f(-x)$, then every input value changes sign, so $(x,y)$ becomes $(-x,y)$.
For example, if $f(x)=x^3$, then $g(x)=-x^3$ reflects the cubic over the $x$-axis. The shape stays the same, but all $y$-values are opposite. This changes the end behavior: as $x$ gets large and positive, $g(x)$ gets large and negative.
Stretches and compressions change the size of the graph. If $g(x)=2f(x)$, then all $y$-values double. A point $(x,y)$ becomes $(x,2y)$. If $g(x)=\frac{1}{2}f(x)$, then all $y$-values are cut in half.
Horizontal scaling is more subtle. If $g(x)=f(2x)$, then the graph is compressed horizontally by a factor of $\frac{1}{2}$. This happens because the input must be smaller to produce the same output. For example, on $f(x)=x^2$, the graph of $g(x)=(2x)^2=4x^2$ is not just a vertical stretch; it also represents a horizontal compression in terms of input-output behavior.
For many AP Precalculus problems, it helps to compare transformed graphs to a parent function using a table of values. Suppose $f(x)=\frac{1}{x}$. Then $g(x)=2f(x-1)+3$ is transformed in three ways:
- shift right 1,
- vertical stretch by factor $2$,
- shift up $3$.
So the asymptotes move from $x=0$ and $y=0$ to $x=1$ and $y=3$.
Transformations in Polynomial Functions
Polynomial functions have graphs made from powers of $x$ with whole-number exponents, such as $f(x)=x^2-4x+1$ or $f(x)=(x-3)^2(x+1)$.
Transformations help you recognize the shape of a polynomial graph quickly. For example, the function $f(x)=(x-2)^2+1$ comes from the parent function $y=x^2$. It is shifted right 2 and up 1. The vertex is $(2,1)$, and the parabola opens upward.
If a polynomial is written in factored form, transformations can be easier to spot. For example, $f(x)=-(x+1)^3$ is a transformed cubic. Compared to $y=x^3$, it is shifted left 1 unit and reflected across the $x$-axis. The graph still has the cubic βSβ shape, but its direction is reversed.
Transformations also affect the zeros of a polynomial. If $f(x)=0$ at some input value, then a horizontal shift changes where the zero occurs. For example, if $f(x)=x^2$, the zero is at $x=0$. For $g(x)=(x-5)^2$, the zero occurs at $x=5$. If the graph is reflected or stretched, the zeros may stay the same or change depending on the transformation, but shifts move them directly.
A real-world example is projectile motion. A simple model for the height of a ball might be $h(t)=-(t-2)^2+9$. This means the ball reaches a maximum height at $t=2$ and $h=9$. The shape is a transformed parabola, and the transformation tells you when the peak happens and how high it is.
Transformations in Rational Functions
Rational functions are ratios of polynomials, such as $f(x)=\frac{1}{x}$ or $f(x)=\frac{x+1}{x-3}$.
Transformations are especially useful because they help you find asymptotes and shifts. If $f(x)=\frac{1}{x}$, then $g(x)=\frac{1}{x-4}+2$ has a vertical asymptote at $x=4$ and a horizontal asymptote at $y=2$. The graph is the parent hyperbola moved right 4 and up 2.
Rational functions can also be transformed by multiplying the output. For instance, $g(x)=-3\left(\frac{1}{x}\right)$ reflects the graph across the $x$-axis and stretches it vertically by a factor of $3$. The asymptotes stay at $x=0$ and $y=0$, but the branches are farther from the axes.
Transformations are important when rational functions are used in science or economics. For example, a simple inverse variation model may look like $C(x)=\frac{50}{x}+10$, where $x$ is the number of items and $C(x)$ is a cost per item. The constant $10$ shifts the graph up, which means the cost approaches $10$ as $x$ gets very large.
When analyzing rational functions, always check for:
- vertical asymptotes,
- horizontal or slant asymptotes,
- intercepts,
- holes, if the function has canceled factors.
Transformations may move asymptotes, but they do not remove the need to look for them carefully.
How to Recognize and Apply Transformations
When you see a transformed function, use a step-by-step strategy:
- Identify the parent function.
- Look for changes outside the function for vertical effects.
- Look for changes inside the function for horizontal effects.
- Check whether there is a reflection.
- Identify stretches or compressions.
- Update key features such as intercepts, vertices, or asymptotes.
For example, suppose $g(x)=-2(x-3)^2+4$. Start with $f(x)=x^2$.
- $x-3$ means shift right 3.
- The factor $-2$ means reflect over the $x$-axis and stretch vertically by $2$.
- $+4$ means shift up 4.
So the vertex is $(3,4)$, and the parabola opens downward.
This kind of reasoning is common on AP Precalculus assessments because it tests whether you can interpret structure, not just compute. If you can explain how a graph changes, you can often answer questions about behavior, features, and relationships more efficiently.
Conclusion
students, transformations are a powerful way to understand functions in AP Precalculus. They let you move between a simple parent function and a more complicated graph while keeping track of important features. In polynomial functions, transformations help identify vertices, zeros, turning points, and end behavior. In rational functions, they help locate asymptotes, shifts, and the overall shape of the graph.
The big idea is that graph changes follow consistent rules. Vertical changes happen outside the function, and horizontal changes happen inside the function. Once you know that pattern, you can analyze and sketch transformed functions with confidence π.
Study Notes
- A parent function is a basic starting graph such as $f(x)=x^2$ or $f(x)=\frac{1}{x}$.
- $f(x)+k$ shifts a graph up by $k$; $f(x)-k$ shifts it down by $k$.
- $f(x-h)$ shifts a graph right by $h$; $f(x+h)$ shifts it left by $h$.
- $-f(x)$ reflects a graph over the $x$-axis.
- $f(-x)$ reflects a graph over the $y$-axis.
- $af(x)$ causes a vertical stretch or compression.
- $f(ax)$ causes a horizontal compression or stretch.
- For polynomial functions, transformations affect features like vertices, intercepts, and end behavior.
- For rational functions, transformations often move asymptotes and shift the graphβs overall position.
- Always identify the parent function first, then track each transformation one at a time.
- Understanding transformations helps you explain and sketch graphs faster and more accurately on AP Precalculus problems.
