Solved Exercises on Stretches and Compressions in College Algebra

Master stretches and compressions: definition, applications, graphing transformations through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Vertical stretch
Exercise 1
Given \(f(x) = x^2\), write the equation for the function that vertically stretches the graph of \(f(x)\) by a factor of 3.
Definition:

Vertical stretch: Multiplying the function by a constant \(a > 1\) makes the graph taller and narrower

• Every point \((x, y)\) becomes \((x, ay)\)

• The transformation is: \(g(x) = af(x)\)

Stretch method:
  1. Start with the original function: \(f(x) = x^2\)
  2. Multiply the entire function by the stretch factor
  3. Simplify the resulting expression
Original function
\(f(x) = x^2\)
Multiply by factor
\(g(x) = 3f(x)\)
Substitute
\(g(x) = 3x^2\)
Step 1: Start with the original function

Given: \(f(x) = x^2\)

Step 2: Apply the vertical stretch by factor 3

For vertical stretch by factor \(a\): \(g(x) = af(x)\)

\(g(x) = 3f(x) = 3x^2\)

Step 3: Analyze the result

The original parabola becomes narrower and opens more steeply

\(g(x) = 3x^2\)
Final answer:

The equation is \(g(x) = 3x^2\)

Applied rules:

• Vertical stretch: \(g(x) = af(x)\) where \(a > 1\) stretches vertically

• Point transformation: \((x, y) \rightarrow (x, ay)\)

• Effect: Graph becomes taller and narrower

2 Horizontal compression
Exercise 2
Given \(f(x) = x^2\), write the equation for the function that horizontally compresses the graph of \(f(x)\) by a factor of 2.
Definition:

Horizontal compression: Replacing \(x\) with \(bx\) where \(b > 1\) makes the graph narrower

• Every point \((x, y)\) becomes \((\frac{x}{b}, y)\)

• The transformation is: \(g(x) = f(bx)\)

Original function
\(f(x) = x^2\)
Replace x with bx
\(g(x) = f(2x)\)
Substitute
\(g(x) = (2x)^2 = 4x^2\)
Step 1: Start with the original function

Given: \(f(x) = x^2\)

Step 2: Apply the horizontal compression by factor 2

For horizontal compression by factor \(b\): \(g(x) = f(bx)\)

\(g(x) = f(2x) = (2x)^2 = 4x^2\)

Step 3: Analyze the result

The graph becomes narrower, compressed toward the y-axis

\(g(x) = 4x^2\)
Final answer:

The equation is \(g(x) = 4x^2\)

Applied rules:

• Horizontal compression: \(g(x) = f(bx)\) where \(b > 1\) compresses horizontally

• Point transformation: \((x, y) \rightarrow (\frac{x}{b}, y)\)

• Effect: Graph becomes narrower

3 Vertical compression
Exercise 3
Given \(f(x) = x^2\), write the equation for the function that vertically compresses the graph of \(f(x)\) by a factor of 1/2.
Definition:

Vertical compression: Multiplying the function by a constant \(0 < a < 1\) makes the graph shorter and wider

• Every point \((x, y)\) becomes \((x, ay)\)

• The transformation is: \(g(x) = af(x)\)

Original function
\(f(x) = x^2\)
Multiply by factor
\(g(x) = \frac{1}{2}f(x)\)
Substitute
\(g(x) = \frac{1}{2}x^2\)
Step 1: Start with the original function

Given: \(f(x) = x^2\)

Step 2: Apply the vertical compression by factor 1/2

For vertical compression by factor \(a\): \(g(x) = af(x)\)

\(g(x) = \frac{1}{2}f(x) = \frac{1}{2}x^2\)

Step 3: Analyze the result

The graph becomes shorter and opens more gradually

\(g(x) = \frac{1}{2}x^2\)
Final answer:

The equation is \(g(x) = \frac{1}{2}x^2\)

Applied rules:

• Vertical compression: \(g(x) = af(x)\) where \(0 < a < 1\) compresses vertically

• Point transformation: \((x, y) \rightarrow (x, ay)\)

• Effect: Graph becomes shorter and wider

