Undergraduate

UndergraduateCalculusMultivariable Calculus


Partial Derivatives


Understanding partial derivatives

The partial derivative is a fundamental concept in multivariable calculus, which is the study of functions that involve multiple variables. While ordinary calculus deals with functions of a single variable, multivariable calculus extends those ideas to functions of more than one variable. This extension allows the discovery of a whole new world of mathematical understanding, which is applicable in various scientific fields such as physics, engineering, economics, and others.

Consider a function f(x, y), where the output depends on two input variables, x and y. For a function of two variables, partial derivatives capture how the function changes with respect to each individual variable while holding the other constant.

What is a partial derivative?

The partial derivative of a function with respect to one of its variables measures how the function changes when that specific variable changes, holding all other variables constant. In other words, when you calculate the partial derivative with respect to x, you treat y as a constant and differentiate with respect to x, just as you would in single-variable calculus.

Mathematical notation

There are several notations used for partial derivatives. If f(x, y) is a function, then:

  • The partial derivative of f with respect to x is denoted by ∂f/∂x or fx.
  • The partial derivative with respect to y is ∂f/∂y or fy.

Example calculation

Consider the function f(x, y) = 3x2y + 2y3 - 5x.

To find the partial derivative of f with respect to x, denoted by ∂f/∂x, differentiate it with respect to x:

∂f/∂x = ∂/∂x (3x2y + 2y3 - 5x) = 6xy - 5.

Here, y is considered constant.

For the partial derivative with respect to y, ∂f/∂y is represented by:

∂f/∂y = ∂/∂y (3x2y + 2y3 - 5x) = 3x2 + 6y2.

This time, x is considered a constant.

Visualizing partial derivatives

Visualizing how partial derivatives work can further deepen the understanding. Let's consider a graphical representation.

Suppose the function f(x, y) is represented as a surface in three-dimensional space:

slope along the x-axis slope along the y-axis

In this simple diagram, the blue line shows how the surface slope behaves when you change x variable while keeping y constant, which represents the partial derivative with respect to x. The red line shows a similar concept, but for a change in y while keeping x constant.

Applications of partial derivatives

Gradient vector

An important use of partial derivatives is in creating the gradient vector. For a given function f(x, y, z), the gradient is a vector that points in the direction of the greatest rate of increase of the function, and its magnitude is the rate of increase. The gradient vector is composed of the partial derivatives with respect to each variable:

∇f = (∂f/∂x, ∂f/∂y, ∂f/∂z)

Tangent plane

Partial derivatives are used to determine the equations of tangent planes to surfaces at points. Consider a surface z = f(x, y) The equation of the tangent plane to the surface at the point (x0, y0, z0) is:

z - z0 = (∂f/∂x)x=x0 (x - x0) + (∂f/∂y)y=y0 (y - y0)

Let's take an example function f(x, y) = x2 + y2:

Find the tangent plane at (1, 1, 2).

∂f/∂x = 2x ∂f/∂y = 2y At point (1, 1, 2): 
z - 2 = 2(1)(x - 1) + 2(1)(y - 1)
z - 2 = 2(x - 1) + 2(y - 1)
z = 2x + 2y - 2

Higher-order partial derivatives

Just like in single-variable calculus, we can compute higher-order derivatives in multivariable calculus. Second-order partial derivatives are particularly interesting. They are computed by differentiating the first partial derivative.

  • The second-order partial derivative with respect to x is ∂²f/∂x².
  • Mixed partial derivatives, such as ∂²f/∂x∂y, are calculated by differentiating first relative to y, and then relative to x, or vice versa.

Example of higher-order partial derivatives

A function f(x, y) = x2y + y3 is given:

  • First, calculate the first-order partial derivative:
  • ∂f/∂x = 2xy ∂f/∂y = x2 + 3y2
  • Next, calculate the second-order derivative:
  • ∂²f/∂x² = ∂/∂x (2xy) = 2y
    ∂²f/∂y² = ∂/∂y (x2 + 3y2) = 6y
    ∂²f/∂x∂y = ∂/∂y (2xy) = 2x
    ∂²f/∂y∂x = ∂/∂x (x2 + 3y2) = 2x

Symmetry in mixed partial derivatives

An important theorem in differential calculus is known as the "Clairaut theorem" or the "Schwartz theorem" regarding mixed partial derivatives. It states that if the function and the derivative involved are continuous, then the mixed partial derivatives are equal. In other words:

∂²f/∂x∂y = ∂²f/∂y∂x

Example demonstration

Consider the function f(x, y) = x3y + xy3 Let's show the symmetry of the mixed partial derivatives.

  • First-order partial derivative:
  • ∂f/∂x = 3x2y + y3 ∂f/∂y = x3 + 3xy2
  • Mixed partial derivatives:
  • ∂²f/∂x∂y = ∂/∂y (3x2y + y3) = 3x2 + 3y2 
    ∂²f/∂y∂x = ∂/∂x (x3 + 3xy2) = 3x2 + 3y2

Thus, prove ∂²f/∂x∂y = ∂²f/∂y∂x for this function.

Conclusion

Partial derivatives are important for understanding how multivariable functions change. They allow us to explore gradients, understand tangent planes, and solve complex differential equations. The symmetry of mixed partial derivatives ensures consistency and adds elegance to mathematical calculations.

This comprehensive guide on partial derivatives will serve as a foundation for further exploration of multivariable calculus topics and their applications in various fields of study.


Undergraduate → 2.3.1


U
username
0%
completed in Undergraduate


Comments