1.4 Symmetries and Transformations

Mathematicians study the transformations of functions to uncover underlying structure, just as physicists study the symmetries of the universe to uncover conservation laws.

1.4.1 Transforming the Graph

Let c>0c>0 and suppose we start with an original graph y=f⁢(x)y=f(x).

  1. 1.
    ​

    Horizontal shift cc units right: y=f⁢(x−c)y=f(x-c)

  2. 2.
    ​

    Horizontal shift cc units left: y=f⁢(x+c)y=f(x+c)

  3. 3.
    ​

    Vertical shift cc units downward: y=f⁢(x)−cy=f(x)-c

  4. 4.
    ​

    Vertical shift cc units upward: y=f⁢(x)+cy=f(x)+c

  5. 5.
    ​

    Reflection about the xx-axis: y=−f⁢(x)y=-f(x)

  6. 6.
    ​

    Reflection about the yy-axis: y=f⁢(−x)y=f(-x)

  7. 7.
    ​

    Reflection about the origin: y=−f⁢(−x)y=-f(-x)

  8. 8.
    ​

    Scale vertically: y=c⁢f⁢(x)y=cf(x). (Stretch if c>1c>1, shrink if 0<c<10<c<1).

  9. 9.
    ​

    Scale horizontally: y=f⁢(c⁢x)y=f(cx). (Compress if c>1c>1, expand if 0<c<10<c<1).

Exercise 1.4.1.

Draw graphs illustrating all the 9 transformations above.

1.4.2 Even and Odd Functions

Definition 1.4.2 (Symmetry).

A function ff is even if and only if for each x∈dom⁡(f)x\in\operatorname{dom}(f), f⁢(x)=f⁢(−x)f(x)=f(-x). A function ff is odd if and only if for each x∈dom⁡(f)x\in\operatorname{dom}(f), f⁢(x)=−f⁢(−x)f(x)=-f(-x).

Example 1.4.3.
  1. 1.
    ​

    Let f⁢(x)=x4−2⁢x2−20f(x)=x^{4}-2x^{2}-20.

    equation (1.9) (1.9)
    f⁢(−x)=(−x)4−2⁢(−x)2−20=x4−2⁢x2−20=f⁢(x).f(-x)=(-x)^{4}-2(-x)^{2}-20=x^{4}-2x^{2}-20=f(x).

    Thus, ff is even.

  2. 2.
    ​

    Let g⁢(x)=x3−3⁢x+1g(x)=x^{3}-3x+1.

    equation (1.10) (1.10)
    g⁢(−x)=(−x)3−3⁢(−x)+1=−x3+3⁢x+1=−(x3−3⁢x−1).g(-x)=(-x)^{3}-3(-x)+1=-x^{3}+3x+1=-(x^{3}-3x-1).

    This is neither g⁢(x)g(x) nor −g⁢(x)-g(x). Thus, gg is neither even nor odd.

  3. 3.
    ​

    Let h⁢(x)=xh(x)=x. We have h⁢(−x)=−x=−h⁢(x)h(-x)=-x=-h(x), so hh is odd.

Exercise 1.4.4.

Given a function ff, show that fe⁢(x)≔f⁢(x)+f⁢(−x)2f_{e}(x)\coloneqq\frac{f(x)+f(-x)}{2} is even, and fo⁢(x)≔f⁢(x)−f⁢(−x)2f_{o}(x)\coloneqq\frac{f(x)-f(-x)}{2} is odd. Moreover, verify the decomposition f⁢(x)=fe⁢(x)+fo⁢(x)f(x)=f_{e}(x)+f_{o}(x).