multivariable calculus
Multivariable Functions
You should know: functions, partial derivatives
Overview
A multivariable function takes more than one input variable and produces an output — most commonly f(x,y) or f(x,y,z). Instead of a curve, the graph of a two-variable function z=f(x,y) is a surface in 3D space. Multivariable functions are how calculus models anything depending on multiple independent quantities at once: temperature depending on position, profit depending on price and quantity, or a neural network's loss depending on thousands of weights.
Intuition
A single-variable function is a machine with one dial and one readout. A multivariable function is a machine with several dials (inputs) and one readout (output) — turning any dial can change the output, and the interesting behavior is how the output responds to combinations of dial settings, not just one at a time. Visually, f(x,y) traces out a landscape: hills, valleys, and saddle passes, where 'height' at each (x,y) location is the function's output.
Formal Definition
A real-valued function of n variables maps a point in ℝⁿ to a real number:
D is the domain, a subset of n-dimensional space
The limit must agree along EVERY path of approach to (a,b), not just along axes
Notation
| Notation | Meaning |
|---|---|
| A function of two real variables | |
| The set of points where f equals a constant k — a contour line | |
| The subset of n-space on which f is defined |
Properties
Path-dependence of limits
Condition: Unlike single-variable limits, there are infinitely many directions of approach to check
Continuity
Level curves / contour plots
Applications
3D Visualization
Worked Examples
The expression under the square root must be non-negative.
Answer: The closed disk of radius 3 centered at the origin: {(x,y) : x²+y² ≤ 9}
Practice Problems
Describe the level curves of f(x,y) = x² + y².
Find the domain of f(x,y) = ln(y − x²).
A terrain elevation is modelled by z = f(x, y). What do the LEVEL CURVES f(x,y) = c represent, and where have you seen them?
Common Mistakes
Checking a multivariable limit only along the x-axis and y-axis and concluding it exists.
Agreement along the two coordinate axes is not sufficient — the limit must agree along EVERY possible path of approach, including diagonal lines (y=mx) and curves (y=x²). Checking just two paths can miss a path where the limit disagrees.
Confusing a level curve f(x,y)=k with the graph of f.
The graph of f is a surface in 3D (z=f(x,y)); a level curve is a 2D curve in the xy-plane showing where the surface has constant height k — like a single contour line on a topographic map, not the whole map.
Quiz
Summary
- A multivariable function f(x₁,...,xₙ) maps a point in n-space to a single real output.
- The graph of f(x,y) is a surface in 3D; level curves f(x,y)=k are 2D contour slices.
- Multivariable limits must agree along every path of approach, not just along coordinate axes — this is much stricter than single-variable limits.
- Domains are regions in ℝⁿ, often defined by inequalities (e.g. under a square root or logarithm).
- Foundational for optimization, physics fields, economics, and machine learning loss functions of many variables.
Mathematics