Transformations of Functions in Precalculus

Master function transformations: vertical and horizontal shifts, reflections, stretches, and compressions with detailed exercises and visual representations.

Solution: Exercises 1 to 3
1 Vertical Shifts
Exercise 1
Given f(x) = x², graph g(x) = x² + 3 and h(x) = x² - 2.
Describe the transformations and compare the graphs.
Definition:

Vertical Shift: Adding or subtracting a constant to a function results in shifting the graph up or down. If g(x) = f(x) + k, the graph shifts k units vertically.

Transformation Method:
  1. Identify the base function f(x) = x²
  2. Recognize that adding a constant shifts the graph vertically
  3. Positive constants shift up, negative constants shift down
  4. Each point (x, y) becomes (x, y + k)
Base Function
f(x) = x²
Upward Shift
g(x) = x² + 3
Downward Shift
h(x) = x² - 2
Step 1: Identify the base function

f(x) = x² is the parent quadratic function with vertex at (0, 0)

Step 2: Analyze g(x) = x² + 3

This adds 3 to every output value

Every point (x, y) on f(x) becomes (x, y + 3) on g(x)

The parabola shifts 3 units upward

Step 3: Analyze h(x) = x² - 2

This subtracts 2 from every output value

Every point (x, y) on f(x) becomes (x, y - 2) on h(x)

The parabola shifts 2 units downward

Step 4: Compare key points

Original: f(0) = 0 → (0, 0)

Shifted up: g(0) = 0 + 3 = 3 → (0, 3)

Shifted down: h(0) = 0 - 2 = -2 → (0, -2)

Step 5: Identify new vertices

g(x) = x² + 3 has vertex at (0, 3)

h(x) = x² - 2 has vertex at (0, -2)

Transformation Rules:
g(x) = f(x) + k: shift k units up (k > 0) or |k| units down (k < 0)
g(x) = x² + 3: vertex moves from (0, 0) to (0, 3)
h(x) = x² - 2: vertex moves from (0, 0) to (0, -2)
Shape remains unchanged, only position changes
Final answer:

g(x) = x² + 3 shifts the parabola 3 units up, while h(x) = x² - 2 shifts it 2 units down. Both transformations preserve the shape and orientation of the parabola.

Applied rules:

• Vertical shift rule: f(x) + k shifts graph k units vertically

• Preservation: Vertical shifts don't change the function's shape or width

• Vertex movement: For quadratic functions, vertex moves vertically by k units

• Domain: Vertical shifts don't affect the domain of the function

2 Horizontal Shifts
Exercise 2
Given f(x) = x², graph g(x) = (x - 2)² and h(x) = (x + 3)².
Describe the transformations and compare the graphs.
Definition:

Horizontal Shift: Adding or subtracting a constant inside the function argument results in shifting the graph left or right. If g(x) = f(x - h), the graph shifts h units horizontally.

Base Function
f(x) = x²
Right Shift
g(x) = (x - 2)²
Left Shift
h(x) = (x + 3)²
Step 1: Identify the base function

f(x) = x² is the parent quadratic function with vertex at (0, 0)

Step 2: Analyze g(x) = (x - 2)²

This replaces x with (x - 2), shifting the graph 2 units to the right

Every point (x, y) on f(x) becomes (x + 2, y) on g(x)

The parabola shifts 2 units right

Step 3: Analyze h(x) = (x + 3)²

This replaces x with (x + 3), which is equivalent to (x - (-3)), shifting the graph 3 units to the left

Every point (x, y) on f(x) becomes (x - 3, y) on h(x)

The parabola shifts 3 units left

Step 4: Compare key points

Original: f(0) = 0 → vertex at (0, 0)

Shifted right: g(2) = (2-2)² = 0 → vertex at (2, 0)

Shifted left: h(-3) = (-3+3)² = 0 → vertex at (-3, 0)

Step 5: Identify new vertices

g(x) = (x - 2)² has vertex at (2, 0)

