partial derivatives
calculus
multivariable calculus
differentiation
mathematical analysis

Partial Derivatives

Master System Design with Codemia

Enhance your system design skills with over 120 practice problems, detailed solutions, and hands-on exercises.

Partial derivatives are fundamental tools in multivariable calculus, utilized extensively in fields such as physics, engineering, computer science, and economics. When a function depends on several variables, understanding how those variables individually impact the function is crucial. Partial derivatives provide a mechanism to explore these individual effects, offering insights into the behavior of multivariable functions.

Understanding Partial Derivatives

Definition

A partial derivative measures how a function changes as one of its variables changes, while all other variables are held constant. Consider a function f(x,y)=x2+xy+y2f(x, y) = x^2 + xy + y^2. The partial derivative of ff with respect to xx is denoted as fx\frac{\partial f}{\partial x}, and it involves differentiation with respect to xx, treating yy as a constant:

fx=x(x2+xy+y2)=2x+y\frac{\partial f}{\partial x} = \frac{\partial}{\partial x}(x^2 + xy + y^2) = 2x + y Similarly, the partial derivative of ff with respect to yy is:

fy=y(x2+xy+y2)=x+2y\frac{\partial f}{\partial y} = \frac{\partial}{\partial y}(x^2 + xy + y^2) = x + 2y

Notation

Partial derivatives can be denoted in several ways depending on context and preference:

  • $\frac{\partial f}{\partial x}$ or $\partial_x f$: Commonly used derivative notation.
  • fxf_x: Compact notation often used in the context of fields and potentials.

Higher-Order Partial Derivatives

Just as there are higher-order derivatives in single-variable calculus, there are higher-order partial derivatives in multivariable calculus. A second-order partial derivative can be with respect to the same variable twice or with respect to two different variables.

For the function f(x,y)f(x, y), the second-order partial derivatives are:

  • 2fx2=x(2x+y)=2\frac{\partial^2 f}{\partial x^2} = \frac{\partial}{\partial x}(2x + y) = 2
  • 2fy2=y(x+2y)=2\frac{\partial^2 f}{\partial y^2} = \frac{\partial}{\partial y}(x + 2y) = 2
  • Mixed partial derivatives:
    • 2fxy=y(2x+y)=1\frac{\partial^2 f}{\partial x \partial y} = \frac{\partial}{\partial y}(2x + y) = 1
    • 2fyx=x(x+2y)=1\frac{\partial^2 f}{\partial y \partial x} = \frac{\partial}{\partial x}(x + 2y) = 1

Under certain conditions, mixed partial derivatives are equal, which is known as Schwarz's theorem or the symmetry of second derivatives: 2fxy=2fyx\frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x}.

Applications of Partial Derivatives

Partial derivatives are instrumental in numerous real-world applications, varying from optimizing engineering systems to modeling financial markets. Below are a few vital applications:

1. Gradient and Directional Derivatives

The gradient of a function is a vector composed of its partial derivatives. For a function f(x,y,z)f(x, y, z), the gradient is f=(fx,fy,fz)\nabla f = \left(\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z}\right). The gradient points in the direction of the steepest ascent of the function.

2. Economics: Cobb-Douglas Production Function

The Cobb-Douglas production function, defined as Q(L,K)=ALαKβQ(L, K) = A L^\alpha K^\beta, models the relationship between inputs (labor LL and capital KK) and output (QQ). Partial derivatives of this function with respect to LL and KK indicate the marginal productivity of labor and capital.

3. Optimization and Critical Points

In optimization, partial derivatives help identify critical points of multivariable functions, essential in determining maxima, minima, or saddle points through the use of the Hessian matrix.

Table: Key Concepts of Partial Derivatives

ConceptExplanation
Partial DerivativeMeasures the change in a function as one variable changes, others held constant
Notationfx\frac{\partial f}{\partial x}, xf\partial_x f, fxf_x
GradientVector of all partial derivatives: f\nabla f
Higher-Order DerivativesSecond or higher-order derivatives, including 2fx2\frac{\partial^2 f}{\partial x^2}
Mixed Partials2fxy=2fyx\frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x} under certain conditions
ApplicationsOptimization, Economics, Physics, Engineering, Machine Learning

An Example Problem

Let's solve a practical example involving partial derivatives. Consider the function f(x,y)=x2ey+y3exf(x, y) = x^2 e^y + y^3 e^x. To find the partial derivatives with respect to xx and yy, we proceed as:

  • Partially differentiate with respect to xx:

fx=x(x2ey+y3ex)=2xey+y3ex\frac{\partial f}{\partial x} = \frac{\partial}{\partial x}(x^2 e^y + y^3 e^x) = 2x e^y + y^3 e^x

  • Partially differentiate with respect to yy:

fy=y(x2ey+y3ex)=x2ey+3y2ex\frac{\partial f}{\partial y} = \frac{\partial}{\partial y}(x^2 e^y + y^3 e^x) = x^2 e^y + 3y^2 e^x These partial derivatives provide rates of change of ff with respect to xx and yy, offering insights into how alterations in individual variables impact the function.

Partial derivatives are indispensable in the analysis and interpretation of systems described by multivariable functions. They serve as foundational components underlying many mathematical models and problem-solving techniques across diverse scientific domains.


Course illustration
Course illustration

All Rights Reserved.