1. Home
  2. Explore
  3. Mathematics
  4. Multivariable Functions Intro

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

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)z = f(x, y)z=f(x,y). The input is an ordered pair (x,y)(x, y)(x,y) from the xyxyxy-plane, and the output is a single number zzz.

  • For three inputs: w=f(x,y,z)w = f(x, y, z)w=f(x,y,z). The input is an ordered triple (x,y,z)(x, y, z)(x,y,z), and the output is www.

  • In general, a function may have any number of variables: f(x1,x2,…,xn)f(x_1, x_2, \dots, x_n)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:

  1. Division by zero – any denominator equal to zero makes the function undefined.

  2. Square roots of negative numbers – the radicand must be ≥0\geq 0≥0 (assuming real numbers).

  3. Logarithm of a non-positive number – the argument of a logarithm must be strictly positive.

For the function f(x,y)=y−xln⁡(2−x)f(x,y) = \frac{\sqrt{y - x}}{\ln(2 - x)}f(x,y)=ln(2−x)y−x​​, the domain requires y−x≥0y - x \geq 0y−x≥0 (for the square root), 2−x>02 - x > 02−x>0 (for the log argument), and 2−x≠12 - x \neq 12−x=1 (since ln⁡(1)=0\ln(1)=0ln(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)y = f(x)y=f(x)

The graph is a curve in the xyxyxy-plane. Each xxx in the domain gives a point (x,f(x))(x, f(x))(x,f(x)); the collection of all such points forms the curve.

Two Variables: z=f(x,y)z = f(x, y)z=f(x,y)

Surface visualization is used: the xyxyxy-plane contains all input pairs, and each input (x,y)(x, y)(x,y) is lifted to a height zzz to produce a point (x,y,f(x,y))(x, y, f(x,y))(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.

![Conceptual diagram: xy-plane with a surface above it, showing points rising from input to output.](No image URL provided, but the idea is a bumpy sheet.)

Three Variables: w=f(x,y,z)w = f(x, y, z)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)z = f(x, y)z=f(x,y) at a fixed height. It is defined by

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

where kkk is a constant. The intersection of the plane z=kz = kz=k with the surface gives a curve that can be projected onto the xyxyxy-plane. Repeating this for several values of kkk 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).

![Contour map with labeled heights (e.g., 0,1,2,...) showing a bumpy surface; densely packed lines indicate steepness.](No image URL provided, but the description is standard.)

Level Surfaces (Three Variables)

For w=f(x,y,z)w = f(x, y, z)w=f(x,y,z), the analog is a level surface:

f(x,y,z)=k.f(x, y, z) = k.f(x,y,z)=k.

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\mathbb{R}^2R2 (or Rn\mathbb{R}^nRn).

  • 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.

![Diagram of a region (like a pair of goggles) with interior (solid), exterior (outside dashed), and boundary (solid/dashed edges).](No image URL provided, but the visual is described.)

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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent