Derivative exponential problem

Click For Summary

Homework Help Overview

The discussion revolves around computing the derivative of the function (1-2x)e^{-x}, with participants exploring the application of the product and quotient rules in calculus.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants attempt to apply both the product rule and the quotient rule to find the derivative, noting discrepancies in their results. Some express confusion over the correct application of these rules and question their own calculations.

Discussion Status

Several participants have identified errors in their attempts and are actively working to clarify their understanding. There is an ongoing exploration of the correct application of the rules, with some participants acknowledging mistakes in their reasoning.

Contextual Notes

Some participants mention difficulties with LaTeX formatting for expressions, which may affect the clarity of their posts. There is also a recognition of the need to consider the chain rule when applying the product rule.

MacLaddy
Gold Member
Messages
290
Reaction score
11

Homework Statement



Compute the derivative of the following function

[itex](1-2x)e^{-x}[/itex]

Homework Equations



Product Rule and Quotient rule

The Attempt at a Solution



My problem here is that I come up with two different answers when I use the quotient rule vs. the product rule.

Trying it with the product rule

f(x)= (1-2x)e^-x
f'(x)= -2e^-x + e^-x(1-2x)
f'(x)= e^-x(-2+(1-2x))
[itex]f'(x)= e^{-x}(-1-2x)[/itex] or [itex]\frac{-1-2x}{e^x}[/itex]

With the quotient rule

f'(x)= (e^-x(1-2x) - (-2e^-x)) / [e^-x]^2
f'(x)= (e^-x-2e^-x+2e^-x) / [e^-x]^2
f'(x)= (e^-x(-2x+2)) / [e^-x]^2
[itex]f'(x)= \frac{-2x+2}{e^{-x}}[/itex] or [itex]e^x(-2x+2))[/itex]

As you can see, these are two different answers. I would think that I should have the same solution either way I do this, so what am I doing wrong?
 
Last edited:
Physics news on Phys.org
MacLaddy said:

Homework Statement



Compute the derivative of the following function

(1-2x)e^(-x)

Homework Equations



Product Rule and Quotient rule

The Attempt at a Solution



My problem here is that I come up with two different answers when I use the quotient rule vs. the product rule. ( And that I can't figure out the Latex for e^-x... If someone can show me how to do that I'll clean this post up)
[itex]e^-x[/itex]

Trying it with the product rule

f(x)= (1-2x)e^-x
f'(x)= -2e^-x + e^-x(1-2x)
f'(x)= e^-x(-2+(1-2x))
f'(x)= e^-x(-1-2x) or (-1-2x)/e^x

With the quotient rule

f'(x)= (e^-x(1-2x) - (-2e^-x)) / [e^-x]^2
f'(x)= (e^-x-2e^-x+2e^-x) / [e^-x]^2
f'(x)= (e^-x(-2x+2)) / [e^-x]^2
f'(x)= (-2x+2) / (e^-x) or e^x(-2x+2)

As you can see, these are two different answers. I would think that I should have the same solution either way I do this, so what am I doing wrong?

I don't get either of your answers when I take the derivative.

(1-2x)e^{-x} = e^{-x} -2xe^{-x} = -e^{-x} -2(product rule) = ??
 
MacLaddy said:
... ( And that I can't figure out the Latex for e^-x... If someone can show me how to do that I'll clean this post up)

[itex]e^-x[/itex]

...
Put the whole exponent in braces { } .

[itex ]e^{-x}[/itex ] gives   [itex]e^{-x}[/itex]
 
Thanks SammyS. I cleaned up some of the above. Hopefully that helps.
 
MacLaddy said:
Trying it with the product rule

f(x)= (1-2x)e^-x
f'(x)= -2e^-x + e^-x(1-2x)
Here's the problem. It should be a minus above, not a plus. (Remember, chain rule.)
MacLaddy said:
With the quotient rule

f'(x)= (e^-x(1-2x) - (-2e^-x)) / [e^-x]^2
Whoa. If you want to use the quotient rule, then you need to rewrite f(x) as
[tex]f(x)=\frac{1-2x}{e^x}[/tex]
... so there shouldn't be any e-x in the first step:
[itex]f'(x) = \frac{e^x(1-2x) - (-2e^x)}{(e^x)^2}[/itex]
= ...
 
Thanks eumyang. I'm actually seeing numerous errors that I've typed above, and I'm working on cleaning it up with Latex.

Please stand by until I can clean up this mess. :smile:
 
Ahh, I didn't need to completely retype that. You are perfectly correct, eumyang, I was making those mistakes on both. I wasn't considering that the derivative of [itex]e^{-x}[/itex] is [itex]-e^{-x}[/itex]. And I wasn't playing with the signs right on the quotient rule.

Thank you very much, I appreciate the help.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K