Function Types
Multivariable and Vector-Valued Functions
A multivariable function takes input from two or more variables and maps them to a single output value. A vector-valued function, by contrast, returns a vector as its output rather than a single number.
The components of a vector-valued output are themselves functions of the input variable(s). For instance, takes a single input and produces a 3D vector. Each component traces out its own behavior as changes, and together they describe a helix in space.
Note that a function can be both multivariable and vector-valued. These functions show up when modeling systems like fluid flow fields or electromagnetic fields, where multiple spatial inputs determine a vector quantity at each point.
Scalar-Valued Functions
A scalar-valued function maps one or more input variables to a single real number (a scalar). For example, takes the pair and returns one number.
When a scalar-valued function has two inputs, you can graph it as a surface in 3D space, with the two inputs on the horizontal axes and the output on the vertical axis. These functions appear constantly in optimization (finding maxima and minima) and in modeling physical quantities like temperature or pressure that have a single value at each point in space.

Domain and Range
Domain of Multivariable Functions
The domain is the set of all input values where the function is defined. For a function , the domain is a region in the -plane (a subset of ).
Some functions have unrestricted domains. accepts any real values of and , so its domain is all of .
Other functions have natural restrictions imposed by the formula itself. To find the domain, look for the usual trouble spots:
- Square roots (or even roots): the expression under the radical must be
- Denominators: any expression in a denominator cannot equal zero
- Logarithms: the argument must be
For example, requires , so the domain is the open disk . The boundary circle is excluded because the denominator would be zero there.
Physical context can also restrict the domain. A function modeling the height of a terrain might only be defined for coordinates within a certain region.

Range and Codomain
The range is the set of all output values the function actually produces when you feed in every point from the domain.
- For scalar-valued functions, the range is a subset of .
- For vector-valued functions, the range is a subset of the output space (e.g., ).
The codomain is the target space you declare for the function's outputs. It can be larger than the range. For example, you might say , making the codomain, but if , the range is only since the function never produces negative values.
To find the range, apply the function to all inputs in the domain and determine which output values are achievable.
Coordinate Systems
Cartesian Coordinates
Cartesian coordinates locate points in 3D space using three mutually perpendicular axes. Each coordinate gives the signed distance from the origin along its axis.
This is the default system for working with multivariable functions. A function like translates directly into a surface over the -plane. Cartesian coordinates are especially natural when the axes carry distinct physical meanings (e.g., two spatial dimensions and one for time) or when the relationships involved are linear.
Projection and Coordinate Planes
A projection maps points from a higher-dimensional space down to a lower-dimensional subspace by "dropping" one or more coordinates.
The three coordinate planes in are the standard projections:
- The -plane: set
- The -plane: set
- The -plane: set
These planes are useful for analyzing multivariable functions through their traces. A trace is the curve you get by slicing a surface with a plane parallel to one of the coordinate planes. For example, setting in gives the trace , a parabola in the -plane. Examining several traces builds intuition for the shape of the full surface without needing to visualize all three dimensions at once.