Module 3 · Functions · Lesson 20 of 84

Transformations of functions

Shifts, reflections, stretches and compressions, and even and odd functions.

In this lesson · about 22 minutes

  • Shift a graph up, down, left and right
  • Reflect a graph across the x- and y-axes
  • Stretch and compress a graph
  • Decide whether a function is even, odd or neither

Know the toolkit shapes and you can graph a huge number of functions by moving them. For a function f:

New functionWhat happens to the graph of f
f(x) + kShift up k (down if k is negative)
f(x − h)Shift right h (left if h is negative). Inside the brackets, the sign works backwards.
−f(x)Reflect across the x-axis (upside down)
f(−x)Reflect across the y-axis (left and right swap)
a·f(x)Vertical stretch by a if a > 1; compression if 0 < a < 1
f(bx)Horizontal compression by 1/b if b > 1; stretch if 0 < b < 1

Changes outside the function affect the outputs (vertical). Changes inside affect the inputs (horizontal), and they act in the opposite way to what you might expect.

Whiteboard · watch and try

Moving a parabola step by step

5 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Try it · interactive

Transformations of functions

Choose a parent function and move the sliders. The list explains each change in words.

g(x) = f(x) with f(x) = x²

  • No change yet: move a slider.
−8−6−4−22468−8−6−4−22468

Dashed grey: the parent f(x). Purple: the transformed g(x).

Loading practice…

Even and odd functions

  • A function is even if f(−x) = f(x) for every x. Its graph is symmetric about the y-axis (a mirror image left and right). Examples: x², |x|, x⁴.
  • A function is odd if f(−x) = −f(x). Its graph is symmetric about the origin (it looks the same after a half turn). Examples: x, x³, 1/x.
  • Most functions are neither, such as x² + x.

To test, work out f(−x) and compare it with f(x) and −f(x).

Check your understanding0 of 5 correct

Question 1

1.How is g(x) = |x + 4| − 1 made from f(x) = |x|?

Question 2

2.Which function is f(x) = x³ reflected across the x-axis?

Question 3

3.g(x) = 3f(x) does what to the graph of f?

Question 4

4.Is f(x) = x⁴ − 2x² even, odd or neither?

Question 5

5.Is f(x) = x³ + x even, odd or neither?

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 5

Practice sets mastered: 0 of 1

Tip: answer every quiz question correctly first.

Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.