Multivariable Functions and Partial Derivatives
Overview
Calculus extends its inquiry into functions of multiple variables, shifting from the study of single-variable functions and their derivatives to exploring the terrain of multivariable functions. This progression is essential for delving into domains such as optimization and machine learning, where functions often depend on numerous variables.
Tangents: From Lines to Planes
Single Variable Context
Consider a univariate function, . Its derivative, , represents the slope of the tangent line at any given point on the curve. For instance, at a point , if , then the slope of the tangent line at this point is .
Multivariable Context
In contrast, for a bivariate function , the concept of tangency expands from a line to a plane. To visualize this function and its tangent structures, one must employ a 3-dimensional plot, where the and axes define the plane and the axis represents the function value, .
Deriving the Tangent Plane
The construction of a tangent plane at a given point on the surface defined by involves analyzing the function's behavior along two distinct paths that intersect at the point of interest.
Procedure
Fixing
- By fixing (e.g., ), the function reduces to a single-variable context along the -axis, resulting in a slice .
- The derivative of this slice with respect to , , gives the slope of the tangent line in the direction of the -axis.
Fixing
- Similarly, by fixing (e.g., ), and considering a slice along the -axis, .
- The derivative of this slice with respect to , , provides the slope of the tangent line in the direction of the -axis.
Tangent Plane Synthesis
The tangent plane at a specific point is the geometric plane spanned by these two tangent lines in 3-dimensional space.
Partial Derivatives
Conceptual Overview
Consider a function representing a surface in three-dimensional space. If we slice this surface with a plane parallel to either the -axis or -axis, we obtain a curve on the surface. The slope of the tangent to this curve at any point represents a partial derivative of the function at that point, depending on the direction of the slice.
Visualization Through Slicing
- Slicing Parallel to the -axis: Fixing a value of and treating it as a constant transforms into a function of a single variable , represented by a curve on the surface. The slope of the tangent to this curve is the partial derivative of with respect to , denoted as or .
- Slicing Parallel to the -axis: Similarly, fixing and treating it as a constant transforms into a function of alone. The slope of the tangent to this curve is the partial derivative of with respect to , denoted as or .
Calculating Partial Derivatives
Example 1: Function
- Partial Derivative with Respect to : Treating as a constant, the partial derivative is obtained by differentiating with respect to , yielding .
- Partial Derivative with Respect to : Treating as a constant, the partial derivative is .
General Method
- Fix Other Variables: Treat all variables other than the one with respect to which differentiation is performed as constants.
- Differentiate: Apply normal differentiation rules to the function with respect to the variable of interest.
Example 2: Function
- Partial Derivative with Respect to : Treating as constant, differentiate with respect to , leading to .
- Partial Derivative with Respect to : Treating as constant, differentiate with respect to , resulting in .