MathLab with Mr. Ahmed

MathLab with Mr. Ahmed is a math learning website by Ahmed Amasha, a mathematics teacher teaching the American curriculum. Explore Algebra 2, Precalculus, Calculus, and SAT and PSAT Math Prep through lessons, focused practice and printable resources.

MathLabwith Mr. Ahmed
Free preview

2.6 Transformations of Functions

Track shifts of familiar function graphs.

Before you solve

Ideas in this lesson

Explore the lesson brief and the worked example for Idea 11. Create a free account to continue with the remaining ideas and practice.

Lesson brief and rules

2.6 Transformations of Functions

In y=(x−h)2+ky = (x - h)^{2} + k, the graph of y=x2y = x^{2} shifts horizontally by hh and vertically by kk. The vertex becomes (h,k)(h, k).

Remember
A plus inside the bracket gives a shift to the left: (x + 3)² has vertex (−3, 0).
Worked example 11
01 / A point P=(−2,0)P=(-2,0) lies on y=f(x)y=f(x), whose domain is [−3,5][-3,5] and range is [−2,7][-2,7]. For g(x)=f(x)+(3)g(x)=f(x)+(3), locate PP’s image and give the new domain and range.
02 / Only the output changes: (u,w)→(u,w+3)(u, w)\to (u, w+3).
03 / The mapped point is (−2,3)(-2,3).
04 / Inputs remain [−3,5][-3,5]; add 33 to both range endpoints.
Worked example 2 · Shift outputs vertically

A point P=(−1,1)P=(-1,1) lies on y=f(x)y=f(x), whose domain is [−3,5][-3,5] and range is [−2,7][-2,7]. For g(x)=f(x)+(−4)g(x)=f(x)+(-4), locate PP’s image and give the new domain and range.

Only the output changes: (u,w)→(u,w−4)(u, w)\to (u, w-4).
The mapped point is (−1,−3)(-1,-3).
Inputs remain [−3,5][-3,5]; add −4-4 to both range endpoints.

Read the graphs

Recover transformation formulas from actual graphs

The blue graph is f(x)=x2f(x)=x^{2}. The orange graph is gg, obtained by a horizontal shift followed by a positive vertical scale and vertical shift. Recover gg in terms of ff and give a corresponding explicit formula. Use the displayed scales and verify your rule algebraically.
Parent-family graph and its transformed graph-3-2-101234-10123456789xyfgfg

The characteristic point (( vertex, endpoint, or inflection )) moves horizontally by 11 and vertically by 44.
Compare an additional matched point: its change from the characteristic height is multiplied by 11.
Check matching points using (u,w)→(u+1,1w+4)(u, w)\to (u+1,1w+4); then substitute the stated ff into gg.

Answer: g(x)=f(x−1)+4g(x)=f(x-1)+4 == 1(x−1)2+41(x-1)^{2}+4

Transform unfamiliar graphs point by point

The graph is defined only on the shown closed polyline. Draw g(x)=2f(2(x−(−3)))+2g(x)=2f(2(x-(-3)))+2. Label every transformed vertex and give its domain.
Original restricted polyline with four closed vertices-4-3-2-101234-2-101234xyf
Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.

The point rule is (u,w)→(−3+u2,2w+2)(u, w)\to (-3+\frac{u}{2},2w+2).
Apply it to all four vertices: (−92,2)(- \dfrac{9}{2},2), (−72,8)(- \dfrac{7}{2},8), (−52,0)(- \dfrac{5}{2},0), (−32,6)(- \dfrac{3}{2},6).
Join the corresponding consecutive vertices with straight segments; keep both endpoint dots closed.
Written-work review:

  • Accurately read all original vertices from the SVG.
  • Correctly map all vertices and retain connectivity.
  • Draw closed endpoints and state the transformed domain.

Answer: Ordered transformed vertices (−92,2)(- \dfrac{9}{2},2), (−72,8)(- \dfrac{7}{2},8), (−52,0)(- \dfrac{5}{2},0), (−32,6)(- \dfrac{3}{2},6); domain [−(92),−(32)][- (\dfrac{9}{2}),- (\dfrac{3}{2})].

Complete even and odd graphs using symmetry

This graph is given only for x≥0x\ge 0. Draw two separate full graphs: an even extension and an odd extension. State the output at x=−1x=-1 for each. Explain why the point at x=0x=0 permits the odd extension.
Positive half of a graph to extend by symmetry-1012345-101234xypositive half
Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.

For the even extension, map (u,w)(u, w) to (−u,w)(-u, w).
For the odd extension, map (u,w)(u, w) to (−u,−w)(-u,-w).
At zero an odd function must satisfy f(0)=−f(0)f(0)=-f(0), hence f(0)=0f(0)=0, which the supplied graph does.
Written-work review:

  • Two separately labeled constructions.
  • Correct yy-axis reflection for even and origin reflection for odd.
  • Explain the necessary output zero at the origin.

Answer: Even output at −1-1: 33; odd output at −1-1: −3-3; f(0)=0f(0)=0 satisfies the odd condition.

Interpret transformations in real-world stories

The graph gives a walking group’s distance from its starting point (( meters )) versus time (( minutes )). Describe the original trip and calculate its outbound speed, then draw D(t)=(32)f(t)D(t)=(\frac{3}{2})f(t) and G(t)=f(t−3)G(t)=f(t-3). Give the new outbound speed for DD and the new starting time for GG.
Walk, pause, and return; horizontal minutes and vertical meters-1012345678910111213141505101520xyf
Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.

Rising distance means outward travel, flat means stopped, falling means returning.
Vertical scaling multiplies all distances and distance/time rates by (32)(\frac{3}{2}) while preserving times.
Replacing tt with t−3t-3 delays every event by 33 minutes; the pause duration remains 44 minutes.
Written-work review:

  • Interpret all three stages.
  • Draw both transformed graphs with labeled times and distances.
  • Correct speed, delay, and unchanged pause duration.

Answer: Walk 22m22 m in 5min⁡5 \min at 225\dfrac{22}{5} meters per minute, pause 4min⁡4 \min , return in 5min⁡5 \min ; DD speed 335\dfrac{33}{5} meters per minute; GG starts at 3min⁡3 \min .

15 questions with a worked answer for each.Start practice ↗
Textbook reference: Stewart, Redlin & Watson, Precalculus: Mathematics for Calculus, 7th ed. (Cengage, 2016). The explanations and practice here are original, organized by textbook section.