Question

How do you sketch $y=f(x+3)$ and $y=f(3x)$ from a given graph?

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)$. (2 marks) (ii) $y=f(3x)$. (2 marks) Solution (i) See graph Specific behaviours ✓ smooth curve starting at $(-9,-3)$ ✓ intercepts at $(-8,0)$ and $(0,6)$ Solution (ii) See graph Specific behaviours ✓ smooth curve starting at $(-2,-3)$ ✓ same y-intercept as $f(x)$ See next page

Expert Verified Solution

thumb_up100%(1 rated)

Key takeaway: These are standard function transformations, but the two changes work in different directions. One is a horizontal shift, the other is a horizontal compression. That difference is where most sketching errors happen.

Let the original graph be y=f(x)y=f(x).

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

This is a shift 3 units left.

Why? Because the graph reaches the same yy-value when xx is 3 smaller than before.

So every point (x,y)(x,y) on y=f(x)y=f(x) moves to

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

Key points shift like this:

  • (6,3)(9,3)( -6,-3 ) \to ( -9,-3 )
  • (5,0)(8,0)( -5,0 ) \to ( -8,0 )
  • (3,6)(0,6)( 3,6 ) \to ( 0,6 )

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

This is a horizontal compression by factor 13\frac13.

A point (x,y)(x,y) on the original graph moves to

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

So the xx-coordinates are divided by 3, while the yy-values stay the same.

That means:

  • the starting point (6,3)(-6,-3) becomes (2,3)(-2,-3)
  • the yy-intercept stays the same as for f(x)f(x)

So the new graph is squeezed toward the yy-axis, not shifted sideways.


Pitfalls the pros know 👇 For f(x+3)f(x+3), students often shift right because they see the plus sign. That is the wrong direction. Inside the brackets, the sign effect is reversed.

For f(3x)f(3x), another common mistake is to stretch the graph horizontally instead of compressing it. Multiplying xx by 3 makes the graph narrower.

What if the problem changes? If the function were y=f(x3)y=f(x-3), the graph would shift 3 units right instead of left. 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 compressing.

Tags: horizontal shift, horizontal compression, function transformation

FAQ

How does $y=f(x+3)$ change the graph of $y=f(x)$?

It shifts the graph 3 units to the left. Each point $(x,y)$ moves to $(x-3,y)$.

How does $y=f(3x)$ change the graph of $y=f(x)$?

It compresses the graph horizontally by a factor of $1/3$. Each point $(x,y)$ moves to $(x/3,y)$.

chat