Question

How do you sketch transformed graphs from $y=f(x)$?

Original question: (b) The graph of $y=f(x)$ is shown below. On the same axes sketch the graph of (i) $y=f(x+3)$. (ii) $y=f(3x)$.

Expert Verified Solution

thumb_up100%(1 rated)

Key concept: When a question asks for a sketch, the marks usually come from getting the transformation right and keeping the shape smooth. The important part is to move the right coordinates, not redraw the curve from scratch.

Step by step

You can treat the two transformations separately.

(i) y=f(x+3)y=f(x+3)

This shifts the graph 3 units left.

Rule:

(x,y)(x3,y).(x,y)\mapsto(x-3,y).

So any point on the original graph moves left by 3, but keeps the same height.

(ii) y=f(3x)y=f(3x)

This is a horizontal compression by factor 13\frac13.

Rule:

(x,y)(x3,y).(x,y)\mapsto\left(\frac{x}{3},y\right).

So the graph becomes narrower. The yy-intercept does not change, since x=0x=0 still gives the same input to ff.

A neat way to sketch is:

  1. mark the key points on f(x)f(x),
  2. shift or compress those points,
  3. join them with the same smooth shape.

Pitfall alert

The most common slip is swapping the direction of the shift for f(x+3)f(x+3). Another one is changing the yy-intercept for f(3x)f(3x), even though x=0x=0 still gives f(0)f(0).

If the original graph has a steep section, keep the transformed graph smooth; do not turn it into a polygon.

Try different conditions

If the question were y=f(x3)y=f(x-3), the graph would move 3 units right. If it were y=f(x3)y=f\left(\frac{x}{3}\right), the graph would stretch horizontally by a factor of 3 instead of shrinking.

Further reading

translation, horizontal scaling, key points

FAQ

What does $y=f(x+3)$ do to a graph?

It shifts the graph 3 units to the left.

What does $y=f(3x)$ do to a graph?

It compresses the graph horizontally by a factor of $1/3$, so the graph becomes narrower.

chat