The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Doing the chain rule
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List

Posts: 1
Registered: 11/21/12
Doing the chain rule
Posted: Nov 21, 2012 7:50 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Suppose I have a function u(x, y). I have a transformation from (X, Y) to (x, y) via u(x,y) = U(X,Y) and

X = f(x,y)
Y = g(x,y)

Using Mathematica, how do I compute the derivatives u_x, u_y, u_{xx}, u_{yy}, etc. in terms of U?

For example,
u_x = f_x U_X + g_y U_Y

For example, if
X = y - x
Y = y^2 - x^2

then u_x = -U_X + 2x U_Y.

The problem here is that without knowing the inverses of f(x,y) and g(x,y), I don't know how to get Mathematica to work out the chain rules. For example, can you show me how to compute u_{xx} in mathematica using the above example?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.