Graph of a function of multiple variables

From Calculus
Revision as of 20:58, 8 May 2012 by Vipul (talk | contribs) (→‎Directional derivatives in graphical terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Definition

Suppose f is a real-valued function of n variables x1,x2,,xn. The graph of f is a subset of Rn+1, with coordinate axes x1,x2,,xn,xn+1, given as follows:

{(x1,x2,,xn,f(x1,x2,,xn))(x1,x2,,xn)dom(f)}

where dom(f) denotes the domain of f.

Alternatively, it is given by the equation:

xn+1=f(x1,x2,,xn)

For nice enough functions, this graph looks like a hypersurface of codimension one (and dimension n) inside Rn+1.

Particular cases

Aspects

Domain and range

Aspect of the function How it can be deduced from the graph
domain project the entire graph on the x1x2xn-hyperplane
range project the entire graph on the xn+1-axis

Vertical line test

The vertical line test for a function of one variable says that every vertical line intersects the graph in exactly one point if the x-coordinate is in the domain and in no point if the x-coordinate is not in the domain. There is an analogous test for a function of multiple variables. This says that for any line parallel to the xn+1-axis, the intersection with the graph has size one (if the intersection with the x1x2xn-hyperplane is in the domain) or zero (if it isn't).

Restriction to one variable

Graph of the restriction

We can restrict the function to a function of fewer variables by fixing the value of some of the variables. Suppose A is a subset of \{ 1,2,\dots,n\}</math>. Suppose we fix the values of the coordinates in A, so we get xj=aj for jA.

This is now a function of the remaining variables, which is a total of n|A| variables.

The graph of this function is obtained by intersecting the original graph with the affine subspace given by xj=aj,jA. Note that this subspace has dimension n+1|A|, and the intersection of the graph with this is expected to have dimension n|A|.

Here's an extreme case: A has size n1, and the only variable omitted is i. Then, the function we obtain is a function of one variable:

xif(a1,a2,,˙ai1,xi,ai+1,,an)

The graph of this is obtained by intersecting the original graph with the plane given by equations xj=aj for all ji. There are n1 such equations. The plane itself is parallel to the xixn+1-plane.

Continuity in each variable and separate continuity in graphical terms

We have the following:

Assertion about continuity How we can verify it from the graph
f is continuous in xi at the point (a1,a2,,an) Consider the graph restricted to the plane xj=aj,ji. This graph is continuous at xi=ai.
f is separately continuous in all variables at the point (a1,a2,,an). The above holds for all i{1,2,3,,n}.
f is continuous in xi everywhere. The restrictions of the graph to all planes parallel to the xixn+1-plane are continuous functions.
f is separately continuous in all variables everywhere. The above holds for all i{1,2,3,,n}.

Partial derivatives in graphical terms

For further information, refer: partial derivative

Suppose f is a function of n variables x1,x2,,xn and suppose (a1,a2,,an) is a point in the domain of f. Consider the graph of f in Rn+1 given by:

xn+1=f(x1,x2,,xn)

For any i{1,2,,n}, we define the partial derivative fxi(a1,a2,,an), also denoted fi(a1,a2,,an), as follows:

  • First, consider the intersection of the graph of f with the plane given by the set of n1 equations xj=aj for all ji. This is a plane parallel to the xixn+1-plane.
  • In this plane, consider the slope of the tangent line at xi=ai. This is the value of the partial derivative.

Gradient vector in graphical terms

For further information, refer: gradient vector

Suppose f is a function of multiple variables x1,x2,,xn and suppose (a1,a2,,an) is a point in the domain of f. We say that f is differentiable at (a1,a2,,an) if the gradient vector (f)(a1,a2,,an) exists. This is equivalent to the graph of the function having a well defined tangent hyperplane at the point (a1,a2,,an,f(a1,a2,,˙an)). The equation of the tangent hyperplane is given by:

xn+1f(a1,a2,,an)=(f)(a1,a2,,an)(x1,x2,,xna1,a2,,an)