Stretch and Compression Transformations: Core Concepts
\(af(x)\)
Vertical Stretch/Compression
Vertical Stretch
\(af(x)\), \(a > 1\)
Make graph taller
Vertical Compression
\(af(x)\), \(0 < a < 1\)
Make graph shorter
Horizontal Stretch
\(f(bx)\), \(0 < b < 1\)
Make graph wider
Horizontal Compression
\(f(bx)\), \(b > 1\)
Make graph narrower
\(f(bx)\)
Horizontal Stretch/Compression
\(\text{Point: } (x,y) \rightarrow (x,ay) \text{ or } (\frac{x}{b},y)
Point Transformations
\(\text{Domain: } \mathbb{R}, \text{ Range: } [0, \infty) \text{ or } [0, a \cdot \infty)
Domain and Range Effects
Solution: Exercises 4 to 5
4 Horizontal stretch
Exercise 4
Given \(f(x) = x^2\), write the equation for the function that horizontally stretches the graph of \(f(x)\) by a factor of 3.
Definition:

Horizontal stretch: Replacing \(x\) with \(\frac{x}{b}\) where \(b > 1\) makes the graph wider

• Every point \((x, y)\) becomes \((bx, y)\)

• The transformation is: \(g(x) = f(\frac{x}{b})\)

Original function
\(f(x) = x^2\)
Replace x with x/b
\(g(x) = f(\frac{x}{3})\)
Substitute
\(g(x) = (\frac{x}{3})^2 = \frac{x^2}{9}\)
Step 1: Start with the original function

Given: \(f(x) = x^2\)

Step 2: Apply the horizontal stretch by factor 3

For horizontal stretch by factor \(b\): \(g(x) = f(\frac{x}{b})\)

\(g(x) = f(\frac{x}{3}) = (\frac{x}{3})^2 = \frac{x^2}{9}\)

Step 3: Analyze the result

The graph becomes wider, stretched away from the y-axis

\(g(x) = \frac{x^2}{9}\)
Final answer:

The equation is \(g(x) = \frac{x^2}{9}\)

Applied rules:

• Horizontal stretch: \(g(x) = f(\frac{x}{b})\) where \(b > 1\) stretches horizontally

• Point transformation: \((x, y) \rightarrow (bx, y)\)

• Effect: Graph becomes wider

5 Combined transformations
Exercise 5
Given \(f(x) = x^2\), write the equation for the function that vertically stretches by a factor of 2 and horizontally compresses by a factor of 1/3. Describe the overall transformation.
Definition:

Combined transformations: Multiple transformations applied simultaneously to achieve complex changes to the graph

Original function
\(f(x) = x^2\)
Vertical stretch by 2
\(2f(x) = 2x^2\)
Horizontal compression by 1/3
\(2f(3x) = 2(3x)^2\)
Simplify
\(g(x) = 18x^2\)
Step 1: Start with the original function

Given: \(f(x) = x^2\)

Step 2: Apply vertical stretch by factor 2

Vertical stretch: \(2f(x) = 2x^2\)

Step 3: Apply horizontal compression by factor 1/3

Horizontal compression by 1/3 means replace \(x\) with \(3x\):

\(g(x) = 2f(3x) = 2(3x)^2 = 2 \cdot 9x^2 = 18x^2\)

Step 4: Describe the overall transformation

The graph is made twice as tall (vertical stretch) and three times as narrow (horizontal compression), resulting in a much steeper parabola.

\(g(x) = 18x^2\)
Final answer:

The equation is \(g(x) = 18x^2\). The graph is vertically stretched by 2 and horizontally compressed by 1/3, making it much steeper.

Applied rules:

• Vertical stretch: Multiply function by factor > 1

• Horizontal compression: Replace \(x\) with \(bx\) where \(b > 1\)

• Combined effect: Both transformations amplify each other

Comprehensive Guide: Stretches and Compressions
\text{Vertical: } af(x) \quad \text{Horizontal: } f(bx)
Stretch and Compression Transformations
Key definitions:

Vertical stretch: A transformation that makes the graph taller by multiplying the function by a factor greater than 1

Vertical compression: A transformation that makes the graph shorter by multiplying the function by a factor between 0 and 1

Horizontal stretch: A transformation that makes the graph wider by replacing \(x\) with \(\frac{x}{b}\) where \(0 < b < 1\)

Horizontal compression: A transformation that makes the graph narrower by replacing \(x\) with \(bx\) where \(b > 1\)

Scale factor: The number that determines the magnitude of the stretch or compression

Complete methodology:
  1. Identify the original function: Start with the base function before transformations
  2. Determine the type of transformation: Decide if it's vertical or horizontal stretch/compression
  3. Apply the transformation: Use the appropriate formula with the correct scale factor
  4. Consider the effect on domain/range: Note how stretches/compressions affect the function's domain and range
  5. Verify the result: Check that the transformation achieves the desired effect
Tip 1: For vertical transformations, multiply the entire function by the scale factor: \(af(x)\).
Tip 2: For horizontal transformations, replace every \(x\) with \(\frac{x}{b}\) (stretch) or \(bx\) (compression).
Tip 3: Remember: for horizontal transformations, dividing by a number > 1 causes compression, multiplying causes stretch.
Tip 4: Stretches make graphs taller/wider; compressions make them shorter/narrower.
Common errors: Confusing vertical and horizontal transformations, forgetting to apply transformations to all terms, misidentifying stretch vs compression factors.
Exam preparation: Practice identifying transformations from equations, sketching transformed graphs, distinguishing between stretches and compressions.
Essential rules to remember:

• Vertical stretch: \(g(x) = af(x)\) where \(a > 1\) makes graph taller

• Vertical compression: \(g(x) = af(x)\) where \(0 < a < 1\) makes graph shorter

• Horizontal stretch: \(g(x) = f(\frac{x}{b})\) where \(0 < b < 1\) makes graph wider

• Horizontal compression: \(g(x) = f(bx)\) where \(b > 1\) makes graph narrower

• Point transformation: \((x, y) \rightarrow (x, ay)\) for vertical, \((x, y) \rightarrow (\frac{x}{b}, y)\) for horizontal

Exercise with Visualization: Stretch and Compression Transformations
Exercise 6: Comparing Different Transformations
Consider the following functions:
\(f_1(x) = x^2\) (Original)
\(f_2(x) = 2x^2\) (Vertical stretch by 2)
\(f_3(x) = \frac{1}{2}x^2\) (Vertical compression by 1/2)
\(f_4(x) = (2x)^2 = 4x^2\) (Horizontal compression by 1/2)
\(f_5(x) = (\frac{x}{2})^2 = \frac{x^2}{4}\) (Horizontal stretch by 2)

Analysis: The chart compares the behavior of different stretch and compression transformations.

  • \(f_1(x) = x^2\) is the original parabola
  • \(f_2(x) = 2x^2\) is vertically stretched, making it steeper
  • \(f_3(x) = \frac{1}{2}x^2\) is vertically compressed, making it flatter
  • \(f_4(x) = 4x^2\) is horizontally compressed, also making it steeper
  • \(f_5(x) = \frac{x^2}{4}\) is horizontally stretched, making it flatter

Questions & Answers

Question: How do I tell the difference between a horizontal compression and a horizontal stretch when looking at the equation? The notation seems similar.

Answer: The key is to look at the factor applied to the input variable:

Horizontal compression: \(f(bx)\) where \(b > 1\)

  • The factor \(b\) is greater than 1
  • Makes the graph narrower
  • Example: \(f(3x)\) compresses horizontally by factor 1/3

Horizontal stretch: \(f(\frac{x}{b})\) where \(b > 1\), or equivalently \(f(cx)\) where \(0 < c < 1\)

  • The factor is less than 1 when in the form \(f(cx)\)
  • Makes the graph wider
  • Example: \(f(\frac{x}{3})\) or \(f(0.5x)\) stretches horizontally

A helpful way to remember: If the coefficient of \(x\) is greater than 1, it's a compression. If it's between 0 and 1, it's a stretch.

For \(f(2x)\): compression by factor 1/2 (graph gets narrower)

For \(f(0.5x)\): stretch by factor 2 (graph gets wider)

Question: How do stretches and compressions affect the domain and range of a function?

Answer: Stretches and compressions affect domain and range differently:

Vertical transformations (af(x)):

  • Domain: Remains unchanged (horizontal extent stays the same)
  • Range: Gets multiplied by the scale factor
  • Example: For \(f(x) = x^2\) with range \([0, \infty)\), \(g(x) = 3x^2\) has range \([0, \infty)\) scaled by 3, which is still \([0, \infty)\) but with different y-values

Horizontal transformations (f(bx)):

  • Domain: Gets divided by the scale factor
  • Range: Remains unchanged (vertical extent stays the same)
  • Example: For \(f(x) = \sqrt{x}\) with domain \([0, \infty)\), \(g(x) = \sqrt{2x}\) has domain \([0, \infty)\) but the graph is compressed horizontally

For functions with finite domains (like \([a, b]\)), horizontal transformations scale the domain accordingly: \(f(2x)\) transforms domain \([a, b]\) to \([\frac{a}{2}, \frac{b}{2}]\).

Question: What happens when both vertical and horizontal transformations are applied simultaneously? How do I combine them?

Answer: When both transformations are applied, they combine multiplicatively. The general form is:

Combined transformation: \(g(x) = af(bx)\) or \(g(x) = af(\frac{x}{c})\)

Where:

  • \(a\) is the vertical scale factor
  • \(b\) or \(\frac{1}{c}\) is the horizontal scale factor

Example: If you vertically stretch by 2 and horizontally compress by 1/3:

  • Vertical stretch by 2: multiply by 2
  • Horizontal compression by 1/3: replace \(x\) with \(3x\)
  • Combined: \(g(x) = 2f(3x)\)

The effects compound: a vertical stretch makes the graph taller, while a horizontal compression makes it narrower, resulting in a much steeper curve.

Order doesn't matter mathematically, but conceptually you can think of applying them sequentially.