Combining Transformations (College Board AP® Precalculus): Study Guide

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Combining transformations

What happens when transformations are combined?

  • The previous two study guides covered individual transformations

  • In practice, functions are often transformed by several of these different transformations at once

  • E.g. the function g(x) = -f(2x + 3) - 1

    • This involves

      • a horizontal translation

      • a horizontal compression

      • a reflection over the x-axis

      • and a vertical translation

    • all applied to space f

  • To handle combined transformations correctly, you need to

    • identify the individual transformations

    • and apply them in the correct order

What is the factored form of a combined transformation?

  • The factored form of a combined transformation is

    • a f open parentheses b open parentheses x plus h close parentheses close parentheses plus k space

  • When a transformation is written in that form, the constants a, b, h and k produce the same effects that you saw in the study guides for the individual transformations

    • a causes a vertical dilation with a scale factor of open vertical bar a close vertical bar

      • If a less than 0 this also causes a reflection over the bold italic x-axis

    • b causes a horizontal dilation with a scale factor of fraction numerator 1 over denominator open vertical bar b close vertical bar end fraction

      • If b less than 0 this also causes a reflection over the space bold italic y-axis

    • h causes a horizontal translation by open vertical bar h close vertical bar units

      • If h greater than 0 it is a translation to the left

      • If h less than 0 it is a translation to the right

    • k causes a vertical translation by open vertical bar k close vertical bar units

      • If k greater than 0 it is a translation up

      • If k less than 0 it is a translation down

What order should transformations be applied in?

  • Make sure your combined transformation is written in factored form a f open parentheses b open parentheses x plus h close parentheses close parentheses plus k space

    • Rewrite the expression if need be

  • Separate the transformations into two groups

    • Horizontal transformations

      • caused by b and h

      • these come from changes to the input (inside the function)

    • Vertical transformations

      • caused by a and k

      • these come from changes to the output (outside the function)

  • Horizontal and vertical transformations don't affect each other, so you can do either group first

  • Within each group, however, the order does matter

    • Dilations and reflections are applied first

    • followed by translations

  • So if you start with the horizontal transformations, the effects of a f open parentheses b open parentheses x plus h close parentheses close parentheses plus k space proceed as follows

    • first the horizontal dilation (and possibly reflection)

      • This takes space f open parentheses x close parentheses to space f open parentheses b x close parentheses

    • followed by the horizontal translation

      • This takes space f open parentheses b x close parentheses to space f open parentheses b open parentheses x plus h close parentheses close parentheses

    • then the vertical dilation (and possibly reflection)

      • This takes space f open parentheses b open parentheses x plus h close parentheses close parentheses to space a f open parentheses b open parentheses x plus h close parentheses close parentheses space

    • and finally the vertical translation

      • This takes space a f open parentheses b open parentheses x plus h close parentheses close parentheses space to space a f open parentheses b open parentheses x plus h close parentheses close parentheses space plus k

  • If you start with vertical transformations first, the end result will be the same

    • as long as you do the dilations and reflections before the translations in each case

How does this work in practice?

  • Consider the example g(x) = -f(2x + 3) - 1

  • Start by rewriting in factored form

    • g left parenthesis x right parenthesis equals negative f open parentheses 2 open parentheses x plus 1.5 close parentheses close parentheses minus 1 space

    • That is in factored form with

      • a equals negative 1

      • b equals 2

      • h equals 1.5

      • k equals negative 1

  • Starting with the horizontal transformations

  • First comes the horizontal dilation caused by b equals 2, with scale factor 1 half

    • next comes the horizontal translation caused by h equals 1.5, which translates by 1.5 units to the left

