Updated July 2026 with College Board AP Precalculus course guidance

AP Precalculus: Function Transformations

Function transformations explain how a parent graph changes when the formula is shifted, reflected, stretched, compressed, or rewritten in a new form. This guide teaches AP Precalculus transformations with step-by-step rules, MathJax formulas, point mapping, domain and range changes, asymptote behavior, parent-function examples, sinusoidal parameters, and AP-style reasoning. It is a focused transformation guide, not a generic formula list.

AP Precalculus Alignment for Function Transformations

Function transformations are part of the language of AP Precalculus. College Board describes the course as a functions and modeling course where students examine scenarios through multiple representations. Transformations support that goal because they connect symbolic formulas, graph features, tables of values, model parameters, and contextual interpretation. A student who can identify a shift in a formula but cannot explain what changed in the graph has not finished the AP-level skill.

The official AP Central course page organizes AP Precalculus into four commonly taught units. Units 1, 2, and 3 are assessed on the AP Exam; Unit 4 is listed as additional content that is not assessed. Transformations appear throughout the assessed units. In Unit 1, transformations help students understand polynomial and rational graphs, including shifted roots, vertices, holes, and asymptotes. In Unit 2, transformations describe exponential and logarithmic models, especially horizontal asymptotes, input shifts, and output shifts. In Unit 3, transformations are unavoidable because sinusoidal models use amplitude, period, phase shift, and midline.

College Board's AP Students page says Unit 3 includes modeling data and scenarios with sinusoidal functions, and the official AP Central course page lists Unit 3 as 30% to 35% of the multiple-choice section. That does not mean transformations are only a Unit 3 topic. It means Unit 3 makes transformations visible in a high-stakes way. When a tide, temperature, daylight, Ferris wheel, or seasonal data problem asks for a sinusoidal model, the transformation parameters are not decorative. They are the model.

The AP mathematical practices also matter. Transformations require procedural and symbolic fluency when rewriting \(f(b(x-h))+k\), multiple representations when matching formulas to graphs and tables, and communication when explaining what a parameter means. This page is built around those practices: identify the parent function, decode the parameters, map points, adjust domain and range, and explain the result in mathematical language.

AP area Transformation role What this page teaches
Unit 1: Polynomial and Rational Functions Graph features move or scale when formulas change. Vertex shifts, intercept changes, rational asymptote movement, and domain/range consequences.
Unit 2: Exponential and Logarithmic Functions Transformations explain asymptotes, domains, ranges and inverse relationships. Exponential/log shifts, stretches, reflections and domain restrictions.
Unit 3: Trigonometric and Polar Functions Sinusoidal models are built from amplitude, period, phase shift and midline. How to read \(A\), \(B\), \(C\), and \(D\) in \(A\sin(B(x-C))+D\).
AP practices Students must move between formulas, graphs, tables and context. Point mapping, graph interpretation, parameter language, and error checks.

Page intent

Use this page when the skill is transforming graphs and formulas. Use Function Concepts for the broader foundation of domain, range, notation and function values. Use Inverse Functions when the graph is reflected across \(y=x\). Use AP Precalculus Formula Hub when you need a complete course formula sheet.

What a Function Transformation Means

A function transformation is a systematic change to a graph. The original function is often called the parent function. The transformed function keeps a recognizable relationship to the parent, but points move according to a rule. For example, \(f(x)=x^2\) has vertex \((0,0)\). The transformed function \(g(x)=(x-3)^2+5\) has the same parabolic shape, but its vertex is \((3,5)\). The formula tells you exactly how the graph moved.

The most important AP Precalculus idea is that transformations are not just visual effects. They change domain, range, intercepts, asymptotes, extrema, and contextual interpretation. A vertical shift changes every output. A horizontal shift changes which input produces a given output. A vertical stretch changes distances from the \(x\)-axis or from a midline. A horizontal stretch changes how quickly the graph reaches key features. A reflection changes orientation and may reverse increasing/decreasing behavior.

Parent and transformed function \(f(x)\quad\longrightarrow\quad g(x)\)

A transformation question usually asks one of four things. It may ask you to describe the transformation from a formula. It may ask you to write a formula from a described transformation. It may ask you to sketch or identify the graph. Or it may ask you to interpret the parameters in a context. The safest routine is to start with a parent function, identify inside changes, identify outside changes, and then track key points.

Inside changes affect the input. Outside changes affect the output. This one sentence explains most transformation mistakes. In \(f(x-4)\), the change is inside the input, so it changes which \(x\)-values produce the same outputs. In \(f(x)+4\), the change is outside the function, so it raises each output by 4. In \(f(2x)\), the input is scaled before the parent function receives it, so the graph changes horizontally. In \(2f(x)\), the output is scaled after the parent function acts, so the graph changes vertically.

Inside the function

Changes such as \(f(x-h)\), \(f(bx)\), and \(f(b(x-h))\) affect input values. They move or scale the graph horizontally.

Outside the function

Changes such as \(af(x)\) and \(f(x)+k\) affect output values. They move or scale the graph vertically.

The Master Transformation Formula

A compact way to organize many transformations is the formula \(g(x)=a f(b(x-h))+k\). This formula is not the only possible transformation notation, but it is a strong AP Precalculus reference form because it separates vertical and horizontal effects clearly.

General transformation form \(g(x)=a f(b(x-h))+k\)
Parameter Graph effect What to watch
\(h\) Horizontal shift right by \(h\) when written as \(x-h\) The sign feels reversed because the change is inside the input.
\(k\) Vertical shift up by \(k\) Moves outputs, range, horizontal asymptotes and midlines.
\(a\) Vertical stretch/compression by \(|a|\); reflection across the \(x\)-axis if \(a\lt 0\) Measure from the \(x\)-axis unless the function has a midline form, such as sinusoidal models.
\(b\) Horizontal compression/stretch by factor \(\dfrac{1}{|b|}\); reflection across the \(y\)-axis if \(b\lt 0\) Horizontal scale uses the reciprocal of the inside factor.

The point-mapping rule for this form is often the fastest way to sketch accurately. If \((x_0,y_0)\) is on \(y=f(x)\), then the corresponding point on \(y=g(x)\) is:

Point mapping rule \((x_0,y_0)\quad\longrightarrow\quad\left(\dfrac{x_0}{b}+h,\;ay_0+k\right)\)

This mapping rule is more reliable than memorizing a vague order of operations. It tells you exactly what happens to every point. The original input \(x_0\) is divided by \(b\) and shifted by \(h\). The original output \(y_0\) is multiplied by \(a\) and shifted by \(k\). If you can transform key points, you can transform graphs, tables, intercepts, vertices and asymptotes.

Form warning

The formula must be factored correctly. \(f(2x-6)\) should be rewritten as \(f(2(x-3))\). The horizontal shift is right 3, not right 6. Always factor the inside expression before reading \(h\) and \(b\).

Translations: Horizontal and Vertical Shifts

A translation moves every point the same distance in the same direction. It does not change the graph's shape. Horizontal translations change inputs. Vertical translations change outputs. In AP Precalculus, translations are used constantly: shifted quadratics, shifted rational functions, transformed logarithms, exponential asymptotes and sinusoidal midlines all depend on translation language.

Transformation Formula Point effect
Shift right \(h\) \(g(x)=f(x-h)\) \((x_0,y_0)\to(x_0+h,y_0)\)
Shift left \(h\) \(g(x)=f(x+h)\) \((x_0,y_0)\to(x_0-h,y_0)\)
Shift up \(k\) \(g(x)=f(x)+k\) \((x_0,y_0)\to(x_0,y_0+k)\)
Shift down \(k\) \(g(x)=f(x)-k\) \((x_0,y_0)\to(x_0,y_0-k)\)

Why \(f(x-h)\) shifts right

The formula \(f(x-h)\) shifts right because the graph needs a larger input to produce the same parent output. Suppose \(f(0)=2\). In \(g(x)=f(x-3)\), the output 2 occurs when \(x-3=0\), so \(x=3\). The point \((0,2)\) on \(f\) becomes \((3,2)\) on \(g\). The transformation is right 3.

Example with a quadratic

Let \(f(x)=x^2\). Then \(g(x)=(x-4)^2-1\) is \(f(x-4)-1\). The graph shifts right 4 and down 1. The vertex moves from \((0,0)\) to \((4,-1)\), and the range changes from \([0,\infty)\) to \([-1,\infty)\). The domain remains all real numbers.

\(f(x)=x^2,\quad g(x)=(x-4)^2-1\)

That last sentence is AP-level detail. The student does not merely say "right 4, down 1." The student identifies the feature that moved, describes the domain/range impact, and can connect the formula to the graph.

Reflections Across Axes

A reflection creates a mirror image of the graph. A negative outside the function reflects across the \(x\)-axis because it changes output signs. A negative inside the function reflects across the \(y\)-axis because it changes input signs. Reflections can also change increasing and decreasing intervals, end behavior, and the meaning of a model.

Reflection rules \(-f(x)\text{ reflects over the }x\text{-axis},\quad f(-x)\text{ reflects over the }y\text{-axis}
Reflection Point mapping Effect
Across \(x\)-axis \((x_0,y_0)\to(x_0,-y_0)\) Outputs change sign. Peaks may become valleys.
Across \(y\)-axis \((x_0,y_0)\to(-x_0,y_0)\) Inputs change sign. Left and right behavior swap.

Reflection across the \(y\)-axis may not visibly change an even function. For \(f(x)=x^2\), \(f(-x)=(-x)^2=x^2\), so the graph is unchanged. For \(f(x)=x^3\), \(f(-x)=(-x)^3=-x^3\), so the graph reflects across the \(y\)-axis. For \(f(x)=e^x\), \(f(-x)=e^{-x}\), which changes increasing exponential growth into decreasing exponential decay.

Reflection can also affect domain. If \(f(x)=\sqrt{x}\), then \(f(-x)=\sqrt{-x}\). The parent domain \([0,\infty)\) becomes \((-\infty,0]\). The graph appears on the left side of the \(y\)-axis. This is a good example of why transformations must be connected to domain, not only appearance.

Reflection warning

Do not confuse \(-f(x)\) and \(f(-x)\). The first negates outputs. The second negates inputs. They are the same only for special functions with symmetry.

Stretches and Compressions

Stretches and compressions, also called dilations, change distances from an axis or midline. A vertical dilation changes outputs. A horizontal dilation changes inputs. The vertical factor is direct; the horizontal factor is reciprocal. This is the source of many AP Precalculus graphing errors.

Dilation Formula Effect
Vertical stretch \(g(x)=a f(x)\), \(|a|\gt 1\) Outputs move farther from the \(x\)-axis by factor \(|a|\).
Vertical compression \(g(x)=a f(x)\), \(0\lt |a|\lt 1\) Outputs move closer to the \(x\)-axis by factor \(|a|\).
Horizontal compression \(g(x)=f(bx)\), \(|b|\gt 1\) Graph becomes narrower by factor \(\dfrac{1}{|b|}\).
Horizontal stretch \(g(x)=f(bx)\), \(0\lt |b|\lt 1\) Graph becomes wider by factor \(\dfrac{1}{|b|}\).

For vertical dilation, the point \((x_0,y_0)\) becomes \((x_0,ay_0)\). If \(f(2)=5\), then \(g(x)=3f(x)\) has \(g(2)=15\). If \(g(x)=\dfrac{1}{2}f(x)\), then \(g(2)=2.5\). The input did not change; only the output changed.

For horizontal dilation, the point \((x_0,y_0)\) becomes \(\left(\dfrac{x_0}{b},y_0\right)\). If \(f(6)=4\), then \(g(x)=f(3x)\) reaches the same output when \(3x=6\), so \(x=2\). The point \((6,4)\) on \(f\) becomes \((2,4)\) on \(g\). The graph is horizontally compressed by factor \(\dfrac{1}{3}\).

Dilation and units

In a context, horizontal and vertical dilation can have different units. If \(H(t)\) gives height in meters after \(t\) seconds, then \(2H(t)\) doubles the height output, while \(H(2t)\) makes the same height pattern happen in half the time. A vertical stretch changes the measured quantity. A horizontal compression changes the pace of the process.

Point Mapping Rule

Point mapping is the most reliable way to transform a graph accurately. Instead of trying to remember a long verbal description, choose important points on the parent function and move them using the formula. Key points include intercepts, vertices, endpoints, local extrema, asymptote reference points, and one full cycle of a trigonometric graph.

For \(g(x)=a f(b(x-h))+k\) \((x_0,y_0)\to\left(\dfrac{x_0}{b}+h,\;ay_0+k\right)\)

Example: suppose \(g(x)=2f(3(x-1))+4\), and \((6,3)\) is on \(f\). Here \(a=2\), \(b=3\), \(h=1\), and \(k=4\). The mapped \(x\)-coordinate is \(\dfrac{6}{3}+1=3\). The mapped \(y\)-coordinate is \(2(3)+4=10\). Therefore \((6,3)\) maps to \((3,10)\).

\[ (6,3)\to\left(\dfrac{6}{3}+1,\;2(3)+4\right)=(3,10) \]

The point mapping rule also works backward. If you are given a transformed point and need the original point, solve the mapping equations. For \(x_{\text{new}}=\dfrac{x_0}{b}+h\), the original input is \(x_0=b(x_{\text{new}}-h)\). For \(y_{\text{new}}=ay_0+k\), the original output is \(y_0=\dfrac{y_{\text{new}}-k}{a}\), assuming \(a\ne 0\).

Reverse mapping \(x_0=b(x_{\text{new}}-h),\quad y_0=\dfrac{y_{\text{new}}-k}{a}\)

This reverse mapping is useful when you are given a graph of \(g\) and asked about the parent \(f\), or when you need to solve a transformation parameter from corresponding points.

Domain, Range, Intercepts and Asymptotes Under Transformations

Transformations change more than visual placement. They can change domain, range, intercepts, extrema, asymptotes and contextual limitations. AP Precalculus often tests these consequences directly or indirectly. The point mapping rule gives the safest way to track them.

Domain transformation

If the parent function has domain \(D_f\), then the transformed function \(g(x)=a f(b(x-h))+k\) is defined when \(b(x-h)\) is in \(D_f\). This means the new domain is the set of \(x\)-values that make the inside input valid.

Domain condition \(b(x-h)\in D_f\)

For example, \(f(x)=\sqrt{x}\) has domain \([0,\infty)\). For \(g(x)=\sqrt{2(x-3)}+1\), require \(2(x-3)\ge 0\). This gives \(x\ge 3\). The domain is \([3,\infty)\). The factor 2 does not make the endpoint 6; the inside expression must be nonnegative.

Range transformation

Range changes through the outside transformation \(ay+k\). If the parent range is \(R_f\), transform output values by \(y\to ay+k\). If \(a\lt 0\), the range order reverses. If \(a=0\), the graph collapses to the constant function \(y=k\), which is usually not treated as a standard transformed copy because it loses the original shape.

Range mapping \(y_0\in R_f\quad\Rightarrow\quad ay_0+k\in R_g\)

Asymptotes

Vertical asymptotes move with horizontal transformations. If \(x=c\) is a vertical asymptote of \(f\), then solve \(b(x-h)=c\), giving \(x=\dfrac{c}{b}+h\). Horizontal asymptotes move with vertical transformations. If \(y=L\) is a horizontal asymptote of \(f\), then \(y=aL+k\) is the transformed horizontal asymptote.

Asymptote mapping \(x=c\to x=\dfrac{c}{b}+h,\quad y=L\to y=aL+k\)

Example: \(f(x)=\dfrac{1}{x}\) has vertical asymptote \(x=0\) and horizontal asymptote \(y=0\). For \(g(x)=-2f(x-4)+3=-\dfrac{2}{x-4}+3\), the vertical asymptote is \(x=4\), and the horizontal asymptote is \(y=3\). The reflection and vertical stretch do not move the vertical asymptote; the horizontal shift does. The vertical shift moves the horizontal asymptote.

Transformations by AP Precalculus Unit

Function transformations become easier when you connect them to the function family being transformed. A shift of a quadratic moves its vertex. A shift of a rational function moves asymptotes and holes. A shift of a logarithm changes the domain boundary. A shift of a sinusoid changes its phase and midline. The notation may look similar, but the graph feature you track depends on the parent family.

Unit 1: Polynomial and rational functions

For quadratics, vertex form is a transformation form:

\(f(x)=a(x-h)^2+k\)

The parent is \(y=x^2\). The vertex is \((h,k)\). If \(a\gt 0\), the parabola opens upward; if \(a\lt 0\), it opens downward. If \(|a|\gt 1\), the graph is vertically stretched; if \(0\lt |a|\lt 1\), it is vertically compressed. Use Polynomial Functions for deeper polynomial graphing, zeros and end behavior.

For rational functions, transformations affect asymptotes. A common reference form is:

\(g(x)=\dfrac{a}{b(x-h)}+k\)

Starting from \(f(x)=\dfrac{1}{x}\), the vertical asymptote becomes \(x=h\), and the horizontal asymptote becomes \(y=k\). The parameters also affect branch orientation and steepness. Use Rational Functions for full asymptote and hole work.

Unit 2: Exponential and logarithmic functions

For exponential functions, a transformed form such as \(g(x)=a b^{x-h}+k\) has horizontal asymptote \(y=k\), provided \(a\ne 0\), \(b\gt 0\), and \(b\ne 1\). The parameter \(h\) shifts the graph horizontally, and \(k\) moves the asymptote vertically.

\(g(x)=a b^{x-h}+k\)

For logarithmic functions, a transformed form such as \(g(x)=a\log_b(x-h)+k\) has domain \(x\gt h\) if the inside is \(x-h\). The vertical asymptote is \(x=h\). The outside parameters affect range values and orientation but not the domain boundary. Use Exponential Functions and Logarithmic Functions for deeper Unit 2 work.

Unit 3: Trigonometric and polar functions

Trigonometric transformations are a core part of sinusoidal modeling. The transformed sine and cosine forms use amplitude, period, phase shift and midline. These are transformation words, but they are also model features. A Ferris wheel problem, tide problem or seasonal temperature problem may not say "transform the graph"; it may ask you to build a function that uses those transformations.

Sinusoidal Transformations

For sine and cosine functions, the transformation form is usually written in a model-friendly way:

Sinusoidal transformation \(y=A\sin(B(x-C))+D\quad\text{or}\quad y=A\cos(B(x-C))+D\)
Parameter Meaning Formula
\(A\) Amplitude and possible reflection \(\text{amplitude}=|A|\)
\(B\) Horizontal scale and period \(\text{period}=\dfrac{2\pi}{|B|}\)
\(C\) Phase shift Shift right by \(C\) when written \(x-C\)
\(D\) Midline \(y=D\)

The range of \(y=A\sin(B(x-C))+D\) is \([D-|A|,D+|A|]\). The maximum is \(D+|A|\), and the minimum is \(D-|A|\). The midline is the average of maximum and minimum, and the amplitude is half the distance between them.

\(\text{range}=[D-|A|,\;D+|A|]\)

Example: \(T(t)=12\sin\left(\dfrac{\pi}{6}(t-3)\right)+68\) could model temperature in degrees over time \(t\). The amplitude is 12, the midline is 68, the period is \(\dfrac{2\pi}{\pi/6}=12\), and the phase shift is right 3. The range is \([56,80]\). In words, the model oscillates 12 degrees above and below an average temperature of 68, completing one cycle every 12 time units.

The AP Precalculus expectation is not simply to name \(A\), \(B\), \(C\), and \(D\). It is to connect those parameters to the situation. If \(t\) is measured in hours, then the period is 12 hours. If the output is degrees Fahrenheit, then amplitude and midline are measured in degrees Fahrenheit. Without units and context, a sinusoidal transformation answer is incomplete.

Use Trigonometric Functions for sine/cosine graph foundations, Trigonometric Identities for symbolic trig work, and Trigonometric Function Visualizer when you need to see parameter changes dynamically.

Parent-Function Templates You Should Recognize

Transformations are easiest when the parent function is obvious. AP Precalculus questions may not label the parent for you. A formula, graph, table, or context can imply the parent family. The goal is not to memorize every possible shape. The goal is to recognize the few parent patterns that appear repeatedly, then track how transformations change their key features.

Parent function Key feature to track Common transformed form AP use
\(f(x)=x^2\) Vertex, opening direction, axis of symmetry \(g(x)=a(x-h)^2+k\) Quadratic modeling, minimum/maximum, interval behavior.
\(f(x)=x^3\) Inflection-style center point and end behavior \(g(x)=a(x-h)^3+k\) Polynomial graph recognition and shifted cubic behavior.
\(f(x)=\sqrt{x}\) Endpoint and domain boundary \(g(x)=a\sqrt{b(x-h)}+k\) Radical domain, range, and endpoint transformations.
\(f(x)=\dfrac{1}{x}\) Vertical and horizontal asymptotes \(g(x)=\dfrac{a}{b(x-h)}+k\) Rational graph transformations and asymptote movement.
\(f(x)=b^x\) Horizontal asymptote and multiplicative change \(g(x)=a b^{x-h}+k\) Growth, decay, transformed exponential models.
\(f(x)=\log_b x\) Vertical asymptote and domain boundary \(g(x)=a\log_b(x-h)+k\) Logarithmic graphs, domain shifts, inverse relationships.
\(f(x)=\sin x\) or \(f(x)=\cos x\) Amplitude, period, midline, phase shift \(g(x)=A\sin(B(x-C))+D\) Periodic modeling in Unit 3.

A parent-function template is not a shortcut around reasoning. It is a starting point. For a quadratic, the vertex is usually the first feature to track. For a rational function, asymptotes are usually the first features to track. For a logarithm, the vertical asymptote and domain boundary are usually more important than the \(x\)-intercept at first. For a sinusoid, maximum, minimum and period usually matter before individual intercepts.

Here is a practical example. If a graph has a square-root shape starting at \((4,-2)\) and moving upward to the right, the parent is \(f(x)=\sqrt{x}\), the endpoint has moved from \((0,0)\) to \((4,-2)\), and a reasonable model begins as \(g(x)=a\sqrt{x-4}-2\). If another point shows the vertical scale, you can find \(a\). Without the parent template, the graph may look like a curve. With the template, the equation becomes a structured problem.

Parent templates also help avoid overfitting. If a graph has a vertical asymptote and horizontal asymptote with two hyperbola-like branches, a transformed reciprocal model may be enough. If a graph has periodic repetition, a polynomial is not appropriate. If a table multiplies outputs by a constant factor over equal input steps, a transformed exponential function is more plausible than a transformed line.

Writing a Transformed Equation from Graph Features

AP Precalculus does not only ask students to describe transformations from a given equation. It can also ask students to build an equation from graph features or context. This direction is often harder because you must choose the parent function, place the key feature, and use a point or model condition to find the scale factor.

Step-by-step equation-building routine

Step 1: Identify the parent family from the graph shape or context. Decide whether the model looks quadratic, radical, rational, exponential, logarithmic or sinusoidal.

Step 2: Locate the anchor feature. For quadratics, use the vertex. For square roots, use the endpoint. For rational functions, use asymptotes. For exponentials, use the horizontal asymptote and a point. For logarithms, use the vertical asymptote and a point. For sinusoids, use midline, amplitude, period and phase information.

Step 3: Write a preliminary transformed form with unknown scale factor. Do not try to force all parameters at once.

Step 4: Substitute a known point or contextual value to solve for the missing scale factor.

Step 5: Check that the domain, range, asymptotes, or extrema match the original graph or context.

Quadratic model from vertex and point

Suppose a parabola has vertex \((2,-3)\) and passes through \((4,5)\). Start with vertex form:

\(g(x)=a(x-2)^2-3\)

Use the point \((4,5)\):

\[ 5=a(4-2)^2-3 \quad\Rightarrow\quad 8=4a \quad\Rightarrow\quad a=2 \]

The model is \(g(x)=2(x-2)^2-3\). The graph shifts right 2, down 3, and stretches vertically by factor 2. The range is \([-3,\infty)\), because the parabola opens upward and the vertex is included.

Logarithmic model from asymptote and point

Suppose a logarithmic graph has vertical asymptote \(x=5\), passes through \((6,2)\), and has base 3. A simple form is:

\(g(x)=a\log_3(x-5)+k\)

If the point \((6,2)\) lies one unit to the right of the asymptote, then \(\log_3(6-5)=\log_3(1)=0\), so \(g(6)=k\). Therefore \(k=2\). If another point is given, it can determine \(a\). The vertical asymptote and domain boundary remain controlled by \(x-5\), so the domain is \(x\gt 5\).

Sinusoidal model from maximum and minimum

Suppose a periodic graph has maximum 14, minimum 2, and period 10. Then the midline is \(D=\dfrac{14+2}{2}=8\), and the amplitude is \(|A|=\dfrac{14-2}{2}=6\). Since the period is 10, \(B=\dfrac{2\pi}{10}=\dfrac{\pi}{5}\). If the graph reaches the midline increasing at \(x=3\), a sine model is:

\(y=6\sin\left(\dfrac{\pi}{5}(x-3)\right)+8\)

If the graph instead reaches a maximum at \(x=3\), a cosine model may be simpler:

\(y=6\cos\left(\dfrac{\pi}{5}(x-3)\right)+8\)

Both forms can be valid when they fit the same graph, but the chosen phase shift depends on which parent feature you align with the given information.

Transformations from Tables

A table can show a transformation even when no graph is drawn. The idea is the same as point mapping. If a parent table gives points \((x_0,y_0)\), then a transformed function \(g(x)=a f(b(x-h))+k\) maps those points to \(\left(\dfrac{x_0}{b}+h,ay_0+k\right)\). Reading a transformation from a table means comparing input movement and output movement.

Parent point on \(f\) Transformation Point on \(g\)
\((-2,4)\) \(g(x)=3f(x-1)-5\) \((-1,7)\)
\((0,1)\) \(g(x)=3f(x-1)-5\) \((1,-2)\)
\((3,-2)\) \(g(x)=3f(x-1)-5\) \((4,-11)\)

In this example, \(x\)-values move right 1 because of \(x-1\). Outputs are multiplied by 3 and then decreased by 5. The parent point \((-2,4)\) becomes \((-1,3(4)-5)=(-1,7)\). The parent point \((0,1)\) becomes \((1,3(1)-5)=(1,-2)\). The same rule applies to every row.

Tables are especially useful when a graph is unavailable or when a problem asks for specific transformed values. Suppose \(f(8)=11\), and \(g(x)=2f(4(x-3))+1\). To find a point on \(g\) that uses \(f(8)=11\), set the inside input equal to 8:

\(4(x-3)=8\quad\Rightarrow\quad x=5\)

Then \(g(5)=2f(8)+1=23\). Therefore the point \((8,11)\) on \(f\) corresponds to \((5,23)\) on \(g\). This is the same point mapping formula, but written as an input-solving process.

A table can also reveal whether a proposed transformation is wrong. If every transformed \(x\)-value is shifted by 2 but the outputs are not consistently shifted, then a pure translation is not enough. If output differences double but inputs do not change, a vertical stretch may be involved. If input spacing is cut in half while output values match the parent pattern, a horizontal compression may be involved.

Worked AP-Style Transformation Examples

The examples below are written to match AP Precalculus reasoning. Each example identifies the parent function, reads the transformation, tracks a graph feature, and states a domain, range, asymptote or contextual result when relevant.

Example 1: Transform a square-root graph

Describe \(g(x)=-2\sqrt{x-5}+3\), including domain and range.

The parent is \(f(x)=\sqrt{x}\). The expression \(x-5\) shifts the graph right 5. The outside factor \(-2\) reflects the graph across the \(x\)-axis and vertically stretches it by 2. The outside \(+3\) shifts the graph up 3. The parent endpoint \((0,0)\) maps to \((5,3)\).

\((0,0)\to(5,\; -2(0)+3)=(5,3)\)

The domain requires \(x-5\ge 0\), so \(x\ge 5\). The parent range \([0,\infty)\) is multiplied by \(-2\) and shifted up 3, so the range is \((-\infty,3]\).

Example 2: Factor the inside first

Describe \(g(x)=f(3x+12)-4\).

First factor the inside expression: \(3x+12=3(x+4)\). Therefore \(b=3\), \(h=-4\), and \(k=-4\). The graph shifts left 4, horizontally compresses by factor \(\dfrac{1}{3}\), and shifts down 4. A common mistake is to say "left 12"; that is wrong because the inside must be factored before reading the horizontal shift.

\(g(x)=f(3(x+4))-4\)

Example 3: Transform a rational function

Let \(g(x)=\dfrac{4}{x-2}-7\). Identify the asymptotes and describe the transformation from \(f(x)=\dfrac{1}{x}\).

The graph shifts right 2, stretches vertically by factor 4, and shifts down 7. The vertical asymptote moves from \(x=0\) to \(x=2\). The horizontal asymptote moves from \(y=0\) to \(y=-7\). The domain is \(x\ne 2\), and the range is \(y\ne -7\).

\(\text{vertical asymptote: }x=2,\quad \text{horizontal asymptote: }y=-7\)

Example 4: Transform an exponential function

Let \(g(x)=3\cdot 2^{x+1}-5\). Describe the transformation and horizontal asymptote.

The parent is \(f(x)=2^x\). The \(x+1\) shifts left 1. The outside factor 3 vertically stretches the graph by 3. The \(-5\) shifts it down 5. Since the parent horizontal asymptote is \(y=0\), the transformed horizontal asymptote is \(y=-5\). The range is \((-5,\infty)\) because the vertical stretch is positive.

Example 5: Build a sinusoidal model

A periodic quantity has maximum 90, minimum 50, period 8, and reaches its midline increasing at \(t=1\). Write a sine model.

The midline is \(D=\dfrac{90+50}{2}=70\). The amplitude is \(A=\dfrac{90-50}{2}=20\). The period is 8, so \(B=\dfrac{2\pi}{8}=\dfrac{\pi}{4}\). Since sine crosses the midline increasing at its phase shift, use \(C=1\).

\(y=20\sin\left(\dfrac{\pi}{4}(t-1)\right)+70\)

The function is not just a formula. It says the quantity oscillates 20 units above and below 70, completes a cycle every 8 time units, and is at the midline moving upward when \(t=1\).

AP Exam Routine for Function Transformations

Transformation questions can be fast if you follow a consistent routine. The routine below works for multiple-choice, free-response, graph matching, table interpretation and contextual modeling.

1. Identify the parent function. Decide whether the shape is linear, quadratic, cubic, square root, rational, exponential, logarithmic, sine, cosine or another AP Precalculus family.

2. Rewrite the inside in factored transformation form. Turn expressions like \(2x-6\) into \(2(x-3)\) before reading the shift.

3. Separate inside changes from outside changes. Inside changes affect \(x\)-values. Outside changes affect \(y\)-values.

4. Map key points or graph features. Use the point mapping rule for points, and use asymptote mapping for rational, exponential and logarithmic graphs.

5. State domain, range, asymptotes or model meaning when relevant. AP answers often need the consequence of the transformation, not just the transformation name.

6. Check the context and units. If the graph models time, distance, temperature, profit or height, explain what the transformed parameter means in those units.

Calculator use should support this reasoning, not replace it. A graphing calculator can show the transformed graph, but a window can hide asymptotes, endpoint restrictions and scale changes. The AP-level answer should connect the formula to graph features and context.

Common Mistakes with Function Transformations

Mistake Why it is wrong Correct thinking
Reading \(f(x-4)\) as left 4 Inside horizontal shifts work by making the parent input equal the old value. \(f(x-4)\) shifts right 4.
Reading \(f(2x-6)\) as right 6 The inside expression is not factored. Write \(f(2(x-3))\); shift right 3 and compress horizontally by \(\dfrac{1}{2}\).
Calling \(f(2x)\) a horizontal stretch by 2 Horizontal scale uses the reciprocal of the inside factor. \(f(2x)\) is a horizontal compression by \(\dfrac{1}{2}\).
Ignoring domain changes Radical, logarithmic and rational functions often have restricted inputs. Apply the transformed inside condition, such as \(b(x-h)\in D_f\).
Forgetting asymptote movement Rational, exponential and logarithmic graph features move with transformations. Map vertical and horizontal asymptotes separately.
Using amplitude language for every function Amplitude is a sinusoidal model feature, not a general vertical stretch term. Use "vertical stretch" for general functions and "amplitude" for sinusoidal functions.

Practice Problems

Try these before opening the answers. Each item checks a different transformation skill.

1. Describe \(g(x)=f(x+7)-2\).

The graph shifts left 7 and down 2. The point \((x_0,y_0)\) maps to \((x_0-7,y_0-2)\).

2. Describe \(g(x)=-4f(x)\).

The graph reflects across the \(x\)-axis and vertically stretches by factor 4. The point \((x_0,y_0)\) maps to \((x_0,-4y_0)\).

3. Describe \(g(x)=f(5x)\).

The graph is horizontally compressed by factor \(\dfrac{1}{5}\). The point \((x_0,y_0)\) maps to \(\left(\dfrac{x_0}{5},y_0\right)\).

4. Find the domain of \(g(x)=\sqrt{3(x+2)}-1\).

Require \(3(x+2)\ge 0\), so \(x+2\ge 0\), and \(x\ge -2\). The domain is \([-2,\infty)\).

5. Find the asymptotes of \(g(x)=\dfrac{-2}{x+4}+9\).

The vertical asymptote is \(x=-4\), and the horizontal asymptote is \(y=9\).

6. Find amplitude, period and midline for \(y=-5\cos(2(x-\pi))+7\).

Amplitude is 5, period is \(\dfrac{2\pi}{2}=\pi\), and midline is \(y=7\). The negative sign reflects the cosine graph across the midline.

Official Sources Used

The AP alignment statements in this page were checked against official College Board and AP Central sources available on July 8, 2026. The transformation formulas are standard precalculus mathematics; the AP course structure, assessed-unit guidance and exam-practice language come from the sources below.

Function Transformations FAQs

What is the main transformation formula for AP Precalculus?

A useful general form is \(g(x)=a f(b(x-h))+k\). The parameter \(a\) changes outputs vertically, \(b\) changes inputs horizontally, \(h\) shifts the graph horizontally, and \(k\) shifts the graph vertically.

Why does \(f(x-h)\) shift right?

It shifts right because the transformed graph needs \(x=h\) to produce the same parent input \(0\). In general, the point \((x_0,y_0)\) on \(f\) maps to \((x_0+h,y_0)\) on \(f(x-h)\).

What is the difference between vertical and horizontal stretch?

A vertical stretch multiplies outputs, as in \(a f(x)\). A horizontal stretch changes inputs, as in \(f(bx)\), and the graph scales horizontally by the reciprocal factor \(\dfrac{1}{|b|}\).

How do transformations affect domain?

For \(g(x)=a f(b(x-h))+k\), the domain consists of all \(x\)-values for which \(b(x-h)\) is in the domain of \(f\). This matters especially for square-root, logarithmic and rational functions.

How do transformations affect range?

The output values of the parent function are transformed by \(y\to ay+k\). If \(a\lt 0\), the range order reverses. If a parent range is \([0,\infty)\), then \(g(x)=-2f(x)+3\) has range \((-\infty,3]\).

What are the sinusoidal transformation parameters?

For \(y=A\sin(B(x-C))+D\), amplitude is \(|A|\), period is \(\dfrac{2\pi}{|B|}\), phase shift is \(C\), and the midline is \(y=D\). The same structure works for cosine.

What is the most common transformation mistake?

The most common mistake is reading horizontal changes directly instead of reciprocally. For example, \(f(2x)\) is a horizontal compression by \(\dfrac{1}{2}\), not a stretch by 2.

Are function transformations tested on AP Precalculus?

Yes. They appear across the assessed AP Precalculus units, especially in graphing and modeling polynomial, rational, exponential, logarithmic and sinusoidal functions.