Differentiate y=ln(e^-x+xe^-x)
HI
hi
ive made a lot of progress on this and get stuck a bit through it
\[\ln (e^-x(1+x)) = \ln(e^-x) + \ln(1+x) = \frac{ 1 }{ e^-x } + \frac{ 1 }{ (x+1) }\]
how is ln(e^-x) = -x?
a little typo when u derivate\[\ln(e^{-x})\]
ahh yeah thats it
ya im not sure why its doing that
how is it -x?
e^x is inverse of ln x
hmmm
so ln(e^-x) which is 1/e^-x yields -x somehow
\[\frac{d}{dx}\ln(f(x))=\frac{f'(x)}{f(x)}\] is what you need
\[f(x)=e^{-x}+xe^{-x}\] \[f'(x)=-e^{-x}+e^{-x}-xe^{-x}\] by the chain and product rule stick that in the numerator
well you might want to write \[f'(x)=-xe^{-x}\] since the first two terms add up to zero
lets start at the beginning then
ok, ln(e^-x + xe^-x)
my understanding is, you want the derivative of \[\ln(e^{-x}+xe^{-x})\] is that correct?
i could factor out that e^-x
ok then the derivative of the log of something, is the derivative of the something, over the something more succinctly written as \[\frac{d}{dx}\ln(f(x))=\frac{f'(x)}{f(x)}\]
ln(x) = 1/x
i wouldn't factor, that will just make more work, although i guess you could i would just go ahead and take the derivative of \(f(x)=e^{-x}+xe^{-x}\) and then put the derivative over \(f(x)\)
by the way it is certainly not true that \(\ln(x)=\frac{1}{x}\) what you mean is that \[\frac{d}{dx}\ln(x)=\frac{1}{x}\] so by the chain rule \[\frac{d}{dx}\ln(f(x))=\frac{f'(x)}{f(x)}\]
in other words, this is your job: take the derivative of the "inside function" namely \(f(x)=e^{-x}+xe^{-x}\) and then divide that result by \(f(x)=e^{-x}+xe^{-x}\) itself you are looking for \(\frac{f'(x)}{f(x)}\) as an answer
for example \[\frac{d}{dx}\ln(\sin(x))=\frac{\cos(x)}{\sin(x)}\]
I guess my question is how is ln(e^-x) = -x
\[\frac{d}{dx}\ln(x^2+3x)=\frac{2x+3}{x^2+3x}\] etc
because logs and exponentials are inverse fuctions, so it is always the case that \[\log_b(b^x)=x\] and \[b^{\log_b(x)}=x\]
ok, perfect, thank you!
yw
Join our real-time social learning platform and learn together with your friends!