A few days ago
Anonymous

need help on functions?

We are to find the composite functions f(g(x)) and g(f(x)). What is the domain of the function? Are the two composite functions equal?

f(x) = x^2

g(x)= the square root of x

the problem is that I keep finding that the 2 composite functions are equal (to x) when my textbook clearly says that 2 composite functions cannot be equal. I really need help.

Thank you soooo much!!

Top 1 Answers
A few days ago
MsMath

Favorite Answer

Two composite functions can be equal.

f(x) = x^3

g(x)= cube root of x

f(g(x)) = f(cube root of x)

= (cube root of x)^3

= x

g(f(x)) = g(x^3)

= cube root of (x^3)

= x

Therefore, f(g(x)) = g(f(x)).

In both cases the domain is all real numbers.

This proves that f and g are inverses of each other.

In the first example that you give f(g(x)) does not equal g(f(x)).

f(g(x)) = f(sqrt(x))

= (sqrt(x))^2

= x

g(f(x)) = sqrt(f(x))

= sqrt(x^2)

= |x|

Since x ≠ |x|, then f(g(x)) ≠ g(f(x))

The domain of f(g(x)) is all numbers greater than or equal to 0

(x ≥ 0).

The domain of g(f(x)) is all real numbers.

0