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
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)
This shifts the graph 3 units left.
Rule:
So any point on the original graph moves left by 3, but keeps the same height.
(ii)
This is a horizontal compression by factor .
Rule:
So the graph becomes narrower. The -intercept does not change, since still gives the same input to .
A neat way to sketch is:
- mark the key points on ,
- shift or compress those points,
- join them with the same smooth shape.
Pitfall alert
The most common slip is swapping the direction of the shift for . Another one is changing the -intercept for , even though still gives .
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 , the graph would move 3 units right. If it were , 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.