When to assign a value to a multiple chain derivative?

In summary, when using the chain rule, it is important to assign the correct values to each variable. In this specific problem, the confusion arose from assigning u^2 instead of just u, resulting in a different answer. It is important to carefully follow the steps and assign values correctly to avoid errors.
  • #1
1,291
0
I was doing my homework and I ran into a problem of a chain rule within a chain rule. When do I know what to assign a value? For example:

[tex]y=e^{-x^2}[/tex]

When I assign [tex]u=e^{-x}[/tex] and [tex]y=u^2[/tex] I get a wrong value. According to cramster I was supposed to assign y = e^u and u=-x^2. But when am I supposed to know what value to assign? For clarification let me write out the steps my problem.

[tex]y=e^{-x^2}[/tex]
[tex]u=e^{-x} -----> \frac{du}{dx}=-e^{-x}[/tex]
[tex]y=u^2 ---------> \frac{dy}{du}=2u[/tex]
This shows out that the chain is consistent.
[tex]\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}
[tex]=2u(-e^{-x})[/tex]
[tex]=2(e^{-x})(-e^{-x})[/tex]
[tex]=-2e^{-2x}[/tex]

But cramster has a different answer. Cramster assigned the values as y=e^u and u =-x^2 got an answer of:
[tex]=-2x^{-x^2}[/tex]
 
Last edited:
Physics news on Phys.org
  • #2
Nano-Passion said:
When I assign [tex]u=e^{-x}[/tex] and [tex]y=u^2[/tex] I get a wrong value.

This is your problem. [itex]u^{2}[/itex] is not equal to [itex]e^{-x^2}[/itex]. In fact, it's equal to [itex]e^{-x}e^{-x} = e^{-2x}[/itex]
 
  • #3
gb7nash said:
This is your problem. [itex]u^{2}[/itex] is not equal to [itex]e^{-x^2}[/itex]. In fact, it's equal to [itex]e^{-x}e^{-x} = e^{-2x}[/itex]

No I assign [tex]y=u^2[/tex]. So then [tex]f'(y)=2u[/tex]

Edit: I think there is a bit of a confusion. This is the answer I got-->[tex]e^{-x} = e^{-2x}[/tex]. I think you confused it with my last line; the last line is the answer posted up on cramster. I edited my original post and clarified it.
 
Last edited:
  • #4
Nano-Passion said:
No I assign [tex]y=u^2[/tex]

Is this the same y as:

Nano-Passion said:
[tex]y=e^{-x^2}[/tex]

?
 
  • #5
Nano-Passion said:
Read my previous post I edited it, it might clarify things. Basically when there is a chain rule within a chain rule I assign a value. Where in this case it was:

[tex]y=u^2[/tex] and [tex]u=e^{-x}[/tex]

Ohhhhh.. so in this case u^2 implies the function [tex](e^{-x})^2[/tex] Where it is supposed to be only [tex]-x^2[/tex]

That is what your saying right? Because I just noticed.
 
  • #6
Nano-Passion said:
Ohhhhh.. so in this case u^2 implies the function [tex](e^{-x})^2[/tex] Where it is supposed to be only [tex]-x^2[/tex]

That is what your saying right? Because I just noticed.

Correct
 

Suggested for: When to assign a value to a multiple chain derivative?

Replies
6
Views
1K
Replies
5
Views
998
Replies
4
Views
1K
Replies
5
Views
1K
Replies
2
Views
1K
Replies
5
Views
529
Replies
15
Views
1K
Replies
2
Views
888
Back
Top