Translations_of_function
Author: Doug Kuhlmann

Translations of a function: g(x)=a*f(b*(x-c))+d

To change f, enter new function in Input field.
f(x)=.....

Show instructions

Show shifted axes

Move sliders to change a, b, c, d
in g(x)=a*f(b*(x-c))+d.
Enter new f in Input field below
f(x)=.........

g(x)=a*f(b*(x-c))+d

Show trace points

d = 0 (slider from -5 to 5, step 0.1)
c = 0 (slider from -5 to 5, step 0.1)
b = 1 (slider from -5 to 5, step 0.1)
a = 1 (slider from -5 to 5, step 0.1)
f(x) = sin(x)
g(x) = a * f(b * (x - c)) + d
e: x = c
h: y = d
text1: "g(x)=" + g
i = false
j = true
x_1 = 2.2 (slider from -10 to 10, step 0.1)
A: (x_1, f(x_1))
k = false
A': (x_1 / b + c, a * f(x_1) + d)
text2: "f(x)=" + f