The function
.
Differentiate on each side with respect to
.
Apply quotient rule in derivatives.
\




Case 1: The function is not defined when the denominator is zero.
\



Case 2: Logartim of negative value is undefined.
\

From the above two cases,
\Domain of
is
.

Domain of
is
.