h(x) = (x + 3)² has vertex at (-3, 0)

Step 6: Understand the counterintuitive pattern

For f(x - h): positive h shifts right, negative h shifts left

This is counterintuitive because we subtract h from x, so we need to move the graph in the opposite direction

Transformation Rules:
g(x) = f(x - h): shift h units right (h > 0) or |h| units left (h < 0)
g(x) = (x - 2)²: vertex moves from (0, 0) to (2, 0)
h(x) = (x + 3)²: vertex moves from (0, 0) to (-3, 0)
Shape remains unchanged, only horizontal position changes
Final answer:

g(x) = (x - 2)² shifts the parabola 2 units right, while h(x) = (x + 3)² shifts it 3 units left. The horizontal shift affects the x-coordinate of the vertex.

Applied rules:

• Horizontal shift rule: f(x - h) shifts graph h units horizontally

• Counterintuitive direction: f(x - h) moves right when h > 0

• Preservation: Horizontal shifts don't change the function's shape or vertical position

• Domain: Horizontal shifts don't affect the domain of the function

3 Reflections
Exercise 3
Given f(x) = x², graph g(x) = -x² and h(x) = (-x)².
Describe the reflections and compare the graphs.
Definition:

Reflection: Multiplying a function by -1 reflects it across an axis. -f(x) reflects across the x-axis, and f(-x) reflects across the y-axis.

Base Function
f(x) = x²
X-axis Reflection
g(x) = -x²
Y-axis Reflection
h(x) = (-x)²
Step 1: Analyze g(x) = -x²

This multiplies the output by -1: g(x) = -f(x)

Every point (x, y) on f(x) becomes (x, -y) on g(x)

This is a reflection across the x-axis

Step 2: Analyze h(x) = (-x)²

This replaces x with -x: h(x) = f(-x)

Every point (x, y) on f(x) becomes (-x, y) on h(x)

This is a reflection across the y-axis

Step 3: Simplify h(x) = (-x)²

h(x) = (-x)² = x²

For the quadratic function f(x) = x², f(-x) = f(x), so h(x) = f(x)

This function is symmetric about the y-axis

Step 4: Compare g(x) = -x² with f(x) = x²

Original: f(x) = x² opens upward

Reflected: g(x) = -x² opens downward

Vertex remains at (0, 0) but parabola opens in opposite direction

Step 5: Compare h(x) = x² with f(x) = x²

Since h(x) = f(x), the graphs are identical

This demonstrates that f(x) = x² is an even function

Step 6: Generalize reflection patterns

-f(x): reflects across x-axis (multiplies y-coordinates by -1)

f(-x): reflects across y-axis (multiplies x-coordinates by -1)

Transformation Rules:
g(x) = -f(x): reflection across x-axis
h(x) = f(-x): reflection across y-axis
g(x) = -x²: parabola opens downward
h(x) = (-x)² = x²: identical to original (even function)
Reflections change orientation but preserve shape
Final answer:

g(x) = -x² reflects f(x) = x² across the x-axis, changing the direction of opening. h(x) = (-x)² equals f(x), showing that x² is symmetric about the y-axis.

Applied rules:

• X-axis reflection: -f(x) reflects across x-axis

• Y-axis reflection: f(-x) reflects across y-axis

• Even functions: f(-x) = f(x), symmetric about y-axis

• Shape preservation: Reflections maintain function shape

Transformation Techniques, Properties, and Methods
g(x) = af(b(x - h)) + k
General Transformation Formula
Vertical Shift
f(x) + k
Shifts graph k units vertically
Horizontal Shift
f(x - h)
Shifts graph h units horizontally
Vertical Stretch
af(x)
Stretches by factor |a|
Key Definitions:

Parent Function: The simplest form of a function family

Transformation: Change in position, size, or shape of a function's graph

Even Function: f(-x) = f(x), symmetric about y-axis

Odd Function: f(-x) = -f(x), symmetric about origin

