Partial Derivatives
Many real-world phenomena depend on multiple factors simultaneously. For instance, the temperature in a room might vary with its length, width, and height, or a company's profit could depend on production cost and sales volume. When a function has more than one input variable, traditional differentiation only tells us the rate of change with respect to a single variable, assuming all others are constant. Partial derivatives extend this concept, allowing us to analyze how a multivariable function changes when only one of its independent variables varies.
Functions of Multiple Variables
A multivariable function is a function that takes multiple independent variables as input and produces a single output. For example, is a function of two variables, and . Its domain is typically a subset of , where is the number of input variables, and its output is a real number. These functions often represent surfaces in 3D space or higher-dimensional hypersurfaces.
The Core Idea: Differentiating Along an Axis
When we compute a partial derivative, we are essentially treating all other independent variables as if they were constants. This transforms the multivariable function into a single-variable function, which we can then differentiate using standard calculus rules. For example, to find the partial derivative of with respect to , we hold constant and differentiate as if it were only a function of . This process isolates the impact of one variable's change on the function's output.
Imagine a 3D surface representing . When you hold constant, you are effectively taking a slice of that surface parallel to the -plane. The partial derivative with respect to then gives you the slope of the tangent line to that specific 2D curve.
Notation for Partial Derivatives
Several notations are used to denote partial derivatives, all conveying the same meaning. The most common is the curly 'd' symbol, . When differentiating with respect to , we write or . Similarly, for , it's or . If the function is defined as , we might also see or . These notations clearly distinguish partial differentiation from ordinary differentiation.
For a function :
Partial derivative with respect to :
Partial derivative with respect to :
Computing First-Order Partial Derivatives
To compute a partial derivative, simply apply the familiar rules of differentiation (power rule, product rule, chain rule, etc.) while treating all variables other than the one you are differentiating with respect to as constants. For example, if you are finding , any term involving only (or other variables) will be treated as a constant, and its derivative with respect to will be zero. Terms like will be treated as , where is the constant .
Geometric Interpretation: Slices and Slopes
The partial derivative at a point represents the slope of the tangent line to the curve formed by intersecting the surface with the plane . This plane is parallel to the -plane. Similarly, at is the slope of the tangent line to the curve formed by intersecting the surface with the plane , which is parallel to the -plane. These slopes indicate the instantaneous rate of change in the or direction, respectively.
Higher-Order Partial Derivatives
Just like with single-variable functions, we can take partial derivatives multiple times. These are called higher-order partial derivatives. For a function , we can compute second-order partial derivatives such as (or ), which means differentiating twice with respect to . We can also compute (or ). More interestingly, we can compute mixed partial derivatives, like (or ), which means differentiating first with respect to , then with respect to .
Mixed Partial Derivatives and Clairaut's Theorem
A remarkable property of many functions is that the order of differentiation for mixed partial derivatives does not matter. This means that is equal to . This principle is known as Clairaut's Theorem (also Schwarz's Theorem or Young's Theorem). It holds true for functions where the mixed partial derivatives are continuous in an open disk around the point in question. This theorem simplifies many calculations and is a cornerstone in fields like physics and engineering.
If is a function such that and are continuous on an open disk , then for every point in :
Or, in subscript notation: .
The Gradient Vector (Brief Introduction)
The gradient of a multivariable function is a vector that contains all its first-order partial derivatives. For a function , the gradient is . This vector points in the direction of the steepest ascent of the function at a given point, and its magnitude represents the maximum rate of increase. The gradient is a fundamental concept in optimization, machine learning, and physics, as it provides a concise way to understand the overall direction of change for a function.
For a function , the gradient vector is:
For a function of two variables :
Partial derivatives measure the rate of change of a multivariable function with respect to one variable, treating all others as constants.
Notation like or indicates differentiation with respect to a specific variable.
To compute a partial derivative, apply standard differentiation rules while treating other variables as constants.
Geometrically, a partial derivative represents the slope of a tangent line to a 2D slice of the function's surface.
Higher-order partial derivatives involve differentiating multiple times, either with respect to the same variable () or different variables ().
Clairaut's Theorem states that mixed partial derivatives ( and ) are equal if they are continuous.
The gradient vector, , combines all first-order partial derivatives and points in the direction of the steepest ascent of the function.