3

Knowing dealing with graph transformations come handy MANY times.
I searched on google to get a comprehensive graph transformation list but couldn't find one. Some good while back I learned them all with great enthusiasm but have now all forgotten them and like before, I'm not finding a great teacher neither a great search result. Can we have one here that will cover the following (at least):

$$\text {For }y=f(x):$$ $y=f(x+c)$
$y=f(x)+c$
$y=f(cx)$
$y=cf(x)$
$y=f(-x)$
$y=-f(x)$
$y=f(|x|)$
$y=|f(x)|$
$y+c=f(x)$
$cy=f(x)$
$-y=f(x)$
$|y|=f(x)$

Kindly feel to provide for more in case I have missed out any thing. Thank you :)


Note: Last few equations I know might be a repeat of the above cases but I have included them so as to clear any confusions.

SoG
  • 13,327
VoidGawd
  • 3,110
  • Doesn't answer your entire question, but I thought you (and others interested in this question) might be interested in this article about the relational view of mathematics: https://mindmatters.ai/2022/06/reviving-the-relational-view-of-mathematics/ – johnnyb Aug 22 '22 at 12:09
  • 1
    @johnnyb while luckily I had a good mentor but I realized from this post that I came across yesterday that it's very true. I think the way I have asked the question addresses your $2^{nd}$ concern of the $2$ concerns. The first concern, while it comes as largely intuitive to me, but I understand that it might not be the case for many students. So I agree it should/must be mentioned explicitly too. – VoidGawd Aug 22 '22 at 14:24
  • 1
    Downvotes without comment aren't appreciated. – VoidGawd Aug 24 '22 at 13:07

3 Answers3

4

\begin{array}{|c|c|c|c|} \hline \text{New function}(c>0,\lambda>1)& \text{Change of coordinate}& \text{Geometry of transformation} \\ \hline f(x) +c & (a, b) \mapsto(a,b+c)& \text{ shift up by} c\\ \hline f(x) -c & (a, b) \mapsto(a,b-c)&\text{shift down by} c\\ \hline \lambda f(x) & (a, b) \mapsto(a,\lambda b)&\text{vertical expansion by } \lambda\\ \hline \frac{1}{\lambda}f(x) & (a, b) \mapsto(a, \frac{1}{\lambda}b)&\text{vertical contraction by } \lambda \\\hline -f(x) &(a, b) \mapsto (a, -b) &\text{reflexion about $x$-axis}\\ \hline \end{array}


Example:

$\boxed{\color{red}{f(x) =x^2}}$

pic1

$\boxed{\color{green}{f(x) =x^2+2}}(\text{ shifted upward $2$ units}) $

pic2

$\boxed{\color{black}{f(x)=x^2-2}}(\text{ shifted downward $2$ units}) $

enter image description here

$\boxed{\color{goldenrod}{f(x) =3x^2}}(\text{ vertically expanded $3$ units}) $

enter image description here

$\boxed{\color{blue}{f(x) =\frac{1}{3}x^2}} (\text{vertically contracted $\frac{1}{3}$ units}) $

enter image description here

$\boxed{\color{cyan}{f(x) =-x^2}} (\text{reflected about $x$- axis}) $

enter image description here



\begin{array}{|c|c|c|c|} \hline \text{New function}(c>0,\lambda>1)& \text{Change of coordinate}& \text{Geometry of transformation} \\ \hline f(x+c) & (a, b) \mapsto(a-c,b)& \text{ shift left by} c\\ \hline f(x-c) & (a, b) \mapsto(a+c,b)&\text{shift right by} c\\ \hline f(\lambda x) & (a, b) \mapsto(\frac{1}{\lambda}a,b)&\text{horizontal contraction by } \frac{1}{\lambda} \\ \hline f(\frac{1}{\lambda}x) & (a, b) \mapsto(\lambda a,b)&\text{horizontal expansion by } \lambda \\\hline f(-x) &(a, b) \mapsto (-a, b) &\text{reflexion about $y$-axis}\\\hline \end{array}


Example:

$\boxed{\color{red}{f(x) =x^2}}$

enter image description here

$\boxed{\color{green}{f(x) =(x+2)^2}}(\text{ shifted left $2$ units}) $

enter image description here

$\boxed{\color{black}{f(x)=(x-2)^2}}(\text{ shifted right $2$ units}) $

enter image description here

$\boxed{\color{goldenrod}{f(x) =(3x)^2}}(\text{horizontally contracted $\frac{1}{3}$ units})$

enter image description here

$\boxed{\color{blue}{f(x) =(\frac{1}{3}x)^2}} (\text{horizontally expanded ${3}$ units}) $

enter image description here

$\boxed{\color{cyan}{f(x) =(-x) ^2}} (\text{reflected about $y$- axis}) $

No change at all


$|f|=|\space |\circ f$

