Function Transformations: Definition, Method and Examples

MathPublished

Function Transformations: Definition, Method and Examples

Function transformations change a parent graph in predictable ways. Adding outside a function moves it vertically, changing the input shifts it horizontally in the opposite direction, multiplying outside stretches or compresses vertically, and a negative sign can reflect a graph.

What is a parent function?

A parent function is the most basic version of a family of functions. It has no transformations applied. Before transforming a function, you must identify its parent shape to establish the correct starting point.


The most common parent types of functions include:

By learning the properties of parent functions, you can easily sketch their transformed graphs on a coordinate plane.

A coordinate plane showing the parabolic parent function f of x equals x squared passing through the origin.

Translate graphs up down left and right

A translation shifts a graph horizontally or vertically without altering its shape, size, or orientation. Understanding this allows you to translate function graphs accurately.


Vertical Translations (Up and Down)

Adding or subtracting a constant outside the function moves the graph vertically.

  • y=f(x)+ky = f(x) + k shifts the graph up by kk units.
  • y=f(x)−ky = f(x) - k shifts the graph down by kk units.

Horizontal Translations (Left and Right)

Adding or subtracting a constant inside the function's argument moves the graph horizontally. The direction of the shift is always opposite to the sign inside the parentheses.

  • y=f(x−h)y = f(x - h) shifts the graph right by hh units.
  • y=f(x+h)y = f(x + h) shifts the graph left by hh units.


A coordinate plane showing the graph of y equals x squared, a vertical translation up 3 units, and a horizontal translation right 4 units.

Reflect a graph

A reflection flips the graph across a central line, creating a mirror image.


Reflection Across the x-axis

Multiplying the entire function by a negative sign (y=−f(x)y = -f(x)) reflects the graph vertically over the x-axis. Every positive y-coordinate becomes negative, and every negative y-coordinate becomes positive.


Reflection Across the y-axis

Multiplying the input variable by a negative sign (y=f(−x)y = f(-x)) reflects the graph horizontally over the y-axis. Every positive x-coordinate maps to its negative counterpart, while the y-coordinates remain unchanged.


A coordinate plane showing a square root parent function, its reflection across the x-axis, and its reflection across the y-axis.

Stretch and compress a graph

Dilations stretch or compress a graph, changing its steepness or width. These rules allow you to reflect stretch compress functions effectively.


Vertical Stretches and Compressions

Multiplying the function by a positive constant aa outside the function changes vertical heights (y=af(x)y = a f(x)).

  • When a>1a > 1, the graph stretches vertically and appears narrower.
  • When 0<a<10 < a < 1, the graph compresses vertically and appears wider.

Horizontal Stretches and Compressions

Multiplying the input variable by a positive constant bb inside the function changes horizontal widths (y=f(bx)y = f(bx)).

  • When b>1b > 1, the graph compresses horizontally.
  • When 0<b<10 < b < 1, the graph stretches horizontally.


A coordinate plane comparing the parent absolute value function with a vertical stretch and a vertical compression.

Combine transformations

Many functions undergo multiple transformations. To graph these accurately, apply the transformations in this standard order:

  1. Horizontal translation: Shift left or right.
  2. Stretches and compressions: Multiply y-values or x-values.
  3. Reflections: Flip across the axes.
  4. Vertical translation: Shift up or down.

For a function in the form y=af(b(x−h))+ky = a f(b(x - h)) + k, you can read the transformations directly. The parameter hh is the horizontal shift, bb handles horizontal scaling, aa handles vertical scaling and reflection, and kk is the vertical shift. This order guarantees accurate quadratic graphs and other complex shapes when analyzing transformations of functions.

Worked examples

Review these examples to see how transformations map coordinate points and affect the final function equation.


Example 1: Identifying a single transformation


Question: The parent function f(x)=x2f(x) = x^2 is transformed to g(x)=(x+3)2g(x) = (x + 3)^2. Describe the transformation.


Method:

  1. Compare the new function to the parent function. The change happens inside the parentheses.
  2. Adding a constant inside the function shifts the graph horizontally.
  3. Because the sign is positive (+3+3), the shift is in the negative direction.

Answer: The graph translates 33 units to the left.


