PrecalculusFunctions2 of 3
Functions · 2

Transformations of Functions

We want to graph an equation like y=−2(x−3)2+5y = \outside{-2}(x \inside{- 3})^2 \outside{+ 5} directly from the basic curve y=x2y = x^2, 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 xx before the function ever sees it. Let's start with outside numbers and see what they do to the heights of points on y=x2y = x^2.

Outside Changes: Vertical Shifts, Stretches, and Flips
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=−2(x−3)2+5y = \htmlClass{lc-violet}{-2}(x \htmlClass{lc-pink}{- 3})^2 \htmlClass{lc-violet}{+ 5}
y=x2y = x^2
(0, 0)(0,\ 0)

Because outside numbers act after the squaring finishes, they change the vertical height yy using the exact operation written:

y=x2+3⟶new y=old y+3(shifts up 3)y=2x2⟶new y=2(old y)(stretches vertically by 2)y=−x2⟶new y=−1(old y)(flips across the x-axis)\displaystyle \begin{aligned} y &= x^2 \outside{+ 3} & \longrightarrow \quad \newpt{\text{new } y} &= \text{old } y \outside{+ 3} & &(\text{shifts up } \outside{3}) \\ y &= \outside{2}x^2 & \longrightarrow \quad \newpt{\text{new } y} &= \outside{2}(\text{old } y) & &(\text{stretches vertically by } \outside{2}) \\ y &= \outside{-}x^2 & \longrightarrow \quad \newpt{\text{new } y} &= \outside{-1}(\text{old } y) & &(\text{flips across the } x\text{-axis}) \end{aligned}

Multiplying the outside stretches or shrinks every point's height by that factor and flips the curve across the xx-axis when the multiplier is negative. The vertex at (0,0)(0, 0) has height 00, so multiplying never moves it off the xx-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 xx on the inside before the function acts on it, as in y=(x−3)2y = (x \inside{- 3})^2 or y=2xy = \sqrt{\inside{2}x}.

Inside Changes: Horizontal Shifts, Stretches, and Flips
y=(x−3)2y = (x \htmlClass{lc-pink}{- 3})^2
xx
x−3x \htmlClass{lc-pink}{- 3}
(      )2(\;\;\;)^2
yy

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 xx to do the opposite operation:

y=(x−3)2⟶x−3=old x⟶new x=old x+3(shifts right 3)y=2x⟶2x=old x⟶new x=old x2(compresses horizontally by 12)y=−x⟶−x=old x⟶new x=−old x(flips across the y-axis)\displaystyle \begin{aligned} y &= (x \inside{- 3})^2 & \longrightarrow & & x \inside{- 3} &= \text{old } x \\ & & \longrightarrow & & \newpt{\text{new } x} &= \text{old } x \inside{+ 3} \\ & & & & & (\text{shifts right } \inside{3}) \\[10pt] y &= \sqrt{\inside{2}x} & \longrightarrow & & \inside{2}x &= \text{old } x \\ & & \longrightarrow & & \newpt{\text{new } x} &= \frac{\text{old } x}{\inside{2}} \\ & & & & & \left(\text{compresses horizontally by } \inside{\frac{1}{2}}\right) \\[10pt] y &= \sqrt{\inside{-}x} & \longrightarrow & & \inside{-}x &= \text{old } x \\ & & \longrightarrow & & \newpt{\text{new } x} &= \inside{-}\text{old } x \\ & & & & & (\text{flips across the } y\text{-axis}) \end{aligned}

For the square-root box to keep receiving 44 and giving a height of 22, a larger multiplier inside pulls the curve closer to the yy-axis and a negative multiplier flips it across the yy-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\displaystyle y =−2x+3+4\displaystyle = \outside{-2}\sqrt{x \inside{+ 3}} \outside{+ 4}

we track where three easy points on the parent curve y=xy = \sqrt{x} land.

