While studying graph transformations I came across horizontal and vertical scale and translations of functions. I understand the ideas below.
- $f(x+a)$ - grouped with $x$, horizontal translation, inverse, $x$-coordinate shifts left, right for $-a$
- $f(ax)$ - grouped with $x$, horizontal scaling, inverse so $x$-coordinate ${}\times \frac{1}{a}$
- $f(x) + a$ - not grouped with $x$, vertical translation, shifts $y$-coordinate up, $a$
- $af(x)$ - not grouped with $x$, vertical scaling, $y$-coordinate ${} \times a$
I have mostly memorized this part but I am unable to figure out why the horizontal transformations are reversed/inverse?
Thanks for your help.
You're really talking about what happens to the graph $y=f(x)$; and from this perspective, we can see that horizontal (x) and vertical (y) transformations work the same way.
Instead of writing $y=f(x)+a$, write $y+b=f(x)$ (here, $b=-a$); and instead of $y=af(x)$, write $by=f(x)$ (here, $b=\frac{1}{a}$).
So for translations, we have
And for scaling, we have
So you see, they really work the same way, it just looks opposite because the factor $a$ gets moved to the other side.
This works very generally. Suppose we have
Now take any solution to equation 1, lets call it the triple $(n_1,n_2,n_3)$. (So equation 1 is true if I plug in the numbers $n_1$ for $x$, $n_2$ for $y$, and $n_3$ for $z$.)
Then you can see that $(n_1,n_2,n_3-c)$ is a solution of equation 2, and $(n_1,n_2,\frac{1}{d}n_3)$ is a solution of equation 3.