MATH 237 - Calculus 3 | Fall 2020

Chapter 1

1.1 - Scalar Functions

f:A→Bf : A \rightarrow B is a function where each a∈Aa \in A has a unique f(a)∈Bf(a) \in B
called the image of a under ff.

Definition - Scalar Function: f(x1,⋯ ,xn)f(x_1, \cdots, x_n) of nn variables whose domain is
a subset of Rn\mathbb{R}^n and whose range is a subset of R\mathbb{R}

Sometimes we use x⃗\vec{x} to represent points in Rn\mathbb{R}^n

Finding domain / range

It is sometimes easier to visualize using a picture, example:
f(x,y)=xyf(x, y) = \sqrt{xy}, knowing that xy>0xy>0 we can see that the domain is the top right
and bottom left quadrants of a cartesian plane

1.2 - Geometric Interpretation of z=f(x,y)z = f(x,y)

In real to real functions we think of the yy axis as the height at xx,
we extend this thinking to now think of zz as the height at (x,y)(x, y) creating a 3 dimensional surface

In general f(x,y)=c1x+c2y+c3f(x, y) = c_1 x + c_2 y + c_3, where c1,c2,c3∈Rc_1, c_2, c_3 \in \mathbb{R} represents a plane

Definition - Level Curves: are the curves f(x,y)=kf(x, y) = k where the values of kk come from the range of ff

Definition - Cross Section: The intersection of a surface, z=f(x,y)z = f(x, y), with a vertical plane

Generalization

Definition - Level Surfaces: A level surface of a scalar function f(x,y,z)isdefinedby,f(x, y, z) is defined by, f(x, y, z) = k, k \in R(f)$

Definition - Level Sets: A level set of a scalar function f(x⃗),x⃗∈Rnf(\vec{x}), \vec{x} \in \mathbb{R}^n is defined by,
{x⃗∈Rn∣f(x⃗)=k\{ \vec{x} \in \mathbb{R}^n | f(\vec{x}) = k, for k∈R(f)}k \in R(f)\}

Chapter 2

2.1 - Definition of a limit

definition for a function of two variables:
∣f(x)−L∣<ϵ∣|f(x) - L| < \epsilon| whenever 0<∣x−a∣<δ0 < |x - a| < \delta

Before we define a limit we need to generalize the concept of an interval
(−r,r)=x:∣x∣<r(-r, r) = { x : |x| < r} where r∈Rr \in \mathbb{R}

Definition - neighbourhood: an r-neighbourhood of a point (a,b)∈R2(a, b) \in \mathbb{R}^2 is a set

Nr(a,b)={(x,y)∈R2∣∣∣(x,y)−(a,b)∣∣<r,r∈R}N_r(a,b) = \{(x, y) \in \mathbb{R}^2 | ||(x, y) - (a,b)|| < r, r \in \mathbb{R}\}

Definition - limit: Assume f(X,y)f(X,y) is defined in a neighbourhood of (a,b)(a,b), except possibly at (a,b)(a,b). If for every ϵ>0\epsilon > 0 there exists a δ>0\delta > 0 such that

0<∣∣(x,y)−(a,b)∣∣<δ⇒∣f(x,y)−L∣<ϵ0 < || (x, y) - (a, b) || < \delta \Rightarrow |f(x, y) - L| < \epsilon

then

lim(x,y)→(a,b)f(x,y)=L.lim_{(x,y) \rightarrow (a, b)} f(x, y) = L_.

Note that using this definition of limit is very difficult for showing limits exist, so we will develop theorems which make it easier.

2.2 - Limit theorems

Theorem - Limit Theorem 1: if lim(x,y)→(a,b)f(x,y)lim_{(x, y) \rightarrow (a,b)}f(x,y) and lim(x,y)→(a,b)g(x,y)lim_{(x,y)\rightarrow (a,b)} g(x,y) both exist then,

lim(x,y)→(a,b)[f(x,y)+g(x,y)]=lim(x,y)→(a,b)f(x,y)+lim(x,y)→(a,b)g(x,y)lim_{(x,y)\rightarrow (a, b)} [f(x,y) + g(x,y)] = lim_{(x,y)\rightarrow (a, b)}f(x,y) + lim_{(x,y)\rightarrow (a, b)}g(x,y)

lim(x,y)→(a,b)[f(x,y)g(x,y)]=[lim(x,y)→(a,b)f(x,y)]⋅[lim(x,y)→(a,b)g(x,y)]lim_{(x,y)\rightarrow (a, b)} [f(x,y)g(x,y)] = [lim_{(x,y)\rightarrow (a, b)}f(x,y)]\cdot[lim_{(x,y)\rightarrow (a, b)}g(x,y)]