Graphing Multiple Transformations at Once
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=−2x+3+4y = \htmlClass{lc-violet}{-2}\sqrt{x \htmlClass{lc-pink}{+ 3}} \htmlClass{lc-violet}{+ 4}
y=xy = \sqrt{x}
(0, 0)(0,\ 0)
(1, 1)(1,\ 1)
(4, 2)(4,\ 2)
Text solution
Pick three points on the parent curve y=xy = \sqrt{x}Start with three easy points where the square root is a whole number.
(0,0),(1,1),(4,2)\displaystyle (0, 0), \quad (1, 1), \quad (4, 2)
Subtract 3\inside{3} from each xx-coordinateThe +3\inside{+3} inside does the opposite operation to xx, moving every point left 3\inside{3}.
0−3=−31−3=−24−3=1\displaystyle \begin{aligned} 0 \inside{- 3} &= \newpt{-3} \\ 1 \inside{- 3} &= \newpt{-2} \\ 4 \inside{- 3} &= \newpt{1} \end{aligned}
Multiply each yy-coordinate by −2\outside{-2}, then add 4\outside{4}An output leaving the square-root box gets multiplied before addition in normal PEMDAS order, so we multiply each height by −2\outside{-2} before adding 4\outside{4}.
0×(−2)+4=0+4=41×(−2)+4=−2+4=22×(−2)+4=−4+4=0\displaystyle \begin{aligned} 0 \times \outside{(-2)} \outside{+ 4} &= 0 \outside{+ 4} = \newpt{4} \\ 1 \times \outside{(-2)} \outside{+ 4} &= -2 \outside{+ 4} = \newpt{2} \\ 2 \times \outside{(-2)} \outside{+ 4} &= -4 \outside{+ 4} = \newpt{0} \end{aligned}

So the points (0,0)(0, 0), (1,1)(1, 1), and (4,2)(4, 2) move to (−3,4)\newpt{(-3, 4)}, (−2,2)\newpt{(-2, 2)}, and (1,0)\newpt{(1, 0)}, which we connect with the flipped square-root curve.

x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0, 0)(0,\ 0)
(1, 1)(1,\ 1)
(4, 2)(4,\ 2)
y=xy = \sqrt{x}
(−3, 4)\htmlClass{lc-blue}{(-3,\ 4)}
(−2, 2)\htmlClass{lc-blue}{(-2,\ 2)}
(1, 0)\htmlClass{lc-blue}{(1,\ 0)}
y=−2x+3+4y = \htmlClass{lc-violet}{-2}\sqrt{x \htmlClass{lc-pink}{+ 3}} \htmlClass{lc-violet}{+ 4}
4

Inside Multiplication and Shift Together

Next, we need to find how the xx-coordinates move when multiplication and addition are both inside the function:

y\displaystyle y =2x−6\displaystyle = \sqrt{\inside{2}x \inside{- 6}}

Looking at the −6\inside{-6} makes it tempting to shift right by 66, but the multiplier 2\inside{2} affects the shift as well.

Inside Multiplication and Shift Together
y\displaystyle y =2x−6\displaystyle = \sqrt{\inside{2}x \inside{- 6}}
Horizontal shift\displaystyle \text{Horizontal shift} =  ?\displaystyle = \;?
Text solution
Set the inside equal to old x\text{old } x and solve for xxFor the square root to receive the same input as before, we set the entire inside expression equal to old x\text{old } x and solve for xx.
2x−6=old x2x=old x+6x=old x+62=12(old x)+3\displaystyle \begin{aligned} \inside{2}x \inside{- 6} &= \text{old } x \\ \inside{2}x &= \text{old } x \inside{+ 6} \\ x &= \frac{\text{old } x \inside{+ 6}}{\inside{2}} = \inside{\frac{1}{2}}(\text{old } x) \inside{+ 3} \end{aligned}
Or factor out the 2\inside{2} on the inside firstFactoring the multiplier 2\inside{2} out of 2x−6\inside{2}x \inside{- 6} shows the true shift directly on xx.
y\displaystyle y =2x−6\displaystyle = \sqrt{\inside{2}x \inside{- 6}} =2(x−3)\displaystyle = \sqrt{\inside{2}(x \inside{- 3})}

