Scaling and Reflecting of Function

==2024-11-14

Theory

For a function :

For scaling, c>0

For reflecting, c<0.

where, c = no. for scaled function or

For

  1. If , The graph compresses vertically.

  2. If , The graph stretches vertically.

For

  1. If , The graph compresses horizontally.

  2. If , The graph stretches horizontally.


Examples

Here, blue

  1. In cf(x),

    1. yellow
    2. red
  2. In f(cx), 3. purple 4. black

  3. reflection c < 0 green

f(x)=x^2|blue
f(x)=0.5*x^2|yellow
f(x)=2*x^2|red
f(x)=(0.5x)^2|purple
f(x)=(2x)^2|black
f(x)=-x^2|green

PTR