You don't need to memorise hundreds of graphs. Learn a few basic shapes, then learn the four moves that slide and stretch any of them.
- Pick \(\sin x\) and change \(a\). What's happening to the wave's height?
- Now change \(b\). Why do bigger values make it squeeze in?
- Change \(h\) to 2. Why does the shape move right when the formula says \(x - 2\)?
- Pick \(x^2\) and make \(a\) negative.
The idea
- Outside the function acts on the height, the way you'd expect. \(a\) stretches it and \(k\) lifts it.
- Inside the function acts on \(x\), and it feels backwards. \(h\) moves it right when you subtract, and a bigger \(b\) squeezes it in.
Inside moves feel backwards because you're asking which \(x\) gives the old value. For \(f(x - 2)\) to reach the input it used to get at \(x = 0\), \(x\) must now be 2. So everything happens 2 later, which means 2 to the right.
A wave travelling along a string is \(y = A\sin\big(k(x - vt)\big)\). It's a shape with \(h = vt\), so as time passes it slides right at speed \(v\). That's all a travelling wave is.
Problems
Where's the lowest point of \(y = (x - 2)^2 + 3\)?
Answer
\(x^2\) has its lowest point at \((0, 0)\). Moved 2 right and 3 up, that's \((2, 3)\).
What are the height and the wavelength of \(y = 2\sin(3x)\)?
Answer
It reaches a height of 2. \(\sin x\) repeats every \(2\pi\), and squeezing by 3 makes that \(\frac{2\pi}{3}\).
Where does \(y = 4 - x^2\) cross the \(x\) axis?
Answer
Where \(4 - x^2 = 0\): \(x = 2\) and \(x = -2\). It's \(x^2\) flipped over and lifted by 4.
Write a formula for a \(\sin x\) wave that is 3 high and shifted right by \(\frac{\pi}{2}\).
Answer
\(y = 3\sin\left(x - \dfrac{\pi}{2}\right)\). This turns out to equal \(-3\cos x\).