When to assign a value to a multiple chain derivative?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 2K views
Nano-Passion
Messages
1,291
Reaction score
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}<br /> [tex]=2u(-e^{-x})[/tex]<br /> [tex]=2(e^{-x})(-e^{-x})[/tex]<br /> [tex]=-2e^{-2x}[/tex]<br /> <br /> But cramster has a different answer. Cramster assigned the values as y=e^u and u =-x^2 got an answer of:<br /> [tex]=-2x^{-x^2}[/tex][/tex]
 
Last edited:
Physics news on Phys.org
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]
 
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:
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.
 
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