← College Algebra

College Algebra

Function Transformations

Lesson

Once you know the parent functions, you can build new functions by transforming them — shifting, reflecting, or stretching the graph. The rules are mechanical once you see the pattern.

Starting from any parent f(x)f(x), here’s what each operation does:

  • f(x)+kf(x) + k — shift up by kk (down if kk is negative).
  • f(xh)f(x - h) — shift right by hh. (Counterintuitive: minus inside moves the graph right.)
  • f(x)-f(x) — reflect across the xx-axis (flip vertically).
  • f(x)f(-x) — reflect across the yy-axis (flip horizontally).
  • af(x)a \cdot f(x) — stretch vertically by factor aa (compress if a<1|a| < 1).

Multiple transformations combine: in g(x)=af(xh)+kg(x) = a\cdot f(x - h) + k, the inside (xh)(x - h) shifts horizontally, the factor aa stretches and (if negative) reflects, and the +k+ k shifts vertically.

To evaluate a transformed function at a specific xx, just substitute and simplify.

Worked example 1

f(x)=x2,g(x)=f(x1)+4,g(3)=?f(x) = x^2,\quad g(x) = f(x - 1) + 4,\quad g(3) = ?

Substitute and simplify:

g(3)=f(31)+4=f(2)+4=4+4=8g(3) = f(3 - 1) + 4 = f(2) + 4 = 4 + 4 = 8

Worked example 2

g(x)=2(x1)2+5,g(2)=?g(x) = -2(x - 1)^2 + 5,\quad g(2) = ?

Plug in x=2x = 2:

g(2)=2(21)2+5=2(1)+5=3g(2) = -2(2 - 1)^2 + 5 = -2(1) + 5 = 3

How to type your answer

Type a single number. Negatives use a minus sign; fractions use a slash. Examples: 8, -1, 3/2.

Practice

Work through these. Stuck? Click Get a hint.

Warm-Up

Quick problems to get going.

Problem 1

f(x)=x2, g(x)=f(x)+3; g(2)=?f(x) = x^2,\ g(x) = f(x) + 3;\ g(2) = ?

Problem 2

f(x)=x2, g(x)=f(x1); g(4)=?f(x) = x^2,\ g(x) = f(x - 1);\ g(4) = ?

Problem 3

f(x)=x2, g(x)=f(x); g(3)=?f(x) = x^2,\ g(x) = -f(x);\ g(3) = ?

Problem 4

f(x)=x, g(x)=2f(x); g(5)=?f(x) = x,\ g(x) = 2f(x);\ g(5) = ?

Practice

Standard problems matching the lesson.

Problem 5

f(x)=x2, g(x)=f(x)5; g(3)=?f(x) = x^2,\ g(x) = f(x) - 5;\ g(3) = ?

Problem 6

f(x)=x2, g(x)=f(x+2); g(0)=?f(x) = x^2,\ g(x) = f(x + 2);\ g(0) = ?

Problem 7

f(x)=x, g(x)=f(x)+1; g(9)=?f(x) = \sqrt{x},\ g(x) = f(x) + 1;\ g(9) = ?

Problem 8

f(x)=x, g(x)=f(x4); g(13)=?f(x) = \sqrt{x},\ g(x) = f(x - 4);\ g(13) = ?

Problem 9

f(x)=x3, g(x)=f(x); g(2)=?f(x) = x^3,\ g(x) = -f(x);\ g(2) = ?

Problem 10

f(x)=x, g(x)=f(x3); g(7)=?f(x) = |x|,\ g(x) = f(x - 3);\ g(7) = ?

Problem 11

f(x)=x2, g(x)=3f(x); g(2)=?f(x) = x^2,\ g(x) = 3f(x);\ g(2) = ?

Problem 12

f(x)=x2, g(x)=f(x1)+4; g(3)=?f(x) = x^2,\ g(x) = f(x - 1) + 4;\ g(3) = ?

Problem 13

f(x)=x, g(x)=f(x); g(16)=?f(x) = \sqrt{x},\ g(x) = -f(x);\ g(16) = ?

Problem 14

f(x)=x, g(x)=2f(x)+1; g(3)=?f(x) = |x|,\ g(x) = 2f(x) + 1;\ g(-3) = ?

Challenge

Harder problems — edge cases, trickier numbers, multiple steps.

Problem 15

g(x)=(x+3)24; g(1)=?g(x) = (x + 3)^2 - 4;\ g(-1) = ?

Problem 16

g(x)=2(x1)2+5; g(2)=?g(x) = -2(x - 1)^2 + 5;\ g(2) = ?

Problem 17

g(x)=x+41; g(5)=?g(x) = \sqrt{x + 4} - 1;\ g(5) = ?

Problem 18

g(x)=x2+6; g(5)=?g(x) = -|x - 2| + 6;\ g(5) = ?

Problem 19

g(x)=(x1)3+2; g(3)=?g(x) = (x - 1)^3 + 2;\ g(3) = ?

Problem 20

f(x)=x2, g(x)=f(2x); g(3)=?f(x) = x^2,\ g(x) = f(2x);\ g(3) = ?

Problem 21

f(x)=x, g(x)=f ⁣(x4); g(36)=?f(x) = \sqrt{x},\ g(x) = f\!\left(\tfrac{x}{4}\right);\ g(36) = ?

Problem 22

g(x)=3x+14; g(2)=?g(x) = 3|x + 1| - 4;\ g(-2) = ?