differentiate: y=ln(e^-x+-xe^-x)
oops i had to edit question that might help lol
\[\Large\bf\sf y=\ln\left[e^{-x}-xe^{-x}\right]\]Factoring e^-x out of each term,\[\Large\bf\sf y=\ln\left[e^{-x}(1-x)\right]\]From here we want to apply a rule of logs.\[\Large\bf\sf \log(a\cdot b)\quad=\quad \log(a)+\log(b)\]
\[\Large\bf\sf y=\ln e^{-x}+\ln(1-x)\]Gives us something like that, yes?
Then we'll want to apply another rule of logs before we take a derivative.
\[\Large\bf\sf \log(a^b)\quad=\quad b\cdot \log(a)\]
for the -x?
Yes.
so i got y= -xln(e) + ln(1-x) y'= -x/e + 1/1-x
Woops, no no don't apply any special derivative rules to ln(e). It is just a `constant`. See how there is no variable inside of the log? It's just a fancy fancy constant wearing a suit, trying to trick you.
Furthermore, you should make this simplification before differentiating.\[\Large\bf\sf \ln(e)\quad=\quad 1\]
oh i see ok so it would just be -x + 1/1-x
i was wondering why there wasnt an e in the answer
You should get -x BEFORE taking a derivative, yes?
That first term should change a lil bit.
yes then it would become a -1?
Yes, good. One more thing to be careful about. Need to apply the `chain rule` to the second term.
wouldn't that just be 1/1-x ?
oh nvm 1/1-x * -1
Ya there ya go \c:/
thanks
Join our real-time social learning platform and learn together with your friends!