Question

How to write a transformed quadratic function after a horizontal stretch and vertical shift

Original question: 6. The function ff is defined by f(x)=x2+3x4f(x)=x^2+3x-4

The graph of y=g(x)y=g(x) is obtained by transforming the graph y=f(x)y=f(x) that follows :

Case A

  • a horizontal stretch by scale factor 2
  • a translation of 3 units to the negative yy-axis Find the expression of g(x)g(x) in terms of f(x)f(x).

[2]

Case B

  • a translation of 3 units to the negative yy-axis
  • a horizontal stretch by scale factor 2 Find the expression of g(x)g(x) in terms of f(x)f(x).

[2]

What can you compare from case A and case B?

[1]

Expert Verified Solution

thumb_up100%(1 rated)

Answer

For Case A, the expression is g(x)=f(12x)3g(x) = f(\frac{1}{2}x) - 3. For Case B, the expression is g(x)=f(12(x))3g(x) = f(\frac{1}{2}(x)) - 3, or more precisely, g(x)=f(12(x+3)3)g(x) = f(\frac{1}{2}(x+3) - 3) depending on whether the translation is applied before or after the stretch; however, as defined, they result in different mappings.

Explanation

  1. Analyzing Case A (Horizontal Stretch then Translation) A horizontal stretch by a scale factor of k=2k=2 corresponds to the transformation xx2x \to \frac{x}{2}. A vertical translation of 3 units downwards is represented by yy3y \to y - 3. g(x)=f(12x)3g(x) = f\left(\frac{1}{2}x\right) - 3 This formula shows that we replace the input xx with half its value and then shift the entire output function down by three units. ⚠️ This step is required on exams as it correctly identifies the order of operations for transformations.

  2. Analyzing Case B (Translation then Horizontal Stretch) A translation of 3 units in the negative yy-direction is f(x)3f(x) - 3. Applying a horizontal stretch by a factor of 2 to the result of that translation requires replacing xx with x2\frac{x}{2} in the entire expression. g(x)=f(12x)3g(x) = f\left(\frac{1}{2}x\right) - 3 This indicates that even though the verbal order of operations was swapped, because the vertical shift is independent of the horizontal stretch, the resulting algebraic expression remains identical in this specific case.

  3. Comparison The following table highlights the nature of these transformations:

FeatureCase ACase B
Operation orderStretch then ShiftShift then Stretch
InteractionIndependentIndependent
Resulting Functionf(x2)3f(\frac{x}{2})-3f(x2)3f(\frac{x}{2})-3

The transformations commute because vertical translations and horizontal stretches act on different axes, meaning the vertical displacement does not scale when the horizontal stretch is applied.

Final Answer

The expressions for both cases are: g(x)=f(x2)3\boxed{g(x) = f\left(\frac{x}{2}\right) - 3}

Common Mistakes

  • Order of Operations: Students often think that changing the order of transformations always changes the function. While this is true for horizontal and vertical transformations on the same axis, vertical shifts and horizontal stretches are independent.
  • Stretch Factor Reciprocal: A common error is writing f(2x)f(2x) for a horizontal stretch of scale factor 2. Remember that the transformation xxkx \to \frac{x}{k} represents a stretch by factor kk.

FAQ

How do you write g(x) after a horizontal stretch by 2 and a shift down 3?

A horizontal stretch by factor 2 changes f(x) to f(x/2). A shift down 3 gives g(x)=f(x/2)-3.

Do the order of a horizontal stretch and vertical shift matter?

You should still track the order carefully, but for this example the final expression is the same: g(x)=f(x/2)-3.

chat