The Central Idea
For a scalar field
\[ f(x,y), \]a level set for the value \(c\) is the collection of all points satisfying
\[ \boxed{f(x,y)=c}. \]Every point on that set has exactly the same scalar field value.
In two dimensions, a level set is often a curve. In three dimensions, it is often a surface.
From Field Values to Geometry
Suppose
\[ f(x,y)=x^2+y^2. \]Instead of asking for the field value at one point, choose a value such as \(9\) and solve
\[ x^2+y^2=9. \]This is a circle of radius \(3\).
Thus one scalar value produces an entire geometric set.
Level Curves
When the domain is two-dimensional, a level set is commonly called a level curve.
For
\[ f(x,y)=x^2+y^2, \]the level curve \(f(x,y)=c\) satisfies
\[ x^2+y^2=c. \]For \(c>0\), this is a circle of radius
\[ \sqrt{c}. \]Different Levels Produce Different Curves
For the same field,
\[ f(x,y)=x^2+y^2, \]several level curves are
\[ f(x,y)=1 \quad\Longrightarrow\quad x^2+y^2=1, \] \[ f(x,y)=4 \quad\Longrightarrow\quad x^2+y^2=4, \] \[ f(x,y)=9 \quad\Longrightarrow\quad x^2+y^2=9. \]These form nested circles centered at the origin.
Some Levels May Have No Points
Again consider
\[ f(x,y)=x^2+y^2. \]Because
\[ x^2+y^2\geq 0, \]the equation
\[ x^2+y^2=-1 \]has no real solution.
Therefore, the level set \(f=-1\) is empty.
A Level Set Can Be a Single Point
For
\[ f(x,y)=x^2+y^2, \]the level
\[ f(x,y)=0 \]becomes
\[ x^2+y^2=0. \]The only solution is
\[ \boxed{(0,0)}. \]A level set does not have to be a full curve.
A Level Set Can Have Several Pieces
Consider
\[ f(x,y)=x^2. \]The level equation
\[ x^2=4 \]gives
\[ x=2 \quad\text{or}\quad x=-2. \]The level set therefore consists of two vertical lines.
Parallel Level Curves
For the linear field
\[ f(x,y)=2x+y, \]the level equation
\[ 2x+y=c \]can be written
\[ y=-2x+c. \]Every level curve is a line with slope \(-2\).
Changing \(c\) shifts the line without changing its slope.
Elliptical Level Curves
Consider
\[ f(x,y)=\frac{x^2}{4}+y^2. \]The level equation
\[ \frac{x^2}{4}+y^2=c \]produces ellipses when \(c>0\).
The geometry of the level curves reflects the unequal scaling of the \(x\)- and \(y\)-directions.
Hyperbolic Level Curves
Consider
\[ f(x,y)=x^2-y^2. \]For positive \(c\),
\[ x^2-y^2=c \]gives one family of hyperbolas.
For negative \(c\),
\[ x^2-y^2=c \]gives hyperbolas opening in the perpendicular orientation.
The Zero Level Can Have Special Geometry
For
\[ f(x,y)=x^2-y^2, \]the zero level satisfies
\[ x^2-y^2=0. \]Factor:
\[ (x-y)(x+y)=0. \]Therefore,
\[ \boxed{y=x\quad\text{or}\quad y=-x}. \]One level can have a different geometric form from nearby levels.
Contour Maps
A contour map displays several level curves of a scalar field in the same plane.
Each curve is labeled or understood to represent a selected field value.
Instead of drawing the scalar field as a three-dimensional height surface, a contour map encodes the same kind of information in two dimensions.
Contour Maps Compress Height Information
Suppose a surface is represented by
\[ z=f(x,y). \]A horizontal slice at height \(z=c\) intersects the surface where
\[ f(x,y)=c. \]Projecting that intersection onto the \(xy\)-plane gives the contour for level \(c\).
A contour map is therefore closely related to horizontal slicing.
Topographic Maps
Topographic maps are familiar contour maps.
Each contour line joins points of equal elevation.
If one contour is labeled \(500\) meters, every point on that contour has elevation \(500\) meters relative to the chosen reference level.
The map converts three-dimensional terrain into a two-dimensional drawing.
Isotherms
In a temperature field,
\[ T(x,y), \]a curve satisfying
\[ T(x,y)=c \]joins points of equal temperature.
Such a contour is called an isotherm.
Isobars
In an atmospheric pressure field,
\[ P(x,y), \]a contour satisfying
\[ P(x,y)=c \]joins points of equal pressure.
Such curves are called isobars.
The Prefix Iso-
The prefix iso- means equal.
Many specialized contour names therefore mean “equal something.”
- isotherm: equal temperature;
- isobar: equal pressure;
- isohyet: equal precipitation;
- isopotential: equal potential.
These are all applications of the same level-set idea.
Contour Intervals
A contour map often uses a fixed difference between consecutive labeled levels.
For example, contours might represent
\[ 100,\ 120,\ 140,\ 160,\ldots \]The difference
\[ 20 \]is the contour interval.
Contour Spacing Carries Information
Suppose neighboring contour lines represent equal increments in field value.
If those contours are close together, the field changes substantially over a short spatial distance.
If they are far apart, the same change occurs over a longer distance.
Thus contour spacing provides visual information about the steepness of spatial change.
Close Contours Mean Rapid Change
Imagine elevation contours that differ by \(10\) meters.
If many contours are packed into a narrow horizontal region, elevation changes rapidly over that region.
On terrain, this corresponds to a steep slope.
Wide Contour Spacing Means Gradual Change
If the same \(10\)-meter elevation contours are widely spaced, a person must travel farther horizontally to gain the same elevation.
The terrain is therefore more gradual.
The same interpretation applies to temperature, pressure, concentration, and other scalar fields.
Contour Spacing Depends on the Chosen Levels
Visual interpretation assumes that neighboring contours correspond to known field-value differences.
A map using irregular levels such as
\[ 1,\ 2,\ 10,\ 100 \]cannot be interpreted by geometric spacing alone.
Always inspect the level labels or contour interval.
Contours of a Radially Symmetric Field
For
\[ f(x,y)=x^2+y^2, \]contours are concentric circles.
Every direction away from the origin behaves the same way because the field depends only on distance from the center.
Concentric contours often signal radial symmetry.
Contours around a Peak
Consider
\[ f(x,y)=10-x^2-y^2. \]The center has the largest value:
\[ f(0,0)=10. \]The contour equation
\[ 10-x^2-y^2=c \]becomes
\[ x^2+y^2=10-c. \]Higher contour values lie closer to the center.
Contours around a Basin
For
\[ f(x,y)=x^2+y^2, \]the center has the smallest value.
Larger contour values lie farther from the origin.
Nested contours can therefore represent either a peak or a basin. The labels determine which.
Nested Curves Do Not Automatically Mean a Hill
A contour map with nested closed curves could represent:
- a hill if values increase inward;
- a depression if values decrease inward;
- a hot spot if temperature increases inward;
- a low-pressure region if pressure decreases inward.
Geometry alone does not determine the physical interpretation.
Recovering Qualitative Shape from Contours
A contour map can often reveal whether a field contains:
- peaks;
- valleys or basins;
- ridges;
- channels;
- flat regions;
- rapid transition zones.
The map does not show height directly, but the pattern of labeled levels provides enough information to reconstruct a qualitative picture.
Level Curves Usually Do Not Cross
Suppose two different contour levels \(c_1\) and \(c_2\) crossed at the same point \((a,b)\).
Then we would have
\[ f(a,b)=c_1 \]and
\[ f(a,b)=c_2. \]A single-valued function cannot assign two different scalar values to the same point.
Therefore, distinct level curves of the same scalar field cannot intersect.
A Special Case: Same-Level Pieces
Different pieces belonging to the same level may meet or intersect if the geometry of the equation allows it.
For example, the zero level of
\[ f(x,y)=x^2-y^2 \]is
\[ y=x \quad\text{or}\quad y=-x, \]and these two branches meet at the origin.
This does not violate single-valuedness because both branches represent the same level \(0\).
Contours and the Domain Boundary
A contour may end at the boundary of the field's domain.
Suppose a scalar field is defined only inside
\[ x^2+y^2\leq 25. \]A level curve extending beyond that disk in the unrestricted formula is irrelevant outside the actual domain.
Level sets must always be interpreted together with domain restrictions.
Level Sets in Three Dimensions
For a scalar field
\[ f(x,y,z), \]a level set is defined by
\[ \boxed{f(x,y,z)=c}. \]In three-dimensional space, this equation typically describes a surface rather than a curve.
Level Surfaces
Consider
\[ f(x,y,z)=x^2+y^2+z^2. \]The level set
\[ f(x,y,z)=9 \]becomes
\[ x^2+y^2+z^2=9. \]This is a sphere of radius \(3\).
Parallel Level Planes
For
\[ f(x,y,z)=x+2y-z, \]the level equation
\[ x+2y-z=c \]describes a plane.
Different values of \(c\) produce parallel planes.
Level Surfaces Can Be Cylinders
Consider
\[ f(x,y,z)=x^2+y^2. \]The level equation
\[ x^2+y^2=4 \]does not involve \(z\).
Therefore, the level set is a circular cylinder of radius \(2\) extending along the \(z\)-axis.
Level Sets in Higher Dimensions
The idea extends beyond ordinary three-dimensional space.
For
\[ f(x_1,x_2,\ldots,x_n)=c, \]the solution set is a level set in \(n\)-dimensional space.
Although such sets may be difficult to visualize directly, the algebraic principle is unchanged.
Changing the Field Changes the Contour Geometry
Compare
\[ f(x,y)=x^2+y^2 \]with
\[ g(x,y)=4x^2+y^2. \]The first produces circular level curves.
The second produces elliptical level curves because the \(x\)-direction is scaled differently.
Shifting the Field Shifts the Contours
The field
\[ f(x,y)=x^2+y^2 \]has contours centered at the origin.
The translated field
\[ g(x,y)=(x-3)^2+(y+2)^2 \]has corresponding contours centered at
\[ \boxed{(3,-2)}. \]Rescaling Field Values Relabels Levels
Suppose
\[ g(x,y)=2f(x,y). \]Then the level equation
\[ g(x,y)=10 \]is equivalent to
\[ f(x,y)=5. \]The same geometric set can therefore receive a different numerical label after the field values are rescaled.
Adding a Constant Relabels Contours
If
\[ g(x,y)=f(x,y)+7, \]then
\[ g(x,y)=10 \]corresponds to
\[ f(x,y)=3. \]Adding a constant changes field values without changing the spatial shape of corresponding level sets.
Contours Can Reveal Symmetry
If contour patterns are symmetric about an axis, point, or center, that often reflects symmetry in the scalar field.
Concentric circles suggest rotational symmetry around a center.
Parallel lines suggest uniform variation in a fixed direction.
Repeated mirrored shapes may indicate reflection symmetry.
Contours and Peaks
Suppose nested closed contours are labeled
\[ 10,\ 20,\ 30,\ 40 \]as we move inward.
The field values increase toward the center, so the center region is higher in field value than its surroundings.
For elevation, this indicates a hill or peak.
Contours and Depressions
Suppose nested contours are labeled
\[ 40,\ 30,\ 20,\ 10 \]as we move inward.
The field values decrease toward the center.
For elevation, this indicates a depression or basin.
Contours and Ridges
A ridge can appear as a chain of elongated higher-value contours.
The field remains relatively high along one direction while falling away on either side.
Similar patterns can occur in elevation, pressure, concentration, and other scalar fields.
Contours and Valleys
Valleys can appear as elongated lower-value regions surrounded by higher values.
In terrain maps, contour lines often bend in characteristic ways around channels and valleys.
The numerical labels remain essential for deciding whether the shape represents rising or falling values.
Contour Maps from Measured Data
In practice, field values are often known only at sampled locations.
A contour map may be constructed by:
- measuring or computing values on a grid;
- choosing contour levels;
- estimating where each level lies between sampled points;
- connecting those estimated locations into curves.
The resulting contours may therefore involve interpolation.
Interpolation Affects Contour Accuracy
If measurements are sparse, the exact location of a contour between sample points is not directly known.
A computational method estimates where the desired value occurs.
Denser measurements can reveal finer structure, while coarse sampling may smooth over small features.
Contour Maps Are Approximations in Applied Work
A contour drawn from experimental or observational data should not always be interpreted as exact.
Measurement error, grid spacing, interpolation, and model assumptions can all affect the map.
Mathematical contour equations may be exact; empirical contour maps are often numerical approximations.
Contours versus a Surface Plot
A surface plot of
\[ z=f(x,y) \]displays field value as vertical height.
A contour map instead displays selected equal-value curves in the original \(xy\)-plane.
Both represent the same scalar field from different viewpoints.
Why Contour Maps Are Useful
Contour maps are especially useful because they:
- fit naturally on a flat page or screen;
- show exact selected field values;
- reveal symmetry and spatial organization;
- make steep and gradual regions visually distinguishable;
- allow many field levels to be compared at once.
Reading a Contour Map Systematically
- Identify what scalar quantity is being represented.
- Read the contour labels or contour interval.
- Determine where values increase and decrease.
- Inspect contour spacing.
- Look for nested, parallel, closed, or branching patterns.
- Check the domain and boundaries.
- Use the pattern to infer qualitative spatial behavior.
Finding a Level Curve Algebraically
Suppose
\[ f(x,y)=3x+2y. \]Find the level curve for \(f=12\).
Set
\[ 3x+2y=12. \]Solving for \(y\),
\[ y=6-\frac32x. \]Therefore, the level curve is a straight line.
Finding Several Contours
For
\[ f(x,y)=x+y, \]the levels \(c=-2,0,2\) give
\[ x+y=-2, \] \[ x+y=0, \] \[ x+y=2. \]These are three parallel lines.
Determining the Field Value from a Contour
If a point lies on the contour
\[ f(x,y)=7, \]then the field value at every point on that contour is
\[ \boxed{7}. \]The contour equation itself already states the field value.
Determining Whether Two Points Share a Level
Let
\[ f(x,y)=x^2+y^2. \]Compare \((3,4)\) and \((0,5)\):
\[ f(3,4)=25, \] \[ f(0,5)=25. \]Therefore, both points lie on the same level curve.
Level Sets and Equations of Familiar Shapes
Level-set equations often reproduce familiar geometry:
- lines from linear fields;
- circles from radial quadratic fields;
- ellipses from anisotropic quadratic fields;
- hyperbolas from differences of squares;
- planes and spheres in three dimensions.
Recognizing these forms makes contour analysis much faster.
Common Error: Confusing a Contour with the Graph of the Field
For
\[ z=f(x,y), \]the graph is a surface in three dimensions.
A contour
\[ f(x,y)=c \]is a set of points in the domain sharing one selected value.
The contour is not the entire graph.
Common Error: Treating Contour Labels as Coordinates
If a contour is labeled \(50\), the number \(50\) is the scalar field value on that contour.
It is not an \(x\)-coordinate or \(y\)-coordinate unless the problem explicitly defines it that way.
Common Error: Assuming Close Contours Mean Large Values
Close contour spacing means rapid spatial change when the contour interval is fixed.
It does not necessarily mean the field values themselves are numerically large.
A region near values \(1\) and \(2\) can change more rapidly than a region near values \(100\) and \(101\).
Common Error: Ignoring the Direction of Increasing Labels
Nested closed contours do not by themselves tell us whether values rise or fall toward the center.
Always read the labels.
Increasing inward suggests a peak-like pattern; decreasing inward suggests a basin-like pattern.
Common Error: Allowing Distinct Levels to Cross
Two contours representing different values of the same scalar field cannot pass through the same point.
If a sketch shows a \(5\)-contour and a \(7\)-contour crossing, then that drawing cannot represent an ordinary single-valued scalar field at the crossing point.
Common Error: Forgetting Domain Restrictions
Solving the algebraic equation
\[ f(x,y)=c \]is not enough if the field is defined only on part of the plane.
The true level set is the solution set restricted to the field's actual domain.
A Reliable Procedure for Finding a Level Set
- Write the scalar field \(f\).
- Choose or identify the level value \(c\).
- Set \(f=c\).
- Simplify the resulting equation.
- Recognize or analyze the geometry of its solution set.
- Apply all domain restrictions.
- Interpret the result as the locations sharing one field value.
A Reliable Procedure for Reading a Contour Map
- Identify the quantity represented by the field.
- Determine the values assigned to the contour lines.
- Find the direction in which labels increase.
- Compare contour spacing.
- Identify closed, nested, parallel, or irregular patterns.
- Locate likely peaks, basins, ridges, or transition zones.
- Remember that the map represents equal-value sets, not literal walls or paths.
Example: Full Level-Curve Workflow
Let
\[ f(x,y)=4x^2+y^2. \]Find the level curve \(f=16\).
Set
\[ 4x^2+y^2=16. \]Divide by \(16\):
\[ \frac{x^2}{4}+\frac{y^2}{16}=1. \]Therefore, the level curve is an ellipse centered at the origin with semiaxes \(2\) and \(4\).
Example: Compare Contour Spacing
Suppose elevation contours differ by \(20\) meters.
In region A, adjacent contours are \(100\) meters apart horizontally.
In region B, adjacent contours are \(20\) meters apart horizontally.
The same \(20\)-meter elevation change occurs over much less horizontal distance in region B.
Therefore, region B is steeper.
Example: Identify a Peak from Labels
Suppose four nested contours are labeled, from outside to inside,
\[ 10,\ 20,\ 30,\ 40. \]Values increase toward the center.
Therefore, the pattern represents a local high-value region.
If the field is elevation, the center is peak-like.
Example: Level Surface in Three Dimensions
Let
\[ f(x,y,z)=x^2+y^2+z^2. \]Find the level surface \(f=25\).
Set
\[ x^2+y^2+z^2=25. \]Therefore,
\[ \boxed{\text{the level surface is a sphere of radius }5}. \]Practice 1: Circular Level Curve
Let
\[ f(x,y)=x^2+y^2. \]Describe the level set \(f=49\).
Practice 2: Linear Level Curve
Let
\[ f(x,y)=3x-y. \]Find the level curve \(f=6\).
Practice 3: Empty Level Set
Determine the level set
\[ x^2+y^2=-4. \]Practice 4: Same Level?
For
\[ f(x,y)=x^2+y^2, \]determine whether \((6,8)\) and \((0,10)\) lie on the same level curve.
Practice 5: Elliptical Contour
Let
\[ f(x,y)=x^2+4y^2. \]Describe the level curve \(f=16\).
Practice 6: Read Contour Spacing
Two regions use the same contour interval. Region A has tightly packed contours, while region B has widely spaced contours.
Which region has the more rapid spatial change?
Practice 7: Peak or Basin?
Nested contours are labeled, from outside to inside,
\[ 80,\ 60,\ 40,\ 20. \]Do values increase or decrease toward the center?
Practice 8: Level Surface
Let
\[ f(x,y,z)=x^2+y^2+z^2. \]Describe the level surface \(f=64\).
Practice 9: Parallel Level Planes
Let
\[ f(x,y,z)=2x-y+z. \]Write the level surface for \(f=5\).
Practice 10: Explain Why Contours Cannot Cross
Explain why contours for two different values \(c_1\neq c_2\) cannot cross in an ordinary scalar field.
Practice Answers
Practice 1
\[ x^2+y^2=49. \]Therefore,
\[ \boxed{\text{the level set is a circle of radius }7}. \]Practice 2
\[ 3x-y=6. \]Solving for \(y\),
\[ \boxed{y=3x-6}. \]Practice 3
Because
\[ x^2+y^2\geq0, \]there are no real points satisfying
\[ x^2+y^2=-4. \]Therefore, the level set is empty.
Practice 4
\[ f(6,8)=36+64=100, \] \[ f(0,10)=100. \]Therefore, the two points lie on the same level curve.
Practice 5
\[ x^2+4y^2=16. \]Divide by \(16\):
\[ \frac{x^2}{16}+\frac{y^2}{4}=1. \]Therefore, the level curve is an ellipse with semiaxes \(4\) and \(2\).
Practice 6
Region A has the more rapid spatial change because the same change in field value occurs over less distance.
Practice 7
The values
\[ 80,\ 60,\ 40,\ 20 \]decrease toward the center.
For elevation, this would be basin-like rather than peak-like.
Practice 8
\[ x^2+y^2+z^2=64. \]Therefore,
\[ \boxed{\text{the level surface is a sphere of radius }8}. \]Practice 9
\[ \boxed{2x-y+z=5}. \]This is a plane in three-dimensional space.
Practice 10
If contours \(f=c_1\) and \(f=c_2\) crossed at the same point, then the scalar field would have to assign both \(c_1\) and \(c_2\) to that one point. A function cannot assign two different outputs to the same input. Therefore, distinct levels cannot cross.
What to Remember
A level set collects all locations with the same scalar field value:
\[ \boxed{f(\text{position})=c}. \]- in two dimensions, level sets are often curves;
- in three dimensions, they are often surfaces;
- a contour map displays several level curves together;
- contour labels show field values;
- close contours indicate rapid change when contour intervals are comparable;
- nested contours can represent peaks or basins depending on the labels;
- distinct contour levels of a single-valued field cannot cross;
- domain restrictions remain part of the level-set problem.
The central habit is to read a contour as an equal-value set, then use its shape, labels, and spacing to infer the spatial structure of the underlying scalar field.
Where We Go Next
Contour maps reveal where scalar values are equal and where those values change rapidly or gradually across space.
The next lesson, Gradients as Directions of Change, turns that visual idea into a vector that identifies the direction of greatest local increase and connects directly to the geometry of level sets.