Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A function f(x,y)f(x,y) has partial derivatives:

(fx)y=limh0f(x+h,y)f(x,y)h\td{}{f}{x}{y} = \lim_{h \to 0} \frac{f(x+h, y) - f(x, y)}{h}

where x (in the denominator) indicates what is varied and y (outside the parentheses) indicates what is held constant.

The second partial derivative may be “repeated”

(2fx2)y=x[(fx)y]y\td{2}{f}{x}{y} = \pp{}{}{x}\left[ \td{}{f}{x}{y} \right]_y

or “mixed”

2fxy=x[(fy)x]y\frac{\partial^2 f}{\partial x \partial y} = \pp{}{}{x}\left[ \td{}{f}{y}{x} \right]_y

Mixed partial derivatives are read from right to left by convention.

Partial derivatives can be taken using the normal procedures for single-variable calculus if you treat the constant variables as such. For example, for the function f(x,y)=x2cosyf(x,y) = x^2 \cos y,

For the example function given above, the first partial derivative with respect to yy is

(fx)y=x2siny\td{}{f}{x}{y} = -x^2 \sin y

So, the second (mixed) partial derivative with respect to y then x is

2fxy=x[(fy)x]y=x(x2siny)y=2xsiny\frac{\partial^2 f}{\partial x \partial y} = \pp{}{}{x}\left[ \td{}{f}{y}{x} \right]_y = \pp{}{}{x} \left( -x^2 \sin y \right)_y = -2x \sin y

Skill builder problems

Given:

f=cos(4x+y2)+x2yx=2uty=t2\begin{align} f &= \cos(4x+y^2) + x^2y\\ x &= 2ut\\ y &= t^2 \end{align}

Evaluate:

Solution to Exercise 1
(fx)y=4sin(4x+y2)+2xy\td{}{f}{x}{y} = -4\sin(4x+y^2) + 2xy
Solution to Exercise 2
(fy)x=2ysin(4x+y2)+x2\td{}{f}{y}{x} = -2y\sin(4x+y^2) + x^2\\
Solution to Exercise 3
(2fx2)y=16cos(4x+y2)+2y\td{2}{f}{x}{y} = -16\cos(4x+y^2) + 2y

(Differentiate #1.)

Solution to Exercise 4
(2fy2)x=4y2cos(4x+y2)2sin(4x+y2)\td{2}{f}{y}{x} = -4y^2\cos(4x+y^2) - 2\sin(4x+y^2)

(Differentiate #1.)

Solution to Exercise 5
2fxy=8ycos(4x+y2)+2x\frac{\partial^2 f}{\partial x \partial y} = -8y\cos(4x+y^2) + 2x

(Differentiate #2.)

Solution to Exercise 6
2fyx=8ycos(4x+y2)+2x\frac{\partial^2 f}{\partial y \partial x} = -8y\cos(4x+y^2) + 2x

(Same as #5.)