For the following exercise, use each pair of functions to find f(g(x)) and g(f(x)). Simplify your answers.
f(x) = x^2
g(x) = √(x + 4)
To find f(g(x)), we substitute g(x) into f(x):
f(g(x)) = (g(x))^2
= (√(x + 4))^2
= x + 4
To find g(f(x)), we substitute f(x) into g(x):
g(f(x)) = √(f(x) + 4)
= √((x^2) + 4)