Scalar and vector fields, level surfaces

Vector calculus opens by giving names to the two kinds of quantities that vary from point to point in space. Some quantities need only a single number at each location — temperature, pressure, height above sea level. Others need a magnitude and a direction — wind velocity, gravitational pull, the flow of a river. The first kind is a scalar field, the second a vector field, and this is the vocabulary every later topic in MA10002 is built on: directional derivatives, gradient, divergence, curl, and the integral theorems all describe how one type of field relates to the other. The companion idea is the level surface — the set of points where a scalar field holds one fixed value, exactly like a single contour line on a topographic map. Stack up level surfaces for many constants and you get a complete geometric picture of a scalar field without ever plotting a fourth dimension. This article builds that picture carefully: what the two field types look like algebraically, how their level sets are found and classified, and the traps that trip up a first pass through the topic.

The core insight

A scalar field assigns one number to each point of space while a vector field assigns a vector, and the level surfaces f(x,y,z)=cf(x,y,z)=c of a scalar field — never crossing, spaced closer where ff changes fast — give a full geometric picture of the field without leaving three dimensions.

The core idea

Scalar fields. A scalar field is a function that takes a point of space and returns a single real number:

f: R3→R,w=f(x,y,z).f:\ \mathbb{R}^3 \to \mathbb{R}, \qquad w = f(x,y,z).

where: (x,y,z)(x,y,z) is a point in the domain region and ww is the single real number (temperature, pressure, density, potential, height) that ff assigns to it. In two dimensions the same idea reads w=f(x,y)w=f(x,y), useful for quantities defined over a flat surface such as a metal plate or a map.

Vector fields. A vector field takes a point of space and returns a vector — a magnitude and a direction attached to that point:

F⃗: R3→R3,F⃗(x,y,z)=F1(x,y,z) ı^+F2(x,y,z) ȷ^+F3(x,y,z) k^.\vec F:\ \mathbb{R}^3 \to \mathbb{R}^3, \qquad \vec F(x,y,z) = F_1(x,y,z)\,\hat{\imath} + F_2(x,y,z)\,\hat{\jmath} + F_3(x,y,z)\,\hat k.

where: F1,F2,F3F_1, F_2, F_3 are themselves scalar fields — the components of the vector along ı^,ȷ^,k^\hat\imath,\hat\jmath,\hat k at each point. Fluid velocity, electric and gravitational force, and wind over a region are the standard physical examples; each assigns a full vector, not just a number, to every point.

Level surfaces and level curves. Given a scalar field f(x,y,z)f(x,y,z), its level surface at height cc is the entire set of points that share that one output value:

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

where: cc is a fixed real constant chosen from the range of ff, and the level surface is the locus of all points (x,y,z)(x,y,z) satisfying the equation — generally a two-dimensional surface sitting inside three-dimensional space. In two variables the analogous object is a level curve, f(x,y)=cf(x,y)=c, a one-dimensional curve in the plane — exactly the isotherms on a weather map or the contour lines on a hiking map. Two structural facts follow directly from ff being a function (one output per input): level surfaces for different constants never intersect, and they sit closer together where ff is changing rapidly and farther apart where ff is nearly constant — a spacing cue that becomes precise once the gradient vector is introduced in the next topic.

Figure
Concentric circular level curves of a bowl shaped scalar field with values one four and nine spaced closer near the centre
Level curves of T(x,y) = x2 + y2 T = 1, r = 1 m T = 4, r = 2 m T = 9, r = 3 m Rings crowd together near the centre, where T rises fastest, and spread out farther from it. Coolest point is the origin; each ring is one isotherm of the plate.
Derivation ALevel surfaces of f(x,y,z) = x squared plus y squared plus z squared

Show that the level surfaces of the scalar field f(x,y,z)=x2+y2+z2f(x,y,z)=x^2+y^2+z^2 form a family of concentric spheres centred at the origin, with radius growing as the square root of the level constant, and identify what happens for the boundary and impossible cases of that constant.

Step 1. Write the level-surface condition. By definition a level surface is f(x,y,z)=cf(x,y,z)=c for a fixed constant cc, so here

x2+y2+z2=c.x^2+y^2+z^2 = c.

Step 2. Recognize the geometry for c>0c>0. The left side is the squared distance from the origin to the point (x,y,z)(x,y,z), so the equation says every point on this surface lies at the same distance c\sqrt c from the origin — the defining property of a sphere of radius r=cr=\sqrt c centred at the origin.

Step 3. Handle the boundary and impossible cases. For c=0c=0 the only solution is x=y=z=0x=y=z=0: the sphere degenerates to a single point, the origin. For c<0c<0 there is no solution at all, because a sum of three squares can never be negative — so ff never takes negative values, and no level surface exists below c=0c=0.

Step 4. Assemble the family. As cc ranges over [0,∞)[0,\infty), the level surfaces are nested, non-intersecting concentric spheres of radius c\sqrt c, filling all of space exactly once each. Equal steps in radius (r=1,2,3r=1,2,3) correspond to steps in cc that grow (c=1,4,9c=1,4,9), so spheres of equal radius spacing carry unequal value spacing — the surfaces for equal increments of cc instead crowd together near the origin, matching the general rule that level sets bunch up where the field changes fastest.

Worked example

