Here's a question one of my precalculus students asked me, paraphrased for clarity:
You know how if you have the line $y=x$, and you want to reflect the graph of a function $f(x)$ across it, you can just switch the $y$ and $x$ in the equation of the function (since you're just finding $f^{-1}$ if it exists). What if you wanted to reflect a graph about something like $y=2x$ instead? Or $y=2x-3$? Is there some trick analogous to "switch the $x$ and the $y$" to find the equation of this reflected curve?
My trouble is that I don't have an explanation that would be particularly good for a precalulus student. Is there an elegant way to explain to a precalculus student how to do this that looks analogous to the "switch $x$ and $y$" trick? Here are the approaches to reflecting a curve about a line that I know, that I think are a bit too heavy for this student.
- Do some vector-calculus looking stuff: To reflect the graph of $f$ across $y=mx+b$, you translate the $y$ values by $b$ to make the line go through the origin, look at the projection of a point on the translated graph onto the normal vector $\langle -m,1 \rangle$ of the line, use the projection to reflect the graph, then translate back by $-b$. I can calculate this for the student, but I don't think the formula will look memorable, and certainly won't be a clean "trick." Right now I'm leaning towards showing the student a nice picture of this without any calculations. I'll probably type this up in detail as an answer sometime unless someone has a better suggestion.
- Talk about reflection matrices: a reflection about a line in the $xy$-plane with an angle of $\theta$ with the $x$-axis is given by multiplication by the matrix $$\begin{pmatrix}\cos2\theta&\sin2\theta\\\sin2\theta&-\cos2\theta\end{pmatrix}\,,$$ then the case where $\theta = \pi/4$, where you're reflecting about the line $y=x$, corresponds to the matrix $$\begin{pmatrix}0&1\\1&0\end{pmatrix}\,,$$ which just switches the $x$ and the $y$ coordinates of the graph. But then introducing matrices as linear transformations, and explaining why that matrix corresponds to reflections, would be tough.