3. Functions of Several Variables

Introductory Examples

Introductory Examples of Functions of Several Variables

Welcome, students, to the first big step into multivariable calculus 🌍. In single-variable calculus, you may have studied functions like $y=f(x)$, where one input gives one output. In this lesson, you will see what changes when a function depends on two or more inputs. These introductory examples build the language for the rest of the unit, including graphs, level curves, level surfaces, limits, and continuity.

What you will learn

By the end of this lesson, students, you should be able to:

  • explain what a function of several variables is;
  • interpret simple real-world examples involving more than one input;
  • describe how outputs can change when more than one variable changes;
  • connect these examples to graphs, level curves, and later topics in multivariable calculus.

A helpful idea to keep in mind is that multivariable functions are all around you. Temperature depends on location and time. Weather depends on latitude, longitude, and altitude. The height of a hill depends on where you stand on a map πŸ—ΊοΈ. These examples show why we need more than one input.

What is a function of several variables?

A function of several variables takes two or more inputs and gives one output. A common example is a function of two variables, written as $z=f(x,y)$. Here, $x$ and $y$ are inputs, and $z$ is the output.

This is different from a regular function like $y=f(x)$ because the output now depends on more than one direction of change. For example, if $f(x,y)=x+2y$, then changing $x$ or $y$ will change the output.

Think of a weather map 🌦️. If $T(x,y)$ is the temperature at location $(x,y)$ on a flat map, then $T$ is a function of two variables. The same city might have a different temperature depending on where you measure it. The input is the location, and the output is the temperature.

A function of three variables might be written as $w=f(x,y,z)$. One example is air pressure, which can depend on position in space. In this case, the input is a point in space, and the output is a single number.

Introductory example 1: temperature on a map

Suppose $T(x,y)$ gives the temperature at a point on a map. If one location has coordinates $(2,1)$ and another has coordinates $(5,4)$, the temperatures may be different.

This example helps you see several important ideas:

  • The domain is the set of all possible input points $(x,y)$.
  • The range is the set of possible output values of $T$.
  • The function gives one temperature for each location.

If $T(2,1)=18$ and $T(5,4)=24$, then the second place is warmer. Notice that the inputs are ordered pairs, not single numbers. That is a major change from single-variable calculus.

A useful way to picture this is to imagine the map as a table of tiny thermometers. Each point on the map has one temperature reading. The function assigns a value to every point in the region. This helps explain why multivariable calculus often uses surfaces, contour maps, and level sets later on.

Introductory example 2: height above sea level

Another common example is height. If $h(x,y)$ gives the height of a hill at location $(x,y)$, then the graph of $h$ shows a surface in three-dimensional space.

For example, a mountain trail may start at a low elevation and rise as you move across the map. The function $h(x,y)$ tells you how high the ground is at each point.

This is useful because the same height can occur at many different locations. If $h(x,y)=1000$, that means every point where the ground is 1000 meters above sea level belongs to the same level curve, which will be studied later. For now, just notice that a single output value can happen at many input points.

If a hill is steep, small changes in $x$ or $y$ can cause a large change in height. If the terrain is flat, the function changes slowly. This idea connects directly to slopes and rates of change in later lessons.

Introductory example 3: a simple algebraic function

A very basic function of two variables is $f(x,y)=x+y$.

This function is easy to understand because its output is just the sum of the two inputs. Here are some example values:

  • $f(1,2)=3$
  • $f(0,5)=5$
  • $f(-1,4)=3$

Notice something important: different inputs can produce the same output. Both $(1,2)$ and $(-1,4)$ give the output $3$. That means one value of the function does not tell you exactly where you started. This is one reason graphs and level curves are helpful.

Now consider $f(x,y)=x^2+y^2$. This function is always nonnegative because squares are never negative. Its output gets larger when you move farther from the origin. For example:

  • $f(0,0)=0$
  • $f(1,0)=1$
  • $f(0,2)=4$
  • $f(3,4)=25$

