Finding the Derivative of y=xe-kx using the Chain Rule

Click For Summary

Homework Help Overview

The discussion revolves around finding the derivative of the function y=xe-kx using the chain rule and product rule in calculus.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the application of the chain rule and product rule, with some questioning the correctness of the original attempts and suggesting alternative methods for differentiation.

Discussion Status

Several participants have provided insights into the differentiation process, with some clarifying the need to apply the product rule before the chain rule. There is an ongoing exploration of the correct steps to take, with no explicit consensus reached on the final answer.

Contextual Notes

Participants are navigating through potential errors in their differentiation attempts and discussing the implications of using different rules in calculus. There is a focus on ensuring all necessary derivatives are accounted for in the calculations.

physics604
Messages
92
Reaction score
2

Homework Statement



Find the derivative of y=xe-kx

Homework Equations



Chain rule

The Attempt at a Solution



y = xeu

\frac{dy}{du} = xeu+eu

u = -kx

\frac{du}{dx} = -k


\frac{dy}{dx} = (xe-kx+e-kx)(-k)

= e-kx(x+1)(-k)

= e-kx(-kx-k)

The answer is e-kx(-kx+1). What did I do wrong?
 
Physics news on Phys.org
physics604 said:

Homework Statement



Find the derivative of y=xe-kx

Homework Equations



Chain rule

The Attempt at a Solution



y = xeu

\frac{dy}{du} = xeu+eu

There is a subtle error here. The problem is that if ##u=-kx## then ##x=-\frac u k## and you have to include ##\frac{dx}{du} = -\frac 1 k## in your second term. But it's best to avoid this error completely by noting that you have a product and should use the product rule before the chain rule. Try$$
\frac d {dx} xe^u = e^u\frac d {dx} x + x \frac d {dx}e^u$$ and use your method on that last term.
 
  • Like
Likes   Reactions: 1 person
I'm sorry, but I don't get what you mean.

\frac{d}{dx} xeu = eu\frac{d}{dx}x+x\frac{d}{dx}eu

is still equal to eu + xeu.
 
Okay, I get it. Thanks!
 
LCKurtz said:
But it's best to avoid this error completely by noting that you have a product and should use the product rule before the chain rule. Try$$
\frac d {dx} xe^u = e^u\frac d {dx} x + x \frac d {dx}e^u$$ and use your method on that last term.

physics604 said:
I'm sorry, but I don't get what you mean.

\frac{d}{dx} xeu = eu\frac{d}{dx}x+x\frac{d}{dx}eu

is still equal to eu + xeu.


No it isn't. By your own steps in your original post you showed$$
\frac d {dx} e^u = -ke^{-kx}$$and if you put that in you get the correct answer.
 
I get it now. Thanks!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K