Precalculus Lesson 1.4: Transformations of Functions
12th Grade Math · Chapter 1: Functions · Common Core F-BF.B.3
What is in the full lesson (19 activities)
Every item below opens free in the course.
- Video: Combining Transformations: example 1
- Video: Combining Transformations: example 2
- Video: Combining Transformations: example 3
- Video: Combining Transformations: example 4
- Video: Combining Transformations: example 5
- Video: Combining Transformations: example 6
- Practice questions: Checkpoint 1: Transformations of graphs (5 questions, 7 points)
- Video: Combining Transformations: example 7
- Video: Combining Transformations: example 8
- Video: A2.pm.02-14 Combining Transformations 1
- Video: A2.pm.02-15 Combining Transformations 2
- Practice questions: Checkpoint 2: Transformations of graphs (5 questions, 7 points)
- Geogebra: GeoGebra activity: Explore combined transformations of the function f(x) = ln x
- Notes: Lesson notes: Combined Transformations
- Interactive lesson: Interactive lesson: Transformation Sequencer
- Interactive lesson: Interactive practice: Combined Transformations Practice
- Practice questions: Practice questions (8 questions, 14 points)
- Worksheet: Worksheet: Combined Transformations
- Answers: Worksheet answer key: Combined Transformations
A free Precalculus lesson for grade 12 students from OBA School: Transformations of Functions, aligned with the Common Core State Standards (CCSS F-BF.B.3). Watch the video, read the explanation and worked examples, then try the practice questions. The full lesson in our free online Precalculus course adds more videos, interactive activities, a self-checking quiz and printable worksheets.
What you will learn
- Apply two or more transformations to a graph, a point or an equation
- Explain when the order of two transformations matters
- Describe the transformations that map y = f(x) onto y = af(bx + c) + d
- Find the images of key points, intercepts and asymptotes after a sequence of transformations
- Find unknown constants in a transformed equation from given information
Key words
- Translation: A slide. f(x) + d moves the graph up d; f(x + c) moves it c to the left.
- Stretch: af(x): vertical stretch, scale factor a. f(bx): horizontal stretch, scale factor 1/b.
- Reflection: −f(x): reflection in the x-axis. f(−x): reflection in the y-axis.
- Vertical change: A change outside the function, acting on y. It follows the normal order of operations.
- Horizontal change: A change inside the parentheses, acting on x. It works "backwards".
Single transformations: a reminder
- y = f(x) + d; Transformation translation d units up, vector (0, d); Point (p, q) goes to (p, q + d)
- y = f(x + c); Transformation translation c units left, vector (−c, 0); Point (p, q) goes to (p − c, q)
- y = af(x); Transformation vertical stretch, scale factor a; Point (p, q) goes to (p, aq)
- y = f(bx); Transformation horizontal stretch, scale factor 1/b; Point (p, q) goes to (p/b, q)
- y = −f(x); Transformation reflection in the x-axis; Point (p, q) goes to (p, −q)
- y = f(−x); Transformation reflection in the y-axis; Point (p, q) goes to (−p, q)
A good check: a vertical transformation changes only y-coordinates; a horizontal one changes only x-coordinates.
Worked example: single transformations of a point
The point (−3, 8) lies on y = f(x). Find its image on (a) y = f(−x) (b) y = (1/2)f(x) (c) y = f(4x).
(a) Reflection in the y-axis: (3, 8). (b) Vertical stretch, scale factor 1/2: (−3, 4).
(c) Horizontal stretch, scale factor 1/4: (−3/4, 8).
Answer: (3, 8), (−3, 4), (−3/4, 8)
One vertical and one horizontal: order does not matter
A horizontal change and a vertical change act on different coordinates, so they can be done in either order.
Worked example: image of a point
The point (5, 4) lies on y = f(x). Find its image on y = 3f(x − 2).
Horizontal: f(x − 2) is a translation 2 units right, so x: 5 → 7.
Vertical: multiplying by 3 is a vertical stretch, scale factor 3, so y: 4 → 12.
Answer: (7, 12), whichever order the two transformations are done in.
Two vertical transformations: follow the order of operations
For y = af(x) + d, the value of f(x) is multiplied by a first and then d is added. So stretch first, then translate.
Worked example: order matters
Find the equation when y = x² is (a) stretched vertically by scale factor 2, then translated 3 up; (b) translated 3 up, then stretched vertically by scale factor 2.
(a) y = 2x², then y = 2x² + 3.
(b) y = x² + 3, then y = 2(x² + 3) = 2x² + 6.
Answer: Different graphs: the y-intercepts are 3 and 6.
Two horizontal transformations: work backwards
For y = f(bx + c) write f(b(x + c/b)). Either translate by c to the left first and then stretch by 1/b, or stretch by 1/b first and then translate by c/b to the left. To find where a point goes, solve "inside = old x".
Worked example: a stretch and a translation inside the parentheses
Describe how y = √x is mapped onto y = √(2x − 6), and find the image of (4, 2).
√(2x − 6) = √(2(x − 3)): a horizontal stretch, scale factor 1/2, then a translation 3 units right.
(Or: translate 6 units right, giving √(x − 6), then stretch by 1/2, giving √(2x − 6).)
Image of (4, 2): solve 2x − 6 = 4, so x = 5. The y-coordinate is unchanged.
Answer: (4, 2) → (5, 2), and the end point (0, 0) → (3, 0).
The general case: y = af(bx + c) + d
Method: Deal with the inside (horizontal) changes as above, then the outside (vertical) changes in the order: stretch or reflect, then translate. Track key points, intercepts and asymptotes through each step.
Worked example: tracking a vertex
y = f(x) has a maximum at (3, 4). Find the corresponding point on y = −2f(x + 1) + 5 and state its nature.
Horizontal: x + 1 = 3, so x = 2.
Vertical: y = −2(4) + 5 = −3. The factor −2 reflects, so the maximum becomes a minimum.
Answer: A minimum at (2, −3).
Worked example: building an equation
The graph of y = eˣ is reflected in the x-axis, then translated 4 units up, then stretched horizontally by scale factor 2. Find its equation and its asymptote.
Reflect: y = −eˣ. Translate: y = 4 − eˣ. Stretch (replace x by x/2): y = 4 − exp(x/2).
The asymptote y = 0 becomes y = 0, then y = 4; a horizontal stretch does not move it.
Answer: y = 4 − exp(x/2), asymptote y = 4.
Common mistakes
- Translating before stretching for y = af(x) + d. This gives af(x) + ad instead.
- Reading f(2x − 6) as "translate 6 right, then stretch" and then using the stretch first. Write it as f(2(x − 3)).
- Moving x the wrong way: f(x + 2) moves the graph 2 units to the left.
- Using scale factor b instead of 1/b for f(bx).
- Forgetting that a reflection turns a maximum into a minimum.
Revision questions
Try these, then check your answers below each one.
Question 1. Which sequence of transformations maps y = f(x) onto y = f(2x + 6)? (Choose from: A translation 6 units to the left, then a horizontal stretch with scale factor 1/2; A horizontal stretch with scale factor 1/2, then a translation 6 units to the left; A horizontal stretch with scale factor 2, then a translation 3 units to the left; A translation 3 units to the left, then a horizontal stretch with scale factor 2.)
Answer: A translation 6 units to the left, then a horizontal stretch with scale factor 1/2
Working: Translate: f(x + 6). Then stretch: replace x by 2x to get f(2x + 6). Stretching first and then translating 6 left gives f(2(x + 6)) = f(2x + 12). (Stretch first, then translate 3 left, also works.)
Question 2. The graph of y = x² is stretched vertically with scale factor 3 and then translated 2 units up. What is the equation of the new graph? (Choose from: y = 3x² + 2; y = 3x² + 6; y = 9x² + 2; y = 3(x + 2)².)
Answer: y = 3x² + 2
Working: Stretch: y = 3x². Translate up 2: y = 3x² + 2. Translating first would give 3(x² + 2) = 3x² + 6.
Question 3. True or false: translating a graph 1 unit up and then reflecting it in the x-axis always gives the same graph as reflecting it in the x-axis and then translating it 1 unit up.
Answer: False
Working: Translate then reflect: y = −(f(x) + 1) = −f(x) − 1. Reflect then translate: y = −f(x) + 1. Two vertical transformations usually depend on the order.
Common Core standard
This lesson supports Common Core State Standard CCSS.MATH.CONTENT.HSF.BF.B.3, part of the high school Precalculus course usually taken in Grade 12 in the United States.
Related lessons
- Previous lesson: 1.3 Composition of Functions
- Next lesson: 1.5 Absolute Value Functions, Equations and Inequalities
Continue in the full course
This lesson is section 1.4 (USPC0104) of our free Precalculus course for Grade 12. In the full course you get every video for this section, interactive lessons, a self-checking practice quiz, printable worksheets with an answer key, and your progress saved. Go to the full Precalculus course.
This lesson is part of the free Precalculus course. You can also browse all our free US high school math courses: Algebra 1, Geometry, Algebra 2 and Precalculus.