Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

A function of several variables assigns one output to each allowed combination of two or more inputs. In calculus, this lets us model quantities that depend on position, time, temperature, pressure, or other changing factors. A function like z = f(x, y) can describe a height above a map, the temperature on a metal plate, or the cost of producing two products.

These functions matter because real systems usually depend on more than one input at a time.

For a function of two variables, the graph is often a surface in three-dimensional space, where each point (x, y) in the domain gives a height z. For a function of three variables, such as w = f(x, y, z), the graph would need four dimensions, so we often study level surfaces or slices instead. The domain tells which input combinations are allowed, and restrictions often come from square roots, denominators, logarithms, or real-world limits.

Evaluating a multivariable function means substituting all input values carefully and simplifying the resulting expression.

Understanding Calculus: Functions of Several Variables

A useful way to understand a two input function is to hold one input fixed. This produces a cross section of the surface. If y is kept at a chosen value, the remaining relationship shows how the output changes as x changes along one straight path.

Keeping x fixed gives a different cross section. These are called traces. Traces turn a three dimensional picture into ordinary two dimensional curves, which are often easier to sketch and interpret.

For example, a surface may rise in the x direction but fall in the y direction. Looking at only one trace can hide that behavior, so compare traces in several directions.

Level curves give another view from above. Each curve joins locations with the same output value. On a weather map, a level curve can join places with the same temperature.

On a hill map, it can join places at the same elevation. Curves packed closely together show that the output changes quickly across a short distance. Widely spaced curves show slower change.

The direction of fastest increase crosses level curves rather than following them. This idea later leads to the gradient, a vector that points uphill most steeply. Reading contour maps is a practical skill in geography, engineering, weather reports, and computer graphics.

Partial derivatives measure change one input at a time. The partial derivative with respect to x describes the local change when x moves while y stays fixed. The partial derivative with respect to y does the matching job in the other direction.

These rates can have different signs and sizes at the same point. A temperature plate might get warmer when moving east, yet cooler when moving north. Near a point, the two partial derivatives help build a tangent plane.

This plane is a flat local approximation to the surface. It is useful because complicated surfaces are often nearly flat over very small distances.

Restrictions need careful attention before any calculation. A square root requires its inside value to be zero or positive. A denominator cannot be zero.

A logarithm requires a positive input. With two inputs, these rules create regions rather than just intervals. A circular boundary, a half plane, or an area with a missing curve may appear.

Draw the allowed region whenever possible. It prevents errors and makes the formula more meaningful.

In real models, limits can come from physical conditions too. A length cannot be negative, a material may have a safe temperature range, and a production model may allow only whole numbers of items.

When studying examples, separate three tasks. First find the allowed inputs. Next calculate selected outputs accurately.

Then describe the shape or pattern shown by traces and level curves. Do not assume that a high point is the only important feature. A surface can have a saddle point, where it rises along one path but falls along another.

It can have ridges, valleys, flat regions, or sharp changes caused by the formula. Sketching a small table of values often reveals these features before graphing software does. Software can display a surface quickly, but students should still connect its colors, contours, and slices to the actual changes in the function.

Key Facts

  • A function of two variables has the form z = f(x, y).
  • A function of three variables has the form w = f(x, y, z).
  • The domain is the set of all input pairs or triples for which the function is defined.
  • The graph of z = f(x, y) is a surface in 3D space.
  • To evaluate f(a, b), substitute x = a and y = b into the formula.
  • Level curves satisfy f(x, y) = c and show where the surface has constant height c.

Vocabulary

Function of several variables
A rule that assigns one output value to each allowed ordered pair, triple, or larger set of inputs.
Domain
The complete set of input values for which a function is defined.
Surface
The three-dimensional graph formed by plotting points (x, y, z) where z = f(x, y).
Level curve
A curve in the input plane where a function of two variables has one constant output value.
Evaluation
The process of finding a function output by substituting specific input values into the formula.

Common Mistakes to Avoid

  • Treating z = f(x, y) like a single-variable function is wrong because the output depends on both x and y, not just one input.
  • Ignoring domain restrictions is wrong because expressions such as square roots, denominators, and logarithms may make some input pairs invalid.
  • Confusing the domain with the graph is wrong because the domain lies in the input space, while the graph of z = f(x, y) lies in three-dimensional space.
  • Substituting only one variable during evaluation is wrong because every input variable must be replaced with its given value before simplifying.

Practice Questions

  1. 1 Let f(x, y) = x^2 + 3y. Find f(2, -1).
  2. 2 Find the domain of f(x, y) = sqrt(9 - x^2 - y^2). Describe it in words and with an inequality.
  3. 3 A surface z = f(x, y) represents temperature on a flat metal plate. Explain what a level curve f(x, y) = 50 means in this context.