Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12403 > unrolled thread

Doing the chain rule

Started bytsg.moore@gmail.com
First post2012-11-22 00:50 +0000
Last post2012-11-22 00:50 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Doing the chain rule tsg.moore@gmail.com - 2012-11-22 00:50 +0000

#12403 — Doing the chain rule

Fromtsg.moore@gmail.com
Date2012-11-22 00:50 +0000
SubjectDoing the chain rule
Message-ID<k8jsrs$5nh$1@smc.vnet.net>
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? 

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web