Why do you have to write ln|x| when the domain simply can't refer to negative values?
Also, since we do focus on that, why is it when doing calculations sometimes \[\sqrt(f(x)^2\] is taken to mean f(x) instead of |f(x)} ?
so you mean why we don't write ln(x) instead of ln|x| well because in the second, the domain is different. x = -1 isn't in the domain of the first.
In the second, sign information was removed by the squaring, so why did we not directly indicate that?
also about your second question, it depends on the function. if x > 0 then sqrt(x^2) = x.
HI!!
\(\Large \ln(|x|)\) is defined on \(( - \infty, \infty)\) while while \(\Large \ln(x)\) is only defined on the interval \(( 0, \infty)\) If your x is defined on the former interval then your corresponding function you should use is ln (|x|) and vice versa.
the domain of \(\ln(x)\) is \(x>0\) but the domain of \(\ln(|x|)\) is \(x\neq 0\)
what @DLS said
almost
you still can't take the log of zero, so zero is out of both
Oh, I see! So we're actually creating a new funtion that's a mirror of the right side!
yes
are you involved in calculus now?
for your second question, sometimes it is assumed or arranged that \(f\) is always non-negative, so that \[\sqrt{f^2}=f\]
Yeah.
then you will know that the derivative of \(\ln(x)\) is \(\frac{1}{x}\) and also the derivative of \(\ln(-x)=\frac{1}{x}\) by the chain rule, so frequently people will write \[\int \frac{dx}{x}=\ln(|x|)\]
as an example of \[\sqrt{f^2}=f\] sometimes they write \[\sqrt{\sin^2(x)}=\sin(x)\] but in those cases the domain is usually restricted to \[[0,\frac{\pi}{2}]\] where sine is positive
Just like @misty1212 said, but do pay attention on the function you are dealing with though. For instance, \[\Large \sqrt{1 - 2\sin^2x} = |\cos x| \neq \cos x \]
yes, it looks weird, not like a sin wave
the downside is mirrored up
but if \[\sqrt(\sin^2(x))\] would never be similar to sin(x), since |sin(x)| is a different function for ever half perod, how is that implicitly dealt with? What's the derivative of |sin x| ? when x is positive, it's simply cos(x), but does the function |sin x| still change according to that?
Join our real-time social learning platform and learn together with your friends!