Multivariable Functions
& Level Sets
Explore functions of two and three variables, understand their domains, and visualize surfaces through level curves and level surfaces.
What Is a Multivariable Function?
In single-variable calculus, a function takes one input and returns one output: \( f(x) \). In multivariable calculus, a function can take two or more inputs and still return a single real number.
The Domain in Higher Dimensions
The domain of \( f(x, y) \) is the set of all points \( (x, y) \) in \( \mathbb{R}^2 \) where the function is defined. Instead of an interval on a number line, it is a region in the plane.
Visualizing \( f(x,y) \) as a Surface
The graph of \( z = f(x,y) \) is a surface in three-dimensional space \( \mathbb{R}^3 \). Every point \( (x, y) \) in the domain maps to a height \( z \), forming a landscape of peaks, valleys, and saddles.
What Are Level Curves?
A level curve of \( f(x,y) \) is the set of all points \( (x,y) \) where the function equals a constant \( c \). Formally:
Think of a topographic map: each contour line connects points of equal elevation. Similarly, each level curve connects points where \( f \) has the same value.
Formal Definition: Level Sets
The concept generalizes beyond two variables. A level set is the pre-image of a constant for any scalar-valued function.
Level Curves vs. Level Surfaces
| Property | Level Curve | Level Surface |
|---|---|---|
| Function type | \( f(x,y) \) | \( f(x,y,z) \) |
| Input space | \( \mathbb{R}^2 \) | \( \mathbb{R}^3 \) |
| Level set is | A curve (1D) | A surface (2D) |
| Visualization | Contour map | Nested shells |
| Example | \( x^2 + y^2 = c \): circles | \( x^2 + y^2 + z^2 = c \): spheres |
Finding Domains: Step by Step
Example 1: Domain of \( f(x,y) = \ln(x - y^2) \)
Step 1: The logarithm requires its argument to be strictly positive:
Result: The domain is the open region to the right of the parabola \( x = y^2 \) (dashed boundary means excluded).
Example 2: Level Curves of \( f(x,y) = x^2 - y^2 \)
Set \( f(x,y) = c \): this gives \( x^2 - y^2 = c \), which are hyperbolas (or degenerate cases).
Example 3: Domain of \( f(x,y) = \frac{\sqrt{y - x^2}}{1 - x^2} \)
We need two conditions simultaneously:
Sketching Level Curves: How-To
Level Curves of \( f(x,y) = 2x + 3y \)
Setting \( 2x + 3y = c \) gives a family of parallel lines, each with slope \( -\frac{2}{3} \).
Level Surfaces in \( \mathbb{R}^3 \)
For \( f(x,y,z) \), we cannot draw the graph (it would need 4 dimensions!). Instead, we study the function through its level surfaces: \( f(x,y,z) = c \).
Why Level Sets Matter
Level sets are not just a visualization tool. They are central to many ideas in Calculus 3 and beyond:
Common Mistakes
Question 1 of 5
What is the domain of \( f(x,y) = \sqrt{9 - x^2 - y^2} \)?
Question 2 of 5
The level curves of \( f(x,y) = x^2 + y^2 \) are:
Question 3 of 5
For \( f(x,y,z) = x^2 + y^2 + z^2 \), the level set \( f = 4 \) is a:
Question 4 of 5
What is the domain of \( g(x,y) = \frac{1}{\ln(x + y)} \)?
Question 5 of 5
If the level curves of \( f(x,y) \) are very closely spaced in a particular region, what does this indicate?