Check: The vertex of f(x)=x2f(x) = x^2 is (0,0)(0, 0). The vertex of g(x)=(x+3)2g(x) = (x + 3)^2 is (−3,0)(-3, 0), which confirms a shift 33 units left.


Example 2: Combining transformations


Question: Describe the sequence of transformations that maps f(x)=xf(x) = \sqrt{x} onto g(x)=−2x−4+1g(x) = -2\sqrt{x - 4} + 1.


Method:

  1. Identify the horizontal translation inside the function: x−4x - 4 means a shift right by 44 units.
  2. Identify the vertical stretch outside the function: The multiplier 22 stretches the graph vertically by a factor of 22.
  3. Identify the reflection: The negative sign in front of the 22 reflects the graph across the x-axis.
  4. Identify the vertical translation: The +1+ 1 at the end shifts the graph up by 11 unit.

Answer: The transformations are a shift right by 44 units, a vertical stretch by a factor of 22, a reflection across the x-axis, and a shift up by 11 unit.


Check: Applying these to the origin point (0,0)(0,0) gives (4,0)→(4,0)→(4,0)→(4,1)(4, 0) \rightarrow (4, 0) \rightarrow (4, 0) \rightarrow (4, 1). Evaluating g(4)=−24−4+1=1g(4) = -2\sqrt{4 - 4} + 1 = 1 confirms the correct vertex placement.

Common mistakes

  • Reversing horizontal translations: It is common to incorrectly assume that f(x+5)f(x + 5) shifts right. Remember that adding inside the parentheses always shifts left, and subtracting shifts right.
  • Ignoring the order of operations: Applying a vertical shift before a vertical stretch will result in an incorrect graph. Always multiply (stretch or reflect) before adding (translating vertically).
  • Confusing inside and outside multipliers: Multiplying outside affects y-values and causes a vertical stretch, while multiplying inside affects x-values and causes a horizontal stretch.

Frequently asked questions

How do function transformations affect the domain and range?

Horizontal transformations (shifts and stretches) affect the domain of the function, while vertical transformations affect the range. A reflection across an axis can flip the domain or range from positive to negative.


Can you apply transformations to any function?

Yes, transformation rules apply universally. Whether the parent function is linear, trigonometric, or logarithmic, the rules for shifting, stretching, and reflecting remain exactly the same.

Practice questions

Question

A coordinate plane showing an absolute value function with its vertex shifted to 2 comma negative 1.

Which equation represents the transformed absolute value function shown in the graph?

  • f(x)=∣x−2∣−1f(x) = |x - 2| - 1

  • f(x)=∣x+2∣−1f(x) = |x + 2| - 1

  • f(x)=∣x−2∣+1f(x) = |x - 2| + 1

  • f(x)=∣x+2∣+1f(x) = |x + 2| + 1

Answer:

f(x)=∣x−2∣−1f(x) = |x - 2| - 1

Question

What transformation occurs when the function f(x)f(x) is changed to 3f(x)3f(x)?

  • Vertical stretch by a factor of 33.

  • Horizontal stretch by a factor of 33.

  • Vertical translation up by 33 units.

  • Horizontal translation left by 33 units.

Answer:

Vertical stretch by a factor of 33.

Question

The function g(x)=−f(x)g(x) = -f(x) represents which transformation of the parent graph f(x)f(x)?

  • Reflection across the x-axis.

  • Reflection across the y-axis.

  • Reflection across the line y=xy = x.

  • Rotation by 180∘180^\circ around the origin.

Answer:

Reflection across the x-axis.

Question

Describe the transformations that map the parent function f(x)=x2f(x) = x^2 to the new function g(x)=−(x−5)2+2g(x) = -(x - 5)^2 + 2.

  • Translate right 55 units, reflect across the x-axis, translate up 22 units.

  • Translate left 55 units, reflect across the x-axis, translate up 22 units.

  • Translate right 55 units, reflect across the y-axis, translate down 22 units.

  • Translate left 55 units, reflect across the y-axis, translate down 22 units.

Answer:

Translate right 55 units, reflect across the x-axis, translate up 22 units.

Question

If a graph is translated 44 units to the left, which expression represents the new function?

  • f(x+4)f(x + 4)

  • f(x−4)f(x - 4)

  • f(x)+4f(x) + 4

  • f(x)−4f(x) - 4

Answer:

f(x+4)f(x + 4)