You're right for a composition
) )
f's range is the domain of g....so for example, let:
Then the range of f is
![[f(-3),f(3)] = [-2,4]](http://latex.codecogs.com/png.latex?[f(-3),f(3)] = [-2,4])
then since g is composed with f, (also written
)
) it's domain is the range of f, [-2,4]. Then the range of g is
So we have
![f:[-3,3]\rightarrow[-2,4]](http://latex.codecogs.com/png.latex?f:[-3,3]\rightarrow[-2,4])
and
![g:[-2,4]\rightarrow[4,16]](http://latex.codecogs.com/png.latex?g:[-2,4]\rightarrow[4,16])
and for a compostion
)
you need only know the domain of

to know all other domains/ranges.
However, the best appraoch to graphing would be to write out the composition as a single expression, e.g:
 = (x+1)^2)
then choose a set of points from your domain e.g:
![[-3,3]\in\mathbb{Z}](http://latex.codecogs.com/png.latex?[-3,3]\in\mathbb{Z})
, calculate a table of values, plot the points and interpolate them into a smooth curve...just as you would with the graph of a normal function.
EDIT: Hmmm.. can someone please tell me the LaTeX for the composition symbol, the little circle? I thoubht it was: \circ
... I also tried \o and \O, but they didn't work either.