Fiveable

5๏ธโƒฃMultivariable Calculus Unit 3 Review

QR code for Multivariable Calculus practice questions

3.1 Functions of Several Variables

3.1 Functions of Several Variables

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025

Understanding Functions of Several Variables

In single-variable calculus, every function takes one input and gives one output. Functions of several variables generalize this idea: they take multiple inputs and produce a single output. This is the foundation for everything else in multivariable calculus, so getting comfortable with the notation, evaluation, and visualization here will pay off throughout the course.

What Are Functions of Several Variables?

A function of several variables maps multiple inputs to a single real number. The general notation is:

f(x1,x2,โ€ฆ,xn)f(x_1, x_2, \ldots, x_n)

where nn is the number of input variables. Most of this course focuses on two or three variables, so you'll typically see f(x,y)f(x, y) or f(x,y,z)f(x, y, z).

The domain is the set of all input points (x,y)(x, y) (or (x,y,z)(x, y, z)) where the function is defined. The range is the set of all possible output values.

For example, f(x,y)=9โˆ’x2โˆ’y2f(x, y) = \sqrt{9 - x^2 - y^2} has a domain restricted to x2+y2โ‰ค9x^2 + y^2 \leq 9 (a disk of radius 3), because the expression under the square root can't be negative. Its range is [0,3][0, 3].

These functions show up everywhere:

  • Physics: Temperature at a point in a room, T(x,y,z)T(x, y, z)
  • Economics: A production function like Q(L,K)=cLฮฑKฮฒQ(L, K) = cL^{\alpha}K^{\beta}, where LL is labor and KK is capital
  • Engineering: Stress on a beam as a function of position and load
Functions of several variables, Functions of Several Variables ยท Calculus

Evaluating Multivariable Functions

Evaluation works the same way as in single-variable calculus: substitute the given values and simplify.

Steps for evaluation:

  1. Identify the input values for each variable.
  2. Substitute them into the expression.
  3. Simplify using standard order of operations (PEMDAS).
  4. For composite functions, evaluate the innermost function first.
  5. Check that the input is actually in the domain (watch for division by zero, square roots of negatives, or logarithms of non-positive numbers).

Example: For f(x,y)=x2e3y+lnโก(xโˆ’y)f(x, y) = x^2 e^{3y} + \ln(x - y), evaluate f(2,1)f(2, 1):

f(2,1)=(2)2e3(1)+lnโก(2โˆ’1)=4e3+lnโก(1)=4e3+0=4e3f(2, 1) = (2)^2 e^{3(1)} + \ln(2 - 1) = 4e^3 + \ln(1) = 4e^3 + 0 = 4e^3

Notice that f(1,1)f(1, 1) would be undefined because lnโก(1โˆ’1)=lnโก(0)\ln(1 - 1) = \ln(0) doesn't exist. Always check domain restrictions before plugging in.

Functions of several variables, Functions of Several Variables ยท Calculus

Level Curves and Level Surfaces

Level curves are one of the most useful tools for visualizing a function of two variables. A level curve of f(x,y)f(x, y) is the set of all points (x,y)(x, y) where the function equals some constant kk:

f(x,y)=kf(x, y) = k

Each value of kk gives a different curve in the xyxy-plane. A collection of level curves for several values of kk is called a contour map.

Think of a topographic map: each contour line connects points at the same elevation. The function value is the "elevation," and the level curves show you where the elevation is constant.

  • Closely spaced level curves mean the function is changing rapidly (steep slope).
  • Widely spaced level curves mean the function is changing slowly (gentle slope).
  • Closed loops often indicate a local maximum or minimum at the center.

Example: For f(x,y)=x2+y2f(x, y) = x^2 + y^2, the level curves x2+y2=kx^2 + y^2 = k are circles centered at the origin with radius k\sqrt{k}. As kk increases, the circles get larger, telling you the function increases as you move away from the origin.

For functions of three variables, the analog is a level surface: the set of points (x,y,z)(x, y, z) where f(x,y,z)=kf(x, y, z) = k. For instance, the level surfaces of f(x,y,z)=x2+y2+z2f(x, y, z) = x^2 + y^2 + z^2 are spheres centered at the origin.

Graphs of Two-Variable Functions

The graph of z=f(x,y)z = f(x, y) is a surface in 3D space. Each point on the surface has coordinates (x,y,f(x,y))(x, y, f(x, y)), where the height above (or below) the xyxy-plane represents the function's value.

Some common surfaces to recognize:

  • Planes: Graphs of linear functions like f(x,y)=ax+by+cf(x, y) = ax + by + c. These are flat, tilted sheets.
  • Paraboloids: f(x,y)=x2+y2f(x, y) = x^2 + y^2 gives a bowl opening upward. f(x,y)=โˆ’(x2+y2)f(x, y) = -(x^2 + y^2) opens downward.
  • Saddle surfaces (hyperbolic paraboloids): f(x,y)=x2โˆ’y2f(x, y) = x^2 - y^2 curves upward in one direction and downward in the other, like a Pringles chip.
  • Ellipsoids: Surfaces defined by x2a2+y2b2+z2c2=1\frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} = 1.

Key features to identify on a graph:

  • Maxima and minima: High points and low points on the surface
  • Saddle points: Points that are a max in one cross-section but a min in another
  • Symmetry: If f(x,y)=f(โˆ’x,y)f(x, y) = f(-x, y), the surface is symmetric about the yzyz-plane
  • Cross-sections: Slicing the surface with a plane (like fixing y=0y = 0) gives you a familiar 2D curve that's often easier to analyze

Connecting level curves to graphs: A contour map is essentially a "top-down view" of the 3D surface. Each level curve at height kk is what you'd see if you sliced the surface with the horizontal plane z=kz = k and looked straight down. This connection between the 2D contour map and the 3D surface is worth internalizing early, since it comes up repeatedly in optimization and gradient problems later in the course.