Real graphs often use several transformations at once, like y = − 2 x + 3 + 4 y = -2\sqrt{x + 3} + 4 y = − 2 x + 3 + 4 . This page puts translations and stretches and reflections together, so you can read any equation of the form y = a f ( k ( x − d ) ) + c y = af\big(k(x - d)\big) + c y = a f ( k ( x − d ) ) + c and sketch it from the parent graph.
y = a f ( k ( x − d ) ) + c y = a\,f\big(k(x - d)\big) + c y = a f ( k ( x − d ) ) + c
Parameter What it does a a a vertical stretch or compression by a factor of ∣ a ∣ \lvert a \rvert ∣ a ∣ ; reflection in the x x x -axis if a < 0 a \lt 0 a < 0 k k k horizontal stretch or compression by a factor of 1 ∣ k ∣ \dfrac{1}{\lvert k \rvert} ∣ k ∣ 1 ; reflection in the y y y -axis if k < 0 k \lt 0 k < 0 d d d horizontal translation: right if d > 0 d \gt 0 d > 0 , left if d < 0 d \lt 0 d < 0 c c c vertical translation: up if c > 0 c \gt 0 c > 0 , down if c < 0 c \lt 0 c < 0
Every point on the parent graph moves like this:
( x , y ) → ( x k + d , a y + c ) (x, y) \to \left(\frac{x}{k} + d,\ ay + c\right) ( x , y ) → ( k x + d , a y + c )
Notice the order inside each coordinate: stretch or reflect first, then translate . Divide x x x by k k k , then add d d d . Multiply y y y by a a a , then add c c c .
The rule only works when the equation is written as k ( x − d ) k(x - d) k ( x − d ) . If it isn’t, factor:
y = 2 x − 6 = 2 ( x − 3 ) y = \sqrt{2x - 6} = \sqrt{2(x - 3)} y = 2 x − 6 = 2 ( x − 3 )
Now you can see k = 2 k = 2 k = 2 and d = 3 d = 3 d = 3 . Reading "d = 6 d = 6 d = 6 " from 2 x − 6 2x - 6 2 x − 6 is a very common mistake.
Write the equation in the form y = a f ( k ( x − d ) ) + c y = af\big(k(x - d)\big) + c y = a f ( k ( x − d ) ) + c , and read off a a a , k k k , d d d , c c c .
Write the mapping rule.
Apply it to the parent function’s key points (and asymptotes, if any).
Plot the new points and join them with the parent’s shape.
State the domain and range from the transformed graph.
Sliders make transformations easy to see. Define the parent, like f(x) = x^2, then type y = a f(k(x - d)) + c, and Desmos offers sliders for a a a , k k k , d d d and c c c ; drag each one to watch what it does. On the SAT, a typical question shows a transformed graph and asks which equation matches it. Often the fastest check is one key point (like the vertex) pushed through the mapping rule, and you can confirm a choice by graphing it on top of the given graph. Watch the sign of d d d : y = f ( x − 2 ) y = f(x - 2) y = f ( x − 2 ) shifts right 2 2 2 , not left. See using Desmos on the SAT .
Describe the transformations of y = x 2 y = x^2 y = x 2 in y = − 3 ( x + 2 ) 2 + 5 y = -3(x + 2)^2 + 5 y = − 3 ( x + 2 ) 2 + 5 . Give the vertex, the direction of opening, and the range.
Solution. a = − 3 a = -3 a = − 3 , k = 1 k = 1 k = 1 , d = − 2 d = -2 d = − 2 , c = 5 c = 5 c = 5 .
Vertical stretch by a factor of 3 3 3 and reflection in the x x x -axis.
Translation 2 2 2 units left and 5 5 5 units up.
The vertex moves from ( 0 , 0 ) (0, 0) ( 0 , 0 ) to ( − 2 , 5 ) (-2, 5) ( − 2 , 5 ) . Since a < 0 a \lt 0 a < 0 , the parabola opens down , so 5 5 5 is its highest value.
Domain { x ∈ R } \{x \in \mathbb{R}\} { x ∈ R } , range { y ∈ R ∣ y ≤ 5 } \{y \in \mathbb{R} \mid y \le 5\} { y ∈ R ∣ y ≤ 5 } .
Sketch y = − 2 x + 3 + 4 y = -2\sqrt{x + 3} + 4 y = − 2 x + 3 + 4 , and state its domain and range.
Solution. a = − 2 a = -2 a = − 2 , k = 1 k = 1 k = 1 , d = − 3 d = -3 d = − 3 , c = 4 c = 4 c = 4 . The mapping rule is ( x , y ) → ( x − 3 , − 2 y + 4 ) (x, y) \to (x - 3,\ -2y + 4) ( x , y ) → ( x − 3 , − 2 y + 4 ) .
y = x y = \sqrt{x} y = x ( 0 , 0 ) (0, 0) ( 0 , 0 ) ( 1 , 1 ) (1, 1) ( 1 , 1 ) ( 4 , 2 ) (4, 2) ( 4 , 2 ) ( 9 , 3 ) (9, 3) ( 9 , 3 ) y = − 2 x + 3 + 4 y = -2\sqrt{x + 3} + 4 y = − 2 x + 3 + 4 ( − 3 , 4 ) (-3, 4) ( − 3 , 4 ) ( − 2 , 2 ) (-2, 2) ( − 2 , 2 ) ( 1 , 0 ) (1, 0) ( 1 , 0 ) ( 6 , − 2 ) (6, -2) ( 6 , − 2 )
For example, ( 4 , 2 ) → ( 4 − 3 , − 2 ( 2 ) + 4 ) = ( 1 , 0 ) (4, 2) \to (4 - 3,\ -2(2) + 4) = (1, 0) ( 4 , 2 ) → ( 4 − 3 , − 2 ( 2 ) + 4 ) = ( 1 , 0 ) .
The graph of y = square root of x and its image y = -2 times the square root of (x + 3), plus 4
−4
−2
2
4
6
8
−2
2
4
(−3, 4)
(−2, 2)
(1, 0)
(6, −2)
y = √x
y = −2√(x + 3) + 4
Starting point ( − 3 , 4 ) (-3, 4) ( − 3 , 4 ) ; the reflection makes the graph go down to the right.
Domain { x ∈ R ∣ x ≥ − 3 } \{x \in \mathbb{R} \mid x \ge -3\} { x ∈ R ∣ x ≥ − 3 } , range { y ∈ R ∣ y ≤ 4 } \{y \in \mathbb{R} \mid y \le 4\} { y ∈ R ∣ y ≤ 4 } .
Describe the transformations in y = 2 x − 6 + 1 y = \sqrt{2x - 6} + 1 y = 2 x − 6 + 1 , map the key points of y = x y = \sqrt{x} y = x , and state the domain and range.
Solution. Factor first: y = 2 ( x − 3 ) + 1 y = \sqrt{2(x - 3)} + 1 y = 2 ( x − 3 ) + 1 . So a = 1 a = 1 a = 1 , k = 2 k = 2 k = 2 , d = 3 d = 3 d = 3 , c = 1 c = 1 c = 1 .
Horizontal compression by a factor of 1 2 \dfrac{1}{2} 2 1 .
Translation 3 3 3 units right and 1 1 1 unit up.
The mapping rule is ( x , y ) → ( x 2 + 3 , y + 1 ) (x, y) \to \left(\tfrac{x}{2} + 3,\ y + 1\right) ( x , y ) → ( 2 x + 3 , y + 1 ) :
( 0 , 0 ) → ( 3 , 1 ) , ( 1 , 1 ) → ( 7 2 , 2 ) , ( 4 , 2 ) → ( 5 , 3 ) , ( 9 , 3 ) → ( 15 2 , 4 ) (0, 0) \to (3, 1), \quad (1, 1) \to \left(\tfrac{7}{2}, 2\right), \quad (4, 2) \to (5, 3), \quad (9, 3) \to \left(\tfrac{15}{2}, 4\right) ( 0 , 0 ) → ( 3 , 1 ) , ( 1 , 1 ) → ( 2 7 , 2 ) , ( 4 , 2 ) → ( 5 , 3 ) , ( 9 , 3 ) → ( 2 15 , 4 )
Check one: at x = 5 x = 5 x = 5 , 2 ( 5 ) − 6 + 1 = 4 + 1 = 3 \sqrt{2(5) - 6} + 1 = \sqrt{4} + 1 = 3 2 ( 5 ) − 6 + 1 = 4 + 1 = 3 . ✓
Domain { x ∈ R ∣ x ≥ 3 } \{x \in \mathbb{R} \mid x \ge 3\} { x ∈ R ∣ x ≥ 3 } , range { y ∈ R ∣ y ≥ 1 } \{y \in \mathbb{R} \mid y \ge 1\} { y ∈ R ∣ y ≥ 1 } .
For y = 2 x − 3 + 1 y = \dfrac{2}{x - 3} + 1 y = x − 3 2 + 1 , find the asymptotes, the domain and range, and the images of ( 1 , 1 ) (1, 1) ( 1 , 1 ) , ( − 1 , − 1 ) (-1, -1) ( − 1 , − 1 ) , ( 2 , 1 2 ) \left(2, \tfrac{1}{2}\right) ( 2 , 2 1 ) , and ( 1 2 , 2 ) \left(\tfrac{1}{2}, 2\right) ( 2 1 , 2 ) .
Solution. Write it as y = 2 ⋅ 1 x − 3 + 1 y = 2 \cdot \dfrac{1}{x - 3} + 1 y = 2 ⋅ x − 3 1 + 1 : a = 2 a = 2 a = 2 , k = 1 k = 1 k = 1 , d = 3 d = 3 d = 3 , c = 1 c = 1 c = 1 . The mapping rule is ( x , y ) → ( x + 3 , 2 y + 1 ) (x, y) \to (x + 3,\ 2y + 1) ( x , y ) → ( x + 3 , 2 y + 1 ) .
Asymptotes: x = 0 x = 0 x = 0 moves to x = 3 x = 3 x = 3 , and y = 0 y = 0 y = 0 moves to y = 2 ( 0 ) + 1 = 1 y = 2(0) + 1 = 1 y = 2 ( 0 ) + 1 = 1 .
Domain { x ∈ R ∣ x ≠ 3 } \{x \in \mathbb{R} \mid x \ne 3\} { x ∈ R ∣ x = 3 } , range { y ∈ R ∣ y ≠ 1 } \{y \in \mathbb{R} \mid y \ne 1\} { y ∈ R ∣ y = 1 } .
Points: ( 1 , 1 ) → ( 4 , 3 ) (1, 1) \to (4, 3) ( 1 , 1 ) → ( 4 , 3 ) , ( − 1 , − 1 ) → ( 2 , − 1 ) (-1, -1) \to (2, -1) ( − 1 , − 1 ) → ( 2 , − 1 ) , ( 2 , 1 2 ) → ( 5 , 2 ) \left(2, \tfrac{1}{2}\right) \to (5, 2) ( 2 , 2 1 ) → ( 5 , 2 ) , and ( 1 2 , 2 ) → ( 7 2 , 5 ) \left(\tfrac{1}{2}, 2\right) \to \left(\tfrac{7}{2}, 5\right) ( 2 1 , 2 ) → ( 2 7 , 5 ) .
Check: at x = 4 x = 4 x = 4 , 2 4 − 3 + 1 = 3 \dfrac{2}{4 - 3} + 1 = 3 4 − 3 2 + 1 = 3 . ✓
Translating before stretching. For y y y -values, multiply by a a a first, then add c c c . Adding first gives the wrong point: for y = 2 f ( x ) + 3 y = 2f(x) + 3 y = 2 f ( x ) + 3 , the point ( 1 , 1 ) (1, 1) ( 1 , 1 ) goes to ( 1 , 5 ) (1, 5) ( 1 , 5 ) , not ( 1 , 8 ) (1, 8) ( 1 , 8 ) .
Not factoring out k k k . In y = 2 x − 6 y = \sqrt{2x - 6} y = 2 x − 6 , the shift is 3 3 3 right, not 6 6 6 . Always rewrite as k ( x − d ) k(x - d) k ( x − d ) first.
Getting the sign of d d d wrong. y = f ( k ( x + 4 ) ) y = f\big(k(x + 4)\big) y = f ( k ( x + 4 ) ) means d = − 4 d = -4 d = − 4 , a shift left .
Multiplying x x x by k k k instead of dividing. In the mapping rule, the x x x -coordinate becomes x k + d \dfrac{x}{k} + d k x + d .
Forgetting what a reflection does to the range. In Example 2, the graph goes down from its starting point, so the range is y ≤ 4 y \le 4 y ≤ 4 , not y ≥ 4 y \ge 4 y ≥ 4 .
1. (Warm-up) State a a a , k k k , d d d , and c c c for y = 4 f ( 3 ( x − 2 ) ) − 7 y = 4f\big(3(x - 2)\big) - 7 y = 4 f ( 3 ( x − 2 ) ) − 7 .
Solution a = 4 a = 4 a = 4 , k = 3 k = 3 k = 3 , d = 2 d = 2 d = 2 , c = − 7 c = -7 c = − 7 .
2. (Warm-up) Describe the transformations of y = x 2 y = x^2 y = x 2 in y = 0.5 ( x − 4 ) 2 − 1 y = 0.5(x - 4)^2 - 1 y = 0.5 ( x − 4 ) 2 − 1 , and give the vertex.
Solution Vertical compression by a factor of 0.5 0.5 0.5 , then 4 4 4 units right and 1 1 1 unit down. Vertex ( 4 , − 1 ) (4, -1) ( 4 , − 1 ) .
3. (Warm-up) The point ( 2 , 5 ) (2, 5) ( 2 , 5 ) is on y = f ( x ) y = f(x) y = f ( x ) . Find its image on y = 3 f ( x − 1 ) + 2 y = 3f(x - 1) + 2 y = 3 f ( x − 1 ) + 2 .
Solution The rule is ( x , y ) → ( x + 1 , 3 y + 2 ) (x, y) \to (x + 1,\ 3y + 2) ( x , y ) → ( x + 1 , 3 y + 2 ) , so ( 2 , 5 ) → ( 3 , 17 ) (2, 5) \to (3, 17) ( 2 , 5 ) → ( 3 , 17 ) .
4. (Core) For g ( x ) = 2 x − 1 − 3 g(x) = 2\sqrt{x - 1} - 3 g ( x ) = 2 x − 1 − 3 , map the key points of y = x y = \sqrt{x} y = x and state the domain and range.
Solution The rule is ( x , y ) → ( x + 1 , 2 y − 3 ) (x, y) \to (x + 1,\ 2y - 3) ( x , y ) → ( x + 1 , 2 y − 3 ) :
( 0 , 0 ) → ( 1 , − 3 ) , ( 1 , 1 ) → ( 2 , − 1 ) , ( 4 , 2 ) → ( 5 , 1 ) , ( 9 , 3 ) → ( 10 , 3 ) (0, 0) \to (1, -3), \quad (1, 1) \to (2, -1), \quad (4, 2) \to (5, 1), \quad (9, 3) \to (10, 3) ( 0 , 0 ) → ( 1 , − 3 ) , ( 1 , 1 ) → ( 2 , − 1 ) , ( 4 , 2 ) → ( 5 , 1 ) , ( 9 , 3 ) → ( 10 , 3 ) Domain { x ∈ R ∣ x ≥ 1 } \{x \in \mathbb{R} \mid x \ge 1\} { x ∈ R ∣ x ≥ 1 } , range { y ∈ R ∣ y ≥ − 3 } \{y \in \mathbb{R} \mid y \ge -3\} { y ∈ R ∣ y ≥ − 3 } .
5. (Core) For h ( x ) = − 1 2 ( x + 4 ) 2 + 6 h(x) = -\tfrac{1}{2}(x + 4)^2 + 6 h ( x ) = − 2 1 ( x + 4 ) 2 + 6 , give the vertex, map the points ( 1 , 1 ) (1, 1) ( 1 , 1 ) , ( − 1 , 1 ) (-1, 1) ( − 1 , 1 ) , ( 2 , 4 ) (2, 4) ( 2 , 4 ) , and ( − 2 , 4 ) (-2, 4) ( − 2 , 4 ) of y = x 2 y = x^2 y = x 2 , and state the range.
Solution The rule is ( x , y ) → ( x − 4 , − 1 2 y + 6 ) (x, y) \to \left(x - 4,\ -\tfrac{1}{2}y + 6\right) ( x , y ) → ( x − 4 , − 2 1 y + 6 ) . The vertex is ( − 4 , 6 ) (-4, 6) ( − 4 , 6 ) .
( 1 , 1 ) → ( − 3 , 11 2 ) , ( − 1 , 1 ) → ( − 5 , 11 2 ) , ( 2 , 4 ) → ( − 2 , 4 ) , ( − 2 , 4 ) → ( − 6 , 4 ) (1, 1) \to \left(-3, \tfrac{11}{2}\right), \quad (-1, 1) \to \left(-5, \tfrac{11}{2}\right), \quad (2, 4) \to (-2, 4), \quad (-2, 4) \to (-6, 4) ( 1 , 1 ) → ( − 3 , 2 11 ) , ( − 1 , 1 ) → ( − 5 , 2 11 ) , ( 2 , 4 ) → ( − 2 , 4 ) , ( − 2 , 4 ) → ( − 6 , 4 ) The parabola opens down, so the range is { y ∈ R ∣ y ≤ 6 } \{y \in \mathbb{R} \mid y \le 6\} { y ∈ R ∣ y ≤ 6 } .
6. (Core) Describe the transformations in y = 3 x + 12 y = \sqrt{3x + 12} y = 3 x + 12 , and state the domain.
Solution Factor: y = 3 ( x + 4 ) y = \sqrt{3(x + 4)} y = 3 ( x + 4 ) , so k = 3 k = 3 k = 3 and d = − 4 d = -4 d = − 4 .
Horizontal compression by a factor of 1 3 \tfrac{1}{3} 3 1 , then 4 4 4 units left. The starting point ( 0 , 0 ) (0, 0) ( 0 , 0 ) moves to ( − 4 , 0 ) (-4, 0) ( − 4 , 0 ) .
Domain { x ∈ R ∣ x ≥ − 4 } \{x \in \mathbb{R} \mid x \ge -4\} { x ∈ R ∣ x ≥ − 4 } .
Check: ( 9 , 3 ) → ( 9 3 − 4 , 3 ) = ( − 1 , 3 ) (9, 3) \to \left(\tfrac{9}{3} - 4,\ 3\right) = (-1, 3) ( 9 , 3 ) → ( 3 9 − 4 , 3 ) = ( − 1 , 3 ) , and 3 ( − 1 ) + 12 = 9 = 3 \sqrt{3(-1) + 12} = \sqrt{9} = 3 3 ( − 1 ) + 12 = 9 = 3 . ✓
7. (Core) The graph of y = 1 x y = \dfrac{1}{x} y = x 1 is stretched vertically by a factor of 3 3 3 , reflected in the x x x -axis, and translated 2 2 2 units right and 4 4 4 units up. Write its equation and state its asymptotes.
Solution a = − 3 a = -3 a = − 3 , d = 2 d = 2 d = 2 , c = 4 c = 4 c = 4 :
y = − 3 x − 2 + 4 y = -\frac{3}{x - 2} + 4 y = − x − 2 3 + 4 Asymptotes x = 2 x = 2 x = 2 and y = 4 y = 4 y = 4 .
8. (Challenge) The function y = f ( x ) y = f(x) y = f ( x ) has domain { x ∈ R ∣ − 3 ≤ x ≤ 3 } \{x \in \mathbb{R} \mid -3 \le x \le 3\} { x ∈ R ∣ − 3 ≤ x ≤ 3 } and range { y ∈ R ∣ 0 ≤ y ≤ 4 } \{y \in \mathbb{R} \mid 0 \le y \le 4\} { y ∈ R ∣ 0 ≤ y ≤ 4 } . State the domain and range of y = 2 f ( 0.5 ( x + 1 ) ) − 3 y = 2f\big(0.5(x + 1)\big) - 3 y = 2 f ( 0.5 ( x + 1 ) ) − 3 .
Solution a = 2 a = 2 a = 2 , k = 0.5 k = 0.5 k = 0.5 , d = − 1 d = -1 d = − 1 , c = − 3 c = -3 c = − 3 . The rule is ( x , y ) → ( 2 x − 1 , 2 y − 3 ) (x, y) \to (2x - 1,\ 2y - 3) ( x , y ) → ( 2 x − 1 , 2 y − 3 ) .
Domain: 2 ( − 3 ) − 1 = − 7 2(-3) - 1 = -7 2 ( − 3 ) − 1 = − 7 and 2 ( 3 ) − 1 = 5 2(3) - 1 = 5 2 ( 3 ) − 1 = 5 , so { x ∈ R ∣ − 7 ≤ x ≤ 5 } \{x \in \mathbb{R} \mid -7 \le x \le 5\} { x ∈ R ∣ − 7 ≤ x ≤ 5 } .
Range: 2 ( 0 ) − 3 = − 3 2(0) - 3 = -3 2 ( 0 ) − 3 = − 3 and 2 ( 4 ) − 3 = 5 2(4) - 3 = 5 2 ( 4 ) − 3 = 5 , so { y ∈ R ∣ − 3 ≤ y ≤ 5 } \{y \in \mathbb{R} \mid -3 \le y \le 5\} { y ∈ R ∣ − 3 ≤ y ≤ 5 } .
9. (Challenge) The point ( 6 , − 1 ) (6, -1) ( 6 , − 1 ) is on the graph of y = − 2 f ( 3 ( x − 1 ) ) + 5 y = -2f\big(3(x - 1)\big) + 5 y = − 2 f ( 3 ( x − 1 ) ) + 5 . Which point on y = f ( x ) y = f(x) y = f ( x ) did it come from?
Solution The rule is ( x , y ) → ( x 3 + 1 , − 2 y + 5 ) (x, y) \to \left(\tfrac{x}{3} + 1,\ -2y + 5\right) ( x , y ) → ( 3 x + 1 , − 2 y + 5 ) . Work backwards from ( 6 , − 1 ) (6, -1) ( 6 , − 1 ) :
x 3 + 1 = 6 ⇒ x = 15 \frac{x}{3} + 1 = 6 \quad\Rightarrow\quad x = 15 3 x + 1 = 6 ⇒ x = 15 − 2 y + 5 = − 1 ⇒ y = 3 -2y + 5 = -1 \quad\Rightarrow\quad y = 3 − 2 y + 5 = − 1 ⇒ y = 3 So it came from ( 15 , 3 ) (15, 3) ( 15 , 3 ) . Check: ( 15 , 3 ) → ( 5 + 1 , − 6 + 5 ) = ( 6 , − 1 ) (15, 3) \to (5 + 1,\ -6 + 5) = (6, -1) ( 15 , 3 ) → ( 5 + 1 , − 6 + 5 ) = ( 6 , − 1 ) . ✓