Existence of the composite functionA composite function will only exist if the range of the "second" function is equal to or is part of the domain of the first.
Remember:for

or
])
to be defined the
range of g
domain of ffor

or
])
to be defined the
range of f
domain of gi.e. "inner's" range belongs to the "outer's" domain.
Domains of composite functionsIf the composite function exists:
New domain of the composite function = Domain of the inside functionRemember:The domain of
])
= domain of
The domain of
])
= domain of
If you're asked to find the
range of the composite function, you would use the new domain to find it. Since there isn't a set rule for finding the range like the domain.
Using your question as an example= x^2 -4)


{0}
 = \sqrt{x})

=
^2 -4)
=
Domain
would have the same domain as
)
since that is the "inner" function.
So the domain of

is

{0}
RangeThe range of

can be found using the domain:

{0}

=

, it's linear as you can see. We want the range between domain:
)
. At 0,

= -4.
So therefore the range is
)
.
Proving existence For

to exist, the
range of f must be a subset "

" of the
domain of g.
It's easier at first to draw up a table similar to this (but prettier):
domain range
f(x) R [-4,infinite)
g(x) R+U{0} [0,infinite)
- The range of
is
.
The domain of
is
. (same as
{0} )
So for

to exist,
)
must be a subset of
)
.
BUT it's not, since the [-4, -1] extra doesn't belong in
:
)
. So it's undefined, i.e. doesn't exist.
I hope this is clear. If not, just tell me. (if anyone spots a mistake or something, tell me too)