Ctrl+k

Apply vertical and horizontal stretches and compressions

A learner interprets y=af(x)y=af(x) as a vertical scaling, with a>1|a|>1 stretching outputs and 0<a<10<|a|<1 compressing them, and y=f(bx)y=f(bx) as a horizontal scaling, whose factor is 1/b1/|b|: b>1|b|>1 compresses inputs and 0<b<10<|b|<1 stretches them. They can predict corresponding changes to key points, domain, range, and graph shape, understanding that horizontal factors act on input values rather than output values; this scope uses constant real scale factors and excludes more advanced generalized transformations.

Detailed Explanation: Apply vertical and horizontal stretches and compressions

A transformation of the form

y=af(x)y=af(x)

changes the outputs of ff:

  • If (a>1)(|a|>1), the graph is stretched vertically by factor (a)(|a|).
  • If (0<a<1)(0<|a|<1), the graph is compressed vertically by factor (a)(|a|).

A transformation of the form

y=f(bx)y=f(bx)

changes the inputs of ff:

  • The horizontal scale factor is 1b\frac{1}{|b|}.
  • If (b>1)(|b|>1), the graph is horizontally compressed.
  • If (0<b<1)(0<|b|<1), the graph is horizontally stretched.

For a point ((u,v))((u,v)) on (y=f(x))(y=f(x)), the corresponding point on

y=af(bx)y=af(bx)

is

(ub,av).\left(\frac{u}{b},av\right).

The input is divided by bb, while the output is multiplied by aa.

Worked example

Let

f(x)=xf(x)=\sqrt{x}

and consider

g(x)=2f(3x)=23x.g(x)=2f(3x)=2\sqrt{3x}.

Describe the transformations and find some corresponding points.

Step 1: Identify the vertical transformation

The factor outside the function is 22:

g(x)=2f(3x).g(x)=2f(3x).

Therefore, the outputs are multiplied by 22. This is a vertical stretch by factor 22.

Step 2: Identify the horizontal transformation

The factor inside the function is 33:

f(3x).f(3x).

Since (3>1)(|3|>1), the graph is horizontally compressed by factor

13.\frac{1}{3}.

This means the input coordinates become one-third as large. The horizontal factor is not 33; it is 13\frac13.

Step 3: Transform key points

Some points on (y=f(x)=x)(y=f(x)=\sqrt{x}) are

(0,0),(1,1),(4,2).(0,0),\qquad (1,1),\qquad (4,2).

Use

(u,v)(u3,2v).(u,v)\longrightarrow \left(\frac{u}{3},2v\right).

Thus,

(0,0)(0,0),(0,0)\longrightarrow \left(0,0\right), (1,1)(13,2),(1,1)\longrightarrow \left(\frac13,2\right),

and

(4,2)(43,4).(4,2)\longrightarrow \left(\frac43,4\right).

So points on (g(x)=23x)(g(x)=2\sqrt{3x}) include

(0,0),(13,2),(43,4).(0,0),\qquad \left(\frac13,2\right),\qquad \left(\frac43,4\right).

Step 4: Check the domain and range

For (g(x)=23x)(g(x)=2\sqrt{3x}), the expression inside the square root must be nonnegative:

3x0x0.3x\ge 0 \quad\Rightarrow\quad x\ge 0.

The domain is therefore

[0,).[0,\infty).

Because the square-root outputs are nonnegative and are multiplied by 22, the range is

[0,).[0,\infty).

The graph is vertically stretched, horizontally compressed, and still begins at ((0,0))((0,0)).

Learn by doing: Apply vertical and horizontal stretches and compressions

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Function Transformations (Definition) - Single Transformation Function to Graph


    ?