Vertical & Horizontal Dilations (College Board AP® Precalculus): Revision Note

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Vertical dilations

What are graph dilations?

  • When you alter a function in certain ways, the effects on the graph of the function can be described by geometrical transformations

  • With a dilation all the points on the graph are moved towards or away from either the x- or the y-axis by a constant scale factor

Two graphs showing a sine wave function with vertical and horizontal dilations.
Dilations of a graph

What is a vertical dilation?

  • If you start with a function space f left parenthesis x right parenthesis and multiply the output by a constant a (where a \neq 0)

    • the new function g left parenthesis x right parenthesis equals a f left parenthesis x right parenthesis is called a multiplicative transformation of space f

  • The effect on the graph is a vertical dilation (stretch or compression)

    • every point on the graph is moved farther from or closer to the bold italic x-axis

      • If |a| > 1, the graph is stretched vertically (pulled away from the x-axis)

      • If 0 < |a| < 1, the graph is compressed vertically (pushed toward the x-axis)

    • If a < 0, the graph is also reflected over the x-axis (i.e. flipped upside down around the x-axis), in addition to the stretch or compression

  • The dilation factor is |a|

    • This tells you how much the graph is stretched or compressed

    • Points on the graph after the dilation are |a| times as far from the x-axis as they were before the dilation

  • E.g. for a function space f left parenthesis x right parenthesis

    • g left parenthesis x right parenthesis equals 1 third f open parentheses x close parentheses stretches the graph vertically by a factor of 1 third

      • the space y-coordinates of all points are multiplied by 1 third (while x-coordinates stay the same)

    • h left parenthesis x right parenthesis equals negative 2 f open parentheses x close parentheses stretches the graph by a factor of 2 and reflects it over the x-axis

      • the space y-coordinates of all points are multiplied by negative 2 (while x-coordinates stay the same)

Graph transformation of y=f(x) to y=1/3f(x), showing a vertical stretch with scale factor 1/3, affecting y-coordinates while x-coordinates remain unchanged.
Example of a vertical dilation

How does a vertical dilation affect key features?

  • Every output value is multiplied by bold italic a, so

    • space bold italic y-intercept

      • multiplied by a

    • Local maxima and minima

      • their y-values are multiplied by a

        • and if a < 0, maxima become minima and vice versa

    • Horizontal asymptotes

      • the y-value defining the asymptote is multiplied by a

  • Features that depend only on bold italic x-values are not affected

    • Zeros (x-intercepts) stay in the same place

      • since a \cdot 0 = 0

    • Vertical asymptotes stay in the same place

    • Intervals of increase/decrease stay the same

      • unless a < 0, which reverses them

How do I find the analytical form of a vertical dilation?

  • a f left parenthesis x right parenthesis means 'multiply the entire function space bold italic f by bold italic a'

    • So if you have an expression for space f open parentheses x close parentheses, simply multiply it by a to get the analytical form of the transformed function

    • Simplify if necessary

  • E.g. if space f open parentheses x close parentheses equals x squared minus 3 x plus 4

    • Then to find g open parentheses x close parentheses equals 2 f open parentheses x close parentheses

      • space g open parentheses x close parentheses equals 2 open parentheses x squared minus 3 x plus 4 close parentheses equals 2 x squared minus 6 x plus 8

Horizontal dilations

What is a horizontal dilation?

  • If you start with a function space f left parenthesis x right parenthesis and multiply the input by a constant bold italic b (where b \neq 0) before the function is applied

    • the new function g(x) = f(bx) is also called a multiplicative transformation of space f

      • i.e., vertical and horizontal dilations are both types of multiplicative transformation

  • The effect on the graph is a horizontal dilation (stretch or compression)

    • every point on the graph is moved farther from or closer to the space bold italic y-axis

      • If |b| > 1, the graph is compressed horizontally (pushed toward the space y-axis) by a factor of \frac{1}{|b|}

      • If 0 < |b| < 1, the graph is stretched horizontally (pulled away from the space y-axis) by a factor of \frac{1}{|b|}

    • If b < 0, the graph is also reflected over the space y-axis (i.e. flipped left-to-right around the space y-axis), in addition to the stretch or compression

  • The dilation factor is \frac{1}{|b|}

    • This tells you how much the graph is stretched or compressed

    • Points on the graph after the dilation are \frac{1}{|b|} times as far from the space y-axis as they were before the dilation

  • Note the counterintuitive behavior

    • the dilation factor is \frac{1}{|b|}, not |b|

      • Multiplying the input by a number greater than 1 actually compresses the graph, rather than stretching it

  • E.g. for a function space f open parentheses x close parentheses

    • g open parentheses x close parentheses equals f left parenthesis 2 x right parenthesis compresses the graph horizontally by a factor of \frac{1}{2}

      • the x-coordinates of all points are multiplied by 1 half (while space y-coordinates stay the same)

    • h open parentheses x close parentheses equals space f open parentheses negative 1 third x close parentheses blank stretches the graph horizontally by a factor of 3 and reflects it over the space y-axis

      • the x-coordinates of all points are multiplied by negative 3 (while space y-coordinates stay the same)