This example is important because it shows how a function of two variables can measure distance-like behavior. In fact, $x^2+y^2$ is related to the square of the distance from the origin.

Inputs, outputs, and domains

When working with functions of several variables, students, always ask three questions:

  1. What are the inputs?
  2. What is the output?
  3. What values are allowed?

The set of allowed inputs is called the domain. For a function $f(x,y)$, the domain may be all points in a region of the plane, or it may be restricted by a square root, denominator, or logarithm.

For example, the function $g(x,y)=\sqrt{1-x^2-y^2}$ is only defined when $1-x^2-y^2\ge 0$. That means the domain satisfies $x^2+y^2\le 1$. So the allowed inputs form a disk centered at the origin.

This is an early example of how algebra tells you geometry. A formula can create a shape in the input plane. That idea becomes very powerful in multivariable calculus.

Why these examples matter

Introductory examples are not just warm-up problems. They build the foundation for everything that comes next.

They help you understand that:

  • a function can depend on more than one variable;
  • inputs may represent position, time, or other quantities;
  • outputs may represent temperature, height, pressure, cost, or energy;
  • the same output can come from many different inputs;
  • the domain can have a shape in the plane or space.

These ideas prepare you for graphs of surfaces like $z=f(x,y)$, where the output becomes height in three-dimensional space. They also prepare you for level curves, which are sets where a function has a constant value, such as $f(x,y)=c$.

For example, if $f(x,y)=x^2+y^2$, then the level curve $f(x,y)=4$ is the circle $x^2+y^2=4$. That is a preview of how algebra, geometry, and calculus work together.

Real-world interpretation and reasoning

Let’s connect this to everyday life πŸ“±. Suppose a phone app estimates traffic time based on your location and the time of day. Then the travel time can be modeled by a function like $t(x,y)$, or even $t(x,y,s)$ if $s$ represents time.

A function with more variables can explain more detail, but it can also become harder to visualize. That is why we use tools such as tables, contour maps, graphs, and later derivatives and integrals.

Another example is the concentration of a chemical in a lake. If $C(x,y)$ gives the concentration at location $(x,y)$, then different parts of the lake may have different values of $C$. Engineers and scientists use these functions to understand pollution, flow, and mixing.

The main reasoning skill here is to match the formula with the situation. Ask what each variable means and what the output represents. If you can explain the meaning in words, you understand the function more deeply.

Connecting to the bigger picture

This lesson is the starting point for the topic of functions of several variables. From here, you will move to:

  • graphs of $z=f(x,y)$;
  • level curves and contour maps;
  • level surfaces in three dimensions;
  • limits and continuity for multivariable functions.

Everything begins with the basic idea that one output can depend on multiple inputs. Once that idea feels natural, the rest of multivariable calculus becomes much easier to understand.

Conclusion

Functions of several variables describe real situations where more than one input matters. In examples like temperature, height, and simple algebraic formulas, you saw how outputs depend on points in the plane or space. You also saw how domains can have shapes and how one output value can occur at many different inputs. students, these introductory examples are the doorway into graphs, level curves, level surfaces, limits, and continuity. Mastering them gives you a strong base for the rest of multivariable calculus πŸš€.

Study Notes

  • A function of several variables takes more than one input and gives one output.
  • A common notation for two variables is $z=f(x,y)$.
  • The domain is the set of allowed inputs.
  • The range is the set of possible outputs.
  • Real-world examples include temperature maps, height maps, pressure, and cost models.
  • Different inputs can give the same output.
  • A formula like $g(x,y)=\sqrt{1-x^2-y^2}$ may restrict the domain.
  • Introductory examples prepare you for graphs, level curves, level surfaces, limits, and continuity.
  • The key skill is interpreting variables, inputs, outputs, and domain in context.

Practice Quiz

5 questions to test your understanding