Next, we saw that for some function, \(y=f(x)\), \(g(x) = af(x)\), where \(a \gt 0\), is a vertical stretch of \(y=f(x)\) about the \(x\)-axis by a factor of \(a\).
We know that there is a reflection if \(a \lt 0\), so we generalize.
For some function, \(y=f(x)\), \(g(x)=af(x)\) is a vertical stretch of \(y=f(x)\) about the \(x\)-axis by a factor of \(\lvert a \rvert\).
If \(\lvert a \rvert \gt 1\), \(g(x)\) stretches away from the \(x\)-axis.
If \(\lvert a \rvert \lt 1\), \(g(x)\) compresses towards the \(x\)-axis.
On the graph, \(g(x)=-2f(x)\) is a reflection of \(y=f(x)\) about the \(x\)-axis and a vertical stretch of \(y=-f(x)\) about the \(x\)-axis by a factor of \(2\).
Recall that \(A\) is called an invariant point since it is on the line of reflection.