Stretch/Compression: Changes function's vertical or horizontal scale

Transformation Strategy:
  1. Identify parent function: Recognize the base function being transformed
  2. Isolate transformations: Identify each transformation applied
  3. Apply order of operations: Horizontal shifts, reflections, stretches, vertical shifts
  4. Track key points: Apply transformations to important points
  5. Sketch transformed graph: Draw based on transformed key points
Tip 1: For horizontal transformations, the sign is counterintuitive: f(x - h) shifts right when h > 0.
Tip 2: Always apply transformations in the order: horizontal shifts, reflections, stretches/compressions, vertical shifts.
Tip 3: Use reference points like vertex of parabola or center of radical function to track transformations.
Tip 4: For |a| > 1 in af(x), it's a stretch; for 0 < |a| < 1, it's a compression.
Order of Operations: Horizontal shifts → Reflections → Stretches/Compressions → Vertical shifts.
Function Symmetry: Even functions satisfy f(-x) = f(x); odd functions satisfy f(-x) = -f(x).
Essential Formulas:

• Vertical shift: f(x) + k (up k units if k > 0)

• Horizontal shift: f(x - h) (right h units if h > 0)

• Vertical reflection: -f(x) (across x-axis)

• Horizontal reflection: f(-x) (across y-axis)

• Vertical stretch: af(x) (by factor |a|)

• Horizontal stretch: f(bx) (by factor 1/|b|)

Solution: Exercises 4 to 5
4 Vertical Stretches and Compressions
Exercise 4
Given f(x) = x², graph g(x) = 2x² and h(x) = (1/3)x².
Describe the transformations and compare the graphs.
Definition:

Vertical Stretch/Compression: Multiplying the function by a constant a results in vertical stretching if |a| > 1 or compression if 0 < |a| < 1.

Base Function
f(x) = x²
Vertical Stretch
g(x) = 2x²
Vertical Compression
h(x) = (1/3)x²
Step 1: Analyze g(x) = 2x²

This multiplies the output by 2: g(x) = 2·f(x)

Every point (x, y) on f(x) becomes (x, 2y) on g(x)

Since |2| > 1, this is a vertical stretch by factor 2

Step 2: Analyze h(x) = (1/3)x²

This multiplies the output by 1/3: h(x) = (1/3)·f(x)

Every point (x, y) on f(x) becomes (x, (1/3)y) on h(x)

Since 0 < |1/3| < 1, this is a vertical compression by factor 1/3

Step 3: Compare key points

Original: f(1) = 1 → point (1, 1)

Stretched: g(1) = 2(1) = 2 → point (1, 2)

Compressed: h(1) = (1/3)(1) = 1/3 → point (1, 1/3)

Step 4: Identify effect on shape

For g(x) = 2x²: parabola becomes narrower (steeper)

For h(x) = (1/3)x²: parabola becomes wider (flatter)

Vertex remains at (0, 0) for all functions

Step 5: Understand the general rule

For af(x): if |a| > 1, stretch vertically by factor |a|

For af(x): if 0 < |a| < 1, compress vertically by factor |a|

If a < 0, also reflect across x-axis

Step 6: Verify with multiple points

At x = 2: f(2) = 4, g(2) = 8, h(2) = 4/3

At x = -1: f(-1) = 1, g(-1) = 2, h(-1) = 1/3

Transformation Rules:
g(x) = 2f(x): vertical stretch by factor 2
h(x) = (1/3)f(x): vertical compression by factor 1/3
g(x) = 2x²: parabola narrower, steeper
h(x) = (1/3)x²: parabola wider, flatter
Vertex remains unchanged, only steepness changes
Final answer:

g(x) = 2x² creates a vertical stretch making the parabola narrower, while h(x) = (1/3)x² creates a vertical compression making it wider. Both transformations preserve the vertex location.

Applied rules:

• Vertical stretch: af(x) where |a| > 1 makes function steeper

• Vertical compression: af(x) where 0 < |a| < 1 makes function flatter

