01 / 21

Graphing from
Parent Functions

Master how shifts, stretches, reflections, and compressions transform the basic shapes you already know into any graph you will ever encounter.

College Algebra

What Is a Parent Function?

A parent function is the simplest form of a family of functions: no shifts, stretches, or reflections applied. Every other member of the family is created by transforming the parent.

Common examples: \( f(x) = x^2 \), \( f(x) = |x| \), \( f(x) = \sqrt{x} \), \( f(x) = x^3 \), \( f(x) = \frac{1}{x} \).

The Parent Function Library

\( f(x) = x \)
Linear: a straight line through the origin with slope 1
\( f(x) = x^2 \)
Quadratic: a U-shaped parabola with vertex at (0, 0)
\( f(x) = x^3 \)
Cubic: an S-shaped curve passing through the origin
\( f(x) = \sqrt{x} \)
Square root: starts at (0, 0), increases but flattens out
\( f(x) = |x| \)
Absolute value: a V-shape with vertex at the origin
\( f(x) = \frac{1}{x} \)
Reciprocal: two branches with asymptotes at both axes

Visualizing \( x^2 \) and \( |x| \)

y x (0, 0)
\(f(x) = x^2\)
y x (0, 0)
\(f(x) = |x|\)

The Transformation Formula

\( a \)
Vertical stretch (\(|a|>1\)) or compression (\(0<|a|<1\)). If \(a<0\), reflects over the x-axis.
\( b \)
Horizontal stretch (\(0<|b|<1\)) or compression (\(|b|>1\)). If \(b<0\), reflects over the y-axis.
\( h \)
Horizontal shift: right if \(h>0\), left if \(h<0\). Note the opposite sign inside the parentheses.
\( k \)
Vertical shift: up if \(k>0\), down if \(k<0\). This one works in the intuitive direction.

Shifts: Moving the Graph

y x 1 2 3 -1 1 2 3
\(x^2\)
(2, 1) right 2, up 1
\((x - 2)^2 + 1\)

Reflections: Flipping the Graph

Over the x-axis
\( -f(x) \): negate the output. Every y-value flips sign. The graph turns upside down.
Over the y-axis
\( f(-x) \): negate the input. Every x-value flips sign. The graph mirrors left to right.
\(\sqrt{x}\)
\(-\sqrt{x}\)
x-axis reflection
\(\sqrt{-x}\)
y-axis reflection

Stretches and Compressions

y x
\(x^2\)
\(2x^2\)
\(0.5x^2\)

Inside vs Outside the Function

Inside: \( f(bx - h) \) Outside: \( a \cdot f(x) + k \)
Affects Horizontal (x-values) Vertical (y-values)
Direction Opposite to what you expect Same as what you expect
Shift \( f(x - 3) \) shifts right 3 \( f(x) + 3 \) shifts up 3
Stretch \( f(2x) \) compresses horizontally \( 2f(x) \) stretches vertically
Reflection \( f(-x) \) reflects over y-axis \( -f(x) \) reflects over x-axis

Order of Transformations

When multiple transformations are combined, apply them in this order to avoid errors:

1
Horizontal shift: factor out \( b \) to find the true shift. Replace \( x \) with \( (x - h) \).
2
Horizontal stretch/compression and reflection: apply the factor \( b \) inside the function.
3
Vertical stretch/compression and reflection: apply the factor \( a \) outside the function.
4
Vertical shift: add \( k \) at the very end to move the entire result up or down.

How to Graph a Transformed Function

1
Identify the parent function. Which basic shape does this come from? (\( x^2 \), \( |x| \), \( \sqrt{x} \), etc.)
2
Sketch the parent. Plot key reference points (vertex, intercepts, asymptotes).
3
Read off \( a, b, h, k \). Write the function in the form \( a \cdot f(b(x-h)) + k \).
4
Transform key points. Apply each transformation to 3-5 reference points from the parent.
5
Connect with the correct shape. Maintain the curve's character: smooth for parabolas, sharp for absolute value, etc.

Example 1: \( g(x) = (x + 3)^2 - 4 \)

y x -5 -3 -1 1 -4 -2 2
\(x^2\)
(-3, -4) left 3 down 4

Example 2: \( g(x) = -2|x - 1| + 3 \)

y x 1 2 3 -1 1 2 3 -1 -2
\(|x|\)
(1, 3) (-0.5, 0) (2.5, 0)
\(-2|x - 1| + 3\)

Example 3: \( g(x) = \sqrt{-(x - 4)} + 2 \)

y x 1 2 3 4 -1 -2 -3 1 2 3 4 (4, 2)
\(\sqrt{x}\)
opens left

Common Mistakes

✕ Shifting the wrong way
Seeing \( f(x - 3) \) and shifting left 3 instead of right 3. Remember: inside = opposite direction.
✕ Confusing stretch/compress
Thinking \( f(2x) \) stretches horizontally. It actually compresses by a factor of \( \frac{1}{2} \): inside changes are reversed.
✕ Wrong transformation order
Applying vertical shift before vertical stretch. Apply stretches and reflections before shifts to avoid incorrect graphs.

Transformation Summary

Transformation Notation Effect on Graph
Vertical shift up \( f(x) + k \) Every point moves up \( k \) units
Vertical shift down \( f(x) - k \) Every point moves down \( k \) units
Horizontal shift right \( f(x - h) \) Every point moves right \( h \) units
Horizontal shift left \( f(x + h) \) Every point moves left \( h \) units
Vertical stretch \( a \cdot f(x) \), \( a > 1 \) Graph gets narrower
Vertical compression \( a \cdot f(x) \), \( 0 < a < 1 \) Graph gets wider
Reflect over x-axis \( -f(x) \) Graph flips upside down
Reflect over y-axis \( f(-x) \) Graph mirrors left-right

Question 1 of 5

The graph of \( g(x) = (x - 5)^2 + 3 \) is the graph of \( f(x) = x^2 \) shifted in which way?

Question 2 of 5

Which transformation does \( g(x) = -\sqrt{x} \) represent compared to the parent \( f(x) = \sqrt{x} \)?

Question 3 of 5

What is the vertex of \( g(x) = 3|x + 2| - 7 \)?

Question 4 of 5

Compared to \( f(x) = x^2 \), the graph of \( g(x) = (3x)^2 \) is:

Question 5 of 5

Which equation represents the graph of \( f(x) = x^3 \) after reflecting over the x-axis and shifting up 4?