Functions of Several Variables

Most engineering quantities depend on several variables: temperature T(x, y, z, t), pressure p(V, T), stress σ(x, y). Learn functions of two and three variables, domains, surfaces, level curves and contour maps, level surfaces, and scalar and vector physical fields.

A weather map, a heat map of a CPU, or a stress plot from FEA software are all visualisations of multivariable functions. Understanding them is the first step toward partial derivatives, gradients and multiple integrals.

An analogy

A contour map of a mountain is a 2D picture of a 3D function: each contour line joins points of equal height.

Surfaces and domains

z = f(x, y) is a surface above the xy-plane. Domains are regions: ln(x + y) needs x + y > 0; √(4 − x² − y²) needs the disc x² + y² ≤ 4.

Contours and level surfaces

Isotherms, isobars and equipotential lines are level curves. Closely spaced contours mean steep change. For three variables, level surfaces (e.g. equal-temperature shells) play the same role.

Scalar and vector fields

Scalar fields assign a number to each point (temperature, pressure, potential). Vector fields assign a vector (velocity, force, electric field). Both are central to vector calculus.

Limits and continuity in 2D

A 2D limit must be the same along every path. xy/(x² + y²) approaches different values along y = x and y = 0, so it has no limit at the origin.

Formulas

Worked example: Domain

Given: f(x, y) = √(4 − x² − y²)

Find: Domain and range.

Answer: Closed disc of radius 2; range [0, 2] (a hemisphere)

Worked example: Ideal gas

Given: n = 1 mol, R = 8.314, V = 0.0224 m³, T = 273 K

Find: p.

Answer: ≈ 1 atm

Common mistakes

Applications

Key takeaways

Going further