Domains &
Level Sets
Explore how to determine where multivariable functions live and how to visualize them using level curves and level surfaces.
What Is a Multivariable Function?
A multivariable function takes two or more input variables and produces a single output. The most common form is \( f(x, y) \), which maps a point in \( \mathbb{R}^2 \) to a real number in \( \mathbb{R} \).
What Is the Domain?
The domain of \( f(x, y) \) is the set of all points \( (x, y) \) in \( \mathbb{R}^2 \) where the function is defined. We write it as a subset of \( \mathbb{R}^2 \).
Just as in single-variable calculus, we look for division by zero, square roots of negatives, and logarithms of non-positive numbers to find restrictions.
Visualizing Domains in \( \mathbb{R}^2 \)
What Are Level Sets?
A level set of \( f \) at height \( c \) is the collection of all input points where the function equals \( c \). For \( f \colon \mathbb{R}^2 \to \mathbb{R} \), these are level curves. For \( f \colon \mathbb{R}^3 \to \mathbb{R} \), they are level surfaces.
Level Curves as a Contour Map
Core Definitions
Level Curves vs. Level Surfaces
| Level Curve | Level Surface | |
|---|---|---|
| Function type | \( f \colon \mathbb{R}^2 \to \mathbb{R} \) | \( g \colon \mathbb{R}^3 \to \mathbb{R} \) |
| Equation | \( f(x,y) = c \) | \( g(x,y,z) = c \) |
| Lives in | \( \mathbb{R}^2 \) (the \( xy \)-plane) | \( \mathbb{R}^3 \) (3D space) |
| Dimension | 1D (curve) | 2D (surface) |
| Analogy | Contour line on a map | Equipotential surface |
How to Find the Domain
Example 1: \( f(x,y) = \ln(x - y^2) \)
Example 2: Level Curves of \( f(x,y) = x^2 - y^2 \)
Example 3: \( f(x,y) = \dfrac{1}{x^2 + y^2 - 4} \)
Level Sets Can Be Surprising
Open vs. Closed Domains
| Open Domain | Closed Domain | |
|---|---|---|
| Boundary | Excluded | Included |
| Inequality | Strict: < or > | Non-strict: \( \leq \) or \( \geq \) |
| Typical source | \( \ln(\cdot) \), \( \frac{1}{\cdot} \) | \( \sqrt{\cdot} \) |
| Example | \( \ln(1 - x^2 - y^2) \): open disk | \( \sqrt{1 - x^2 - y^2} \): closed disk |
| Drawn as | Dashed boundary | Solid boundary |
Common Mistakes
Question 1 of 5
What is the domain of \( f(x,y) = \sqrt{4 - x^2 - y^2} \)?
Question 2 of 5
The level curves of \( f(x,y) = x^2 + y^2 \) are:
Question 3 of 5
What is the domain of \( g(x,y) = \ln(x - 2y) \)?
Question 4 of 5
For \( f(x,y) = x^2 + y^2 \), the level set \( L_{-3} \) is:
Question 5 of 5
The level surface \( x^2 + y^2 + z^2 = 9 \) of \( g(x,y,z) = x^2 + y^2 + z^2 \) is: