Partial Derivatives
This chapter covers multivariable calculus fundamentals: functions of several variables, limits, continuity, partial derivatives, chain rule, directional derivatives, gradients, optimization, and Lagrange multipliers. The concepts build systematically from basic definitions to complex optimization techniques.
14.1 Functions of Several Variables
Core Definitions
A function of several variables is a rule that assigns a single value in the range to each point in the domain. For a function
where
Intuitive Understanding: Just as
- Domain: The set of all possible input values
for which is defined - Range: The set of all possible output values
as varies throughout the domain
Example: For
Geometric Concepts
For a region
- Interior point: A point
in such that some disk centered at lies entirely in - Boundary point: A point
such that every disk centered at contains both points in and points not in - Limit point: A point
such that every deleted neighborhood of contains points of
Visualization: Think of a filled circle. Interior points are "safely inside," boundary points are on the edge, and limit points include both interior and boundary points.
- Open region: A region consisting entirely of interior points
- Closed region: A region that contains all its boundary points
- Closure of a region: The union of the region and all its boundary points
- Bounded region: A region that lies inside some disk
- Unbounded region: A region that is not bounded
Key Insight: Open regions are like "intervals without endpoints" - they don't include their boundaries. Closed regions include their boundaries.
- Level curve: For
, the curve for constant - Level surface: For
, the surface for constant
Physical Interpretation: Level curves are like contour lines on a topographic map - they connect points of equal elevation. For temperature functions, they're isotherms.
14.2 Limits and Continuity in Higher Dimensions
Limit Definitions
We say
we have
Key Difference from Single Variable: We must approach the point from ALL possible directions in the plane, not just left and right.
Critical Insight: If different paths give different limits, the limit does not exist. This is the basis of the two-path test.
Key Theorems
If
if - Root Rule:
if is odd, or if is even and
Test Methods
If
Strategy: Try paths like
A function
Practical Test: All polynomial and rational functions are continuous where they're defined. Compositions of continuous functions are continuous.
14.3 Partial Derivatives
Basic Definitions
The partial derivative of
Similarly, the partial derivative with respect to
Geometric Interpretation:
To find
Example: If
(treat as constant) (treat as constant)
Higher Order Partial Derivatives
For
(mixed partial) (mixed partial)
Order of Operations: In
Key Theorems
If
Practical Impact: For "nice" functions, the order of mixed partial differentiation doesn't matter. This dramatically simplifies calculations.
A function
where
Geometric Meaning: The surface has a well-defined tangent plane at the point, and the function is well-approximated by this plane near the point.
If the partial derivatives of a function
If
Warning: The converse is false! A function can be continuous but not differentiable (like
14.4 The Chain Rule
The chain rule extends to multivariable functions but becomes more complex due to multiple paths of dependence. Understanding the "dependency tree" is crucial.
Chain Rule Formulas
If
Conceptual Understanding: The rate of change of
- How
changes with times how changes with - How
changes with times how changes with
If
If
Tools and Applications
Tree diagrams show the dependency relationships between variables. Each path from the top variable to a bottom variable represents a term in the chain rule.
How to Use:
- Draw the dependent variable at the top
- Draw intermediate variables in the middle
- Draw independent variables at the bottom
- Connect variables with arrows showing dependencies
- Each complete path gives one term in the chain rule
If
Extension to More Variables: If
Challenging Chain Rule Problems
Problem: If
Strategy: Let
- Need:
- Need:
14.5 Directional Derivatives and Gradient Vectors
This section introduces the crucial concept of the gradient - arguably the most important concept in multivariable calculus for applications.
Core Definitions
The directional derivative of
Physical Interpretation: If you're standing at point
The gradient of
For functions of three variables:
Fundamental Insight: The gradient is a vector field that points in the direction of steepest increase of the function at each point.
Key Theorems and Properties
If
This is the most important formula in the chapter! It connects directional derivatives to gradients through the dot product.
- Maximum rate of increase:
points in the direction of maximum rate of increase - Magnitude:
gives the maximum directional derivative - Minimum rate:
points in direction of maximum rate of decrease (steepest descent) - Zero directional derivative: Directions perpendicular to
have zero directional derivative - Level curve relationship:
level curves
At any point, the gradient vector
Application: This is why water flows perpendicular to contour lines on topographic maps - it follows the negative gradient (steepest descent).
Algebraic Rules for Gradients
(linearity) (product rule) (quotient rule) (power rule) (chain rule)
Challenging Directional Derivative Problems
Problem: Find the directional derivative of
Solution Strategy:
- Find
- Evaluate at
: - Direction vector:
- Unit vector:
14.6 Tangent Planes and Differentials
This section provides the multivariable analog of linear approximation, essential for error analysis and optimization.
Tangent Planes
The tangent plane to the surface
$$z - z_0 = f_x(x_0,y_0)(x-x_0) + f_y(x_0,y_0)(y-y_0)$$
Geometric Understanding: The tangent plane is the "best linear approximation" to the surface at the given point. It's the 3D analog of a tangent line.
The normal vector to the surface
Alternative Form: For surfaces defined by
Linear Approximations and Differentials
The linearization of
Approximation:
For a function dependant on three or more variables, it's linearization can be represented as $$L(x,y,z, \dots ) = f(P_{0}) + f_{x}(P_{0})\dd x + f_{y}(P_{0})\dd y + f_{z}(P_{0})\dd z + \dots $$
The total differential of
Error Estimation: For small changes,
Applications of Differentials
Problem: The radius and height of a cylinder are measured as
Solution:
, - At
with , : cm³
14.7 Extreme Values and Saddle Points
This section extends single-variable optimization to functions of several variables, introducing the crucial second derivative test.
Critical Points and Classifications
A point
and , or - At least one partial derivative does not exist at
Geometric Interpretation: At interior critical points, the tangent plane is horizontal (if it exists).
- Local maximum:
for all near - Local minimum:
for all near - Saddle point: Neither a local max nor min - the surface "saddles" at this point
The Second Derivative Test
Let
Then:
and : Local minimum and : Local maximum : Saddle point : Test inconclusive
The Hessian matrix of
The discriminant is:
Connection to Linear Algebra: The second derivative test is really about the eigenvalues of the Hessian matrix.
Optimization Strategy
- Find interior critical points: Solve
- Find boundary extrema: Use techniques like parameterization or Lagrange multipliers
- Evaluate
at all candidates: Compare values to find absolute max/min
Extreme Value Theorem: Continuous functions on closed, bounded regions always attain their maximum and minimum values.
Challenging Optimization Problems
Problem: Classify all critical points of
Solution Process:
- From first:
or - Case analysis leads to critical points requiring careful algebraic manipulation
- Second derivative test with
at each point
14.8 Lagrange Multipliers
This powerful technique handles constrained optimization - finding extrema when variables are restricted by constraint equations.
The Method of Lagrange Multipliers
To find the extreme values of
where
Geometric Principle: At an extremum, the gradient of the objective function must be parallel to the gradient of the constraint. This happens because both gradients are perpendicular to the constraint surface.
Suppose that
If
Multiple Constraints
To find extrema of
Geometric Picture: The constraints define a curve (intersection of two surfaces), and we want the extrema of
Invoking Orthogonal Gradient theorem, we know
Challenging Lagrange Multiplier Problems
Problem: Find the minimum distance from the origin to the curve of intersection of the cylinder
Setup: Minimize
Solution Strategy:
- System:
- This gives:
, , - Combined with constraints, solve for critical points
Problem: A company produces two goods with production function
Mathematical Setup: Maximize
Key Insight: The Lagrange multiplier
14.9 Taylor's Formula for Two Variables
For a function
Applications:
- Error analysis for linear approximations
- Theoretical foundation for the second derivative test
- Quadratic approximations of functions
14.10 Constrained Partial Derivatives
When variables are related by constraints, we must account for these relationships when computing partial derivatives.
Example: If
- Method 1: Use the constraint to eliminate one variable, then differentiate
- Method 2: Use implicit differentiation on the constraint combined with chain rule
- Method 3: Use the formula involving gradients of the constraint
Practice Problems and Common Pitfalls
Hardest Problem Types Students Face
- Chain Rule with Multiple Paths: Students often miss terms or get confused about dependency relationships
- Second Derivative Test Calculations: Computing the discriminant correctly, especially with mixed partials
- Lagrange Multipliers Setup: Identifying constraints correctly and setting up the gradient equations
- Directional Derivatives: Forgetting to use unit vectors or miscomputing gradients
Challenge Problems (Based on End-of-Chapter Exercises)
If
Find the points on the surface
Find the direction in which
- Partial derivatives extend calculus to multivariable functions by examining rates of change in coordinate directions
- The gradient
is the most important concept - it points toward maximum increase and is perpendicular to level curves - Chain rule becomes more complex but follows systematic patterns using dependency trees
- Optimization uses critical points and the second derivative test, with the Hessian matrix providing geometric insight
- Lagrange multipliers handle constrained optimization by ensuring gradients are parallel at extrema
- Applications span physics, engineering, economics, and all fields involving optimization and rates of change