PrepGo

Transformations of Functions - AP PreCalculus Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 15 minutes to read.

The Core Idea: Transformations of Functions

The study of function transformations provides a systematic way to understand how a family of functions is generated from a single "parent" function. By applying a specific set of parameters to a known function, , we can create a new function, , whose graph is a geometrically altered version of the original. These alterations include shifting the graph horizontally or vertically, stretching or compressing it horizontally or vertically, and reflecting it across the axes.

The general form for these transformations is encapsulated in the equation . Each parameter—, , , and —controls a specific type of transformation. By analyzing these parameters, we can deconstruct the relationship between the graph of the original function and the graph of its transformation. This allows us to predict the appearance of a transformed function's graph from its equation and, conversely, to determine the equation of a function based on its graphical relationship to a parent function.

Key Rules for Transformations

The transformations of a function are governed by the parameters in the general equation . These parameters can be categorized by whether they affect the function's input (horizontal effects) or output (vertical effects).

Vertical Transformations (Affecting the Output)

These transformations are controlled by the parameters and , which are applied outside the function .

  1. Vertical Translation (Shift):

    • The parameter determines the vertical shift of the graph.

    • If , the graph of is translated units upward.

    • If , the graph of is translated units downward.

  2. Vertical Dilation (Stretch/Compression) and Reflection:

    • The parameter determines the vertical dilation and reflection across the x-axis.

    • Dilation: The magnitude, , controls the vertical stretching or compressing.

      • If , the graph of is stretched vertically.

      • If , the graph of is compressed vertically.

    • Reflection: The sign of controls reflection across the x-axis.

      • If , the graph of is reflected across the x-axis.

Horizontal Transformations (Affecting the Input)

These transformations are controlled by the parameters and , which are applied inside the function .

  1. Horizontal Translation (Shift):

    • The parameter determines the horizontal shift of the graph.

    • If , the graph of is translated units to the right (as seen in the form ).

    • If , the graph of is translated units to the left (as seen in the form ).

  2. Horizontal Dilation (Stretch/Compression) and Reflection:

    • The parameter determines the horizontal dilation and reflection across the y-axis.

    • Dilation: The magnitude, , controls the horizontal stretching or compressing.

      • If , the graph of is compressed horizontally.

      • If , the graph of is stretched horizontally.

    • Reflection: The sign of controls reflection across the y-axis.

      • If , the graph of is reflected across the y-axis.

Understanding Input vs. Output Transformations

A critical nuance in understanding transformations is distinguishing between operations performed on the input () and operations performed on the output (). This distinction is the key to separating horizontal and vertical effects.

  • Vertical Transformations ( and ): These are output transformations. They occur after the function has been evaluated. In the equation , you first find the value of , and then you multiply by and add . These operations affect the y-coordinates of points on the graph directly and intuitively. For example, adding a positive increases the y-coordinate, moving the graph up.

  • Horizontal Transformations ( and ): These are input transformations. They occur before the function is evaluated. In the equation , you first take the input x$, subtract , and then multiply by . This modified value is then fed into the function . Because these operations alter the input required to produce a certain output, their effects on the graph can seem counter-intuitive. For instance, to get the same output as , we need the new input x$ to satisfy . Solving for shows the inverse operations are what determine the final position. This is why results in a shift to the right (a positive direction) and why results in a horizontal compression.

A crucial detail is the factored form . If a function is presented as , you must first factor out to correctly identify the horizontal shift: . In this case, the horizontal shift is , not . The CED-specified form standardizes this to avoid ambiguity.

Core Concepts & Rules

  • General Form: The graph of is a transformation of the parent graph .

  • Vertical Shifts: The value of translates the graph vertically. A positive shifts the graph up; a negative shifts it down.

  • Horizontal Shifts: The value of translates the graph horizontally. In the form , a positive shifts the graph right; a negative shifts it left.

  • Vertical Dilations: The magnitude of , , dictates the vertical stretch or compression. If , the graph is stretched vertically. If , it is compressed vertically.

  • Horizontal Dilations: The magnitude of , , dictates the horizontal stretch or compression. If , the graph is compressed horizontally. If , it is stretched horizontally.

  • Reflection across x-axis: If is negative (), the graph is reflected across the x-axis.

  • Reflection across y-axis: If is negative (), the graph is reflected across the y-axis.

Step-by-Step Example 1: Describing Transformations from an Equation

Problem: Let the parent function be . Fully describe the sequence of transformations applied to the graph of to obtain the graph of .

Step 1: Rewrite the function in standard transformation form.

The standard form is . The horizontal transformations inside the function must be factored.

Original:

Factored:

Step 2: Identify the transformation parameters .

By comparing to the standard form, we can identify each parameter:

Step 3: Describe the horizontal transformations based on and .

  • Parameter : Since , the graph of is compressed horizontally.

  • Parameter : Since is positive, the graph is translated 2 units to the right.

Step 4: Describe the vertical transformations based on and .

  • Parameter : This parameter indicates two transformations:

    • Reflection: Since , the graph is reflected across the x-axis.

    • Dilation: Since , the graph is stretched vertically.

  • Parameter : Since is positive, the graph is translated 5 units upward.

Step 5: Summarize the full sequence of transformations.

The graph of is obtained from the graph of by a horizontal compression, a horizontal translation 2 units to the right, a reflection across the x-axis, a vertical stretch, and a vertical translation 5 units upward.

Step-by-Step Example 2: Identifying an Equation from Graphs

Problem: The graph of a function passes through the point . The graph of a transformed function, , passes through the point . Given that , and the transformations include a vertical stretch, a reflection across the x-axis, a horizontal shift, and a vertical shift of 3 units down, determine the equation for .

Step 1: Identify known parameters from the description.

The problem states there is a vertical shift of 3 units down. This directly gives us the value of .

Step 2: Use the points to determine the horizontal shift, .

The x-coordinate of the point on is .

The x-coordinate of the corresponding point on is .

The horizontal shift is the difference: .

A shift of -3 means a translation 3 units to the left. In the form , a shift left by 3 units corresponds to .

So, the horizontal transformation is .

Step 3: Use the points and known vertical shift to determine the vertical stretch and reflection parameter, .

The transformation on the y-coordinates is given by .

We know the points and , so and . We also know .

Substitute these values into the equation:

Step 4: Solve for .

Step 5: Verify the properties of and write the final equation.

The calculated value is .

  • Since , this confirms the reflection across the x-axis.

  • Since , this confirms the vertical stretch.

The value matches the problem description. Now, assemble the full equation using , , and .

Using Your Calculator

A graphing calculator is an excellent tool for verifying the effects of transformations that you have determined analytically. It allows you to visualize the parent function and the transformed function on the same set of axes.

To verify the transformations from Example 1 () for a specific parent function like :

  1. Enter the Parent Function: In the $ editor, enter the parent function into .

  2. Enter the Transformed Function: Enter the full transformed function into .

  3. Graph and Visually Inspect: Press GRAPH. You may need to adjust the window to see both graphs clearly. Observe the graph of relative to .

    • Confirm that the starting point of the graph has moved from on to on , which matches the horizontal shift right 2 and vertical shift up 5.

    • Confirm that the graph of is below the horizontal line , which is consistent with a reflection across the x-axis (relative to its new vertical position).

    • Confirm that the graph of appears steeper (vertically stretched) and narrower (horizontally compressed) than .

  4. Verify with the Table: Use the TABLE feature to check specific points.

    • A key point on is .

    • Apply the transformations to this point:

      • Horizontal:

      • Vertical:

    • The new point should be . Go to TBLSET (2nd + WINDOW) and set TblStart to or scroll through the table to find . Check if the corresponding value is 1. This provides numerical confirmation of your analytical work.

AP Exam Quick Hit

Common Question Types

  • Describing Transformations from an Equation: Given an equation like , you will be asked to list the specific transformations that map the graph of to the graph of .

    • Example: "Describe the sequence of transformations that maps the graph of to the graph of ." (This requires factoring first).
  • Finding the Equation from a Description or Graph: You will be shown the graph of a parent function and a transformed function and asked to write the equation for in terms of . Alternatively, you might be given a description in words.

    • Example: "The graph of is reflected across the y-axis, then compressed horizontally, then shifted 4 units up to produce the graph of . Write an equation for in terms of ."
  • Tracking a Point: Given the coordinates of a point on the graph of , you will be asked to find the coordinates of the corresponding point on the graph of a transformed function .

    • Example: "If the point lies on the graph of , what are the coordinates of the corresponding point on the graph of ?"

Common Mistakes

  • Incorrect Horizontal Shift: For a function like , stating the horizontal shift is 6 units to the left. The correct approach is to factor first: , revealing the shift is 3 units to the left.

  • Confusing Horizontal Dilation Effects: Mistaking as a horizontal stretch and as a horizontal compression. The effect is the inverse of the vertical case.

  • Mixing up Reflections: Incorrectly identifying as a reflection across the y-axis or as a reflection across the x-axis. Remember: operations outside the function are vertical (x-axis reflection), and operations inside are horizontal (y-axis reflection).

  • Incorrect Order of Operations: When tracking a point , applying translations before dilations. For the transformation , the correct order for the y-coordinate is to multiply by first, then add .

  • Sign Errors with Translations: Confusing the signs for horizontal shifts. is a shift to the right, while is a shift to the left.