I. Orientation — Functions of Several Variables
Multivariate differentiation extends single-variable calculus to functions whose outputs depend on two or more independent variables. For a scalar function , the graph is generally a surface, and differentiation describes its directional rates of change, tangent plane, local extrema, and behavior under constraints.
- Domain and range: A function assigns a scalar to each vector in its domain .
- Geometric interpretation: For , fixing produces a curve in the -direction, while fixing produces one in the -direction.
- Increment convention: Changes in the inputs are denoted by , and the corresponding output change is
TextΔz = f(x + Δx, y + Δy) − f(x, y).
Here, is the initial point and is its displacement. - Local viewpoint: Limits describe behavior near a point; derivatives give local linear approximations; optimization identifies points where nearby function values are larger or smaller.
- Regularity assumptions: Continuity does not necessarily imply differentiability, but continuous first partial derivatives near a point are sufficient for differentiability there.
II. Limits and Continuity — Local Behavior Near a Point
A. limits and continuity
A multivariable limit exists only when the function approaches the same value along every possible path to the specified point.
- Formal limit: The statement
Textlim f(x, y) = L (x, y) → (a, b)
means that for every , there is a such that
Text0 < √[(x − a)² + (y − b)²] < δ ⇒ |f(x, y) − L| < ε.
Here, is the limiting point, is the proposed limit, and are positive tolerances. - Path requirement: Equal limits along the lines are necessary but not sufficient for existence, because curved paths such as must also agree.
- Non-existence test: For
Textf(x, y) = xy/(x² + y²),
approach along to obtain , but along to obtain . The unequal values prove that the limit does not exist. - Continuity: The function is continuous at when is defined, the limit exists, and
Textlim f(x, y) = f(a, b). (x, y) → (a, b) - Useful properties: Polynomial functions are continuous everywhere; rational functions are continuous wherever their denominators are nonzero; sums, products, quotients, and compositions preserve continuity wherever defined.
III. Differential Structure — Local Linear Change
A. partial derivatives and total derivative
Partial derivatives measure change in one independent variable at a time, whereas the total derivative combines all first-order changes into one linear approximation.
- First partial derivatives: For ,
Textfₓ(x, y) = ∂f/∂x = lim[h→0] [f(x + h, y) − f(x, y)]/h fᵧ(x, y) = ∂f/∂y = lim[k→0] [f(x, y + k) − f(x, y)]/k.
Here, and are scalar increments; the other variable is held constant in each limit. - Higher partial derivatives: Second derivatives include , , and the mixed derivatives and . If the mixed derivatives are continuous near a point, then
Textfₓᵧ = fᵧₓ. - Gradient: The first partial derivatives form the vector
Text∇f = (fₓ, fᵧ).
The gradient points in the direction of greatest increase, and its magnitude gives the maximum directional rate of change. - Differentiability and total differential: If is differentiable at , then
TextΔz = fₓ Δx + fᵧ Δy + o(√[(Δx)² + (Δy)²]), dz = fₓ dx + fᵧ dy.
The notation represents an error that becomes negligible relative to as ; are small input changes. - Worked example: For ,
Textfₓ = 2xy, fᵧ = x² + 6y, df = 2xy dx + (x² + 6y)dy.
At , with and , , approximating the actual change in .
IV. Chain Rule — Differentiating Composite Dependence
A. chain rule
The multivariable chain rule traces how an output changes through every intermediate variable on which it depends.
- One parameter: If , with and , then
Textdz/dt = (∂f/∂x)(dx/dt) + (∂f/∂y)(dy/dt).
Here, is the independent parameter and are intermediate variables. - Two parameters: If and , then
Text∂z/∂u = fₓxᵤ + fᵧyᵤ, ∂z/∂v = fₓxᵥ + fᵧyᵥ.
Subscripts denote partial differentiation with respect to the indicated variable. - Jacobian form: For differentiable vector functions, composition becomes matrix multiplication:
TextJ(F ∘ G) = JF(G) · JG.
Here, is the outer function, is the inner function, and denotes the matrix of first partial derivatives. - Worked example: Let , , and . Then
Textdz/dt = 2x(2t) + 2y(3) = 4t³ + 18t.
This agrees with directly differentiating .
V. Homogeneous Functions — Scaling and Euler’s Identity
A. Euler's theorem for homogeneous functions
Euler’s theorem converts a scaling property into a differential identity for a differentiable homogeneous function.
- Homogeneity: A function is homogeneous of degree if
Textf(λx, λy) = λⁿf(x, y)
for every admissible scalar . The number is the degree of homogeneity. - Euler’s theorem: If is differentiable and homogeneous of degree , then
Textx(∂f/∂x) + y(∂f/∂y) = nf(x, y). - Derivation: Differentiate with respect to :
Textx fₓ(λx, λy) + y fᵧ(λx, λy) = nλⁿ⁻¹f(x, y).
Setting gives Euler’s identity. - Worked example: For , every term has total degree , so . Direct differentiation gives
Textxfₓ + yfᵧ = x(3x² + 6xy) + y(3x² + 3y²) = 3f. - Limitation: Euler’s theorem requires a genuine scaling relation; a function such as is not homogeneous because its terms have different degrees.
VI. Unconstrained Optimization — Stationary-Point Classification
A. maxima and minima for a function of two variables
Local extrema occur where nearby function values are no greater or no smaller, and interior differentiable extrema must be stationary points.
- Definitions:
- Local maximum: for all sufficiently close to .
- Local minimum: in a sufficiently small neighborhood.
- Necessary condition: At an interior local extremum where is differentiable,
Textfₓ(a, b) = 0, fᵧ(a, b) = 0.
A solution is a critical point, but it may instead be a saddle point. - Second-derivative test: Compute
TextD = fₓₓfᵧᵧ − (fₓᵧ)²
at the critical point.- If and , there is a local minimum.
- If and , there is a local maximum.
- If , there is a saddle point.
- If , the test is inconclusive.
- Worked example: For ,
Textfₓ = 2x − 4, fᵧ = 2y + 6.
Thus the only critical point is . Since , , , and , the point is a local minimum; completing squares shows it is also the global minimum. - Boundary issue: On a closed bounded domain, absolute extrema may occur at interior critical points or on the boundary, so both must be checked.
VII. Constrained Optimization — The Multiplier Technique
A. Lagrange method of multiplier
The Lagrange multiplier method finds extrema of subject to a constraint by requiring their gradients to be parallel.
- Geometric principle: At a constrained extremum, the level curve of is tangent to the constraint curve, giving
Text∇f = λ∇g.
Here, is the Lagrange multiplier, , and . - System to solve:
Textfₓ = λgₓ, fᵧ = λgᵧ, g(x, y) = c.
The equations determine candidate values of , , and , provided . - Worked example: To extremize subject to , set
Texty = 2λx, x = 2λy, x² + y² = 2.
The nonzero solutions satisfy . The candidates and give the maximum ; and give the minimum . - Interpretation of : Under suitable regularity conditions, measures the approximate change in the optimal value when the constraint level changes.
- Limitations: Singular points where , endpoints, corners, and multiple constraints require separate checks or an extended system with one multiplier per constraint.
Nearly through. Did unit 4 of MTH165 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 4 of MTH165 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill; the rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks.