How to Solve Second-Order Partial Derivatives

PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2025 Award
Messages
29,785
Reaction score
21,588
Introduction
A frequent concern among students is how to carry out higher order partial derivatives where a change of variables and the chain rule are involved.  There is often uncertainty about exactly what the “rules” are.  This tutorial aims to clarify how the higher-order partial derivatives are formed in this case.
Note that in general second-order partial derivatives are more complicated than you might expect.  It’s important, therefore, to keep calm and pay attention to the details.
The General Case
Imagine we have a function ##f(u, v)## and we want to compute the partial derivatives with respect to ##x## and ##y## in terms of those with respect to ##u## and ##v##.  Here we assume that ##u, v## may be expressed as functions of ##x, y##.  The first derivative usually cause no problems.  We simply apply the chain rule:
$$\frac{\partial f}{\partial x} = \frac{\partial f}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial f}{\partial v}\frac{\partial v}{\partial x} \ \ \...

Continue reading...
 
Last edited by a moderator:
  • Like
  • Love
Likes   Reactions: JD_PM, Greg Bernhardt, Adesh and 3 others
This is a really helpful reference, there's so much that can go wrong with these sorts of questions and the topic is skated over in so many resources.

How common is it to have to use the inverse case? That is, if we first have a function ##F(x,y) = f(u(x,y), v(x,y))##, is it sometimes useful to restate it in the form ##G(u,v) = g(x(u,v), y(u,v))##?
 
  • Like
Likes   Reactions: Greg Bernhardt
etotheipi said:
How common is it to have to use the inverse case? That is, if we first have a function ##F(x,y) = f(u(x,y), v(x,y))##, is it sometimes useful to restate it in the form ##G(u,v) = g(x(u,v), y(u,v))##?
It depends how the change of variables arises. For polar coordinates we generally start from:
$$x = r\cos \phi, \ \ y = r\sin \phi$$
Which is the "inverse" case in the tutorial.

The important point is that, if you have a function of ##r, \phi##, then you must calculate the inverse functions:
$$r = \sqrt{x^2 + y^2}, \ \ \ \phi = \arctan \frac y x$$
 
  • Like
Likes   Reactions: etotheipi
It was such a nice and clear article that I really learned from it, enjoyed and admired it. The main issue is that ##f## is not directly a function of ##x## and ##y##, and I think these cases arise so much in Electrodynamics, where fields are functions of charge/current density and position, and position in itself is a function of time, even charge/current density changes with time.
 
  • Like
Likes   Reactions: etotheipi and PeroK

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K