A reliable method
- Identify the exact input to the function.
- For composition evaluate the inner function first.
- For a piecewise rule test the input against the branch conditions.
- For an inverse solve for the input producing the specified output.
Example 1
Let \(f(x)=x^2\) and \(g(x)=f(x-2)\). Find g(5).
- Evaluate the shifted input 5-2 before squaring.
- Substitute and keep the operation order: \(\left(5-2\right)^{2}\).
- Calculate exactly: \(9\).
- The result is f(3), not f(5)-2.
Answer: \(9\)
Example 2
Let \(f(x)=\begin{cases}-2x+1,&x<0\\x^2,&x\geq0\end{cases}\). Find f(-3).
- Because -3<0, choose the first rule.
- Substitute and keep the operation order: \(-2\times \left(-3\right)+1\).
- Calculate exactly: \(7\).
- Do not use the squared branch for this negative input.
Answer: \(7\)
Common mistakes
- A horizontal shift has the opposite sign inside the input expression.
- Conditions apply to the input, not the resulting output.
Practice without the answer first
- For \(f(x)=2x-1\) and \(g(x)=x+4\), find f(g(3)).
- If \(f(x)=5x+2\), find \(f^{-1}(17)\).
- What is the x-coordinate of the vertex of \(y=(x+4)^2-3\)?
Answers and step-by-step explanations
Practice 1
- First find g(3)=7, then find f(7).
- Substitute and keep the operation order: \(2\times \left(3+4\right)-1\).
- Calculate exactly: \(13\).
- The order is dictated by the nested notation.
Answer: \(13\)
Practice 2
- Solve 5x+2=17 for the original input x.
- Substitute and keep the operation order: \(\frac{17-2}{5}\).
- Calculate exactly: \(3\).
- The inverse output is 3, because f(3)=17.
Answer: \(3\)
Practice 3
- Set the squared input x+4 equal to zero.
- Substitute and keep the operation order: \(-4\).
- Calculate exactly: \(-4\).
- A plus 4 inside the square shifts the vertex left, not right.
Answer: \(-4\)
These original skill exercises are not official exam questions or a score prediction. Use the coverage notes on your exam hub to choose relevant practice.

