Second Order Partial Derivatives with Examples

Second-order partial derivatives describe the rate at which the partial derivative itself changes with respect to its variables. This information is fundamental to understanding complex systems, from the flow of heat across a surface to the behavior of economic markets.

In this article, we will explore the concept of second-order partial derivatives. We will learn how they are calculated and we will see some practice exercises.

CALCULUS
Four types of second order partial derivatives

Relevant for...

Learning about second-order partial derivatives.

See examples

CALCULUS
Four types of second order partial derivatives

Relevant for...

Learning about second-order partial derivatives.

See examples

How to calculate second-order partial derivatives?

Second-order partial derivatives are found by calculating the partial derivative of a function twice with respect to the given variables.

For example, if we have the function $latex z=f(x, y)$, then:

$latex \dfrac{\partial^2{f}}{\partial{x^2}}=\dfrac{\partial }{\partial{x}}\left(\dfrac{\partial f}{\partial x}\right)~$ and $latex \dfrac{\partial^2{f} }{\partial x^2}=\dfrac{\partial }{\partial{x}}\left(\dfrac{\partial f}{\partial x}\right)~$

These derivatives can also be written as $latex f_{xx}$ and $latex f_{yy}$, which is subscript notation.

Second-order partial derivatives do not necessarily have to be always with respect to the same variable. We can also calculate mixed partial derivatives:

$latex \dfrac{\partial^2{f}}{\partial x\partial y}=\dfrac{\partial }{\partial{x}}\left(\dfrac{\partial f}{\partial y}\right)~$ and $latex \dfrac{\partial^2{f}}{\partial y \partial x}=\dfrac{\partial }{\partial{y}}\left(\dfrac{\partial f}{\partial x}\right)~$

These derivatives are denoted as $latex f_{xy}$ and $latex f_{yx}$ respectively.

Note: As we will see in the exercises below, it turns out that $latex f_{xy}=f_{yx}$ is always true.

If you need to review first-order partial derivatives, you can visit this article.

Solved exercises of second-order partial derivatives

EXAMPLE 1

Find the derivative $latex \dfrac{\partial^2{f} }{\partial x^2}$ for the following function:

$$f(x, y) = 3x^2 + 4xy + y^2$$

Solution

EXAMPLE 2

What is the derivative $latex \dfrac{\partial^2{f}}{\partial y^2}$ for the following function?

$$f(x, y) = 3x^2 + 4xy + y^2$$

Solution

EXAMPLE 3

Find the derivatives $latex f_{xy}$ and $latex f_{yx}$ of the following function:

$$f(x, y) = 3x^2 + 4xy + y^2$$

Solution

EXAMPLE 4

Find the second-order partial derivatives of

$latex f(x, y) = x^3y + x^2y^2$

Solution

EXAMPLE 5

Find the four second-order partial derivatives of

$latex f(x, y)=x^2+xy^3-y^2$

Solution

EXAMPLE 6

Find the second-order partial derivatives of the following function:

$latex f(x, y) = x^3y^2 - 2x^2y + 5xy^3$

Solution

EXAMPLE 7

We have the function $latex f(x, y)= ax^2+by^2$, where $latex a$ and $latex b$ are constants.

Find the relationship between $latex a$ and $latex b$ such that $latex f_{xx}+f_{yy}=0$.

Solution

EXAMPLE 8

Find the four second-order partial derivatives of the following function:

$latex f(x, y) = \sin(x)\cos(y)$

Solution

Second-degree partial derivatives - Practice problems

Logo
You have completed the quiz!

Write the answer in the input box.

$latex =$

See also

Interested in learning more about partial derivatives? You can take a look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE