The sequence of operations that \(h\) performs on an input to obtain the output is: add 1, take the square root, take the reciprocal of the result. We group them as follows: βadd 1 and take the square rootβ for the inner function and βtake the reciprocalβ for the outer function. In other words we take the inner function \(g(x) = \sqrt{x + 1}\) and the outer function \(f(x) = \displaystyle\frac{1}{x}\text{.}\) It works as:
\begin{align*}
h(x) \amp= f(g(x))\\
\amp= f(\sqrt{x + 1})\\
\amp= \frac{1}{\sqrt{x + 1}}
\end{align*}
Is it the only way to decompose \(h\text{?}\) No. Usually there are many ways to decompose a given function. For the function \(h\) given above, take \(g(x) = x + 1\) and \(f(x) = \frac{1}{\sqrt{x}}\text{.}\) Those two functions work as well:
\begin{align*}
h(x) \amp= f(g(x))\\
\amp= f(x + 1)\\
\amp= \frac{1}{\sqrt{x + 1}}
\end{align*}