Transformations of Graphs
Learning goals
- Separate outside moves on the output from inside moves on the input
- Explain why the inside runs backward, by solving for
- Apply the master formula to send to its image
- Factor the inside first, so shifts by
- Show that two moves need not commute
- Read symmetry as a transformation that changes nothing
Two places a number can act
Write a general transformed rule in the shape you will unpack for the rest of the lesson:
There are exactly two places a number can sit, and they behave completely differently.
The numbers and act on the output, the value has already produced. You take the answer , multiply it by , then add . These are the moves that behave the way you expect: multiply the height, then raise it. Call this the outside, the part applied after .
The numbers and act on the input, the number handed to before does anything. The rule first forms , then multiplies by , and only then feeds the result to . These are the moves that make the graph go the opposite way from what the symbols seem to say. Call this the inside, the part applied before .
Each side is a small chain of maps: on the inside you apply one map to and then hand the result to . On the outside you hand ‘s answer to another map. Writing for “do , then do ” is just the substitution you already practiced in Function Notation. Combining functions this way is the subject of the next lesson. So here we only ever say “apply this, then , then that,” and never lean on any special algebra of that combining. The whole lesson is learning to read those two sides correctly.
Why the inside runs backward
Start with the inside, because it is where the confusion lives. Take a pure horizontal shift, , and ask not what the formula looks like but where the points actually go.
An inside map moves the graph opposite to its sign#
Let . A point lies on the graph of exactly when , and that says precisely that the point lies on the graph of . Read that correspondence starting from . Take a point sitting at horizontal position on the graph of , namely . It shows up on the graph of at the input where the inside equals , that is where , so . Its height is unchanged. Every point therefore moves from position to position , a slide to the right by when , even though the formula shows a minus sign.
The same reading handles a pure scaling, with . Here is on exactly when , which says is on . A point at position on reappears on where , that is at , again at the same height. So the horizontal position of every point is divided by , which pulls points toward the vertical axis when and pushes them away when .
Because this is the move most often read backward, fix the vocabulary now and keep it fixed. The inside factor divides every input. When that pulls the graph toward the vertical axis, and we call it a horizontal compression by . When the inputs grow instead and the graph is stretched away from the vertical axis. Throughout this lesson the number named in a compression is always the input multiplier , never its reciprocal. So “a horizontal compression by ” always means “the inputs are divided by .”
Here is the one idea that explains the whole inside, and it is worth saying out loud. An outside map is applied to the answer already gave, so it does exactly what it says: multiply the answer, add to the answer. An inside map is applied to the question, the number you are about to hand . So to find where a point lands you must ask which makes the inside equal the old input, and answering that means solving for . The solving is what turns “subtract ” into “move right by ” and “multiply by ” into “divide by .” (That step, solving the inside for , is the seed of the inverse function you will meet two lessons from now.)
The master formula
Both sides fold into a single statement about where a point goes. It is the tool the rest of the lesson uses, so derive it once and keep it.
Where every point of the graph lands#
Fix the general rule with , and take any point on the graph of , so . We find the point it becomes on the new graph.
The new rule reproduces the height when the number handed to equals , that is when . This is an equation in , and solving it means dividing by and then adding :
At that input the output is , read straight off the outside. So the point on the graph of lands at
Every rule from the earlier course is one line of this formula. Setting and gives , a vertical shift by . Setting and gives , a horizontal shift right by . Setting , , gives , a vertical scaling by , which also reflects across the -axis when . Setting , , gives , which divides every input position by (a horizontal compression when ) and reflects across the -axis when . The one formula carries all of them, and the two halves never mix. The input data is touched only by and , and the output data only by and .
That separation reaches the domain and range too, the data Relations and Functions insisted was part of a function. The inputs of become , so the domain is divided by and shifted by . The outputs become , so the range is scaled by and shifted by . A negative or flips the corresponding interval end for end. The domain and range transform right along with the picture, because they are the picture.
Worked example 1 Reading the master formula
The point lies on the graph of . Where does it land on , and on ?
For , match the shape : here , , , . Apply the landing rule to :
The input picked up the shift and the height was doubled and then raised by .
For , the outside is untouched (, ) and the inside has , . The landing rule gives
The height is unchanged and the input is halved, so the point slides in toward the vertical axis. Both results come from the same formula, just with different slots filled.
Worked example 2 Transforming a domain and a range
Suppose has domain and range . Describe the domain and range of and of .
For , only the inside changes, with . The domain is divided by , so each endpoint is halved:
The range is untouched, still , because nothing acted on the output.
For , only the outside changes, with . The range is scaled by , and because is negative the endpoints swap order:
so the new range runs from the smaller value up, . The reflection is exactly what turned the top of the old range into the bottom of the new one. The domain stays , since the inside was left alone.
A domain is easier to trust once you have watched one move. The graph below is , and a square root is the useful case because its domain has a visible left end rather than running off both sides of the window. Step upward: the start point travels right, against the minus sign inside, and the whole graph goes with it, so the domain becomes and the readout says so. That is the same halving-and-shifting arithmetic as the worked example above, done by hand.
Two states are worth reaching deliberately. Take negative and the curve turns over to fall instead of rise, while its left end does not move at all. The left end stays put because acts outside and the domain is decided inside. Take to zero and the graph flattens onto a horizontal line, and yet the readout still reports the domain restriction. Multiplying by zero cannot widen what the root will accept.
Move the start point of
y = √x. Its start point sits at (0, 0), not shifted at all. From there it rises to the right, at the natural rate, flattening as it goes. It exists only for x of at least 0, because a square root needs the inside to be at least 0.
Check your understanding
The point lies on the graph of . Where does it land on the graph of ?
Match the shape : here , , , . Apply the landing rule to .
The input shifts right by to , and the height is doubled to and then raised by to .
Order matters, and the two sides disagree
The master formula hides a subtlety that causes more errors than any sign. When a side carries two operations, the order in which you apply them to the graph is not free.
On the outside, the graph order matches the arithmetic order. The rule says compute , then multiply by , then add . As graph moves that reads scale by first, then shift by , in that order, because the arithmetic is done in that order to every height.
On the inside, the graph order is the reverse of the arithmetic order, and the reason is the solving step. The rule processes by first subtracting , then multiplying by , then handing the result to . But the master formula shows the point lands at , which you build from by first dividing by (the horizontal scaling) and then adding (the shift right). Scaling comes first, shift second, the opposite of the arithmetic order. That reversal is forced: to solve for you undo the multiplication before you undo the subtraction, and undoing in reverse is what solving an equation always does.
This reversal is exactly why the inside must be factored into the form before you can read the shift. Skipping that step produces the single most common error in all of this material.
Worked example 3 The factoring trap: reading f(2x - 3)
The rule is not ” shifted right .” To read it correctly, factor the inside so it matches the shape :
Now the slots are visible: and . So the graph is a horizontal compression by (the inputs are divided by ) and a shift right by , not by .
Check it against the master formula, which never needs the factoring. A point on lands where , that is at
The shift added to the scaled input is , matching the factored reading. The tempting wrong answer, “shift right ,” comes from reading the before dividing out the , which reverses the required order of the two inside moves. The inside multiplier has to be pulled out first.
Check your understanding
After its horizontal compression, by how much and which way does shift the graph of ?
Factor the inside into the form before reading the shift.
So and : the graph is a horizontal compression by and shifts right by . Reading the without factoring out the gives the wrong 'right ,' and the sign of is positive, so the shift is right, not left.
When the order of two moves changes the result
The order rule has a sharp consequence: doing two moves in one order can give a genuinely different function from doing them in the other order. This is your first real meeting with the fact that composing maps does not commute, which is the headline of the next lesson.
Take a vertical stretch by and a vertical shift up , and apply them to in each order. Stretch first, then shift, and you get and then . Shift first, then stretch, and you get and then . These are not the same rule:
The gap is the extra that the second stretch also multiplied. So “stretch then shift” and “shift then stretch” are two different transformations, and the graphs land in different places.
Worked example 4 A reflection and a shift, in both orders
Reflection across the -axis (the outside factor ) also refuses to commute with a shift. Track the point on through both orders.
Reflect first, then shift up . Reflecting negates the height, , then shifting adds :
As a rule this is . Now shift up first, then reflect. Shifting gives , then reflecting negates that height:
As a rule this is . The two landing points, and , are different, and the two rules, and , are different. The reflection multiplies by everything that is already there, so whether the is present when you reflect changes the result. Order is part of the transformation, not a detail you can rearrange.
One graph, many transformations
It is tempting to believe the finished graph tells you which transformation produced it. It does not, and seeing why is one of the honest surprises of this lesson.
Take and compress it horizontally by :
Now instead stretch the same vertically by :
They are the same function, , reached by two different transformations. So you may truthfully say ” is compressed horizontally by ,” and equally truthfully say “it is stretched vertically by .” What you may not say is that the transformation is unique, or that the graph reveals which move was applied. Both descriptions are correct, and the graph cannot choose between them.
This coincidence is special to homogeneous power functions, not to in particular, and it is not the typical case. It happens because a power pulls the factor straight through: for , , so a horizontal compression by is the same as a vertical stretch by . The cube behaves the same way, with for . What kills the coincidence is breaking the homogeneity by adding a constant. For ,
can never equal , since matching the term needs while matching the constant needs . So here the horizontal compression is not any vertical stretch at all, and the two kinds of scaling are genuinely different operations. The figure shows this second case, where and are plainly different curves.
Worked example 5 Same graph, two honest descriptions
Show that can be obtained from as either a horizontal compression or a vertical stretch, and give the exact number for each.
As a horizontal compression, replace by and ask which gives :
a horizontal compression by , since the inputs are divided by . As a vertical stretch, multiply the output by :
a stretch to times the height. Both produce the identical graph , so the correct statement is that the transformation is not unique. That transformation can be described as a horizontal compression by or as a vertical stretch by . The graph itself does not record which one you had in mind. Try the same on and the vertical route fails, since is not for any .
Symmetry is a transformation that does nothing
The chapter’s earlier lesson defined a function as even when and odd when , both requiring a domain symmetric about so that is available whenever is. Read through the lens of this lesson, those definitions are statements about a single inside transformation, reflecting the input, written .
An even function is one that reflecting the input leaves completely unchanged: says the reflected graph is the very same graph as . So evenness is precisely invariance of the graph under reflection across the -axis. An odd function is one where reflecting the input has the same effect as reflecting the output: says the inside reflection equals the outside reflection . Doing both at once, reflecting input and output together, is a rotation about the origin, and it returns the original graph, since . So oddness is invariance of the graph under that rotation.
Both statements need the symmetric domain to even be asked, exactly as the earlier lesson proved, and neither says more than it should. In particular an odd function need not pass through the origin: it does when is in its domain, because then forces . But is odd with absent from its domain, and it never meets the origin. Symmetry, in this chapter’s language, is just the special case where a particular transformation fixes the graph.
Check your understanding
A function is odd, with a domain symmetric about . Which single transformation is guaranteed to leave its graph unchanged?
Odd means for every in the domain. Reflecting the input and the output together is a rotation about the origin, and it returns .
So the rotation sends each point to , which is again on the graph. Reflection across a single axis would need the function to be even (or zero), and a vertical shift moves every point, so only the rotation is guaranteed.