The key idea
Every transformation can be read from one general form. Outside numbers change outputs (y values). Inside numbers change inputs (x values), and they do the opposite of what they look like.
| Change | Effect | Example with |
|---|---|---|
| Up k (down if k is negative) | : up 3 | |
| Right h (left if h is negative) | : right 3 | |
| Vertical stretch by a (shrink if ) | : 4 times as tall | |
| Horizontal squeeze by | : half as wide | |
| Reflect over the x-axis | : opens down | |
| Reflect over the y-axis | mirrors |
To move one point, use the rule: a point on f moves to on .
Worked examples
Example 1: describe the shifts
Problem Describe how the graph of relates to , and find its vertex.
- Rewrite it in the pattern so the signs are clear.
- So : the graph shifts left 3. And : it shifts down 5.
- The vertex of is . Move it left 3 and down 5.
Answer Left 3 and down 5, so the vertex is .
Example 2: move a single point
Problem The graph of passes through . Which point must be on the graph of ?
- The inside change moves points right 1.
- The outside changes double the y value, then add 3.
- Check: at , .
Answer
Example 3: build an equation from a description
Problem Start with . Reflect it over the x-axis, stretch it vertically by a factor of 3, then shift it right 2 and up 4. Write the new equation.
- Reflect over the x-axis: put a minus sign outside.
- Stretch vertically by 3: multiply the output by 3.
- Shift right 2: replace x with .
- Shift up 4: add 4 outside.
Answer , an upside-down V with its peak at .
Example 4 (test-hard): factor the inside first
Problem Describe how is built from , and give its domain.
- Factor the number in front of x out of the inside. This step is what most people skip.
- Now read it as with and . The minus reflects over the y-axis, the 2 squeezes the graph to half its width, and the shift is right 3, not right 6.
- Domain: the inside of a square root cannot be negative.
- Divide by and flip the sign.
- Check one point. is on . The rule sends it to , and indeed:
Answer Reflect over the y-axis, squeeze horizontally by a factor of , then shift right 3. The domain is .
Common mistakes
- Moving the wrong way inside. moves left, not right. Fix: ask what x makes the inside zero. Here , so the vertex moved to .
- Shifting before factoring. is a shift of 3, not 6. Fix: factor out the coefficient of x before reading h.
- Mixing up the two reflections. A minus outside, , flips over the x-axis. A minus inside, , flips over the y-axis.
- Thinking stretches. Multiplying the input by 2 makes the graph reach each y value twice as fast, so it gets narrower. Fix: inside numbers act backwards.
- Adding k inside the function. moves up 4, but moves left 4. Fix: watch where the parentheses close.
Quick methods
Practice
5 practice questions
The graph of is shifted 4 units left and 2 units down. What is the new equation?
Show answer
Answer:
Left 4 means replace x with . Down 2 means subtract 2 outside. would move right, and swaps the two numbers.
The point is on the graph of . Which point must be on the graph of ?
Show answer
Answer:
moves points left 3: . The moves them down 2: . moves right instead of left.
Let and . How is the graph of g related to the graph of f?
- It is a reflection over the x-axis.
- It is a reflection over the y-axis.
- It is a shift 1 unit left.
- It is a 180 degree rotation about the origin.
Show answer
Answer: It is a reflection over the y-axis.
A minus sign inside, on the input, mirrors the graph left to right. A reflection over the x-axis would be , and a 180 degree rotation would be .
The point is on the graph of . Which point must be on the graph of ?
Show answer
Answer:
At , . Inside numbers act backwards, so the x value is divided by 2, not multiplied. The y value does not change.
Let and . What is the x-coordinate of the vertex of the graph of g?
Show answer
Answer: 5
The vertex of f is at . The graph of g is f moved right 3 and up 2, so its vertex is at .
Frequently asked questions
Why does f(x - h) move the graph right?
The new graph has to reach each output h units later. For , the bottom of the parabola happens when the inside is 0, which is at instead of . So everything slides right 3.
In what order should I apply transformations?
A safe order for is: horizontal squeeze or reflection (b), horizontal shift (h), vertical stretch or reflection (a), then vertical shift (k). Doing the shift before the stretch on the same axis can give a different graph, so factor first and follow this order.
What is a parent function?
It is the simplest function of a family, before any changes: , , , , , and so on. Knowing a few points on each parent graph makes transformations much easier.
How do I tell a vertical stretch from a horizontal squeeze?
Look at where the number sits. Multiplying outside, , changes every y value, so it is vertical. Multiplying inside, , changes which x gives each y, so it is horizontal, and it squeezes by rather than stretching by 3.