• Vertex preservation: Vertical stretches/compressions don't move vertex

• Direction preservation: Sign of leading coefficient determines opening direction

5 Combined Transformations
Exercise 5
Given f(x) = x², graph g(x) = -2(x + 1)² + 3.
Describe all transformations and compare the graphs.
Definition:

Combined Transformations: Multiple transformations applied to a function simultaneously. The general form is g(x) = a·f(b(x - h)) + k.

Base Function
f(x) = x²
Transformed
g(x) = -2(x + 1)² + 3
Parameters
a=-2, h=-1, k=3
Step 1: Identify transformation parameters

g(x) = -2(x + 1)² + 3 can be written as g(x) = -2·f(x - (-1)) + 3

So: a = -2, h = -1, k = 3

Original function: f(x) = x²

Step 2: List individual transformations

1. Horizontal shift: f(x - h) where h = -1 → shift left 1 unit

2. Vertical stretch and reflection: af(x) where a = -2 → stretch by factor 2 and reflect across x-axis

3. Vertical shift: f(x) + k where k = 3 → shift up 3 units

Step 3: Apply transformations in correct order

First: Horizontal shift f(x) → f(x + 1) [shift left 1]

Second: Stretch and reflect f(x + 1) → -2f(x + 1) [stretch by 2, reflect]

Third: Vertical shift -2f(x + 1) → -2f(x + 1) + 3 [shift up 3]

Step 4: Track the vertex transformation

Original vertex of f(x) = x²: (0, 0)

After left shift: (-1, 0)

After vertical stretch and reflection: (-1, 0) → (-1, 0) [y stays 0, but shape changes]

After vertical shift: (-1, 0) → (-1, 3)

New vertex: (-1, 3)

Step 5: Analyze the complete transformation

Starting function: f(x) = x², vertex at (0, 0), opens upward

Final function: g(x) = -2(x + 1)² + 3

Vertex: (-1, 3), opens downward (due to negative coefficient)

Stretched vertically by factor 2 (narrower than original)

Step 6: Verify with sample points

Let's check x = -1: g(-1) = -2(-1 + 1)² + 3 = -2(0)² + 3 = 3 → point (-1, 3)

Let's check x = 0: g(0) = -2(0 + 1)² + 3 = -2(1)² + 3 = -2 + 3 = 1 → point (0, 1)

Let's check x = -2: g(-2) = -2(-2 + 1)² + 3 = -2(-1)² + 3 = -2 + 3 = 1 → point (-2, 1)

Complete Transformation:
g(x) = -2(x + 1)² + 3 applies multiple transformations:
• Horizontal shift left 1 unit
• Vertical stretch by factor 2
• Reflection across x-axis
• Vertical shift up 3 units
New vertex: (-1, 3), opens downward, narrower
Final answer:

The function g(x) = -2(x + 1)² + 3 transforms f(x) = x² by shifting it left 1 unit, stretching it vertically by factor 2, reflecting it across the x-axis, and shifting it up 3 units. The final parabola has vertex at (-1, 3) and opens downward.

Applied rules:

• Order matters: Horizontal transformations first, then vertical

• General form: g(x) = a·f(b(x - h)) + k combines all transformations

• Vertex tracking: Apply transformations to key points systematically

• Verification: Test multiple points to confirm transformation accuracy

Function Transformations Summary and Guide
g(x) = a·f(b(x - h)) + k
General Transformation Formula
Key definitions:

Parent Function: The simplest function in a function family (e.g., f(x) = x², f(x) = √x, f(x) = |x|)

Transformation: A change to a function that affects its graph's position, size, or shape

Translation: A shift of the graph without changing its shape or orientation

Reflection: A flip of the graph across an axis

Stretch/Compression: A scaling of the graph that changes its width or height

