Transformations of Functions

Starting from the graph of a known function, we can obtain the graphs of many related functions by applying simple geometric operations: shifting, reflecting, and scaling. Mastering these transformations eliminates the need to re-plot every function from scratch.

Quick Reference

Transformation Effect on graph How each point moves
, Shift up units
, Shift down units
, Shift right units
, Shift left units
Reflect in -axis
Reflect in -axis
, Vertical stretch by
, Vertical compress by
, Horizontal compress by
, Horizontal stretch by
Reflect negative part up Points below -axis flip above
Reflect right side across -axis Left side replaced by mirror of right

Vertical Shifts:

To obtain the graph of (), shift the graph of upward by units.

To obtain the graph of (), shift the graph of downward by units.

Diagram showing vertical shifts of f(x): upward to f(x)+c and downward to f(x)-c.
Adding a positive constant shifts the graph up; subtracting shifts it down.

Horizontal Shifts:

To obtain the graph of (), shift the graph of right by units.

To obtain the graph of (), shift the graph of left by units.

Key reminder: subtracting from the input shifts the graph right; adding to the input shifts it left. This is the opposite of what you might expect.

Diagram showing horizontal shifts of f(x): right to f(x-c) and left to f(x+c).
Horizontal shifts are counterintuitive: shifts right, shifts left.

Use the graph of to sketch: (a) , (b) , (c) , (d) .

Solution (a) : shift the parabola down 1 unit.
Graph showing y=x² shifted down 1 to y=x²-1.
(b) : shift the parabola left 2 units. The vertex moves from to .
Graph showing y=x² shifted left 2 to y=(x+2)².
(c) : shift the parabola right 2 units. The vertex moves to .
Graph showing y=x² shifted right 2 to y=(x-2)².
(d) : take the graph from (c) and shift it up 2 units. The vertex is now at .
Graph showing y=(x-2)² shifted up 2 to y=(x-2)²+2.

Reflection in the -Axis:

The graph of is obtained by reflecting the graph of in the -axis. Every point maps to .

Diagram showing f(x) reflected across the x-axis to produce -f(x).
Reflection in the -axis negates all -values.

Reflection in the -Axis:

The graph of is obtained by reflecting the graph of in the -axis. Every point maps to .

Diagram showing f(x) reflected across the y-axis to produce f(-x).
Reflection in the -axis negates all -values.

Vertical Scaling:

  • If : vertically stretch the graph of away from the -axis by factor .
  • If : vertically compress the graph toward the -axis by factor .
  • If : apply the stretch or compression, then reflect in the -axis.
Every point maps to .

Horizontal Scaling:

  • If : horizontally compress the graph toward the -axis by factor .
  • If : horizontally stretch the graph away from the -axis by factor .
  • If : apply the stretch or compression, then reflect in the -axis.
Every point maps to .

Combining Transformations:

To graph from the graph of , apply transformations in this order:

  1. Horizontal scaling by (reflect in -axis if ).
  2. Horizontal shift by units.
  3. Vertical scaling by (reflect in -axis if ).
  4. Vertical shift by units.

Use the graph of to obtain the graph of and determine its domain and range.

Solution Rewrite: . Step 1: — horizontal compression of by factor .
Graph comparing y=√x and y=√(2x).
Step 2: — shift left 2 units.
Graph of y=√(2(x+2)) after shifting left 2.
Step 3: — reflect in the -axis.
Graph of y=-√(2(x+2)) after x-axis reflection.
Step 4: — shift up 2 units.
Final graph of y = 2 - √(2x+4) after all transformations.
Domain: . Range: .

Special Transformations: and

: Reflect any part of the graph of that lies below the -axis up to above the -axis. The part already above stays unchanged.

: Remove the part of the graph for , keep the right half (), and reflect it in the -axis to fill the left side. The result is always an even function.

Graph showing y = |f(x)| with the negative portion reflected above the x-axis.
To get , reflect all portions of the graph below the -axis upward.
Graph showing y = f(|x|) with the left side replaced by a reflection of the right side.
To get , keep the right half and reflect it across the -axis to create the left half.

Frequently Asked Questions

Why does shift right and shift left? Think about it this way: to get the same output from as from at 0, you need , i.e., . So the reference point moves right to . Similarly, requires , so the reference point moves left.

What is the order of operations for combining multiple transformations? Always apply horizontal transformations (scaling, then shifting) before vertical ones (scaling, then shifting). Within horizontal, scale before shift. Within vertical, scale before shift. This matches the order in the formula .

Does reflecting across the x-axis change the domain? No. Reflecting across the -axis to get uses the same -values, so the domain is unchanged. The range changes: every -value is negated.

Is always even? Yes. For any , we have , confirming that is even.