Multivariable Functions Intro
Multivariable Functions: Core Concepts
What Is a Function?
A function is a rule that takes some input and produces an output. The essential requirement is consistency: the same input must always produce the same output, regardless of when it is used. If a student receives a grade from a set of assessment scores, that grading rule is a function as long as the same scores always yield the same final grade. In single-variable calculus, the vertical line test checks this consistency: if a vertical line crosses a graph more than once, the relation is not a function.
A function maps each input to exactly one output.
Functions are not limited to numbers; any consistent mapping qualifies. For example, a grading curve (often called "the curve") assigns a final grade based on assessment scores.
Functions of Multiple Variables
Multivariable calculus introduces functions with multiple inputs instead of just one. The standard notation is:
For two inputs: z=f(x,y). The input is an ordered pair (x,y) from the xy-plane, and the output is a single number z.
For three inputs: w=f(x,y,z). The input is an ordered triple (x,y,z), and the output is w.
In general, a function may have any number of variables: f(x1,x2,…,xn).
The symbols themselves are traditional; other letters work just as well. Many real‑world processes depend on multiple varying factors, so functions of many variables are common.
Domain and Range
Range
The range is the set of all possible outputs of a function. Finding it often requires careful analysis, sometimes using calculus to locate extreme values (largest and smallest outputs). Because it can be difficult, the range is not always emphasized in introductory studies.
Domain
The domain is the set of all allowable inputs. For functions given by a formula, the domain is every input that avoids three common problems:
Division by zero – any denominator equal to zero makes the function undefined.
Square roots of negative numbers – the radicand must be ≥0 (assuming real numbers).
Logarithm of a non-positive number – the argument of a logarithm must be strictly positive.
For the function f(x,y)=ln(2−x)y−x, the domain requires y−x≥0 (for the square root), 2−x>0 (for the log argument), and 2−x=1 (since ln(1)=0 causes division by zero).
Other operations (e.g., tangent) can be expressed as a ratio (sine/cosine), so they reduce to the same division-by-zero issue.
Visualizing Functions
One Variable: y=f(x)
The graph is a curve in the xy-plane. Each x in the domain gives a point (x,f(x)); the collection of all such points forms the curve.
Two Variables: z=f(x,y)
Surface visualization is used: the xy-plane contains all input pairs, and each input (x,y) is lifted to a height z to produce a point (x,y,f(x,y)). Repeating this for all inputs in the domain creates a surface in three‑dimensional space. This surface is the natural analog of a one‑variable curve.

Three Variables: w=f(x,y,z)
A function of three variables would require a three‑dimensional object in four‑dimensional space, which is extremely difficult to visualize directly. Instead of trying to draw it, mathematicians use level surfaces (discussed below) to gain insight.
Level Curves and Contour Maps
A level curve (also called a contour line) is a cross‑section of a surface z=f(x,y) at a fixed height. It is defined by
where k is a constant. The intersection of the plane z=k with the surface gives a curve that can be projected onto the xy-plane. Repeating this for several values of k produces a contour map – a two‑dimensional picture that encodes the three‑dimensional shape.
A topographical map for hiking uses exactly this idea: contour lines show elevation. Where lines are close together, the terrain is steep (like a cliff); where they are far apart, the slope is gentle. Concentric closed contours that increase inward indicate a peak (maximum), while those that decrease inward indicate a valley (minimum).

Level Surfaces (Three Variables)
For w=f(x,y,z), the analog is a level surface:
This equation defines a surface (not a curve) in three‑dimensional space. While the full graph of a three‑variable function is in four dimensions, its level surfaces can be studied and visualized in three dimensions.
Topological Terminology for Regions in the Plane
To describe sets of inputs, several terms are used. They apply to any region in R2 (or Rn).
Interior point: a point for which there exists a small circle (disk) centered at it that lies entirely inside the set. Everything nearby is also inside.
Exterior point: a point for which there exists a small circle centered at it that lies entirely outside the set.
Boundary point: a point where every small circle centered at it contains both points inside the set and points outside the set. Boundary points may or may not belong to the set itself.

Using these, sets are classified:
Open set: every point in the set is an interior point. The set contains no boundary points. Example: a disk without its boundary.
Closed set: the set contains all its boundary points. Example: a disk together with its boundary.
Bounded set: the entire set fits within some finite distance from a central point. If points can be arbitrarily far away, the set is unbounded.
A set that is both closed and bounded is especially nice; many important theorems (e.g., in optimization) hold for such sets.
These concepts lay the groundwork for deeper calculus tools, but a basic understanding is sufficient for now.
This introduction establishes the language and framework needed to study multivariable functions. The next step is to practice finding domains and ranges, and soon calculus itself will follow.

Ask anything
We've read this whole study set, so questions about it get the best answers.