• Support PF! Buy your school textbooks, materials and every day products Here!

Confused with when to use chain rule

  • Thread starter sl2382
  • Start date
  • #1
10
0
Just some general questions as I'm confused with when to use chain rule when not to.

For instance, to find the derivative of e^sqrt(x), the right answer is to use chain rule to get e^sqrtx*the derivative of sqrt(x). BUT, isn't there a formula that: d/dx K^x = In(K)*K^x? K for constant and x for differentiable function. So why I can't use it to get e^sqrt(x)=Ine*e^sqrt(x)? AND, isn't d/dx(e^x) = e^x?? I'm completely confused.. Midterm tomorrow.. really need your help.. Thanks a lot!
 

Answers and Replies

  • #2
33,270
4,966
Just some general questions as I'm confused with when to use chain rule when not to.

For instance, to find the derivative of e^sqrt(x), the right answer is to use chain rule to get e^sqrtx*the derivative of sqrt(x). BUT, isn't there a formula that: d/dx K^x = In(K)*K^x?
No, there isn't. There is no function named In. Are you thinking ln (LN) for the natural logarithm?
K for constant and x for differentiable function. So why I can't use it to get e^sqrt(x)=Ine*e^sqrt(x)? AND, isn't d/dx(e^x) = e^x?? I'm completely confused.. Midterm tomorrow.. really need your help.. Thanks a lot!
d/dx(ex) = ex, but what about d/dx(ef(x))? For that you need the chain rule.

Let u = f(x).
d/dx(ef(x)) = d/dx(eu) = d/du(eu) * du/dx = eu * du/dx.
 
  • #3
129
28
I don't know what you mean by In(K). Do you mean ln(K) (natural logarithm of K)? Assuming that's ln:

BUT, isn't there a formula that: d/dx K^x = In(K)*K^x
Yes, but x there isn't a function, it's the variable you're deriving in relation to! The formula for the derivate function of an exponential is:

[tex]\frac{d}{dx}K^{f(x)} = \frac{df(x)}{dx}ln(K)K^{f(x)}[/tex]

The special case when f(x) = x gives that equation you wrote, because [tex]\frac{df(x)}{dx} = 1[/tex]. But when f(x) isn't x, [tex]\frac{df(x)}{dx}[/tex] won't be 1.

To deduce this equation you need to do the chain rule.
 
  • #4
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,519
734
The short answer is you have to use the chain rule whenever the argument isn't just a simple x. So you don't need it for ex. But you need it for e to anything more complicated than that: [itex]e^{2x},\ e^{\sqrt x},\ e^{-x}[/itex] etc.

It's the same with any function. You don't need it for sin(x) but you do for the sine of anything else:[itex]\sin(2x),\ sin(-x),\ sin(x^3)[/itex]etc.

You could be safe and always use it. For example, if you use it on sin(x) you will just get the derivative as [itex]\cos(x)\cdot 1[/itex]. The extra 1 is correct and doesn't hurt anything.
 
  • #5
10
0
Thank you so much for all of your helps! Thanks!!
 
  • #6
1,039
2
I thought you technically always use the chain rule anyway.

For instance,
[tex]\frac{d}{dx}y=x^2[/tex]
[tex]\frac{dy}{dx}=2x(x')[/tex]
[tex]\frac{dy}{dx}=2x[/tex]

You are still using the chain rule, it's just that x' is 1 because the function is being differentiated with respect to x.
 

Related Threads on Confused with when to use chain rule

Replies
6
Views
18K
  • Last Post
Replies
13
Views
2K
Replies
2
Views
9K
  • Last Post
Replies
9
Views
649
Replies
3
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
2
Views
740
  • Last Post
Replies
14
Views
2K
  • Last Post
Replies
6
Views
2K
Replies
1
Views
693
Top