Differentiation in several variables · Definition

Function of several variables

multivariable calculusfunctions

Almost every real quantity depends on several others at once; this is how we describe that mathematically.

Definition

A function of several variables \(f\) assigns to each point \(\mathbf x=(x_1,\dots,x_n)\) of a set \(D\subseteq\mathbb R^n\), its domain, a single real number.

\[f:D\subseteq\mathbb R^n\to\mathbb R\]

The temperature at a point in space depends on three coordinates, the area of a rectangle on two measurements, and the cost of a product on many inputs. With \(n=2\) one writes \(z=f(x,y)\) and with \(n=3\), \(w=f(x,y,z)\). The set of values \(f\) takes is its range, and the set of points where it can be evaluated is the domain.

When only a formula is given, the domain is the largest set where the formula makes sense: denominators nonzero, square roots with nonnegative argument, logarithms with positive argument. For \(f(x,y)=\sqrt{x-y}\) the domain is the half-plane \(x\ge y\), and for \(\ln(xy)\) it is the points with \(xy>0\), the first and third quadrants. Sketching the domain in the plane is usually the first step of any exercise.

The graph of \(f(x,y)\) is the surface \(z=f(x,y)\) in \(\mathbb R^3\), made of the points \((x,y,f(x,y))\). For \(f(x,y)=x^2+y^2\) it is a paraboloid. With three or more variables the graph lives in \(\mathbb R^4\) or higher and cannot be drawn, so tools such as level curves, studied next, are used instead.

Think about it

Why is \(f(0,0)\) undefined for \(f(x,y)=\dfrac{xy}{x^2+y^2}\), even though it exists at every other point?

Because at the origin the denominator is \(0\), so the origin is excluded from the domain \(\mathbb R^2\setminus\{(0,0)\}\). One can define \(f(0,0)\) separately, but then it is a different function.

Exercises 10

References

  • James Stewart, Daniel K. Clegg, Saleem Watson, Calculus: Early Transcendentals, 9th edition, Cengage, 2021. §14.1
  • Joel Hass, Christopher Heil, Przemyslaw Bogacki, Maurice D. Weir, George B. Thomas Jr., Thomas' Calculus, 15th edition, Pearson, 2023. §14.1
  • Jerrold E. Marsden, Anthony Tromba, Vector Calculus, 6th edition, W. H. Freeman, 2012. §2.1