Differentiate y=\ln(e^{-x} + xe^{-x})

  • Thread starter Thread starter illjazz
  • Start date Start date
  • Tags Tags
    Differentiate
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
9 replies · 18K views
illjazz
Messages
59
Reaction score
0

Homework Statement


Differentiate

[tex]y=\ln(e^{-x} + xe^{-x})[/tex]


Homework Equations


- Logarithmic differentiation?


The Attempt at a Solution


Here goes:

[tex]y=\ln(e^{-x} + xe^{-x})[/tex]

[tex]y'=\frac{e^{-x} + (x\frac{d}{dx}e^{-x}+e^{-x}\frac{d}{dx}x)}{e^{-x}+xe^{-x}})[/tex]

[tex]\frac{e^{-x}+xe^{-x}+e^{-x}}{e^{-x}+xe^{-x}}[/tex]

I must be missing something huge here because the book's solution is

[tex]y'=\frac{-x}{1+x}[/tex]
 
on Phys.org
Ok I looked at this a second time and got a bit further.. I'm still missing the solution though.

[tex]\frac{e^{-x}+xe^{-x}+e^{-x}}{e^{-x}+xe^{-x}}=\frac{2e^{-x}+xe^{-x}}{e^{-x}+xe^{-x}}[/tex]

[tex]\frac{\frac{1}{e^{x}}+\frac{x}{e^{x}}+\frac{1}{e^{x}}}{\frac{1}{e^{x}}+\frac{x}{e^{x}}}[/tex]

[tex]\frac{\frac{2}{e^{x}}+\frac{x}{e^{x}}}{\frac{1}{e^{x}}+\frac{x}{e^{x}}}[/tex]

[tex]\frac{\frac{2+x}{e^{x}}}{\frac{1+x}{e^{x}}}[/tex]

[tex]\frac{2+x}{e^{x}}\frac{e^{x}}{1+x}[/tex]

[tex]\frac{e^{x}(2+x)}{e^{x}(1+x)}[/tex]

[tex]\frac{2+x}{1+x}[/tex]

?
 
The derivative of e^x is itself, but you have "e^(-x)" which is not itself.
 
You should first try simplifying the initial equation (common factoring). You can then use the distributive ln properties to make your work easier.
 
Oops.. I assumed that if the derivative of e^x is itself, the x stood as a placeholder for, well, pretty much anything, including -x.

So um.. what does e^(-x) come out to be? Ah wait.. just saw it.

If y = e^(-x), then y' = e^(-x)ln(e)

Hmm.. is that correct? This is the rule for differentiating exponential functions. e IS a constant, so it's valid. Right?
 
y = e^(-x) is then y' = e^(-x) * -1

The reason why you multiply the answer by -1 is that you still have to take the derivative of the exponent. In this case the exponent was -x.

Also you should read my previous post.

Another note you should take into account is that textbook answers are always simplified down.
 
Ok I tried the following:

[tex]y=\ln(e^{-x}+xe^{-x})[/tex]

[tex]y'=\ln e^{-x}+\ln(xe^{-x})[/tex]

[tex]-e^{-x}\ln e+\ln x+\ln e^{-x}[/tex]

[tex]-e^{-x}+\ln x-e^{-x}\ln e[/tex]

[tex]-e^{-x}+\ln x-e^{-x}[/tex]

[tex]-2e^{-x}+\frac{1}{x}[/tex]

[tex]-2\frac{1}{e^x}+\frac{1}{x}=-\frac{2}{e^x}+\frac{1}{x}[/tex]

But frankly, I don't know if this is correct. I might have not followed proper rules there :/
 
You misused the Logarithmic property.

[tex]\ln{ab}=\ln a+\ln b[/tex]

[tex]\ln{(a+b)}\neq\ln a+\ln b[/tex]

Your first post is more correct than your recent ones. All you have to do is go back to e^(-x) and put a negative in the front.
 
Got it! Thanks for the tip :)

[tex]y'=\frac{e^{-x} + (x\frac{d}{dx}e^{-x}+e^{-x}\frac{d}{dx}x)}{e^{-x}+xe^{-x}})[/tex]

[tex]\frac{-e^{-x}-xe^{-x}+e^{-x}}{e^{-x}+xe^{-x}}[/tex]

[tex]\frac{e^{-x}(1-1-x)}{e^{-x}+xe^{-x}}[/tex]

[tex]\frac{e^{-x}(-x)}{e^{-x}(x+1)}[/tex]

[tex]\frac{-x}{x+1}[/tex]

! :)
 
Hi, I know this is kind of old, but I came across this same problem in my book - and I don't get how to get from step a to step b - like this:

[tex] y=\ln(e^{-x} + xe^{-x})[/tex]


[tex] y'=\frac{e^{-x} + (x\frac{d}{dx}e^{-x}+e^{-x}\frac{d}{dx}x)}{e^{-x}+xe^{-x}})[/tex]


can anyone help? What rules are you using to go from the first one to the second one?
thanks a lot,

Aniella