Multivariable Functions
A multivariable function maps several real inputs to one or more real outputs, . Its values depend jointly on all input variables, so it encodes surfaces, fields, and transformations rather than mere curves. Used across calculus, physics, economics, machine learning, and engineering wherever a quantity depends on more than one independent variable. Studied systematically since the 18th–19th centuries (Euler, Cauchy, Jacobi, Weierstrass).
The central conceptual leap from one variable to many is that there is no single "rate of change": variation depends on the direction in which you move. A scalar field over has infinitely many directional derivatives at each point, organized by a single linear object—the gradient or, more generally, the derivative (Jacobian) matrix. Local behavior is governed by linear approximation in all directions at once, and limits must respect every path of approach, not just coordinate lines.
Formal Statement
Let be nonempty. A multivariable function is a rule
Derivation hint: a function is a set of ordered pairs with , , in which each appears at most once; the component form follows by projecting onto coordinates. Here:
- = number of independent variables (dimension of the domain),
- = number of output components (dimension of the codomain),
- each is a scalar component function,
- the range is .
When , is a scalar field and its graph is the set
Derivation hint: replace the last output coordinate of the codomain with the function value; this generalizes to a hypersurface of dimension .
For a scalar field and constant , the level set at value is
Derivation hint: take the preimage of a single point under ; in this is a level curve (contour), in a level surface.
Let be a limit point of . We write if
Derivation hint: replace absolute values in the single-variable – definition by the Euclidean norm ; the punctured ball of radius must lie entirely inside 's relevant neighborhood for every direction simultaneously.
A function is continuous at if and only if every component function is continuous at . Moreover iff for each . The vector limit (when it exists) is unique and must agree along every path approaching .
We show vector convergence is equivalent to coordinatewise convergence. 1. Forward direction. Suppose . For each , the projection satisfies . Hence given , the same from forces . 2. Reverse direction. Suppose each . Given , choose so on the punctured -ball. Let . 3. Then on the punctured -ball,
Derivation hint: square and sum the componentwise bounds, then take the square root; the bound is chosen precisely so the sum of terms collapses to . 4. Uniqueness follows from the Hausdorff property of : two distinct limits would force and both below , contradicting the triangle inequality.
∎For scalar , the directional derivative at along a unit vector is
Derivation hint: restrict to the line , producing a one-variable function whose ordinary derivative at is . The gradient collects all first partials, and for differentiable ,
Derivation hint: apply the multivariable chain rule to ; , which is the dot product.
is differentiable at an interior point if there exists a linear map (the Jacobian) with
Derivation hint: this demands the error of the affine approximation vanish faster than ; it is the exact multivariable analogue of . The Jacobian entries are the partials . Existence of all partials does not imply differentiability, but if the partials exist and are continuous near , then is differentiable there ( differentiable).
Cauchy gave the modern rigorous footing for limits, continuity, and convergence that multivariable analysis rests upon. His insistence on the – spirit (later formalized by Weierstrass) turned vague talk of "infinitely small" multivariable increments into precise statements. Cauchy also contributed foundational results on systems of functions and the determinant theory that underlies the Jacobian, the key object measuring how a multivariable map distorts volume locally.
Building Intuition
Picture a scalar field as a landscape: the height above each point is the function value. The graph is the terrain surface. Level curves are the contour lines on a topographic map—walking along one keeps your altitude fixed. The gradient points in the direction of steepest ascent, and its magnitude tells you how steep. Crucially, the gradient is always perpendicular to the level curve through your point: along a contour the height doesn't change, so the "uphill" arrow can have no component tangent to it. For a vector field , drop the landscape picture and imagine an arrow attached to every point—like wind velocity over a map. The Jacobian then tells you how a tiny disk of points near gets stretched, rotated, and sheared into a tiny ellipse near .
Physicists meet multivariable functions as fields. A scalar field like temperature or electric potential assigns one number to each point of space; its gradient gives the electric field, a vector field. The recurring theme is that physical laws are statements about how fields vary in space and time: , , and all package directional rates of change of multivariable functions. The Jacobian's determinant appears when changing coordinates in integrals (e.g., to spherical coordinates) and measures local volume scaling.
Worked Examples
Given: (a dimensionless potential), evaluate at , and find the maximum rate of increase and its direction.
Steps: 1. Partials: , . 2. At : , . 3. Gradient: via . 4. Maximum directional derivative equals (achieved when ):
Derivation hint: is maximized at , giving . 5. Unit direction of steepest ascent: .
Answer:
Given: for . Does exist?
Steps: 1. Along : , so the limit along the -axis is . 2. Along : likewise gives . 3. Along : for all . 4. Compute the candidate values:
Derivation hint: substitute the path equation into to reduce it to a single-variable limit; differing path limits violate uniqueness from the <span class="wiki-link-missing">Continuity and Component Decomposition</span> theorem. 5. Because two paths give different values, the joint limit cannot exist.
Answer:
Common Misconceptions
Existence of all partial derivatives does NOT imply continuity or differentiability. Partials probe only the coordinate-axis directions. A function can have and defined everywhere yet not be continuous, let alone differentiable, at a point. The correct local linearization criterion is the limit , not the mere existence of partials. The reliable shortcut is the theorem: continuous partials guarantee differentiability.
Let
Derivation hint: this is the function of with the value assigned at the origin. Both partials at the origin exist:
Derivation hint: along each axis , so the difference quotient defining each partial is identically zero. Yet is not continuous at , since the limit along is . Existence of partials therefore fails to control behavior off the axes—the essential warning of multivariable calculus.
Connections
Multivariable functions sit at the crossroads of analysis and geometry. The single-variable theory of Differentiation generalizes to the Jacobian Matrix and the differentiability criterion . Integration extends to Multiple Integrals via Fubini's theorem, where the Change of Variables Theorem uses the Jacobian determinant. The directional structure launches the study of Gradient Vector Fields, Divergence and Curl, and ultimately Vector Calculus. Level sets connect to Implicit Function Theorem and the geometry of Manifolds. In optimization, characterizes critical points, linking to Lagrange Multipliers and the Hessian Matrix second-derivative test.
Real-World Applications
Historical Development
Subtleties & Limits
While the theory of multivariable functions is classical and complete, practical and computational frontiers remain open. High-dimensional optimization (where is in the millions) is dominated by the geometry of saddle points and non-convex loss landscapes, whose structure is not fully understood. The behavior of generic smooth functions in very high dimensions—where almost all critical points are saddles and the curse of dimensionality makes sampling intractable—drives active research in optimization theory and statistics. Even classifying singularities of smooth maps (catastrophe and singularity theory, following Whitney and Thom) yields rich, still-expanding taxonomies, and questions about the regularity of solutions to nonlinear PDEs involving multivariable fields (e.g., Navier–Stokes smoothness) remain among the deepest unsolved problems in mathematics.
See Also
Partial Derivatives · Gradient Vector Fields · Jacobian Matrix · Chain Rule (Multivariable) · Implicit Function Theorem · Hessian Matrix · Vector Calculus · Change of Variables Theorem