lim(x,y)→(a,b)f(x,y)g(x,y)=lim(x,y)→(a,b)f(x,y)lim(x,y)→(a,b)g(x,y),lim(x,y)→(a,b)g(x,y)≠0lim_{(x,y)\rightarrow (a, b)} \frac{f(x,y)}{g(x,y)} = \frac{lim_{(x,y)\rightarrow (a, b)}f(x,y)}{lim_{(x,y)\rightarrow (a, b)}g(x,y)}, lim_{(x,y)\rightarrow (a, b)}g(x,y) \neq 0

Theorem - Limit Theorem 2: If lim(x,y)→(a,b)f(x,y),lim_{(x, y) \rightarrow (a,b)}f(x,y)_, exists, then the limit is unique.

2.3 - Proving a limit does not exist

With functions of one variable we should the left and right limit do not equal and thus it does not exist.

Now we can use any line.

Technique 1: we if we are approaching (x,y)→(0,0)(x,y) \rightarrow (0, 0)$ first we use the line y = 0, and shoe that f(x,y) = a, then we use the line x = 0 and show f(x, y) = b and if a≠ba\neq b then the limit does not exist

Technique 2: we can approach the limit using y=mxy = mx then if we simplify to an expression which depends on the value of m then the limit is not unique and hence does not exist

Caution: make sure lines used to approach the limit actually approach the limit, (if ur approaching (0,0) the line you use must be a function which actually does approach (0,0))

2.4 - Proving a limit exists

Theorem - Squeeze theorem: if there exists a function $B(x,y) such that,

∣f(x,y)−L∣≤B(x,y)|f(x,y) - L| \leq B(x,y)

lim(x,y)→(a,b)f(x,y)=Llim_{(x,y)\rightarrow (a,b)} f(x, y) = L

Chapter 3

3.1 - Definition of a continuous function

A single variable function is continuous iff:

  1. ff is defined at x=ax = a
  2. limx→af(x)lim_{x \rightarrow a} f(x) exists, which means the left and right limits exist and are equal
  3. limx→af(x)=f(a)lim_{x \rightarrow a} f(x) = f(a)

For a function f(x,y)f(x,y) to be continuous we can intuively see that this means there are no "breaks" or "holes" in the surface

Definition - Continuous: A function f(x,y)f(x,y) is continuous at (a,b)(a,b) if and only if

lim(x,y)→(a,b)f(x,y)=f(a,b)lim_{(x,y) \rightarrow (a,b)} f(x, y) = f(a,b)

Additionally, if ff is continuous at every point in a set D1⊂R2D_1 \subset \mathbb{R}^2

Remark just like single variable calculus there are three requirements in this definition:

  1. the limit exists
  2. f is defined at (a, b)
  3. the limit as (x,y) -> (a, b) f(x, y) = f(a, b)

3.2 - The continuity theorems

We will defined basic functions which can be understood as continuous on their domain without further explanation.
Using these functions we will view other functions as compositions of simpler functions to make proving continuity easier.

List of continuous functions:

Definition - Operations on functions: if f(x,y)f(x, y) and g(x,y)g(x, y) are scalar functions and (x, y) is in the domain of both functions then:

  1. the sum is f+gf+g is defined by (f+g)(x,y)=f(x,y)+g(x,y)(f+g)(x, y) = f(x, y) + g(x, y)
  2. the **product fgfg is defined by (fg)(x,y)=f(x,y)g(x,y)(fg)(x, y) = f(x,y)g(x, y)
  3. the quotient fg\frac{f}{g} is defined by (fg)(x,y)=f(x,y)g(x,y(\frac{f}{g})(x, y) = \frac{f(x, y)}{g(x, y} if g(x,y)≠0g(x, y) \neq 0

3.2 - The continuity theorems

Theorem: Continuity theorem 1: if ff and gg are continuous at (a,b)(a, b) then f+gf + g and fgfg are continuous at (a,b)(a, b)

Theorem: Continuity theorem 2: if ff and gg are continuous at (a,b)(a, b) and g(a,b)≠0g(a, b) \neq 0 then fg\frac{f}{g} is continuous at (a,b)(a, b)

Theorem: Continuity theorem 3: if ff and gg are continous at (a,b)(a, b) then their composition is continuous

Chapter 4

Chapter 4.1 - Partial Derivatives

Definition - Partial Derivatives: The partial derivatives of f(x,y)f(x,y) are defined by

δfδx(x,y)=fx(x,y)=limh→0f(x+h,y)−f(x,y)h\frac{\delta f}{\delta x}(x, y) = f_x(x, y) = lim_{h \rightarrow 0} \frac{f(x + h, y) - f(x, y)}{h}

δfδy(x,y)=fy(x,y)=limh→0f(x,y+h)−f(x,y)h\frac{\delta f}{\delta y}(x, y) = f_y(x, y) = lim_{h \rightarrow 0} \frac{f(x, y + h) - f(x, y)}{h}

Remark: sometimes it's convenient to use operator notation, if ff has variables xx and yy

D1f=δfδx=fxD_1f=\frac{\delta f}{\delta x} = f_x

D2f=δfδy=fyD_2f=\frac{\delta f}{\delta y} = f_y

note that the conept of partial derivatives does not match our definition of derivative for single variable functions, where differentiability imples continuity (this is not the case for partial derivatives).

We can generalize this concept to a scalar function of nn variables f(x⃗),x⃗∈Rnf(\vec{x}), \vec{x} \in \mathbb{R}^n, where we find the partial derivative of ff with respect to its ii-th variable, we hold all the other variables constant.

Chapter 4.2 - Higher-Order Partial Derivatives

Since we have two first order partial derivatives (1 for each variables) then we have 4 total combinations for second order partial derivitaves.

Theorem 1 - Clairaut's Theorem: If fxyf_{xy} and fyxf_{yx} are defined in some neighbourhood of (a,b)(a,b) and are both continuous at (a,b)(a,b), then

fxy(a,b)=fyx(a,b)f_{xy}(a,b) = f_{yx}(a,b)

Higher-order partial derivatives

observe that f(x,y)f(x,y) has eight third partial derivatives

Terminology: if the kk-th partial derivatives of f(x1,⋯ ,xn)f(x_1, \cdots, x_n) are continuous then we write,

f∈Ckf \in C^k

Chapter 4.3 - Tangent Plane

Definition - Tangent Plane: The tangent plane to z=f(x,y)z = f(x,y) at the point (a,b,f(a,b))(a, b, f(a, b)) is

z=f(a,b)+δfδx(a,b)(x−a)+δfδy(a,b)(y−b)z = f(a, b) + \frac{\delta f}{\delta x}(a,b)(x - a) + \frac{\delta f}{\delta y}(a, b)(y - b)

Chapter 4.4 - Linear Approximation for z=f(x,y)z = f(x, y)

Review of the 1D case

La(X)=f(a)+f′(a)(x−a)L_a(X) = f(a) + f'(a)(x-a) and is called the linearization of ff at aa since it approximates f(x)f(x) for xx sufficiently close to aa

Chapter 5 - Differentiable Functions

Chapter 5.1 - Definition of Differentiability

Theorem 1 - differentiability of single variable: if g′(a)g'(a) exists then limx→a∣R1,a(x)∣∣x−a∣=0lim_{x \rightarrow a} \frac{ | R_{1,a}(x) | }{|x-a|} = 0 where

R1,a(x)=g(x)−La(x)=g(x)−g(a)−g′(a)(x−a)R_{1,a}(x) = g(x) - L_a(x) = g(x) - g(a) - g'(a)(x-a)

Definition - Dirrefentiable: a function f(x,y)f(x, y) is differentiable at (a,b)(a,b) if

lim(x,y)→(a,b)∣R1,(a,b)(x,y)∣∣∣(x,y)−(a,b)∣∣=0lim_{(x,y) \rightarrow (a, b)} \frac{|R_{1,(a,b)}(x, y)|}{||(x, y) - (a, b)||} = 0

where

R1,(a,b)(x,y)=f(x,y)−L(a,b)(x,y)R_{1, (a, b)}(x, y) = f(x, y) - L_{(a, b)}(x, y)

Theorem 2: if a function f(x,y)f(x, y) satisfies

lim(x,y)→(a,b)∣f(x,y)−f(a,b)−c(x−a)−d(y−b)∣∣∣(x,y)−(a,b)∣∣=0lim_{(x, y) \rightarrow (a, b)} \frac{ |f(x, y) - f(a, b) - c(x - a) - d(y - b)|}{|| (x, y) - (a, b)||} = 0

for some constants cc and dd then c=fx(a,b)c = f_x(a, b) and d=fy(a,b)d = f_y(a, b)

A function which is not differentiable at a point a1a_1 has the property that the linear approximation doesn't get any better at approximating the function as we get closer to the point

Definition - Tangent Plane: if ff is differentiable at (a,b)(a, b) then the tangent plane of the surfance is,

z=f(a,b)+δfδx(a,b)(x−a)+δfδy(a,b)(y−b)z = f(a, b) + \frac{\delta f}{\delta x} (a, b) (x - a) + \frac{\delta f}{\delta y}(a, b)(y - b)

Chapter 5.2 - Differentiability and Continuity

Theorem 1: if f(x,y)f(x, y) is differentiable at (a,b)(a, b) then ff is continuous at (a,b)(a, b)

Chapter 5.3 - Continuous Partial Derivatives and Differentiability

Theorem 1 - The mean value theorem: If f(x)f(x) is continuous on the closed interval [x1,x2][x_1, x_2] and ff is differentiable on the open interval (x1,x2)(x_1, x_2), then there exists x0∈(x1,x2)x_0 \in (x_1, x_2) such that

f(x2)−f(x1)=f′(x0)(x2−x1)f(x_2) - f(x_1) = f'(x_0)(x_2 - x_1)

**Theorem 2:$$ if the partial derivatives fxf_x and fyf_y are both continuous at (a,b)(a, b) then f(x,y)f(x, y) is differentiable at (a,b)(a, b)

Generalization Definition - Differentiability for f:Rn→Rf : \mathbb{R}^n \rightarrow \mathbb{R}
A function f:Rn→Rf : \mathbb{R}^n \rightarrow \mathbb{R} is differentiable at point a⃗\vec{a} if

limx⃗→a⃗∣f(x⃗)−f(a⃗)−La⃗(x⃗−a⃗)∣∣∣x⃗−a⃗∣∣=0lim_{\vec{x} \rightarrow \vec{a}} \frac{ | f(\vec{x}) - f(\vec{a}) - L_{\vec{a}}(\vec{x} - \vec{a})|}{||\vec{x} - \vec{a}||} = 0

where L:Rn→RL : \mathbb{R}^n \rightarrow \mathbb{R} is a linear transformation

Theorem 1 for functions of nn variables if f(x1,⋯ ,xn)f(x_1, \cdots, x_n) is differentiable at a⃗\vec{a} then ff is continuous at aa

Theorem 2 for functions of nn variables if f1,⋯fnf_1, \cdots f_n are continuous at a⃗\vec{a} then ff is differentiable at a⃗\vec{a}

Chapter 5.4 - Linear Approximation Revisited

f(x,y)≈f(a,b)+Δf(a,b)⋅(x−a,y−b)f(x, y) \approx f(a, b) + \Delta f(a, b) \cdot (x - a, y - b)

Chapter 6 - Chain Rule

Chapter 6.1 - Basic Chain Rule in two dimensions

First,

dTdt=δTδxdxdt+δTδydydt\frac{ dT }{ dt } = \frac{\delta T}{\delta x} \frac{dx}{dt} + \frac{\delta T}{\delta y} \frac{dy}{dt}

Recall that T(x)=f(x(t),y(t))T(x) = f(x(t), y(t)) $$T'(x) = \frac{d}{dt}f(x(t), y(t)) = f_x(x(t), y(t))x'(t) + f_y(x(t), y(t)) y'(t)$$

Theorem - Chain Rule: Let G(t)=f(x(t),y(t))G(t) = f(x(t), y(t)), and let a=x(t0)a = x(t_0) and b=y(t0)b = y(t_0). If ff is differentiable at (a,b)(a, b) and x′(t0)x'(t_0) and y′(t0)y'(t_0) exist, then G′(t0)G'(t_0) exists and is given by

G′(t0)=fx(a,b)x′(t0)+fy(a,b)y′(t0)G'(t_0) = f_x(a, b) x' (t_0) + f_y(a, b)y'(t_0)

Vector form:

ddtf(x⃗(t))=Δf(x⃗(t))⋅dx⃗dt(t)\frac{d}{dt} f(\vec{x}(t)) = \Delta f(\vec{x}(t)) \cdot \frac{d\vec{x}}{dt}(t)

6.2 - Extension of basic chain rule

Use a tree to apply the following algorithm:

  1. Identify all of the variables
  2. Take all possible paths from the differentiated variable to the differentiating variable
  3. For each lik in a given path, differentiate the upper variable with respect to the lower variable being carefule to consider if thsi is a derivative or a partial derivative. Multiply all such derivatives in that path.
  4. Add the products from step 3 together to complete the Chain Rule

Chapter 7 - Directional Derivatives and the Gradient Vector

Chapter 7.1 - Directional Derivative

The directional derivative of f(x,y)f(x, y) at a point (a,b)(a, b) in the direction vector of a unit vector u⃗=(u1,u2)\vec{u} = (u_1, u_2) where ∣∣u⃗∣∣=1||\vec{u}|| = 1 is defined by

Du⃗f(a,b)=ddsf(a+su1,b+su2)∣s=0D_{\vec{u}}f(a, b) = \frac{d}{ds}f(a + su_1, b + su_2) \rvert_{s=0}

Theorem 1 - Directional Derivative (DD) Theorem: If f(x,y)f(x, y) si differentiable at (a,b)(a, b) and u⃗=(u1,u2)\vec{u} = (u_1, u_2) where ∣∣u⃗∣∣=1||\vec{u}|| = 1 is a unit vector, then

Du⃗f(a,b)=Δf(a,b)⋅u⃗D_{\vec{u}}f(a, b) = \Delta f(a, b) \cdot \vec{u}

where ⋅\cdot reperesents the dot product