Problem. A metal plate occupies the xyxy-plane and its temperature is the scalar field T(x,y)=x2+y2T(x,y)=x^2+y^2 (temperature in degrees Celsius, x,yx,y in metres). Describe the level curves of TT and sketch the ones for T=1,4,9T=1,4,9.

Step 1. Set up the level-curve equation. A level curve is T(x,y)=cT(x,y)=c:

x2+y2=c.x^2+y^2=c.

Step 2. Interpret the geometry. For c>0c>0 this is a circle of radius c\sqrt c centred at the origin; for c=0c=0 it collapses to the single point (0,0)(0,0); for c<0c<0 there is no curve, since x2+y2≥0x^2+y^2\ge 0 always, matching the fact that TT (a sum of squares) can never be negative.

Step 3. Plug in the three requested values. T=1T=1 gives x2+y2=1x^2+y^2=1, a circle of radius 11 m; T=4T=4 gives x2+y2=4x^2+y^2=4, radius 22 m; T=9T=9 gives x2+y2=9x^2+y^2=9, radius 33 m.

Step 4. Read the physics. The plate is coolest at the origin, where T=0T=0, and heats up radially outward along concentric circular isotherms. The radii 1,2,31,2,3 m are equally spaced while the temperatures 1,4,91,4,9 are not, so isotherms drawn at equal temperature increments — say T=1,2,3,4,…T=1,2,3,4,\dots — would crowd together near the centre and spread apart farther out, showing where TT changes fastest.

The level curves of T(x,y)=x2+y2T(x,y)=x^2+y^2 are concentric circles of radius c\sqrt c, giving radii 11 m, 22 m, and 33 m for T=1,4,9T=1,4,9.

Competitive stretch

Problem. Classify g(x,y,z)=2x−y+3zg(x,y,z)=2x-y+3z as a scalar or vector field, and if scalar, describe its level surfaces and the spacing between the surfaces g=0g=0 and g=1g=1.

Step 1. Classify. gg returns one real number per point (x,y,z)(x,y,z), so it is a scalar field.

Step 2. Write the level-surface equation. Setting g(x,y,z)=cg(x,y,z)=c gives

2x−y+3z=c,2x-y+3z=c,

a linear equation in x,y,zx,y,z, so every level surface is a plane, with normal direction (2,−1,3)(2,-1,3) fixed for all cc — the family is a stack of parallel planes.

Step 3. Find the spacing. The perpendicular distance between the planes g=0g=0 and g=1g=1 is ∣1−0∣22+(−1)2+32=114\dfrac{|1-0|}{\sqrt{2^2+(-1)^2+3^2}}=\dfrac{1}{\sqrt{14}} metres, using the standard point-to-plane distance formula with the coefficient vector as normal — unlike the spherical family above, a linear field's level surfaces are evenly spaced, since gg changes at the same rate everywhere.

The level surfaces of gg are parallel planes normal to (2,−1,3)(2,-1,3), spaced 1/14 m1/\sqrt{14}\ \text{m} apart per unit change in gg — constant spacing because gg is linear.

Common traps

  • Writing a scalar field as though it had components, like f(x,y,z)=(f1,f2,f3)f(x,y,z)=(f_1,f_2,f_3) — a scalar field outputs one number, not three; that structure belongs to a vector field.
  • Treating the "level surface" and the "graph of ff" as the same object. The graph of w=f(x,y,z)w=f(x,y,z) needs four dimensions; the level surface lives in the same three-dimensional space as the domain, at one fixed output value.
  • Forgetting that level surfaces for different constants c1≠c2c_1\ne c_2 can never cross — a crossing point would force ff to take two different values simultaneously, which contradicts ff being a function.
  • Assuming every level-surface family looks like nested spheres. A linear field gives parallel planes with constant spacing; only fields like x2+y2+z2x^2+y^2+z^2 give surfaces that bunch up or spread out.

Ask the tutor: Want to see how the level surfaces of x2−y2x^2-y^2 differ from those of x2+y2x^2+y^2, or check whether two given surfaces could belong to the same field?

How is a level surface different from the graph of the scalar field itself

The graph of w=f(x,y,z)w=f(x,y,z) is a set of points (x,y,z,w)(x,y,z,w) and needs four dimensions, which cannot be drawn directly. A level surface fixes w=cw=c and asks only where f(x,y,z)=cf(x,y,z)=c in the ordinary three-dimensional (x,y,z)(x,y,z) space of the domain — that is why it is the practical way to visualize a 3D scalar field, the same way a single contour line visualizes a 2D height field on a map.

Why can level surfaces never intersect each other

A level surface for constant cc consists of every point where ff equals exactly cc. If a point lay on both the c1c_1 surface and the c2c_2 surface with c1≠c2c_1\ne c_2, then ff would have to equal both c1c_1 and c2c_2 at that single point — impossible, since ff is a function and gives exactly one output per input. So level surfaces for distinct constants are always disjoint.

Is temperature always a scalar field and velocity always a vector field, or does it depend on context

In the standard physical examples used in this course, yes: temperature, pressure, density, and height are scalar fields because a single number fully describes them at a point, while velocity, force, and fluid flow are vector fields because direction is an essential part of the quantity, not an add-on. The classification is really about the mathematical object needed to describe the quantity, not the name of the physical quantity itself — if you can meaningfully add a direction to a quantity, it is a vector field.

Before this

Where this leads