Horizontal And Vertical Dilations
Every question with a fully worked solution.
- Horizontal And Vertical Dilations - Video 1 Watch
Theory
A dilation stretches or compresses a graph in one direction. This Year 11 Mathematics Advanced page explains vertical dilations, \(y=kf(x)\), and horizontal dilations, \(y=f\left(\dfrac{x}{k}\right)\): how to write the new equation by replacing \(y\) by \(\dfrac{y}{k}\) or \(x\) by \(\dfrac{x}{k}\), how to find the dilation factor from two equations, and how points, intercepts and turning points move.
A dilation stretches (or compresses) a graph in one direction by a dilation factor \(k>0\). A factor \(k>1\) is a stretch; a factor \(0<k<1\) is a compression. It is still called a dilation by a factor of \(k\).
A vertical dilation by a factor of \(k\) multiplies every \(y\)-value by \(k\) and leaves every \(x\)-value unchanged: \((x,y)\rightarrow(x,ky)\). To get the new equation, replace \(y\) by \(\dfrac{y}{k}\): \(\dfrac{y}{k}=f(x)\), i.e. \(y=kf(x)\). The graph is stretched away from (or compressed towards) the \(x\)-axis. Points on the \(x\)-axis do not move, so the \(x\)-intercepts stay the same.
A horizontal dilation by a factor of \(k\) multiplies every \(x\)-value by \(k\) and leaves every \(y\)-value unchanged: \((x,y)\rightarrow(kx,y)\). To get the new equation, replace \(x\) by \(\dfrac{x}{k}\): \(y=f\left(\dfrac{x}{k}\right)\). The graph is stretched away from (or compressed towards) the \(y\)-axis. Points on the \(y\)-axis do not move, so the \(y\)-intercept stays the same.
Watch the reciprocal in a horizontal dilation. In \(y=f(3x)\), \(x\) has been replaced by \(3x=\dfrac{x}{1/3}\), so the horizontal dilation factor is \(\dfrac{1}{3}\): every \(x\)-value is multiplied by \(\dfrac{1}{3}\) and the graph is compressed towards the \(y\)-axis.
The same replacements work for any equation, not only \(y=f(x)\). For example, to dilate a circle by a factor of \(k\) both horizontally and vertically, replace \(x\) by \(\dfrac{x}{k}\) and \(y\) by \(\dfrac{y}{k}\).
Vertical dilation by a factor of \(k\) (replace \(y\) by \(\dfrac{y}{k}\)):
Horizontal dilation by a factor of \(k\) (replace \(x\) by \(\dfrac{x}{k}\)):
A number \(b>0\) multiplying \(x\) gives the reciprocal factor:
Both directions (horizontal factor \(k\), vertical factor \(l\)):
| Dilation | Equation | Point | Does not move |
|---|---|---|---|
| vertical, factor \(k\) | \(y=kf(x)\) | \((x,y)\rightarrow(x,ky)\) | \(x\)-intercepts |
| horizontal, factor \(k\) | \(y=f\left(\dfrac{x}{k}\right)\) | \((x,y)\rightarrow(kx,y)\) | \(y\)-intercept |
For either direction: \(k>1\) stretches the graph, \(0<k<1\) compresses it.
| \(\dfrac{y}{3}\) | \(=\) | \(3^{x}\) |
| \(y\) | \(=\) | \(3\times3^{x}\) |
| \(\) | \(=\) | \(3^{x+1}\) |
How to write the equation of a dilated graph
- Identify the direction and the factor \(k\).
- Replace \(y\) by \(\dfrac{y}{k}\) (vertical) or every \(x\) by \(\dfrac{x}{k}\) (horizontal), using brackets.
- Simplify: make \(y\) the subject, clear any fractions inside fractions, and factorise if asked.
How to describe the dilation between two graphs
- Vertical? Factorise the new equation. If it is a constant \(k\) times the old one, \(y\) has been replaced by \(\dfrac{y}{k}\): vertical, factor \(k\).
- Horizontal? Write the old rule as \(f(x)\) and find the number that multiplies \(x\) in the new rule. If the new rule is \(f(bx)=f\left(\dfrac{x}{1/b}\right)\): horizontal, factor \(\dfrac{1}{b}\).
- State the direction and the factor (as a simplest fraction if it is less than \(1\)).
How to find the image of a point or feature
- Vertical: multiply the \(y\)-coordinate by \(k\); keep the \(x\)-coordinate.
- Horizontal: multiply the \(x\)-coordinate by \(k\); keep the \(y\)-coordinate.
- Use it for key features: turning points, intercepts, centres and asymptotes move the same way. Work backwards to find an unknown factor.
(a) dilated vertically by a factor of \(\dfrac{1}{3}\)
(b) dilated horizontally by a factor of \(3\).
(a) Vertical dilation by \(\dfrac{1}{3}\): replace \(y\) by \(\dfrac{y}{1/3}=3y\).
| \(3y\) | \(=\) | \(f(x)\) |
| \(y\) | \(=\) | \(\dfrac{1}{3}f(x)\) |
\((x,y)\rightarrow\left(x,\dfrac{1}{3}y\right)\): \(x\)-coordinate unchanged, \(y\)-coordinate \(6\times\dfrac{1}{3}=2\).
\(\therefore\ \boldsymbol{y=\dfrac{1}{3}f(x)}\), and the image of \(P\) is \(\boldsymbol{(-4,2)}\).
(b) Horizontal dilation by \(3\): replace \(x\) by \(\dfrac{x}{3}\).
| \(y\) | \(=\) | \(f\left(\dfrac{x}{3}\right)\) |
\((x,y)\rightarrow(3x,y)\): \(x\)-coordinate \(-4\times3=-12\), \(y\)-coordinate unchanged.
\(\therefore\ \boldsymbol{y=f\left(\dfrac{x}{3}\right)}\), and the image of \(P\) is \(\boldsymbol{(-12,6)}\).
(a) \(y=\dfrac{1}{4x+8}\)
(b) \(y=\dfrac{1}{3x+2}\).
(a) Factorise the new denominator:
| \(y\) | \(=\) | \(\dfrac{1}{4x+8}\) |
| \(\) | \(=\) | \(\dfrac{1}{4(x+2)}\) |
| \(\) | \(=\) | \(\dfrac{1}{4}\times\dfrac{1}{x+2}\) |
So \(\dfrac{y}{1/4}=\dfrac{1}{x+2}\): \(y\) has been replaced by \(\dfrac{y}{1/4}\).
\(\therefore\) vertical dilation by a factor of \(\dfrac{1}{4}\).
(b) Let \(f(x)=\dfrac{1}{x+2}\). The new rule has \(3x\) where \(f\) has \(x\):
| \(f(3x)\) | \(=\) | \(\dfrac{1}{3x+2}\) |
| \(f\left(\dfrac{x}{1/3}\right)\) | \(=\) | \(\dfrac{1}{3x+2}\) |
\(x\) has been replaced by \(\dfrac{x}{1/3}\).
\(\therefore\) horizontal dilation by a factor of \(\dfrac{1}{3}\) (a compression towards the \(y\)-axis). Check: the asymptote \(x=-2\) moves to \(x=-2\times\dfrac{1}{3}=-\dfrac{2}{3}\).
Replace \(x\) by \(\dfrac{x}{3}\) and \(y\) by \(\dfrac{y}{3}\):
| \(\left(\dfrac{x}{3}+1\right)^{2}+\left(\dfrac{y}{3}\right)^{2}\) | \(=\) | \(1\) |
| \(\left(\dfrac{x+3}{3}\right)^{2}+\dfrac{y^{2}}{9}\) | \(=\) | \(1\) |
| \(\dfrac{(x+3)^{2}}{9}+\dfrac{y^{2}}{9}\) | \(=\) | \(1\) |
| \((x+3)^{2}+y^{2}\) | \(=\) | \(9\) |
\(\therefore\ \boldsymbol{(x+3)^{2}+y^{2}=9}\): centre \(\boldsymbol{(-3,0)}\), radius \(\boldsymbol{3}\).
Check with \((x,y)\rightarrow(3x,3y)\): the centre \((-1,0)\rightarrow(-3,0)\) and the radius \(1\rightarrow3\).
(i) Find the value of \(k\).
(ii) Find the equation of the new graph.
(iii) State the \(x\)-intercepts of the new graph.
(i) Find the original turning point by completing the square:
| \(y\) | \(=\) | \(x^{2}-6x+5\) |
| \(\) | \(=\) | \((x-3)^{2}-4\) |
The turning point is \((3,-4)\). A horizontal dilation by \(k\) maps \((3,-4)\rightarrow(3k,-4)\).
| \(3k\) | \(=\) | \(6\) |
| \(k\) | \(=\) | \(2\) |
(ii) Replace \(x\) by \(\dfrac{x}{2}\):
| \(y\) | \(=\) | \(\left(\dfrac{x}{2}\right)^{2}-6\left(\dfrac{x}{2}\right)+5\) |
| \(\) | \(=\) | \(\dfrac{x^{2}}{4}-3x+5\) |
(iii) The original graph is \(y=(x-1)(x-5)\), with \(x\)-intercepts \(1\) and \(5\). Each \(x\)-value is doubled: \(1\rightarrow2\), \(5\rightarrow10\).
Check: \(\dfrac{x^{2}}{4}-3x+5=\dfrac{1}{4}(x-2)(x-10)\).
\(\therefore\ \boldsymbol{k=2}\), \(\boldsymbol{y=\dfrac{x^{2}}{4}-3x+5}\), and the \(x\)-intercepts are \(\boldsymbol{x=2}\) and \(\boldsymbol{x=10}\). The \(y\)-intercept \(5\) is unchanged.
Common pitfalls
Frequently asked questions
What is a dilation of a graph?
A dilation stretches or compresses a graph in one direction by a factor \(k\). A vertical dilation multiplies every \(y\)-value by \(k\) and a horizontal dilation multiplies every \(x\)-value by \(k\). A factor \(k>1\) stretches the graph and \(0<k<1\) compresses it.
What is the difference between y = 2f(x) and y = f(2x)?
\(y=2f(x)\) is a vertical dilation by a factor of \(2\): every \(y\)-value is doubled. \(y=f(2x)\) is a horizontal dilation by a factor of \(\dfrac{1}{2}\): every \(x\)-value is halved, so the graph is compressed towards the \(y\)-axis.
How do you find the equation after a horizontal dilation?
Replace every \(x\) in the equation by \(\dfrac{x}{k}\), where \(k\) is the dilation factor, then simplify. For example, dilating \(y=x^{2}\) horizontally by \(3\) gives \(y=\left(\dfrac{x}{3}\right)^{2}=\dfrac{x^{2}}{9}\).
Do the x-intercepts change under a vertical dilation?
No. A vertical dilation multiplies \(y\)-values by \(k\), and \(k\times0=0\), so points on the \(x\)-axis stay where they are. In the same way a horizontal dilation does not move the \(y\)-intercept.
Can a dilation give the same graph as a translation?
Yes, for some functions. Dilating \(y=3^{x}\) vertically by a factor of \(3\) gives \(y=3\times3^{x}=3^{x+1}\). That is also \(y=3^{x}\) translated \(1\) unit to the left.
Is an even function still even after a vertical dilation?
Yes. If \(f(-x)=f(x)\), then the new function \(kf(x)\) satisfies \(kf(-x)=kf(x)\). For example \(y=5(x^{2}+2)\) is still even.