Dilations and reflections
Theory
A dilation stretches a graph away from an axis and a reflection flips it across an axis. \(y=a\,f(x)\) is a dilation from the \(x\)-axis by factor \(a\), \(y=f(nx)\) is a dilation from the \(y\)-axis by factor \(\dfrac{1}{n}\), while \(y=-f(x)\) reflects in the \(x\)-axis and \(y=f(-x)\) reflects in the \(y\)-axis. Track a few key points, intercepts and asymptotes and the image follows.
A dilation from the \(x\)-axis is produced by \(y=a\,f(x)\): every \(y\)-coordinate is multiplied by \(a\), so the point \((x,y)\) maps to \((x,\,a y)\). This is a dilation from the \(x\)-axis by factor \(a\). Points already on the \(x\)-axis stay put, so the \(x\)-intercepts do not move; the range is multiplied by \(a\) while the domain is unchanged. If \(a<0\) the graph is also reflected in the \(x\)-axis.
A dilation from the \(y\)-axis is produced by \(y=f(nx)\): replacing \(x\) with \(nx\) divides every \(x\)-coordinate by \(n\), so \((x,y)\) maps to \(\left(\dfrac{x}{n},\,y\right)\). This is a dilation from the \(y\)-axis by factor \(\dfrac{1}{n}\). The \(y\)-intercept is fixed, the \(x\)-intercepts and any vertical asymptotes are divided by \(n\), the range is unchanged and the domain is scaled.
A reflection in the \(x\)-axis is \(y=-f(x)\), which changes the sign of every \(y\)-coordinate: \((x,y)\mapsto(x,\,-y)\). A reflection in the \(y\)-axis is \(y=f(-x)\), which changes the sign of every \(x\)-coordinate: \((x,y)\mapsto(-x,\,y)\). A horizontal asymptote \(y=k\) becomes \(y=-k\) under the first; a vertical asymptote \(x=c\) becomes \(x=-c\) under the second.
Dilation from the \(x\)-axis by factor \(a\) — multiply every \(y\)-coordinate by \(a\):
Dilation from the \(y\)-axis by factor \(\dfrac{1}{n}\) — divide every \(x\)-coordinate by \(n\):
Reflection in the \(x\)-axis (negate \(y\)) and reflection in the \(y\)-axis (negate \(x\)):
How to apply a dilation or reflection
- Name the transformation. Decide which form you have: \(a\,f(x)\) (outside → acts on \(y\)), \(f(nx)\) (inside → acts on \(x\)), \(-f(x)\) or \(f(-x)\) (a reflection).
- Read off the factor and axis. \(a\,f(x)\) is a dilation from the \(x\)-axis by factor \(a\); \(f(nx)\) is a dilation from the \(y\)-axis by factor \(\dfrac{1}{n}\); the minus sign gives the reflection axis.
- Map the key features. Apply the rule to each turning point, intercept and asymptote — \((x,y)\mapsto(x,ay)\), or \(\left(\dfrac{x}{n},y\right)\), or a sign change on \(x\) or \(y\).
- Update domain and range. A dilation from the \(x\)-axis scales the range; a dilation from the \(y\)-axis scales the domain; a reflection swaps the sign of one of them.
- Sketch. Plot the transformed key points and asymptotes, then draw the image with the same overall shape.
| \((x,y)\) | \(\mapsto\) | \((x,\,2y)\) |
| \((6,4)\) | \(\mapsto\) | \((6,\,8)\) |
| \((x,y)\) | \(\mapsto\) | \(\left(\dfrac{x}{3},\,y\right)\) |
| \((6,4)\) | \(\mapsto\) | \((2,\,4)\) |
| \((x,y)\) | \(\mapsto\) | \((x,\,-y)\) |
| \((-3,5)\) | \(\mapsto\) | \((-3,\,-5)\) |
| \((x,y)\) | \(\mapsto\) | \((-x,\,y)\) |
| \((-3,5)\) | \(\mapsto\) | \((3,\,5)\) |
| asymptote | \(:\) | \(y=\dfrac{1}{2}\times 2=1\) |
| \((0,5)\) | \(\mapsto\) | \(\left(0,\,\dfrac{5}{2}\right)\) |
| asymptote | \(:\) | \(y=2\) (unchanged) |
| \((0,5)\) | \(\mapsto\) | \((0,\,5)\) |
| \(f(2x)\) | \(=\) | \(4-(2x)^{2}\) |
| \(=\) | \(4-4x^{2}\) |
| \(x^{2}\) | \(=\) | \(1\) |
| \(x\) | \(=\) | \(\pm 1\) |
Common pitfalls
Frequently asked questions
What does y=a f(x) do to a graph?
It is a dilation from the \(x\)-axis by factor \(a\): every \(y\)-coordinate is multiplied by \(a\), so \((x,y)\mapsto(x,ay)\). The \(x\)-intercepts stay fixed and the range is multiplied by \(a\); if \(a<0\) the graph is also reflected in the \(x\)-axis.
What is a dilation from the y-axis?
\(y=f(nx)\) is a dilation from the \(y\)-axis by factor \(\dfrac{1}{n}\): every \(x\)-coordinate is divided by \(n\), so \((x,y)\mapsto\left(\dfrac{x}{n},y\right)\). The \(y\)-intercept is fixed and \(x\)-intercepts and vertical asymptotes are divided by \(n\).
How do you reflect a graph in the x-axis or the y-axis?
Use \(y=-f(x)\) to reflect in the \(x\)-axis (negate \(y\): \((x,y)\mapsto(x,-y)\)) and \(y=f(-x)\) to reflect in the \(y\)-axis (negate \(x\): \((x,y)\mapsto(-x,y)\)). The minus outside acts on \(y\); the minus inside acts on \(x\).
Does a dilation change the x-intercepts?
A dilation from the \(x\)-axis with \(a>0\) leaves them fixed, since \(a\times 0=0\). A dilation from the \(y\)-axis divides them by \(n\), so \(y=3f(x)\) keeps the \(x\)-intercepts but \(y=f(3x)\) moves them to one third of their \(x\)-values.
What happens to asymptotes under a dilation or reflection?
A horizontal asymptote \(y=k\) becomes \(y=ak\) under \(y=a\,f(x)\) and changes sign under a reflection in the \(x\)-axis. A vertical asymptote \(x=c\) is divided by \(n\) under \(y=f(nx)\) and changes sign under a reflection in the \(y\)-axis; an asymptote at \(y=0\) or \(x=0\) stays put.
How do you find the image of a point?
Apply the mapping rule: \((x,y)\mapsto(x,ay)\) for \(y=a\,f(x)\), \(\left(\dfrac{x}{n},y\right)\) for \(y=f(nx)\), \((x,-y)\) for \(y=-f(x)\), and \((-x,y)\) for \(y=f(-x)\). Transform the key points, intercepts and asymptotes, then sketch.