So every xx-coordinate is divided by 2\inside{2} and then shifted right by 3\inside{3}, moving the starting point (0,0)(0, 0) to (3,0)\newpt{(3, 0)} rather than (6,0)(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\displaystyle y =12f(x−1)−3\displaystyle = \outside{\frac{1}{2}}f(x \inside{- 1}) \outside{- 3}

from a drawn graph of y=f(x)y = f(x) where we only know the corners (−2,0)(-2, 0), (0,4)(0, 4), and (4,2)(4, 2), or find where a single point (6,−10)(6, -10) on y=f(x)y = f(x) moves on y=3f(2x−4)+1y = \outside{3}f(\inside{2}x \inside{- 4}) \outside{+ 1}.

x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(−2, 0)(-2,\ 0)
(0, 4)(0,\ 4)
(4, 2)(4,\ 2)
y=f(x)y = f(x)
(−1, −3)\htmlClass{lc-blue}{(-1,\ -3)}
(1, −1)\htmlClass{lc-blue}{(1,\ -1)}
(5, −2)\htmlClass{lc-blue}{(5,\ -2)}
y=12f(x−1)−3y = \htmlClass{lc-violet}{\tfrac{1}{2}}f(x \htmlClass{lc-pink}{- 1}) \htmlClass{lc-violet}{- 3}
Transforming a Function Without a Formula
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=12f(x−1)−3y = \htmlClass{lc-violet}{\dfrac{1}{2}}f(x \htmlClass{lc-pink}{- 1}) \htmlClass{lc-violet}{- 3}
y=f(x)y = f(x)
(−2, 0)(-2,\ 0)
(0, 4)(0,\ 4)
(4, 2)(4,\ 2)
Text solution
Add 1\inside{1} to each corner's xx-coordinate for y=12f(x−1)−3y = \outside{\frac{1}{2}}f(x \inside{- 1}) \outside{- 3}The x−1x \inside{- 1} inside the parentheses of f( )f(\ ) shifts each corner's xx-coordinate right 1\inside{1}.
−2+1=−10+1=14+1=5\displaystyle \begin{aligned} -2 \inside{+ 1} &= \newpt{-1} \\ 0 \inside{+ 1} &= \newpt{1} \\ 4 \inside{+ 1} &= \newpt{5} \end{aligned}
Multiply each corner's yy-coordinate by 12\outside{\frac{1}{2}}, then subtract 3\outside{3}The numbers outside f( )f(\ ) cut each corner's height in half before shifting it down 3\outside{3}.
0×12−3=0−3=−34×12−3=2−3=−12×12−3=1−3=−2\displaystyle \begin{aligned} 0 \times \outside{\frac{1}{2}} \outside{- 3} &= 0 \outside{- 3} = \newpt{-3} \\ 4 \times \outside{\frac{1}{2}} \outside{- 3} &= 2 \outside{- 3} = \newpt{-1} \\ 2 \times \outside{\frac{1}{2}} \outside{- 3} &= 1 \outside{- 3} = \newpt{-2} \end{aligned}
So the three corners of y=12f(x−1)−3y = \outside{\frac{1}{2}}f(x \inside{- 1}) \outside{- 3} land at (−1,−3)\newpt{(-1, -3)}, (1,−1)\newpt{(1, -1)}, and (5,−2)\newpt{(5, -2)}, connected by straight line segments.
Now for the single point (6,−10)(6, -10) moving onto y=3f(2x−4)+1y = \outside{3}f(\inside{2}x \inside{- 4}) \outside{+ 1}:
Set the inside equal to the old xx-coordinate 66To use f(6)f(6), we make the expression inside the parentheses equal 66.
2x−4=62x=10x=5\displaystyle \begin{aligned} \inside{2}x \inside{- 4} &= 6 \\ \inside{2}x &= 10 \\ x &= \newpt{5} \end{aligned}
Multiply the old yy-coordinate −10-10 by 3\outside{3}, then add 1\outside{1}Because f(6)=−10f(6) = -10, the outside operations act directly on −10-10.
y\displaystyle y =3(−10)+1\displaystyle = \outside{3}(-10) \outside{+ 1} =−30+1\displaystyle = -30 \outside{+ 1} =−29\displaystyle = \newpt{-29}

So the point (6,−10)(6, -10) on y=f(x)y = f(x) must land at (5,−29)\newpt{(5, -29)} on y=3f(2x−4)+1y = \outside{3}f(\inside{2}x \inside{- 4}) \outside{+ 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)\newpt{(-2, 5)} that passes through (−1,2)\newpt{(-1, 2)}, we want to build its equation from the parent function y=∣x∣y = |x|.

x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0, 0)(0,\ 0)
11
11
(1, 1)(1,\ 1)
y=∣x∣y = |x|
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(−2, 5)\htmlClass{lc-blue}{(-2,\ 5)}
11
−3\htmlClass{lc-violet}{-3}
(−1, 2)\htmlClass{lc-blue}{(-1,\ 2)}
Writing an Equation from a Transformed Graph
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=  ?y = \;?
(−2, 5)\htmlClass{lc-blue}{(-2,\ 5)}
(−1, 2)\htmlClass{lc-blue}{(-1,\ 2)}
Text solution
Find the shifts from where (0,0)(0, 0) movedA stretch or flip of the parent graph keeps its corner at (0,0)(0, 0). To move the corner to (−2,5)\newpt{(-2, 5)} afterward, shift left 2\inside{2} (an inside +2\inside{+2}) and up 5\outside{5} (an outside +5\outside{+5}).
∣x+2∣+5\displaystyle |x \inside{+ 2}| \outside{+ 5}
Find the outside multiplier from a 11-unit horizontal stepStepping 11 unit right from the corner normally changes the height by +1+1 on y=∣x∣y = |x|, while stepping 11 unit right from (−2,5)\newpt{(-2, 5)} to (−1,2)\newpt{(-1, 2)} changes the height by −3\outside{-3}.
y\displaystyle y =−3∣x+2∣+5\displaystyle = \outside{-3}|x \inside{+ 2}| \outside{+ 5}

