Math Help - A function

1. A function

Given:
$f(x)=\sqrt{x}$ and $g(x)=x^2-1$

How can I evaluate something like:
$f(g(2))$ or $g(f(0))$

I seem to get confused whenever they throw a number in the composite. Like I know how to evaluate $f(g(x))$ but I'm not sure what to do when they place a number in it. :/

2. Hi jimmyp

Evaluating composite functions such as $f(g(x))$ is just simply evaluating the $g(x)$ first and then taking the value of $g(x)$ as the new 'x' and then evaluate $f(x)$.

To illustrate what I'm talking about, I'll do the first one for you.

Given:
and

$g(2) = 2^2 -1 = 3$
since $g(2) = 3$ then $f(g(2)) = f(3)$

Hence...
$f(3) = \sqrt{3}$

I hope this helps.