What is the general rule for graph transformations?
Outside - y-coordinate - as expected
Inside - x-coordinate - opposite
What will happen to: y = -f(x)?
It’s outside, so affects the y-coordinate, but since it is a negative, the graph is reflected oppositely, so into the x-axis, because the y-coordinates are negated.
What will happen to: y = f(-x)?
It’s inside, so affects the x-coordinate oppositely, so the graph is reflected into the y-axis, because the x-coordinates are negated.
What will happen to y = af(x)?
It’s outside, so affects the y-coordinate as expected, so the graph streches, because the y-coordinates are being multiplied by ‘a’.
What will happen to y = f(ax)?
It’s inside, so affects the x-coordinate oppositely, so the graph is compressed, because the x-coordinates are multiplied by ‘a’.