So the equation of the transformed graph is y=−3∣x+2∣+5y = \outside{-3}|x \inside{+ 2}| \outside{+ 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 11 from the corner goes down 3\outside{3}, the multiplier in front stays −3\outside{-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 x2x^2, x\sqrt{x}, ∣x∣|x|, or an unknown f(x)f(x)) and moving a few key points (x,y)(x, y) one coordinate at a time.

Outside the box changes yy directly in PEMDAS order

Numbers outside act after the function on the height yy: multiply old y\text{old } y first, then add or subtract at the end. On y=−2x+3+4y = \outside{-2}\sqrt{x \inside{+ 3}} \outside{+ 4}, each height becomes new y=−2(old y)+4\newpt{\text{new } y} = \outside{-2}(\text{old } y) \outside{+ 4}.

Inside the box changes xx in reverse so the box receives old x\text{old } x

When there is only one number inside, just do the opposite operation to xx: for y=(x−3)2y = (x \inside{- 3})^2, add 3\inside{3} to xx; for y=2xy = \sqrt{\inside{2}x}, divide xx by 2\inside{2}. When both multiplication and addition are inside, like in y=2x−6y = \sqrt{\inside{2}x \inside{- 6}}, either solve 2x−6=old x\inside{2}x \inside{- 6} = \text{old } x to get x=12(old x)+3x = \inside{\frac{1}{2}}(\text{old } x) \inside{+ 3}, or factor out the 2\inside{2} first as 2(x−3)\sqrt{\inside{2}(x \inside{- 3})} so you shift by 3\inside{3} instead of 66.

For a transformed absolute-value graph, start with its corner

A stretch or flip of y=∣x∣y = |x| keeps its corner at (0,0)(0, 0). Use the new corner to write the inside shift (opposite sign) and outside shift (same sign), then step 11 unit horizontally from that corner to read the outside multiplier from the change in height.

7

Practice

1

Starting with the points (0,0)(0, 0), (1,1)(1, 1), and (2,4)(2, 4) on y=x2y = x^2, find the corresponding points on the graph of y=12(x−4)2−3y = \frac{1}{2}(x - 4)^2 - 3.

Handle xx and yy separately: when an output leaves the squaring box, which outside operation acts on yy first?

Add 4\inside{4} to each xx-coordinate for the inside x−4x \inside{- 4}:
0+4=41+4=52+4=6\displaystyle \begin{aligned} 0 \inside{+ 4} &= \newpt{4} \\ 1 \inside{+ 4} &= \newpt{5} \\ 2 \inside{+ 4} &= \newpt{6} \end{aligned}
For the outside changes on yy, multiply by 12\outside{\frac{1}{2}} before subtracting 3\outside{3} (watch out: subtracting 3\outside{3} before multiplying by 12\outside{\frac{1}{2}} goes against PEMDAS and gives the wrong points (4,−32)(4, -\frac{3}{2}), (5,−1)(5, -1), and (6,12)(6, \frac{1}{2})):
0×12−3=0−3=−31×12−3=12−3=−524×12−3=2−3=−1\displaystyle \begin{aligned} 0 \times \outside{\frac{1}{2}} \outside{- 3} &= 0 \outside{- 3} = \newpt{-3} \\ 1 \times \outside{\frac{1}{2}} \outside{- 3} &= \frac{1}{2} \outside{- 3} = \newpt{-\frac{5}{2}} \\ 4 \times \outside{\frac{1}{2}} \outside{- 3} &= 2 \outside{- 3} = \newpt{-1} \end{aligned}
Answer: (4,−3)(4, -3), (5,−52)(5, -\frac{5}{2}), and (6,−1)(6, -1)
2

Starting with the points (0,0)(0, 0), (1,1)(1, 1), and (4,2)(4, 2) on y=xy = \sqrt{x}, find the corresponding points on the graph of y=−12xy = \sqrt{-\frac{1}{2}x}.

Nothing is outside the square root, so only xx changes. What must you multiply old x\text{old } x by so that −12x=old x-\frac{1}{2}x = \text{old } x?

Set the inside equal to old x\text{old } x to see the opposite operation on xx (watch out: multiplying the xx-coordinates by −12\inside{-\frac{1}{2}} instead of dividing by −12\inside{-\frac{1}{2}} forgets that inside does the opposite, giving the wrong points (0,0)(0, 0), (−12,1)(-\frac{1}{2}, 1), and (−2,2)(-2, 2)):
−12x\displaystyle \inside{-\frac{1}{2}}x =old x⟶x\displaystyle = \text{old } x \quad \longrightarrow \quad x =−2(old x)\displaystyle = \inside{-2}(\text{old } x)
Multiply each xx-coordinate by −2\inside{-2} while keeping the yy-coordinates unchanged:
0×(−2)=01×(−2)=−24×(−2)=−8\displaystyle \begin{aligned} 0 \times \inside{(-2)} &= \newpt{0} \\ 1 \times \inside{(-2)} &= \newpt{-2} \\ 4 \times \inside{(-2)} &= \newpt{-8} \end{aligned}
Answer: (0,0)(0, 0), (−2,1)(-2, 1), and (−8,2)(-8, 2)
3

Starting with the points (0,0)(0, 0), (1,1)(1, 1), and (4,2)(4, 2) on y=xy = \sqrt{x}, find the corresponding points on the graph of y=−32x+8+1y = -3\sqrt{2x + 8} + 1.

Both multiplication and addition are inside the square root; set 2x+8=old x2x + 8 = \text{old } x to find how xx changes.

Set the inside equal to old x\text{old } x and solve for xx (watch out: subtracting 8\inside{8} from xx without dividing that shift by 2\inside{2} gives the wrong xx-coordinates and leads to (−8,1)(-8, 1), (−152,−2)(-\frac{15}{2}, -2), and (−6,−5)(-6, -5)):
2x+8=old x2x=old x−8x=old x−82\displaystyle \begin{aligned} \inside{2}x \inside{+ 8} &= \text{old } x \\ \inside{2}x &= \text{old } x \inside{- 8} \\ x &= \frac{\text{old } x \inside{- 8}}{\inside{2}} \end{aligned}
Plug in each old xx-coordinate:
0−82=−82=−41−82=−724−82=−42=−2\displaystyle \begin{aligned} \frac{0 \inside{- 8}}{\inside{2}} &= \frac{-8}{\inside{2}} = \newpt{-4} \\ \frac{1 \inside{- 8}}{\inside{2}} &= \newpt{-\frac{7}{2}} \\ \frac{4 \inside{- 8}}{\inside{2}} &= \frac{-4}{\inside{2}} = \newpt{-2} \end{aligned}
Multiply each old yy-coordinate by −3\outside{-3}, then add 1\outside{1}:
0×(−3)+1=0+1=11×(−3)+1=−3+1=−22×(−3)+1=−6+1=−5\displaystyle \begin{aligned} 0 \times \outside{(-3)} \outside{+ 1} &= 0 \outside{+ 1} = \newpt{1} \\ 1 \times \outside{(-3)} \outside{+ 1} &= -3 \outside{+ 1} = \newpt{-2} \\ 2 \times \outside{(-3)} \outside{+ 1} &= -6 \outside{+ 1} = \newpt{-5} \end{aligned}
Answer: (−4,1)(-4, 1), (−72,−2)(-\frac{7}{2}, -2), and (−2,−5)(-2, -5)
4

The graph of y=f(x)y = f(x) is made of two line segments connecting the corners (−4,2)(-4, 2), (0,−2)(0, -2), and (2,6)(2, 6). Find the three corner points on the graph of y=−2f(x+3)+5y = -2f(x + 3) + 5.

Treat f( )f(\ ) as the function box: how does x+3x + 3 inside change the xx-coordinates, and in what order do −2-2 and +5+5 change the yy-coordinates?

For x+3x \inside{+ 3} inside f( )f(\ ), subtract 3\inside{3} from each corner's xx-coordinate (watch out: adding 3\inside{3} instead of subtracting 3\inside{3} forgets that inside does the opposite and gives the wrong corners (−1,1)(-1, 1), (3,9)(3, 9), and (5,−7)(5, -7)):
−4−3=−70−3=−32−3=−1\displaystyle \begin{aligned} -4 \inside{- 3} &= \newpt{-7} \\ 0 \inside{- 3} &= \newpt{-3} \\ 2 \inside{- 3} &= \newpt{-1} \end{aligned}
For the outside changes on yy, multiply each corner's yy-coordinate by −2\outside{-2} and then add 5\outside{5}:
2×(−2)+5=−4+5=1−2×(−2)+5=4+5=96×(−2)+5=−12+5=−7\displaystyle \begin{aligned} 2 \times \outside{(-2)} \outside{+ 5} &= -4 \outside{+ 5} = \newpt{1} \\ -2 \times \outside{(-2)} \outside{+ 5} &= 4 \outside{+ 5} = \newpt{9} \\ 6 \times \outside{(-2)} \outside{+ 5} &= -12 \outside{+ 5} = \newpt{-7} \end{aligned}
Answer: (−7,1)(-7, 1), (−3,9)(-3, 9), and (−1,−7)(-1, -7)
5

The point (9,−8)(9, -8) is on the graph of y=f(x)y = f(x). Which point must be on the graph of y=12f(3x+6)−4y = \frac{1}{2}f(3x + 6) - 4?

What value of xx makes the inside expression 3x+63x + 6 equal 99?

Set the inside expression equal to the old xx-coordinate 99 and solve for xx (watch out: plugging 99 directly into 3x+6\inside{3}x \inside{+ 6} calculates 3(9)+6=333(9) + 6 = 33 instead of solving for xx, which gives the wrong point (33,−8)(33, -8)):
3x+6=93x=3x=1\displaystyle \begin{aligned} \inside{3}x \inside{+ 6} &= 9 \\ \inside{3}x &= 3 \\ x &= \newpt{1} \end{aligned}
Multiply the old yy-coordinate −8-8 by 12\outside{\frac{1}{2}}, then subtract 4\outside{4}:
y\displaystyle y =12(−8)−4\displaystyle = \outside{\frac{1}{2}}(-8) \outside{- 4} =−4−4\displaystyle = -4 \outside{- 4} =−8\displaystyle = \newpt{-8}
Answer: (1,−8)(1, -8)
6

A V-shaped graph transformed from y=∣x∣y = |x| has its corner at (3,−4)(3, -4) and passes through (4,−2)(4, -2) and (2,−2)(2, -2). Write the equation of the graph.

Use the corner (3,−4)(3, -4) to find the inside and outside shifts first, then check how much the height changes when stepping 11 unit right from x=3x = 3 to x=4x = 4.

The corner moved from (0,0)(0, 0) to (3,−4)\newpt{(3, -4)}, which is a shift right 3\inside{3} and down 4\outside{4}. Put the horizontal shift inside with the opposite sign and the vertical shift outside with the same sign (watch out: using +3+3 inside for a shift to the right gives the wrong equation y=2∣x+3∣−4y = 2|x + 3| - 4):
∣x−3∣−4\displaystyle |x \inside{- 3}| \outside{- 4}
Moving 11 unit right from the corner at (3,−4)\newpt{(3, -4)} to (4,−2)\newpt{(4, -2)} changes the height by
−2−(−4)\displaystyle \newpt{-2} - (\newpt{-4}) =+2\displaystyle = \outside{+2}
instead of +1+1, so the outside multiplier in front of the absolute value is 2\outside{2}.
Answer: y=2∣x−3∣−4y = 2|x - 3| - 4