Skip to content

Functions of several variables ​

Visualization: ​

the n-dimensional real space Rn is defined as the set:

Rn={(x1,x2,...xn)|xi∈R}

Definition

Let D be a subset of Rn. A real valued function f on D is a rule that assigns a unique real number f(x1,x2,...xn) to each point (x1,x2,...xn)∈D

The graph of a function on R2 ​

Definition

Let f:D⊆Rn→R be a real valued function. The graph of f is defined as the set:

{(x1,...,xn,f(x1,...,xn))∈Rn+1|(x1,...xn)∈D}
  • The graph of a function of n variables is a subset of (n + 1) dimensional real space Rn+1
  • The graph of a function of 2 variables is a surface in R3

Level curves ​

Definition

Let f:D→R be a function with domain D⊆R2, and let c be a real number. The level curve at level c is the set.

{(x,y)∈R2|f(x,y)=c}
  • the level curve can also be called a contour line

Limits of functions on R2 ​

  • limit laws work the same way.
  • The replacement rules are similar (instead of an interval surrounding c, use an open circular disc with center c)
  • there is a sandwich info.
  • definition and properties of continuity are automatically inferred.

Continuity: ​

Definition

Let f:D→R be a function of n variables and let c∈D The function f is continuous at c if:

limx→cf(x)=f(c)

Practical approach:

  1. f(c) exists (c lies in the domain of f)
  2. limx→cf(x) exists (f has a limit as x approaches c)
  3. (check that the limit equals the function value)

Path limits ​

  • Difference to functions of one variable: there are no one sided limits.

Definition

A path limit is the limit of f(x) where x approaches c along a continuous path ending in c.

info

The following statements are equivalent:

  • (i) The limit limx→cf(x) exists
  • (ii) All path limits of f(x) along continuous paths ending in c exist, and have the same value.

WARNING

In order to conclude i from ii you must show that path limits exist. and are the same along every possible path.

Showing that a limit does not exist: ​

info

  1. If a path limit along a continuous path ending at c does not exist, then limx→cf(x) does not exist.
  2. If two paths limits along continuous paths ending at c do exist, but they are not the same then limx→cf(x) does not exist.

Polar coordinates: ​

  • Every point (x, y) is described by two polar coordinates r and θ
  • The number r is called the radius, and is defined as the distance to (0, 0)
  • the number θ is called the polar angle, and is defined as the angle between the vector r and the positive x-axis.

Coordinate transformation: ​

  • From polar coordinates to Cartesian coordinates:
x=rcos⁡θ,y=rsin⁡θ
  • From Cartesian coordinates to polar coordinates:
r=x2+y2,θ=arctan⁡x,y

Limits and polar coordinates: ​

info

Let f be a function of two variables.

If, after transformation to polar coordinates, f(x, y) can be written in the form:

f(rcos⁡θ,rsin⁡θ)=rαg(θ)

with:

  • α>0
  • g(θ) bounded function.

then:

lim(x,y)→(0,0)f(x,y)=0
  • If the two requirements are not satisfied the limit most likely does not exist.

Partial Derivatives ​

Definition

  • The partial derivative of f with respect to x at (x0, y0) is:
ddxf(x0,y0)=limh→0f(x0+h,y0)−f(x0,y0)h
  • The partial derivative of f with respect to y at (x0, y0) is:
ddyf(x0,y0)=limh→0f(x0,y0+h)−f(x0,y0)h

How to calculate partial derivatives: ​

  • The partial derivative with respect to x is the derivative of the function f(x, y) where y behaves like a constant.
  • The partial derivative with respect to y is the derivative of the function f(x, y) where x behaves like a constant.

Higher Order Partial derivatives of f: ​

  • fxx(x,y)
  • fxy(x,y)
  • fyx(x,y)
  • fyy(x,y)

Mixed higher order partial derivatives: ​

Mixed Derivative info

If f(x,y) and it's partial derivatives exist and are continuous on an open environment of (a, b) then

fxy(a,b)=fyx(a,b)

Linearization ​

The tangent plane ​

  • The tangent plane V at p=(x0,y0,f(x0,y0)) is spanned by the vectors u=(1,0,fx(x0,y0)) and v=(0,1,fy(x0,y0))

  • A normal vector is n=v⋅u

  • n=(−fx(x0,y0),−fy(x0,y0))

  • A normal equation for V is n⋅(x−p) or

z−f(x0,y0)=fx(x0,y0)⋅(x−x0)+fy(x0,y0)⋅(y−y0)

Definition

The tangent plane is the graph of the linear function L:R2→R defined by

L(x,y)=f(x0,y0)+fx(x0,y0)⋅(x−x0)+fy(x0,y0)⋅(y−y0)
  • this function is the linearization of f at (x0, y0)
  • The function L is an approximation of f in the neighborhood of (x0, y0)