Loading [MathJax]/jax/output/CommonHTML/jax.js

Graph of the Functions of Two or More Variables

What Are Multivariable Functions?

Functions of two or more variables involve multiple independent inputs. f:RnR

The output can be a single real value (R), an ordered pair (R2), or an m-tuple of real values (Rm).

f:RnRm

Illustrative Examples

Example 1

Consider a function of two real variables:

f:R2R

One such example is:

f(x,y)=x2y+xy

Note. The independent variables can also be written as components of a vector, with x1 and x2 representing the first and second components respectively: f(x1,x2)=x21x2+x1x2

Below is the graph of the function in three-dimensional space, with axes x, y, and f(x, y):

3D surface of the function f(x, y) = x² - y + xy

 

Example 2

Another function of two real variables:

f:R2R

is defined as:

f(x,y)=x2y2

Here is its graph in the three-dimensional space (x, y, f(x, y)):

3D surface of the function f(x, y) = x² - y²

Example 3

Now consider a function of three real variables:

f:R3R

defined as:

f(x,y,z)=x2+z2+yz

Note. A function may be defined over multiple variables without necessarily using all of them in its expression. For instance, the function below is still a function of three variables, even though only x and y appear explicitly: f(x,y,z)=x2+y2

In this case, the graph cannot be visualized, as it resides in four-dimensional space: x, y, z, and f(x, y, z).

The Graph of a Function of Two Variables

The graph of a function f:AR, where AR2, is the set of all points (x,y,z)R3 such that (x,y) lies in the domain Df, and z=f(x,y).

graph={(x,y,z)R3(x,y)Df, z=f(x,y)}

Here, R3 is the Cartesian product R×R×R of the variables x, y, and z.

Note. For a function of a single variable, the graph is a curve in the plane: graph={(x,y)R2xDf, y=f(x)} For a function of two variables, z=f(x,y), the graph becomes a surface in three-dimensional space: graph={(x,y,z)R3(x,y)Df, z=f(x,y)}

In general, the graph of a function of n variables is a subset of Rn+1 and is defined as follows:

graph={(x,y)Rn+1xDf, y=f(x)}

Here, x is a vector with n components, and y is a real number.

x=(x1,x2,,xn)

Note. This notation closely mirrors the one-variable case, y=f(x), where x is a real number: graph={(x,y)R2xDf, y=f(x)} In a multivariable context, however, x becomes a vector in Rn: graph={(x,y)Rn+1xDf, y=f(x)}

And so on.

 
 

Please feel free to point out any errors or typos, or share suggestions to improve these notes. English isn't my first language, so if you notice any mistakes, let me know, and I'll be sure to fix them.

FacebookTwitterLinkedinLinkedin
knowledge base

Functions with Two or More Variables