Functions of Several Variables: Learn It 2

Graphing Functions of Two Variables

When you graph a function [latex]z=f(x,y)[/latex], you’re working with two independent variables ([latex]x[/latex] and [latex]y[/latex]) and one dependent variable ([latex]z[/latex]). For single-variable functions [latex]y=f(x)[/latex], we use the Cartesian plane where every point has an ordered pair [latex](x,\ y)[/latex] associated with it. With two-variable functions, each ordered pair [latex](x,\ y)[/latex] in the domain maps to a real number [latex]z[/latex], creating ordered triples [latex](x,\ y,\ z)[/latex].

The graph of a function [latex]z=f(x,y)[/latex] is called a surface.

To visualize this, imagine the [latex]xy[/latex]-coordinate system lying flat. Every point in the domain of [latex]f[/latex] has a unique [latex]z[/latex]-value associated with it. If [latex]z[/latex] is positive, the graphed point sits above the [latex]xy[/latex]-plane. If [latex]z[/latex] is negative, it sits below. The collection of all these graphed points forms a two-dimensional surface in three-dimensional space.

Create a graph of each of the following functions:

  1. [latex]g\,(x,\ y)=\sqrt{9-x^{2}-y^{2}}[/latex]
  2. [latex]f\,(x,\ y)=x^{2}+y^{2}[/latex]

To understand the shape of a surface, examine what happens when you hold one variable constant. For instance, setting [latex]x=0[/latex] or [latex]y=0[/latex] gives you cross-sections that are often familiar curves like parabolas or circles.

A profit function for a hardware manufacturer is given by

[latex]f\,(x,\ y)=16-(x-3)^{2}-(y-2)^{2}[/latex],

where [latex]x[/latex] is the number of nuts sold per month (measured in thousands) and [latex]y[/latex] represents the number of bolts sold per month (measured in thousands). Profit is measured in thousands of dollars. Sketch a graph of this function.