cont...
When sketching composite functions, check that you have the correct domain.
If f(g(x)) is defined, then domf(g(x))=domg
If g(f(x)) is defined, then domg(f(x))=domf
EXAMPLE: Let f(x)=x^2-2x
g(x)=|x|
Sketch f(g(x)) and g(f(x)) over the maximal domains.
domf=R domg=R
ranf=[-1,infinity) rang=R+ U {0}
f(g(x)) is defined since rang is a subset of domf.
g(f(x)) is defined since ranf is a subset of domg
f(g(x))=f|x|
=|x|^2 - 2|x|
The easiest way to sketch this graph is to sketch y=x^2 - 2x for x(greater than or equal to 0), and then keep this part of the graph as well as the reflection of the graph in the y-axis. ( I hope you have done modulus functions and their graphs)!
Answer in both parts. g(f(x))=g(x^2-2x)
= |x^2 - 2x|
The easiest way to sketch this is to sketch y= x^2 - 2x and reflect any sections below the x-axis along the x-axis, so that the whole graph is above the x-axis.
I really hope this was what you were after!
