MatheramaMatherama
← Relations and Functions
Relations and Functions·Section 8·4 min read

Functions of Multiple Variables

Functions of Multiple Variables§

In many cases, functions can depend on more than one or even more than two input variables. These are called functions of multiple variables, where the inputs are independent, but they collectively determine a single output. Let’s explore this concept in detail.


Definition: Functions of Two Variables

A function ff that depends on two variables xx and yy is written as:

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

where:

  • xx and yy are the independent variables.
  • zz is the output (dependent variable).
  • xx takes values from a set XX, and yy takes values from a set YY.
  • The domain of the function is the cartesian product X×YX \times Y, i.e., all possible ordered pairs (x,y)(x, y).

Thus, the function is described as:

f:X×Y→Z,where z=f(x,y).f : X \times Y \to Z, \quad \text{where } z = f(x, y).

Example 1: Paraboloid Surface

Let f:R×R→Rf : \mathbb{R} \times \mathbb{R} \to \mathbb{R} be defined by:

f(x,y)=x2+y2.f(x, y) = x^2 + y^2.
  • The function computes the sum of the squares of xx and yy.
  • The graph of this function represents a paraboloid surface in 3-dimensional space, where zz is the height above the xyxy-plane.

Example 2: Plane Surface

Let f(x,y)=3x+4yf(x, y) = 3x + 4y.

  • This function calculates a weighted sum of xx and yy.
  • The graph of this function represents a plane in 3-dimensional space.

Extending to Three Variables: Functions of x,y,zx, y, z

A function can also depend on three variables, such as:

w=f(x,y,z),w = f(x, y, z),

where:

  • x,y,zx, y, z are the independent variables.
  • ww is the output (dependent variable).
  • The domain of the function is the cartesian product X×Y×ZX \times Y \times Z, which consists of all ordered triplets (x,y,z)(x, y, z).

Example 3: Spherical Distance Function

Let f(x,y,z)=x2+y2+z2f(x, y, z) = \sqrt{x^2 + y^2 + z^2}.

  • This function calculates the distance from the origin to the point (x,y,z)(x, y, z) in 3D space.
  • The output ww represents the radial distance from the origin.

Example 4: Weighted Sum

Let f(x,y,z)=2x+3y+4zf(x, y, z) = 2x + 3y + 4z.

  • This function adds weighted contributions of x,y,x, y, and zz.
  • It is a hyperplane in 4-dimensional space, which is hard to visualize geometrically but is mathematically important.

Generalization to More Variables

Functions can be extended to n variables, written as:

f(x1,x2,…,xn),f(x_1, x_2, \dots, x_n),

where x1,x2,…,xnx_1, x_2, \dots, x_n are independent inputs, and the domain is the cartesian product X1×X2×⋯×XnX_1 \times X_2 \times \dots \times X_n.

Section 8 of 18 · Relations and Functions

Mark this section complete when you have worked through its proofs.