We want to graph an equation like y=−2(x−3)2+5 directly from the basic curve y=x2, without plugging in a long table of points.
1
Outside Changes: Vertical Shifts, Stretches, and Flips
Any number we add or multiply sits either outside the function, acting on the output after the function box does its job, or inside the function, acting on x before the function ever sees it. Let's start with outside numbers and see what they do to the heights of points on y=x2.
Outside Changes: Vertical Shifts, Stretches, and Flips
Because outside numbers act after the squaring finishes, they change the vertical height y using the exact operation written:
yyy=x2+3=2x2=−x2⟶new y⟶new y⟶new y=old y+3=2(old y)=−1(old y)(shifts up 3)(stretches vertically by 2)(flips across the x-axis)
Multiplying the outside stretches or shrinks every point's height by that factor and flips the curve across the x-axis when the multiplier is negative. The vertex at (0,0) has height 0, so multiplying never moves it off the x-axis.
Multiplying outside the function multiplies every point's height from the x-axis by the same number, while any point on the x-axis stays in place.
2
Inside Changes: Horizontal Shifts, Stretches, and Flips
Now we want to see how the graph moves when we change x on the inside before the function acts on it, as in y=(x−3)2 or y=2x.
Inside Changes: Horizontal Shifts, Stretches, and Flips
To get the same output height from the function box, the expression inside the box has to equal the same number it used to receive, which forces x to do the opposite operation:
yyy=(x−3)2=2x=−x⟶⟶⟶⟶⟶⟶x−3new x2xnew x−xnew x=old x=old x+3(shifts right 3)=old x=2old x(compresses horizontally by 21)=old x=−old x(flips across the y-axis)
For the square-root box to keep receiving 4 and giving a height of 2, a larger multiplier inside pulls the curve closer to the y-axis and a negative multiplier flips it across the y-axis.
For the square root box to keep receiving 4 and giving height 2, moving the point closer to the y-axis on the positive side makes the inside multiplier larger. On the negative side, the multiplier is negative.
3
Graphing Multiple Transformations at Once
To graph an equation where inside and outside changes happen at the same time,
y=−2x+3+4
we track where three easy points on the parent curve y=x land.
Graphing Multiple Transformations at Once
Text solution
Pick three points on the parent curve y=xStart with three easy points where the square root is a whole number.
(0,0),(1,1),(4,2)
Subtract 3 from each x-coordinateThe +3 inside does the opposite operation to x, moving every point left 3.
0−31−34−3=−3=−2=1
Multiply each y-coordinate by −2, then add 4An output leaving the square-root box gets multiplied before addition in normal PEMDAS order, so we multiply each height by −2 before adding 4.
0×(−2)+41×(−2)+42×(−2)+4=0+4=4=−2+4=2=−4+4=0
So the points (0,0),(1,1), and (4,2) move to (−3,4),(−2,2), and (1,0), which we connect with the flipped square-root curve.
x
y
(0,0)
(1,1)
(4,2)
y=x
(−3,4)
(−2,2)
(1,0)
y=−2x+3+4
4
Inside Multiplication and Shift Together
Next, we need to find how the x-coordinates move when multiplication and addition are both inside the function:
y=2x−6
Looking at the −6 makes it tempting to shift right by 6, but the multiplier 2 affects the shift as well.
Inside Multiplication and Shift Together
y=2x−6
Horizontal shift=?
Text solution
Set the inside equal to old x and solve for xFor the square root to receive the same input as before, we set the entire inside expression equal to old x and solve for x.
2x−62xx=old x=old x+6=2old x+6=21(old x)+3
Or factor out the 2 on the inside firstFactoring the multiplier 2 out of 2x−6 shows the true shift directly on x.
y=2x−6=2(x−3)
So every x-coordinate is divided by 2 and then shifted right by 3, moving the starting point (0,0) to (3,0) rather than (6,0).
5
Transforming a Function Without a Formula
Once we have starting points on a graph, adjusting their coordinates never uses the parent formula itself. That lets us graph
y=21f(x−1)−3
from a drawn graph of y=f(x) where we only know the corners (−2,0),(0,4), and (4,2), or find where a single point (6,−10) on y=f(x) moves on y=3f(2x−4)+1.
x
y
(−2,0)
(0,4)
(4,2)
y=f(x)
(−1,−3)
(1,−1)
(5,−2)
y=21f(x−1)−3
Transforming a Function Without a Formula
x
y
y=21f(x−1)−3
y=f(x)
(−2,0)
(0,4)
(4,2)
Text solution
Add 1 to each corner's x-coordinate for y=21f(x−1)−3The x−1 inside the parentheses of f() shifts each corner's x-coordinate right 1.
−2+10+14+1=−1=1=5
Multiply each corner's y-coordinate by 21, then subtract 3The numbers outside f() cut each corner's height in half before shifting it down 3.
0×21−34×21−32×21−3=0−3=−3=2−3=−1=1−3=−2
So the three corners of y=21f(x−1)−3 land at (−1,−3),(1,−1), and (5,−2), connected by straight line segments.
Now for the single point (6,−10) moving onto y=3f(2x−4)+1:
Set the inside equal to the old x-coordinate 6To use f(6), we make the expression inside the parentheses equal 6.
2x−42xx=6=10=5
Multiply the old y-coordinate −10 by 3, then add 1Because f(6)=−10, the outside operations act directly on −10.
y=3(−10)+1=−30+1=−29
So the point (6,−10) on y=f(x) must land at (5,−29) on y=3f(2x−4)+1.
6
Writing an Equation from a Transformed Graph
Now we work in reverse: given a downward-pointing V-shaped graph with its corner at (−2,5) that passes through (−1,2), we want to build its equation from the parent function y=∣x∣.
x
y
(0,0)
1
1
(1,1)
y=∣x∣
x
y
(−2,5)
1
−3
(−1,2)
Writing an Equation from a Transformed Graph
x
y
y=?
(−2,5)
(−1,2)
Text solution
Find the shifts from where (0,0) movedA stretch or flip of the parent graph keeps its corner at (0,0). To move the corner to (−2,5) afterward, shift left 2 (an inside +2) and up 5 (an outside +5).
∣x+2∣+5
Find the outside multiplier from a 1-unit horizontal stepStepping 1 unit right from the corner normally changes the height by +1 on y=∣x∣, while stepping 1 unit right from (−2,5) to (−1,2) changes the height by −3.
y=−3∣x+2∣+5
So the equation of the transformed graph is y=−3∣x+2∣+5.
Moving the corner of the V to a new spot only changes the inside shift (opposite sign) and the outside shift (same sign). As long as stepping right 1 from the corner goes down 3, the multiplier in front stays −3.
Sliding the V around the grid changes only the shifts in the equation, never the steepness or the multiplier out front.
Key concepts
Every transformation problem comes down to picturing the function box (whether it is x2,x,∣x∣, or an unknown f(x)) and moving a few key points (x,y) one coordinate at a time.
Outside the box changes y directly in PEMDAS order
Numbers outside act after the function on the height y: multiply old y first, then add or subtract at the end. On y=−2x+3+4, each height becomes new y=−2(old y)+4.
Inside the box changes x in reverse so the box receives old x
When there is only one number inside, just do the opposite operation to x: for y=(x−3)2, add 3 to x; for y=2x, divide x by 2. When both multiplication and addition are inside, like in y=2x−6, either solve 2x−6=old x to get x=21(old x)+3, or factor out the 2 first as 2(x−3) so you shift by 3 instead of 6.
For a transformed absolute-value graph, start with its corner
A stretch or flip of y=∣x∣ keeps its corner at (0,0). Use the new corner to write the inside shift (opposite sign) and outside shift (same sign), then step 1 unit horizontally from that corner to read the outside multiplier from the change in height.
7
Practice
1
Starting with the points (0,0),(1,1), and (2,4) on y=x2, find the corresponding points on the graph of y=21(x−4)2−3.
Handle x and y separately: when an output leaves the squaring box, which outside operation acts on y first?
Add 4 to each x-coordinate for the inside x−4:
0+41+42+4=4=5=6
For the outside changes on y, multiply by 21 before subtracting 3 (watch out: subtracting 3 before multiplying by 21 goes against PEMDAS and gives the wrong points (4,−23),(5,−1), and (6,21)):
0×21−31×21−34×21−3=0−3=−3=21−3=−25=2−3=−1
Answer: (4,−3),(5,−25), and (6,−1)
2
Starting with the points (0,0),(1,1), and (4,2) on y=x, find the corresponding points on the graph of y=−21x.
Nothing is outside the square root, so only x changes. What must you multiply old x by so that −21x=old x?
Set the inside equal to old x to see the opposite operation on x (watch out: multiplying the x-coordinates by −21 instead of dividing by −21 forgets that inside does the opposite, giving the wrong points (0,0),(−21,1), and (−2,2)):
−21x=old x⟶x=−2(old x)
Multiply each x-coordinate by −2 while keeping the y-coordinates unchanged:
0×(−2)1×(−2)4×(−2)=0=−2=−8
Answer: (0,0),(−2,1), and (−8,2)
3
Starting with the points (0,0),(1,1), and (4,2) on y=x, find the corresponding points on the graph of y=−32x+8+1.
Watch out: subtracting 8 from x without dividing that shift by 2 gives the wrong x-coordinates and leads to (−8,1),(−215,−2), and (−6,−5).
Both multiplication and addition are inside the square root; set 2x+8=old x to find how x changes.
Set the inside equal to old x and solve for x (watch out: subtracting 8 from x without dividing that shift by 2 gives the wrong x-coordinates and leads to (−8,1),(−215,−2), and (−6,−5)):
2x+82xx=old x=old x−8=2old x−8
Plug in each old x-coordinate:
20−821−824−8=2−8=−4=−27=2−4=−2
Multiply each old y-coordinate by −3, then add 1:
0×(−3)+11×(−3)+12×(−3)+1=0+1=1=−3+1=−2=−6+1=−5
Answer: (−4,1),(−27,−2), and (−2,−5)
4
The graph of y=f(x) is made of two line segments connecting the corners (−4,2),(0,−2), and (2,6). Find the three corner points on the graph of y=−2f(x+3)+5.
Watch out: adding 3 instead of subtracting 3 forgets that inside does the opposite and gives the wrong corners (−1,1),(3,9), and (5,−7).
Treat f() as the function box: how does x+3 inside change the x-coordinates, and in what order do −2 and +5 change the y-coordinates?
For x+3 inside f(), subtract 3 from each corner's x-coordinate (watch out: adding 3 instead of subtracting 3 forgets that inside does the opposite and gives the wrong corners (−1,1),(3,9), and (5,−7)):
−4−30−32−3=−7=−3=−1
For the outside changes on y, multiply each corner's y-coordinate by −2 and then add 5:
2×(−2)+5−2×(−2)+56×(−2)+5=−4+5=1=4+5=9=−12+5=−7
Answer: (−7,1),(−3,9), and (−1,−7)
5
The point (9,−8) is on the graph of y=f(x). Which point must be on the graph of y=21f(3x+6)−4?
Watch out: plugging 9 directly into 3x+6 calculates 3(9)+6=33 instead of solving for x, which gives the wrong point (33,−8).
What value of x makes the inside expression 3x+6 equal 9?
Set the inside expression equal to the old x-coordinate 9 and solve for x (watch out: plugging 9 directly into 3x+6 calculates 3(9)+6=33 instead of solving for x, which gives the wrong point (33,−8)):
3x+63xx=9=3=1
Multiply the old y-coordinate −8 by 21, then subtract 4:
y=21(−8)−4=−4−4=−8
Answer: (1,−8)
6
A V-shaped graph transformed from y=∣x∣ has its corner at (3,−4) and passes through (4,−2) and (2,−2). Write the equation of the graph.
Use the corner (3,−4) to find the inside and outside shifts first, then check how much the height changes when stepping 1 unit right from x=3 to x=4.
The corner moved from (0,0) to (3,−4), which is a shift right 3 and down 4. Put the horizontal shift inside with the opposite sign and the vertical shift outside with the same sign (watch out: using +3 inside for a shift to the right gives the wrong equation y=2∣x+3∣−4):
∣x−3∣−4
Moving 1 unit right from the corner at (3,−4) to (4,−2) changes the height by
−2−(−4)=+2
instead of +1, so the outside multiplier in front of the absolute value is 2.