Graph of y=f(x) is stretched horizontally, forming y=f(2x). X-coordinates change; y-coordinates remain. Points on y-axis are unaffected.
Example of a horizontal dilation

How does a horizontal dilation affect key features?

  • Every bold italic x-value on the graph is multiplied by 1 over b, so features that depend on x-values are affected:

    • Zeros (x-intercepts)

      • their x-values are multiplied by 1 over b

    • Local maxima and minima

      • their x-values are multiplied by 1 over b, but the y-values stay the same

    • Vertical asymptotes

      • their x-values are multiplied by 1 over b

  • Features that depend only on bold space bold italic y-values are not affected

    • bold space bold italic y-intercept stays the same

      • since f(b \cdot 0) = f(0)

    • Horizontal asymptotes stay at the same y-value

A graph showing transformations of y=f(x) with vertical stretch 2 affecting y, moving horizontal asymptote, and horizontal stretch 3 affecting x, moving vertical asymptote.
Effects of vertical and horizontal dilations

How do I find the analytical form of a horizontal dilation?

  • f left parenthesis b x right parenthesis means 'replace bold italic x everywhere in Error converting from MathML to accessible text.with bold italic b bold italic x'

    • So if you have an expression for space f open parentheses x close parentheses, simply put b x everywhere that xis to get the analytical form of the transformed function

    • Simplify if necessary

  • E.g. if space f open parentheses x close parentheses equals x squared minus 3 x plus 4

    • Then to find g open parentheses x close parentheses equals f open parentheses 2 x close parentheses

      • g open parentheses x close parentheses equals open parentheses 2 x close parentheses squared minus 3 open parentheses 2 x close parentheses plus 4 equals 4 x squared minus 6 x plus 4

How can you tell a vertical and horizontal dilation apart?

  • Vertical dilation g left parenthesis x right parenthesis equals a f left parenthesis x right parenthesis

    • the constant a multiplies the output

      • it appears outside the function

  • Horizontal dilation g(x) = f(bx)

    • the constant b multiplies the input

      • it appears inside the function

  • A common mistake is to confuse the two

    • Just like with translations, the key question is:

      • Is the constant being applied to the input or the output?

Examiner Tips and Tricks

A common error on the exam is forgetting that horizontal dilation by b compresses by a factor of \frac{1}{|b|} (the reciprocal), not |b|.

Another common error is forgetting that a negative value of a or b in a dilation also causes a reflection.

Worked Example

The function space f is given by space f open parentheses x close parentheses equals 2 x squared minus 5 x plus 3. The graph of which of the following functions is the image of the graph of space f after a vertical dilation of the graph of space f by a factor of 3?

(A) space p open parentheses x close parentheses equals 2 x squared minus 5 x plus 6, because this is an additive transformation of space f that results from adding 3 to space f open parentheses x close parentheses.

(B) space q open parentheses x close parentheses equals 2 x squared plus 7 x plus 6, because this is an additive transformation of space f that results from adding 3 to each input value x.

(C) space r open parentheses x close parentheses equals 6 x squared minus 15 x plus 9, because this is a multiplicative transformation of space f that results from multiplying space f open parentheses x close parentheses by 3.

(D) space s open parentheses x close parentheses equals 18 x squared minus 15 x plus 3, because this is a multiplicative transformation of space f that results from multiplying each input value x by 3.

Answer:

Additive transformations cause translations, not dilations

  • So you can rule out (A), which is a vertical translation up by 3 units

  • and also (B), which is a horizontal translation to the left by 3 units

Multiplying each input value x by 3 gives

table row cell space 2 open parentheses 3 x close parentheses squared minus 5 open parentheses 3 x close parentheses plus 3 end cell equals cell 2 cross times 9 x squared minus 15 x plus 3 end cell row blank equals cell 18 x squared minus 15 x plus 3 end cell end table

  • That is function s in option (D)

  • But multiplying the input value by 3 causes a horizontal dilation by a factor of 1 third

Multiplying space f open parentheses x close parentheses by 3 gives

space 3 open parentheses 2 x squared minus 5 x plus 3 close parentheses equals 6 x squared minus 15 x plus 9

  • That is function r in option (C)

  • And indeed multiplying the function by 3 causes a vertical dilation by a factor of 3

(C) space r open parentheses x close parentheses equals 6 x squared minus 15 x plus 9, because this is a multiplicative transformation
of space f that results from multiplying space f open parentheses x close parentheses by 3

Examiner Tips and Tricks

On the exam, incorrect answers in multiple choice questions often include an option that applies the constant to the wrong part of the function.

  • E.g. multiplying inputs when the question asks for a vertical dilation, or vice versa

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Maths Content Creator

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.