Algebra 1 · Grade 9
Transformations of Functions: Shifts, Stretches and Reflections
Quick answer
A constant added outside a function moves its graph up or down. A constant added inside moves it left or right — and in the opposite direction to the sign, because the input has to work harder to reach the same value. Multiplying outside stretches vertically, multiplying inside squeezes horizontally, and a minus sign reflects.
What you'll learn
- Predict the graph of f(x) + k, f(x + k), k·f(x) and f(kx)
- Explain why an inside change moves the graph the opposite way
- Read the transformation constants from a pair of graphs
One parent, many graphs
Start with a function and call it . Small changes to the formula move, stretch or flip its graph without changing its basic shape.
That is worth knowing because it turns a library of graphs into one graph plus a set of moves. Every parabola is transformed.
| Change | Effect on the graph |
|---|---|
| up | |
| down | |
| left | |
| right | |
| , | vertical stretch |
| , | vertical squeeze |
| , | horizontal squeeze |
| reflect over the -axis | |
| reflect over the -axis |
Outside the parentheses acts on the output, so it behaves as written. Inside acts on the input, so it behaves backwards. That single sentence covers most of the table.
Vertical shifts read as written
Every output is larger, so every point moves up . Nothing about the horizontal position changes.
- y = x^2
- y = x^2 + 3
The two curves are the same width and the same shape. Only their height differs.
Why horizontal shifts go the other way
This one surprises people, so it is worth slowing down.
at computes . So whatever did at , does at — three units to the left.
| evaluates | Which did at | |
|---|---|---|
Every landmark of appears earlier in . Adding inside makes the input arrive sooner, which slides the picture left.
- y = x^2
- y = (x + 3)^2
This is the same fact as vertex form. In , the minus inside is why the vertex is at .
Stretches
Multiplying the output scales every height by .
| Effect | |
|---|---|
| taller — a vertical stretch | |
| flatter — a vertical squeeze | |
| scaled and flipped over the -axis |
Points already on the -axis do not move, because . That makes the -intercepts the fixed points of a vertical stretch — a useful check.
Multiplying the input squeezes horizontally, and again the direction is backwards:
at gives , so reaches at what reached at . Everything arrives at half the -value, so the graph is squeezed toward the -axis by a factor of .
Reflections
| Form | Reflects over | Because |
|---|---|---|
| the -axis | every output flips sign | |
| the -axis | every input flips sign |
Once more the pattern holds: the minus outside affects heights, the minus inside affects positions along the -axis.
For the second does nothing visible, since . A parabola is already symmetric about the -axis, so reflecting it there lands it on itself.
Reading k off a picture
Given the original and the moved graph, compare one landmark on each.
A parabola with vertex becomes one with vertex .
The vertex went right and down :
Right is a minus inside; down is a minus outside.
Take the transformations in order: horizontal first, then vertical. Stated the other way, the shift amounts stay the same but any stretch has to be applied before the vertical shift, or the shift gets stretched too.
Worked examples
Common mistakes
Practice problems
-
Describe .
Answer
Down
Full solution
Subtracting outside lowers every output.
-
Describe .
Answer
Right
Full solution
A minus inside shifts in the positive direction.
-
Describe .
Answer
Left
Full solution
A plus inside shifts left.
-
Describe .
Answer
Vertical stretch by
Full solution
Every output is four times as far from the -axis.
-
Describe .
Answer
Reflection over the -axis
Full solution
Every output changes sign.
-
What is the vertex of ?
Answer
Full solution
Right and up from the origin.
-
What is the vertex of ?
Answer
Full solution
A plus inside shifts left.
-
Write the function whose graph is moved left and down .
Hint
Which direction needs a plus inside?
Answer
Full solution
Left is an inside change, and inside runs backwards, so it is .
Down is an outside change, and outside reads as written, so it is .
The vertex lands at , which is left and down from the origin.
-
If , what is for ? And for ?
Answer
; , which is unknown
Full solution
adds outside, so .
adds inside, so . Knowing at says nothing about at .
That contrast is exactly the difference between changing the output and changing the input.
-
Asked to describe , Kai says the graph moves right , because the sign is a plus. Find the error.
Hint
Evaluate at .
Answer
It moves left . An inside change runs opposite to its sign.
Full solution
Kai applied the outside rule to an inside change.
Test it with a value. .
So whatever height had at , has at — three units to the left.
The reason is that the changes the input, not the output. The input now reaches any given value three units earlier, so the whole picture arrives earlier and slides left.
Frequently asked questions
What does f(x) + 3 do?
Shifts the graph up 3. Every output is 3 larger, so every point rises.
What does f(x + 3) do?
Shifts the graph left 3, not right. The input reaches any given value three units earlier.
Why does the inside change go the opposite way?
Because it changes the input, not the output. Adding 3 inside means x only has to reach -3 to produce what x = 0 used to produce.
What does -f(x) do?
Reflects the graph over the x-axis, since every output flips sign.
What does 2f(x) do?
Stretches the graph vertically by a factor of 2. Points on the x-axis stay put, because twice zero is still zero.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSF.BF.B.3Building FunctionsIdentify the effect on the graph of replacing f(x) by f(x) + k, k f(x), f(kx), and f(x + k) for specific values of k (both positive and negative); find the value of k given the graphs. Experiment with cases and illustrate an explanation of the effects on the graph using technology. Include recognizing even and odd functions from their graphs and algebraic expressions for them.