[Math] Second order partial derivatives – notation

calculusderivativesmultivariable-calculusnotation

I have seen both of these used, and people around me seem to disagree, so which one is correct: (first derivative with respect to x, then y):

(1) $$\frac{\partial }{\partial y}(\frac{\partial f}{\partial x}) = \frac{\partial^{2} f}{\partial x\partial y}$$

(2) $$\frac{\partial }{\partial y}(\frac{\partial f}{\partial x}) = \frac{\partial^{2} f}{\partial y\partial x}$$

and why? (reasons, history?)

Best Answer

$\def\part#1#2{{\partial#1\over\partial#2}}$ $\def\parts#1#2#3{{\partial^2#1\over\partial#2\,\partial#3}}$

On the left hand side of your equations, you have the symbol "$\part{\vphantom f}y\bigl(\part f x\bigr)"$. By definition this is the partial derivative of the function $\part fx$ with respect to $y$. So, upon encountering this symbol, you take the function $\part fx$ and then take its partial with respect to $y$. The natural notation of the type on the right hand side of your equations is the notation used in (2) of your post: $$\tag{3} \part{\vphantom f}y\Bigl(\part f x\Bigr)=\parts f y x. $$

I will not surmise why this is the "natural" notation, but will point out that $(3)$ gives the adopted definition for the symbol $\parts f y x$ in any calculus/analysis text, or any other "credible" source, you'll find.

I emphasise here that $(3)$ defines the symbol $\parts f y x$; that this sometimes gives an expression that equals $\parts f x y$ is irrelevant. (Of course, for certain functions, what you wrote in (1) would be correct; but its correctness would follow from the result of a theorem, not from the definition of the symbols.)

Related Question