Complete transformation methodology:
  1. Identify parent function: Recognize the basic function being transformed
  2. Isolate transformations: Separate horizontal and vertical transformations
  3. Apply transformations in order: Horizontal shifts, horizontal stretches/reflections, vertical stretches/reflections, vertical shifts
  4. Track key points: Apply each transformation to important reference points
  5. Verify results: Check that transformations produce expected changes
Tip 1: Remember that horizontal transformations work "opposite" to what the sign suggests: f(x - h) shifts right when h > 0.
Tip 2: Always perform transformations in the correct order to avoid errors: horizontal shifts, then stretches/reflections, then vertical shifts.
Tip 3: Use the vertex of a parabola or the center of a radical function as a reference point to track transformations.
Tip 4: For combined transformations, break them down into individual steps and apply them sequentially.
Transformation Order: Horizontal shifts → Horizontal stretches/reflections → Vertical stretches/reflections → Vertical shifts.
Stretch vs Compression: |a| > 1 creates stretch, 0 < |a| < 1 creates compression.
Essential formulas to know:

• Vertical shift: f(x) + k (up k units if k > 0, down |k| units if k < 0)

• Horizontal shift: f(x - h) (right h units if h > 0, left |h| units if h < 0)

• Vertical reflection: -f(x) (reflects across x-axis)

• Horizontal reflection: f(-x) (reflects across y-axis)

• Vertical stretch: af(x) (stretches by factor |a| if |a| > 1, compresses if 0 < |a| < 1)

• Horizontal stretch: f(bx) (compresses by factor |b| if |b| > 1, stretches by factor 1/|b| if 0 < |b| < 1)

• General form: g(x) = a·f(b(x - h)) + k combines all transformations

Questions & Answers

Question: I'm having trouble understanding why f(x - 2) shifts the graph to the right instead of the left. It seems backwards to me.

Answer: This is a very common source of confusion! Think of it this way:

Input perspective: When we write f(x - 2), we're asking "what input to the original function f would give us the same output as x?"

Example: If f(3) = 5 in the original function, then for g(x) = f(x - 2), we need g(5) = f(5 - 2) = f(3) = 5.

Visual result: The point that was originally at x = 3 is now at x = 5, which is 2 units to the right.

Memory trick: Think "to get the same y-value, I need a larger x-value", so the graph moves right. Alternatively, think of solving x - 2 = old_input, which gives x = old_input + 2, moving everything 2 units right.

Question: How do I determine the order in which to apply multiple transformations? Sometimes I get different answers depending on the order.

Answer: The correct order follows the order of operations for the expression g(x) = a·f(b(x - h)) + k:

  1. Horizontal shifts: Handle (x - h) first - shift left/right
  2. Horizontal stretches/reflections: Handle b(x - h) - stretch/compress horizontally and/or reflect across y-axis
  3. Vertical stretches/reflections: Handle a·f(...) - stretch/compress vertically and/or reflect across x-axis
  4. Vertical shifts: Handle + k last - shift up/down

Think of it as working from inside to outside of the function: first handle what's inside f(...), then what's multiplied by f(...), then what's added to f(...).

Example: For g(x) = 3f(2(x - 1)) - 4, the order is: right 1, horizontal compression by 1/2, vertical stretch by 3, down 4.

Question: How can I tell if a function is even, odd, or neither? What does this mean for transformations?

Answer: To determine if a function is even, odd, or neither:

Even function: f(-x) = f(x) for all x in domain. Symmetric about y-axis.

Odd function: f(-x) = -f(x) for all x in domain. Symmetric about origin.

Neither: Doesn't satisfy either condition.

Examples:

  • f(x) = x² is even: f(-x) = (-x)² = x² = f(x)
  • f(x) = x³ is odd: f(-x) = (-x)³ = -x³ = -f(x)
  • f(x) = x² + x is neither: f(-x) = (-x)² + (-x) = x² - x ≠ f(x) and ≠ -f(x)

For transformations: Even/odd properties can be preserved or lost depending on the transformation. For example, if f(x) is even, then af(x) + k is still even, but f(x - h) is only even if h = 0.