$|f(x)| =\begin{cases}f(x)& f(x) \ge 0\\-f(x)& f(x) <0\end{cases}$

Hence $|f|$ is same as $f$ on the upper half plane and the lower half plane $f$ is $-f$ .

In other words $|f|=\max\{f, -f\}$

To draw the graph of $|f|$ , first draw the graph of $f$ and the leave the portion of the graph as it is on the upper half plane and then reflect the portion of the graph of the lower half plane with respect to the $x$-axis.


$f(|x|) =(f\circ|\space |)(x) $

$f(|x|) =\begin{cases}f(x)& x\ge 0\\f(-x) & x <0\end{cases}$

Hence $f(|x|)$ is same as $f(x)$ on the right half plane and on the left half plane $f(|x|)$ is the reflection of $f(x)$ about $y$-axis.

To draw the graph of $f\circ |x|$ , first draw the graph of $f$ and the leave the portion of the graph as it is on the right half plane and then reflect the portion of the graph in the left half plane with respect to the $y$-axis.

Note: For a even function $f$, since $f(-x) =f(x) $ then $f(|x|) =f(x) $.Hence we won't see the difference between the graph of the function $f$ and $f\circ |\space |$.


Example:

$\boxed{\color{red}{f(x) =-x^3}}$

enter image description here

$\boxed{\color{blue}{|f(x)| =|-x^3|}}$

enter image description here

$\boxed{\color{green}{|f(x)| =-|x|^3}}$

enter image description here


$\boxed{\color{black}{|y|=f(x)}}$

$y =\begin{cases}f(x)& y\ge 0\\-f(x) & y <0\end{cases}$

Hence the graph of the function $|y|=f(x) $ is same as the graph of $y=f(x)$ on the upper half plane and on the lower half plane the graph of $|y|=f(x) $ is same as the graph of $y=-f(x) $.

To draw the graph of $|y|=f(x) $, first draw the graph of $y=f(x)$.Then left the graph on the upper half plane as it is and then reflect the graph of the upper half plane about $x$-axis.

Example:

$\boxed{\color{red}{f(x) =4-x^2}}$

The graph of $y=f(x)$

enter image description here

$\boxed{\color{green}{|y|=f(x)}}$

enter image description here


SoG
  • 13,327
3

$y = f(x+c)$ translates the graph by $-c$ in the x direction.

$y = f(x) + c$ translates the graph by $c$ in the y direction.

$y = f(cx)$ stretches the graph by a factor of $\frac{1}{c} $ in the x direction.

$y = cf(x)$ stretches the graph by a factor of $c$ in the y direction.

$y = f(-x)$ reflects the graph in the y axis.

$y = -f(x)$ reflects the graph in the x axis.

$y = f(|x|)$ keeps the positive x axis side the same, but the negative side becomes a reflection of the positive side.

$y = |f(x)|$ keeps the positive y values all the same, but the negative parts are now reflected in the x axis.

$y + c = f(x)$ translates the graph by $-c$ in the y direction.

$cy = f(x)$ stretches the graph by a factor of $\frac{1}{c}$ in the y direction.

$-y = f(x)$ is the same as $y = -f(x)$ above.

$|y| = f(x)$ keeps the positive y axis side the same, and the negative y axis side is now a reflection of the positive side.

Hopefully these explanations are clear and intuitive.

S34NM68
  • 532
  • Hey, your answer is very great too. It's just that I had to take a call and after a day of thinking which to accept, I accepted one. Though I read some of your other posts and found them well written too. – VoidGawd Aug 22 '22 at 07:56
1
  1. Given the graph of $y=f(x),$ perhaps think of the output modifications $$y=af(x)\\y=f(x)+b$$ as (vertical) transformations of the curve, whereas the input modifications $$y=f(ax)\\y=f(x+b)$$ as (horizontal) transformations of the coordinate axes.

    This is just so that we can continue to naturally think of addition as a shift in the positive (rather than negative) direction, and multiplication by a number greater than $1$ as an enlargement (rather than a reduction).

  2. So, to transform the graph of $y=f(x)$ to that of $y=f(3x-21),$ noting that $$f((3x)-21)\equiv f(3(x-7)),$$ we can either

    • translate the $x$-axis $21$ units leftward then scale it by a factor of $3$

    or

    • scale the $x$-axis by a factor of $3$ then translate it $7$ units leftward.
    • $y=|f(x)|$ reflects across the $x$-axis any negative-$y$ portion of the curve.

    • $y=f(|x|)$ deletes any negative-$x$ portion of the curve, then duplicates the remaining curve by reflecting it across the $y$-axis.

    • $|y|=f(x)$ deletes any negative-$y$ portion of the curve, then duplicates the remaining curve by reflecting it across the $x$-axis.

enter image description here enter image description here enter image description here enter image description here

ryang
  • 44,428