Some Old Friends and the Games We Can Play With Them
It’s the start of a new school year. We’re seeing our friends whom we haven’t seen all summer long. We’re making new friends. We’re excited to again get to play all of our favorite games with our friends. But this is Nueva, and so our friends are not people, but rather abstract objects. In particular, our friends are functions. And the games we want play with them aren’t chess or dodgeball or backgammon—the games we want to play are those called linear transformations.1
Let’s back up a bit. Here’s what we’re going to be thinking about for the first few weeks of our class. How can we take equations and turn them into pictures?
\[\text{equations} \longrightarrow \text{pictures}\]
How can we take pictures and turn them into equations?
\[\text{equations} \longleftarrow \text{pictures}\]
How can we do this in both directions, back and forth, back and forth, over and over again, without a calculator, using only our minds, so that we develop a deep intuition for what equations look like? In other words, we’re trying to figure out this:
\[\text{equations} \Longleftrightarrow \text{pictures}\]
We’re going to try to become algebraic synæsthetes2. Synæsthesia, as you might know, is the neurological condition describing when your senses overlap—when you can see sounds, or smell colors, or associate words with physical sensations. Your senses get all mixed up. That’s what we want. We want no difference between seeing a picture and seeing an equation.
To start acquiring our algebraic synæsthesia, let’s learn (or remind ourselves of) some basic functions and their shapes, and then figure out hw we can change them in simple ways. How can we move them up and down and left and right? How can we stretch them out? How can we squeeze and compress them? How can we flip them around? How does changing their equations change their pictures? How does changing their pictures change their equations?
It’s the start of a new year, so let’s make some new friends—or reintroduce ourselves to some old friends. Let’s list a dramatis personae of the characters who will populate our story:
\[f(x) = x\]
- A line with slope \(1\) and \(y\)-intercept \(0\), passing through the origin at \((0,0)\)
- Extremely boring!!!
- The fancy mathematical word for this function is that it’s the identity function, or even fancier, that it’s idempotent
\[f(x) = x^2\]
- Passes through \((0,0)\)
- Cool parabolic shape!
- Passes through \((-1,+1)\), the origin, and \((1,1)\)
- (What’s the difference between \(x^2\), \(x^4\), \(x^6\), etc.? What happens to \(x^n\) as \(n\) gets bigger?)
\[f(x)=x^3\]
- Cool twisty shape
- Passes through \((-1,-1)\), the origin, and \((1,1)\)
- Flat for a moment at the origin!
- (What’s the difference between \(x^3\), \(x^5\), \(x^7\), etc.? What happens to \(x^n\) as \(n\) gets bigger?)
\[f(x)=\frac1x\]
- Also known as \(f(x) = x^{-1}\)
- Pretty symmetry!
- Vertical asymptote at \(x=0\) (but in different directions from each side)
- Horizontal asymptotes at \(y=0\)
- Passes through \((-1,-1)\) and \((+1,+1)\)
- (What’s the difference between \(1/x^3\), \(1/x^5\), \(1/x^7\), etc.? What happens to \(1/x^n\), where \(n\) is some odd positive integer, as \(n\) gets bigger?)
\[f(x)=\frac{1}{x^2}\]
- An infinitely-tall volcano! (Alternatively: a infinitely-tall redwood!)
- Also known as \(f(x) = x^{-2}\)
- Vertical asymptote at \(x=0\) and horizontal asymptotes at \(y=0\)
- Passes through \((-1,+1)\) and \((+1,+1)\)
- (What’s the difference between \(1/x^2\), \(1/x^4\), \(1/x^6\), etc.? What happens to \(1/x^n\), where \(n\) is some even positive integer as \(n\) gets bigger?)
\[f(x)=\sqrt{x}\]
- The square root function (or at least, the positive square root)
- Also known as \(f(x)=x^{1/2}\)
- Doesn’t exist when \(x<0\) (UNLESS YOU BELIEVE IN IMAGINARY NUMBERS!!!)
- Passes through \((1,1)\); touches the origin at \((0,0)\) (but stops there).
\[f(x)=\sqrt[3]{x}\]
- The cube root!
- Also known as \(x^{1/3}\)
- Exists for all values of \(x\), unlike the square root (why? why can we take the cube roots of negative numbers?)
- Passes through the origin at \((0,0)\), also passes through \((1,1)\), and even \((-1,-1)\)!
\[f(x)=e^x\]
- An exponential function, with base \(e \approx 2.71...\)
- Long horizontal asymptote to \(y=0\) on the left!
- On the right, keeps going up forever and ever, getting steeper and steeper!
- Passes through \((0,1)\) and \((1,e)\)
- (How does this differ from {} exponential functions with different bases, like \(f(x)=5^x\) or \(f(x)=3^x\) or \(f(x)=(1/2)^x\)???)
\[f(x)=\ln(x)\]
- The “natural logarithm,” i.e., a logarithm with base \(e\)
- Doesn’t exist when \(x<0\) (UNLESS YOU BELIEVE IN IMAGINARY NUMBERS!!!)
- Vertical asymptote at \(x=0\)
- Passes through \((1,0)\) and \((e,1)\)
- Keeps going up and to the right forever and ever… just less and less steeply and more and more flat-ly.
- We’ll talk a lot more about logarithms and exponentials later!
- (Are there other logarithms????)
\[f(x) = \sin(x)\]
- A trig function!
- Repeats every \(2\pi\) (= \(360^\circ\))
- \(x\)-intercepts at \(\pi \pm k\pi\), where \(k\) is any integer, i.e. \(\pm \pi, \pm 2\pi, \pm 3\pi\), etc.
- Maxima at \(\frac{\pi}{2} \pm 2k\pi\), i.e. at \(x=\pi/2, \pm 5\pi/2, \pm9\pi/2\), etc.
- Minima at \(\frac{3\pi}{2} \pm 2k\pi\)
\[f(x) = \cos(x)\]
- Another trig function!
- Just like sine, but shifted a bit (how much? in which direction?)
- Repeats every \(2\pi\) (= \(360^\circ\))
- \(x\)-intercepts at \(\pi/2 \pm k\pi\), where \(k\) is any integer, i.e. \(\pm \pi/2\), \(\pm 3\pi/2\), \(\pm 5\pi/2\).
\[f(x) = \tan(x)\]
- Another trig function, but really different from sine and cosine
- Repeats every \(\pi\) (= \(180^\circ\)) (unlike sine and cosine)
- Vertical asymptotes at \(\pi/2 \pm k\pi\)
- \(x\)-intercepts at \(\pm k\pi\), where \(k\) is any integer, i.e. \(\pm \pi\), \(\pm2\pi\), \(\pm 3\pi\), etc.
So. Those are our friends. What are the games we can play with them?
Vertical transformations
Vertical shifts
- If we have the function \(f(x)\), and some positive number \(h\), then the graph of \(f(x) + h\) is the graph of \(f(x)\) moved up by \(h\) units.
Likewise, the graph of \(f(x)-h\) is the graph of \(f(x)\) moved down by \(h\) units.
\end{itemize}
Vertical expansions and contractions
Vertical reflections
Horizontal transformations
Horizontal shifts
Horizontal expansions and contractions
Horizontal reflections
Order of operations
Note that it matters in what order we apply these transformations! If we have \(f(x)\), and we want to draw \(af(bx + c) + d\), then we need to:
- Shift left or right by \(c\)
- Horizontally expand or contract by a factor of \(b\)
- Vertically expand or contract by a factor of \(a\)
- Vertically shift up or down by \(d\)
Problems
Let’s go from equations to pictures! For each of the following problems:
- Identify the parent function
- Write the transformed function in terms of the parent function
- List the transformations, in order.
- Graph the parent function
- Graph the transformed function. (A nice way to do this would be to graph both the parent and transformed function on the same axes, but using different colors.)
Don’t use a graphing calculator—do this all by hand! I mean, you can use Desmos to check or something, if you want, but we’re trying to learn how to do all this {} in our heads, {}. There’s no need to draw a particularly precise picture—we’re just trying to get a {} for how these things work.
And, as an example of what I mean in (2), if you’re given \(f(x) = 3\sin(x+2) - 7\), then you could set the parent function equal to \(g(x) = \sin(x)\), and then write \(f(x)\) as \(f(x) = 3g(x + 2) - 7\). This can make it a little easier to see the transformations—all the details of the function are stripped/abstracted and we’re left with just the transformations.
- \(f(x) = e^x + 3\)
- \(f(x) = \sin(x - \pi)\)
- \(f(x) = 5x^2\)
- \(f(x) = 3x^8\)
- \(f(x) = -x^3\)
- \(f(x) = (4x)^7\)
- \(f(x) = \sqrt{-x}\)
- \(f(x) = \sqrt{x} + 4\)
- \(f(x) = 3x + 2\)
- \(f(x) = \frac{1}{2}\ln(x)\)
- \(f(x) = \frac{1}{3x}\)
- \(f(x) = \cos(5x)\)
- \(f(x) = 12\)
- \(f(x) = - x^2\)
- \(f(x) = x - 5\)
- \(f(x) = \sqrt{x + 4}\)
- \(f(x) = \left(\frac{x}{4}\right)^3\)
- \(f(x) = \frac{-1}{x}\)
- \(f(x) = \sqrt[3]{-x}\)
- \(f(x) = 5\)
- \(f(x) = 3x\)
- \(f(x) = 2x + 1\)
- \(f(x) = -(x - 5) + 3\)
- \(f(x) = 2x+1\)
- $f(x) = x - 5 $
- $f(x) = - x $
- \(f(x) = -2x + 5\)
- \(p(y) = 4(y + 1) - 6\)
- \(f(x) = -2x^2\)
- \(f(x) = 9x^2\)
- \(f(x) = (3x)^2\)
- \(f(x) = 3x^2 - 4\)
- \(f(x) = (x + 4)^2\)
- \(f(x) = (-x)^2\)
- \(f(x) = (4x - 2)^2\)
- \(f(x) = -(-3x - 7)^2\)
- \(f(x) = \frac{1}{3}(5x + 9)^2 - 14\)
- \(g(x) = (x-1)^2\)
- \(s(x) = -x^4 + 2\)
- \(f(x) = -(x^4 - 2)\)
- \(f(x) = -(x-3)^4\)
- \(f(x) = x^6 - 2\)
- \(f(x) = (x + 2)^3\)
- \(f(x) = x^3-1\)
- \(f(x) = (-x)^3\)
- \(f(x) = -x^3\)
- \(f(x) = -3(x + 1)^3\)
- \(f(x) = \frac{1}{5}(x - 2)^3 - 4\)
- \(f(x) = 9(-x + 6)^3 - 1\)
- \(f(x) = (x+2)^3+1\)
- \(f(x) = x^7 + 5\)
- \(f(x) = \sqrt{x - 3}\)
- \(f(x) = -\sqrt{x}\)
- \(f(x) = \sqrt{-x}\)
- \(f(x) = -4\sqrt{2x + 1}\)
- \(f(x) = \sqrt{-x + 7}\)
- \(f(x) = \sqrt{-x + 1} - 2\)
- $f(x) = 4 - 2 $
- \(f(x) = \sqrt[3]{-x} - 5\)
- \(f(x) = 6\sqrt[3]{x + 5}\)
- \(f(x) = \sqrt[3]{x + 3} + 2\)
- \(f(x) = \sin(x + \pi/2)\)
- \(f(x) = 5\sin(x)\)
- \(f(x) = \sin(5x)\)
- \(f(x) = 5\sin(5x)\)
- \(f(x) = \cos(x + 3\pi)\)
- \(f(x) = 2\cos(x) + 2\)
- \(f(x) = \frac{1}{2}\sin(x)\)
- \(f(x) = -\sin(x) + 1\)
- \(f(x) = \cos(-x) - 1\)
- \(f(x) = -3\cos(4x + 2\pi) + 5\)
- \(b(\theta) = 5\sin{(3\theta + \pi)}\)
- \(f(x) = -2\sin{(-2x - \frac{3}{4}\pi)}\)
- \(f(x) = 2\sin(x)\)
- \(f(x) = \sin(2x)\)
- \(f(x) = \sin(x + \pi/2)\)
- \(r(x) = -12\tan(x)\)
- \(f(x) = 2\cos(x + 2\pi)\)
- \(f(x) = \cos(x + \pi)\)
- \(f(x) = -\cos(x)\)
- $f(x) = 4+ (1/x) $
- \(\displaystyle f(x) = \frac{2}{x}\)
- \(\displaystyle f(x) = \frac{1}{x + 3}\)
- \(\displaystyle d(z) = \frac{-1}{z + 2}\)
- \(\displaystyle f(x) = \frac{-1}{3x} + 5\)
- \(\displaystyle f(x) = 3\cdot \frac{1}{5x}\)
- $f(x) = $
- \(t(x) = e^{x - 2} - 4\)
- \(r(x) = 5e^{2x} + 1\)
- \(w(y) = -e^{y + 2}\)
- $f(x) = 12e^{-3x} $
- $j(r) = e^{0.2r} $
- \(h(x) = \ln{(x)} + 1\)
- \(t(x) = \ln{x - 2.5} - 8\)
- \(r(x) = \frac{1}{2}\ln{(3x)} + 1\)
- \(w(y) = -\ln{(y + 6)}\)
- $f(x) = 12 $
- $j(r) = $
Let’s go from pictures to equations! For each of the following problems:
- Identify the parent function (or rather, what one of the possible parent functions could be)
- Describe the transformations that take the parent function to the graph given.
- List the transformations, in order.
- Finally (and most importantly), write out a possible equation for this picture. If multiple equations might work, give at least two possibilties.
\end{document}
Why “linear’’? What does”linear" mean here? Are there also “non-linear” transformations? What are those?!?↩︎
Note the pretty https://en.wikipedia.org/wiki/%C3%86! ↩︎