Graph transformation from y=f(x) to y=-f(2x+3)-1 with dilation of scale factor 1/2 then horizontal translation to the left by 1.5 units.
Applying the horizontal transformations in a combined transformation
  • Moving on to the vertical translations

  • First comes the vertical reflection caused by a equals negative 1 (the scale factor is open vertical bar a close vertical bar equals 1, so this doesn't affect the scale of the graph, but the negative sign causes a reflection over the x-axis)

    • and finally the vertical translation caused by k equals negative 1

Final steps for graph transformation -f(2x+3)-1: reflect y=f(2x+3) in the x-axis to get y=-f(2x+3), then translate y=-f(2x+3) down by 1 unit to get -f(2x+3)-1
Applying the vertical transformations in a combined transformation

Examiner Tips and Tricks

If a combined transformation on the exam is not in factored form, rewrite it in factored form first. This helps makes the different parts of the transformation more clear.

If the question gives you a specific sequence of transformations and asks you to find the values of constants like a, b, h and k, work through each transformation one at a time and match it to the corresponding part of the expression.

  • Remember that, for a combined transformation in factored form, dilations and reflections are applied before translations

What if I need to apply transformations in a different order?

  • As long as dilations and reflections occur before translations

    • you can use the information above to write down a transformation in factored form

  • Similarly, a given combined transformation can always be rewritten in factored form

    • allowing you to describe the transformation with dilations and reflections preceding translations

  • But what if you need to find the analytical form of a transformation where translations are to be applied before dilations/reflections?

  • Any transformation can be created simply by

    • applying the appropriate individual transformations

    • in the specified order

      • Remember that horizontal and vertical transformations are independent of each other

      • So it is only within each category (horizontal or vertical) that the order makes a difference

  • E.g., the following transformations are to be applied to a function space f open parentheses x close parentheses:

    • A horizontal translation by 5 units to the right

      • followed by a horizontal dilation with a scale factor of 2 and a reflection over the bold space bold italic y-axis

    • And a vertical translation by 4 units up

      • followed by a vertical dilation with a scale factor of 3

  • Start by subtracting 5 from the input variable x

    • space f open parentheses x minus 5 close parentheses

      • this applies the horizontal translation by 5 to the right

  • Then multiply the input variable x by negative bold 1 over bold 2

    • space f open parentheses negative 1 half x minus 5 close parentheses

      • 1 half applies the horizontal dilation by a factor of fraction numerator 1 over denominator bevelled 1 half end fraction equals 2

        • and the minus sign gives the reflection over the space y-axis

      • Note that this doesn't affect the negative 5 at all

  • Add 4 to the output (i.e., to the entire function)

    • space f open parentheses negative 1 half x minus 5 close parentheses plus 4

      • this applies the vertical translation up by 4

  • Then multiply the output (i.e. the entire function) by 3

    • 3 open parentheses space f open parentheses negative 1 half x minus 5 close parentheses plus 4 close parentheses equals 3 f open parentheses negative 1 half x minus 5 close parentheses plus 12 space

      • this applies the vertical dilation by a scale factor of 3

  • Note that that transformed function could now be rewritten in factored form

    • 3 f open parentheses negative 1 half open parentheses x plus 10 close parentheses close parentheses plus 12 space

  • This shows that the combined transformation described above is equivalent to

    • a horizontal dilation by scale factor 2 with a reflection over the space y-axis

      • followed by a horizontal translation 10 units to the left

    • and a vertical dilation by scale factor 3

      • followed by a vertical translation up by 12 units

    • This is just another way of describing the same transformation!

Worked Example

The table gives values for a polynomial function space f at selected values of x.

space x

-6

-3

0

3

6

space f left parenthesis x right parenthesis

8

negative 4

5

-1

6

Let g(x) = af(bx) + c, where a, b, and c are positive constants. In the xy-plane, the graph of g is constructed by applying three transformations to the graph of space f in this order: a horizontal dilation by a factor of 3, a vertical dilation by a factor of 2, and a vertical translation by 5 units. What is the value of g(-9)?

(A) negative 8

(B) negative 4

(C) negative 3

(D) 1

Answer:

First, determine the constants from the given transformations:

b greater than 0 and the scale factor of the horizontal dilation is 3

  • so space 1 over b equals 3 space space rightwards double arrow space space b equals 1 third

a greater than 0 and the scale factor of the vertical dilation is 2

  • so a equals 2

A vertical translation by 5 units means 5 is added to the output

  • So c = 5

Putting that all together

g left parenthesis x right parenthesis equals 2 f open parentheses 1 third x close parentheses plus 5 space

Now find g(-9)

table row cell g left parenthesis negative 9 right parenthesis end cell equals cell 2 f open parentheses 1 third open parentheses negative 9 close parentheses close parentheses plus 5 space end cell row blank equals cell 2 f open parentheses negative 3 close parentheses plus 5 space end cell end table

From the table space f left parenthesis negative 3 right parenthesis equals negative 4, so

table row cell g left parenthesis negative 9 right parenthesis end cell equals cell 2 open parentheses negative 4 close parentheses plus 5 end cell row blank equals cell negative 8 plus 5 end cell row blank equals cell negative 3 end cell end table

That is answer (C); but it's worth considering the incorrect answers as well

  • Option (A) is 2 f left parenthesis negative 3 right parenthesis equals negative 8

    • this applies the vertical dilation but forgets the vertical translation

  • Option (B) is space f left parenthesis negative 3 right parenthesis equals negative 4

    • this forgets both the vertical dilation and the vertical translation

  • Option (D) is space f left parenthesis negative 3 right parenthesis plus 5 equals 1

    • this applies the vertical translation but forgets the vertical dilation

(C) negative 3

Worked Example

The functions space f and g are defined for all real numbers such that g(x) = f(3(x + 5)). Which of the following sequences of transformations maps the graph of space f to the graph of g in the same xy-plane?

(A) A horizontal dilation of the graph of space f by a factor of 3, followed by a horizontal translation of the graph of space f by -15 units

(B) A horizontal dilation of the graph of space f by a factor of 3, followed by a horizontal translation of the graph of space f by 15 units

(C) A horizontal dilation of the graph of space f by a factor of \frac{1}{3}, followed by a horizontal translation of the graph of space f by 5 units

(D) A horizontal dilation of the graph of space f by a factor of \frac{1}{3}, followed by a horizontal translation of the graph of space f by -5 units

Answer:

The expression g(x) = f(3(x + 5)) is in factored form

Reading the transformations from this form:

  • The factor of 3 multiplying the input means a horizontal dilation by a factor of \frac{1}{3}

  • The + 5 inside the inner brackets means a horizontal translation by -5 units (i.e. 5 units to the left)

With the expression in factored form, the correct order is: dilate first, then translate

You can verify this

  • Starting from space f left parenthesis x right parenthesis, compress horizontally by \frac{1}{3} to get space f left parenthesis 3 x right parenthesis

  • then translate left by 5 to get space f left parenthesis 3 left parenthesis x plus 5 right parenthesis right parenthesis

So (D) is the correct answer; but it's worth considering the incorrect answers as well

  • Options (A) and (B) use a dilation scale factor of 3 instead of \frac{1}{3}

    • a horizontal dilation by a factor of 3 would mean the multiplier on x is \frac{1}{3}, not 3

  • Option (C) has the correct dilation but translates in the wrong direction (right instead of left)

(D) A horizontal dilation of the graph of space f by a factor of \frac{1}{3}, followed by a horizontal translation of the graph of space f by -5 units

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.