is undefined if the argument
is negative, so you first need to require that
We're not done yet, though, because
still doesn't exist when
, so we remove this from the domain and we're left with
, or in interval notation,
To find the range, consider the limits of the function as you approach either endpoint of the domain.
Since
is positive everywhere, the range is