ironfern @ docs ~/math/grade-9/2-quadratic/transformations $

Graph Transformations

Transformations allow you to build new functions from familiar ones by shifting, stretching, compressing, or reflecting their graphs.

|
original: f(x) = sin transformed: y = 2.0·f(x)
k = 2.0
original f(x) transformed

Vertical Transformations

Theorem — Vertical Scaling and Reflection

Given y=f(x)y = f(x), the graph of y=kf(x)y = kf(x):

  • k>1k > 1: vertical stretch by factor kk (pulls away from xx-axis)
  • 0<k<10 < k < 1: vertical compression by factor kk (pushes toward xx-axis)
  • k<0k < 0: reflect over the xx-axis, then scale by k|k|

Example: y=3x2y = 3x^2 stretches y=x2y = x^2 vertically by 3. y=x2y = -x^2 reflects it over the xx-axis.

Horizontal Transformations

Theorem — Horizontal Scaling

The graph of y=f(kx)y = f(kx):

  • k>1k > 1: horizontal compression by factor 1/k1/k (squeezes toward yy-axis)
  • 0<k<10 < k < 1: horizontal stretch by factor 1/k1/k (pulls away from yy-axis)

Example: y=(2x)2=4x2y = (2x)^2 = 4x^2 compresses y=x2y = x^2 horizontally by 1/21/2.

Note the counterintuitive direction: multiplying the input by k>1k > 1 makes the graph narrower, not wider.

Translations (Shifts)

TransformationEffectExample with f(x)=x2f(x) = x^2
y=f(x)+by = f(x) + bShift up by bb (down if b<0b < 0)y=x2+3y = x^2 + 3: shift up 3
y=f(x+a)y = f(x + a)Shift left by aa (right if a<0a < 0)y=(x2)2y = (x - 2)^2: shift right 2
Theorem — Translations
  • y=f(x)+by = f(x) + b shifts the graph vertically by bb units.
  • y=f(x+a)y = f(x + a) shifts the graph horizontally by a-a units (left if a>0a > 0, right if a<0a < 0).

Absolute Value Transformations

TransformationEffectExample with f(x)=x24f(x) = x^2 - 4
y=f(x)y = \|f(x)\|Reflect all parts below the xx-axis upwardNegative portion of x24x^2 - 4 flips up
y=f(x)y = f(\|x\|)Keep the graph for x0x \geq 0, mirror it to the leftRight half of x24x^2 - 4 is mirrored

Combining Transformations

Note — Order Matters

When multiple transformations are combined, the order of operations matters. In general:

f(2x+1)2f(x)+1f(2x + 1) \neq 2f(x) + 1

Apply transformations in this order: (1) horizontal scaling, (2) horizontal shift, (3) vertical scaling, (4) vertical shift.

Exercise

Describe how to obtain y=2(x3)2+1y = 2(x - 3)^2 + 1 from y=x2y = x^2.

Hint: Identify the horizontal shift, vertical stretch, and vertical shift, then state the order in which they are applied.