Final answer:
To find f(g), substitute g(x) into f(x) and simplify. To find g(f), substitute f(x) into g(x) and simplify.
Step-by-step explanation:
To find f(g), we substitute the function g(x) into f(x) and simplify.
f(g) = f(x²) = (x²)² + 1 = x^4 + 1
To find g(f), we substitute the function f(x) into g(x) and simplify.
g(f) = g(x² + 1) = (x² + 1)² = (x^2 + 1)(x^2 + 1) = x^4 + 2x^2 + 1