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


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

Doing the chain rule

From tsg.moore@gmail.com
Newsgroups comp.soft-sys.math.mathematica
Subject Doing the chain rule
Date 2012-11-22 00:50 +0000
Message-ID <k8jsrs$5nh$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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? 

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web