algebraunstuck.com

Unit 2 · Transformations & graphs

Combining transformations

About 15 minFree, no account needed
Goal
Read and apply several transformations at once: inside shift, then stretch or reflect, then up or down.

In g(x)=a f(x−h)+kg(x) = a\,f(x - h) + k every number has one job:

  • hh: left/right shift (opposite sign)
  • aa: stretch, compress, or reflect over the x-axis
  • kk: up/down shift

To move a point (x,y)(x, y): the new x is x+hx + h, the new y is a y+ka\,y + k. Multiply before you add.

xy−5−4−3−2−11234−5−4−3−2−112345f(−1, 3)
g(x) = −2|x + 1| + 3: left 1, stretched by 2, flipped, up 3.

Example 1

−2(x + 1)² + 3: read each number's job

g(x)=−2(x+1)2+3g(x)=\mv{a}{-2}(\mv{h}{x+1})^2\mv{k}{+3}
  1. Inside, x + 1: shift left 1

    x+1⇒left 1\mv{h}{x+1}\Rightarrow\text{left }1
  2. Factor −2: stretch by 2, reflect over the x-axis

    a=−2⇒stretch by 2, flip\mv{a}{a=-2}\Rightarrow\text{stretch by }2\text{, flip}
  3. Outside, +3: shift up 3

    k=3⇒up 3\mv{k}{k=3}\Rightarrow\text{up }3
  4. The vertex (0, 0) of x² lands here

    V=(−1,3)V=(-1,3)

Check: g(−1) = −2(0)² + 3 = 3, the highest point ✓

Example 2

(4, 2) under −3f(x − 1) + 2: multiply before adding

(4,2) on y=f(x);y=−3f(x−1)+2(4,2)\text{ on }y=f(x);\quad y=-3f(x-1)+2
  1. x − 1 inside: shift right 1

    x: 4→4+1=5x:\ 4\to4+1=\mv{x}{5}
  2. Outside: multiply by −3 first, then add 2

    y: 2→−3(2)+2=−4y:\ 2\to-3(2)+2=\mv{y}{-4}
  3. Put the new coordinates together

    (x,y)=(5,−4)(x,y)=(\mv{x}{5},\mv{y}{-4})

Check: −3f(5 − 1) + 2 = −3(2) + 2 = −4 ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.