Given $y=f(x)$, where $f(x) $ is a positive function, we can write $\ln y = \ln f(x) $. Now let's say that $f$ takes zero values at certain points in an interval. At these points, the natural logarithm of the function is not defined. Take the example of $\sin(x) +1$ in $[\pi, 2\pi]$. It takes zero value at $3\pi /2 $. At this point, the tangent is horizontal, we see. We, however, cannot determine the slope of this tangent by doing logarithmic differentiation because the derivative at this point is indeterminate.
I have come across a problem that asks me to use logarithmic differentiation to evaluate the derivative of $\sqrt{\frac{t}{t+1}}$. Here, $t=0$ is in the domain of $y$ and not in the domain of $\ln y$. How is this logarithmic differentiable?
Another problem asks me to evaluate the derivative of $\tan(x) \sqrt{2x +1}$ using logarithmic differentiation. The domain consists of all $x \geq - 1/2$, and $x\neq (2n+1)\pi /2$, where $n$ is an integer. For several $x$ in the domain, the function takes negative values at several points. How can this be logarithmic differentiable?