If , , , , find and and show that .
Functions · Question 33 of 51
If f : R R , f(x) = x² , g : R R , g(x) = x , x R , find fog and gof and show that fog ≠ gof .
Solution:
Key idea: The composite applies first and then , while applies first and then . To show two functions are different, it is enough to find one input where their values differ.
Step 1 — Find . We put into , which squares its input.
Step 2 — Find . We put into , which takes the cosine of its input.
Step 3 — Evaluate at . We choose the input because is a simple value, .
Step 4 — Evaluate at . We need . A cosine equals 1 only at angles of the form with an integer.
This is impossible, because is not an integer (it is irrational). So ; numerically .
Step 5 — Compare. At the two functions take different values, 1 and , so they are not the same function.
Therefore, , , and .
