Stretches and compressions; even and odd functions

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Algebra II › Transformations of functions

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Stretches and compressions; even and odd functions

Transformations of functions. shifts, reflections, even and odd functions, inverse functions

Warm-up

Three quick questions from earlier lessons.

  1. Draw the graph of y=(x−1)2−3y = (x - 1)^2 - 3: place the vertex and one more point.
  2. The graph of y=x2y = x^2 is moved 1 units to the right and 1 units down. Write the equation of the new graph.
  3. Match each equation with what it does to the graph of y=f(x)y = f(x).
    1. y=f(x)+3y = f(x) + 3
    2. y=f(x−3)y = f(x - 3)
    3. y=−f(x)y = -f(x)
    4. y=f(−x)y = f(-x)
    1. moves it up 3 units
    2. moves it 3 units to the right
    3. reflects it across the x-axis
    4. reflects it across the y-axis

Discover

Move the slider and watch the graph of y=(bx)2y = (bx)^2.

The graph of y = (bx)², a parabola that gets narrower as b grows.

When bb goes from 1 to 2, the graph becomes…

  1. narrower
  2. wider

Key idea

Multiplying stretches or squeezes a graph. Symmetry has a name.

For a>1a > 1: y=af(x)y = a f(x) stretches the graph vertically by aa. For b>1b > 1: y=f(bx)y = f(bx) compresses it horizontally by bb. ff is even if f(−x)=f(x)f(-x) = f(x) (symmetric about the yy-axis), odd if f(−x)=−f(x)f(-x) = -f(x) (symmetric about the origin).

Worked example

Is f(x)=x3−2xf(x) = x^3 - 2x even, odd, or neither?

f(−x)=(−x)3−2(−x)f(-x) = (-x)^3 - 2(-x)
Replace x by (−x).
=−x3+2x= -x^3 + 2x
(−x)³ = −x³ and −2(−x) = 2x.
=−(x3−2x)=−f(x)= -(x^3 - 2x) = -f(x): odd
Factor out −1: this is −f(x).

Your turn, guided

Your turn: f(x)=x4+3f(x) = x^4 + 3. Check one value.

f(−1)=(−1)4+3f(-1) = (-1)^4 + 3
Replace x by −1.
f(−1)=4f(-1) = 4
(−1)⁴ = 1. It equals f(1): a sign that f is even.

Practice ★

  1. How does the graph of y=f(4x)y = f(4x) compare with the graph of y=f(x)y = f(x)?
    1. It is squeezed toward the y-axis: horizontal compression by a factor of 4
    2. It is pulled away from the y-axis: horizontal stretch by a factor of 4
    3. It is stretched vertically by a factor of 4
  2. How does the graph of y=f(5x)y = f(5x) compare with the graph of y=f(x)y = f(x)?
    1. It is squeezed toward the y-axis: horizontal compression by a factor of 5
    2. It is pulled away from the y-axis: horizontal stretch by a factor of 5
    3. It is stretched vertically by a factor of 5
  3. How does the graph of y=f(3x)y = f(3x) compare with the graph of y=f(x)y = f(x)?
    1. It is squeezed toward the y-axis: horizontal compression by a factor of 3
    2. It is pulled away from the y-axis: horizontal stretch by a factor of 3
    3. It is stretched vertically by a factor of 3

Watch out!

Practice ★★

  1. f(x)=8x3−9xf(x) = 8x^3 - 9x. Is ff even, odd, or neither?
    1. Even
    2. Odd
    3. Neither
  2. f(x)=9x3−2xf(x) = 9x^3 - 2x. Is ff even, odd, or neither?
    1. Even
    2. Odd
    3. Neither
  1. f(x)=3x4−8x2+7f(x) = 3x^4 - 8x^2 + 7. Is ff even, odd, or neither?
    1. Even
    2. Odd
    3. Neither
  2. f(x)=5x4−1x2+9f(x) = 5x^4 - 1x^2 + 9. Is ff even, odd, or neither?
    1. Even
    2. Odd
    3. Neither

Exit ticket

Three questions to check you have got it.

  1. f(x)=8x3−9xf(x) = 8x^3 - 9x. Is ff even, odd, or neither?
    1. Even
    2. Odd
    3. Neither
  2. f(x)=9x3−2xf(x) = 9x^3 - 2x. Is ff even, odd, or neither?
    1. Even
    2. Odd
    3. Neither
  3. f(x)=7x3−1xf(x) = 7x^3 - 1x. Is ff even, odd, or neither?
    1. Even
    2. Odd
    3. Neither

Summary card

Stretches, even and odd

  • af(x)a f(x): vertical stretch by aa. f(bx)f(bx): horizontal compression by bb.
  • Even: f(−x)=f(x)f(-x) = f(x), mirror image in the yy-axis.
  • Odd: f(−x)=−f(x)f(-x) = -f(x), symmetric about the origin.

Watch out: compute f(−x)f(-x); the signs of the coefficients do not decide.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. The graph of ff is symmetric about the origin, and f(1)=23f(1) = 23. Find f(−1)f(-1).
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits