Limits
Let’s compare limits in one variable to several.
x→alimf(x)=L
(x,y)→(a,b)limf(x)=L
They work quite similiar, let’s see the limit laws:
(x,y)→(a,b)limf(x,y)±h(x,y)=L+M
(x,y)→(a,b)limf(x,y)⋅h(x,y)=L⋅M
(x,y)→(a,b)limh(x,yf(x,y)=ML,M=0
Partial derivate
Recall (Partial derivative)
The partial derivate of a function of two variables with respect to x, denoted by fx, is the function of two variables given by:
fx(x,y)=h→0limhf(x+h,y)−f(x,y)Similarly for y:
fy(x,y)=h→0limhf(x,y+h)−f(x,y)
Chain rule
Recall (Chain rule)
Suppose z=f(x,y) is differentiable function of x,y. Where x=g(t) and y=h(t). Which both are differentiable functions of t. Then:
dtdz=∂x∂zdtdx+∂y∂zdtdy
General chain rule
Recall (General chain rule)
Let z be a differentiable function of n variables, x1,…,xn, where each xi is differentiable function of m variables, t1,…,tm.
Then:
∂ti∂z=∂x1∂z∂ti∂x1+∂x2∂z∂ti∂x2+…+∂xn∂z∂ti∂xn
Implicit differentiation
Recall (Implicit differentiation)
Suppose a function y=y(x) is given implicitly by equation of the form F(x,y)=0 where F is a differentiable function of two variables and Fy=0. Then:
dxdy=−FyFx
Implicit differentiation of several variables
Recall (Implicit differentiation of several variables)
Let z(x,y) be given implicitly, by equation of form F(x,y,z)=0 where F is differentiable and Fz=0, then:
∂x∂z=−FzFx∂y∂z=−FzFy
Definition of directional derivatives
The directional derivative of a function, f, of two variables, at point (x0,y0) in the direction of a unit vector, u.
u⟨a,b⟩
We denoted the directional derivative with a Duf.
Duf(x0,y0)=h→0limhf(x0+ha,y0+hb)−f(x0,y0)
Definition of gradient
The gradient of, f, is the vector-function:
∇f=⟨fx,fy⟩
Therefore, we usually write:
Duf=∇f⋅u
Maximum rate of change
If we ask ourselves the question, in what direction is Duf(x0,y0) the largest?
If we look at the definition:
Duf(x0,y0)=∇f(x0,y0)⋅u
If we use the geometrical definition:
Duf(x0,y0)=∣∇f(x0,y0)∣∣u∣cos(α)
Gradient and level curves
Recall that level curves are curves with the equation:
f(x,y)=k
Where k is just any constant. For each point (x0,y0), ∇f(x0,y0) is orthogonal to the level curve that contains (x0,y0)
Critical points
(a,b) is a critical point if ∇f(a,b)=0 or ∇f(a,b) ∄
In other words, if (a,b) is a critical point of local minimum/maximum then it is a critical point.
However, the other way around this implication is not true. A critical point might not be a local minimum/maxium.
2nd derivate test for functions of two variables
Suppose (a,b) is a critical point of a function, f, of two variables. Suppose 2nd order partial derivatives exists and are continous.
Let D=D(a,b)=fxx(a,b)fyy(a,b)−(fxy(a,b))2
Then:
D>0 and fxx(a,b)>0 ∣ local minimumD>0 and fxx(a,b)<0 ∣ local maximumD<0 ∣ neither, this is a saddle point
Lagrange multiplier method
Recall (Lagrange multiplier method)
To find minimum/maximum values of function, f, subject to constraint, g(x,y)=k, assuming minimum/maximum points exists and ∇g=0
- Find all numbers x,y and λ, such that:
∇f(x,y)=λ∇g(x,y)=k
- Compute values from step 1, choose the minimum/maximum value(s).
Type I region definition
If D is of type I, then:
∬Df(x,y) dA=∫ab∫g1(x)g2(x)f(x,y) dy dx
Type II region definition
If D is of type II, then:
∬Df(x,y) dA=∫cd∫h1(y)h2(y)f(x,y) dx dy
General case of variable change
∬Df(x,y) dA
We want to rewrite this in terms of u and v. Let’s say that:
x=g(u,v)y=h(u,v)
We can say that we have a transformation, T, from the uv-plane to the xy-plane, given by our functions g and h.
We need to make some assumptions of T to make our lives easier.
-
T is a C1-transformation, meaning that g and h have continuous partial derivatives.
-
T is an injective transformation (meaning it is 1-to-1). This means that we can express u and v in terms of x and y.
The jacobian matrix of a transformation, T, is:
∂(u,v)∂(x,y)=det∂u∂x∂u∂y∂v∂x∂v∂y
Suppose T is a transformation, from the uv-plane to the xy-plane. Assuming that the jacobian for T, is non-zero, then:
∬Df(x,y) dA=∬Sf(x(u,v),y(u,v))∣∂(u,v)∂(x,y)∣ dA
In three variables
Let x=x(u,v,w),y=y(u,v,w),z=z(u,v,w)
The jacobian is:
∂(u,v,w)∂(x,y,z)=det∂u∂x∂u∂y∂u∂z∂v∂x∂v∂y∂v∂z∂w∂x∂w∂y∂w∂z
Just as we did before:
∭Ef(x,y,z) dV=∭Sf(x(u,v,w),y(u,v,w),z(u,v,w))∣∂(u,v,w)∂(x,y,z)∣ dV
Polar coordinates
∬Sg(r,θ) dA=∬Sf(rcos(θ),rsin(θ))⋅r dA
It makes sense to change to polar coordinates if we have a circle/circle like shape.
Cylindrical coordinates
∭Ef(x,y,z) dV=∭Sf(rcos(θ),rsin(θ),z)⋅r dV
It makes sense to change to cylindrical coordinates when we have symmetry around one axis.
Spherical coordinates
∭Ef(x,y,z) dV=∭Sf(ρsin(φ)cos(θ),ρsin(φ)sin(θ),ρcos(φ))⋅ρ2sin(φ) dV
It makes sense to change to spherical coordinates when our solid is bounded by spheres and/or cones.
Computing mass of solid
Let E be an arbitrary solid, with a density function, ρ(x,y,z)
We say that the mass of the solid is:
∭Eρ(x,y,z) dV
Center of Mass
One very important application is finding the center of mass of a solid.
Given a physical system with mi points, the center of mass has the coordinates, (x0,y0,z0).
Therefore:
x0=∑mi∑mixi
y0=∑mi∑miyi
z0=∑mi∑mizi
For an arbitrary solid, it’s almost sum same:
x0=∭Eρ(x,y,z) dV∭Eρ(x,y,z)⋅x dV
y0=∭Eρ(x,y,z) dV∭Eρ(x,y,z)⋅y dV
z0=∭Eρ(x,y,z) dV∭Eρ(x,y,z)⋅z dV
Parameterization over line
Given a line that passes through the point (x0,y0,z0), with a direction of the vector, v=⟨a,b,c⟩.
If we want to parameterize this line, we can choose another point that this vector passes through as:
r(t)=r(t0)+tv
(x(t),y(t),z(t))=(x0,y0,z0)+t(a,b,c)
This means that:
x(t)=x0+ta
y(t)=y0+tb
z(t)=z0+tc
Line integral
A curve, C, parameterized as r(t)=⟨x(t),y(t)⟩, for an interval t∈[a,b] and a continuous function, f:C→R.
Assuming x(t) and y(t) are differentiable.
∫Cf(x,y)ds=∫abf(x(t),y(t))x′(t)2+y′(t)2 dt
Non-differentiable lines
There may be some cases where the parameterization isn’t differentiable.
Imagine we have a simple rectangular form. The four corners of the rectnagle will not be differentiable.
What we can do is divide C into n subcurves.
C=C1∪C2∪…∪Cn
∫Cf(x,y)ds=j=1∑n∫Cjf(x,y)ds
Line integrals with respect to x or y
So far we have integrated with respect to the arc length. But we can integrate with respect to x or y.
∫Cf(x,y) dx or ∫Cf(x,y) dy
∫Cf(x,y) dx=∫abf(x(t),y(t))x′(t) dt
∫Cf(x,y) dy=∫abf(x(t),y(t))y′(t) dt
Line integrals with three variables
There is no difference in two or three variables:
C∈R3f:C→R3r(t)=⟨x(t),y(t),z(t)⟩ ∣ a≤t≤b
∫Cf(x,y,z) ds=∫abf(x(t),y(t),z(t))x′(t)2+y′(t)2+z′(t)2 dt
Vector field
A vector field is a function, F:
F:D⊂R2→R2 ∣ 2DF:D⊂R3→R3 ∣ 3D
Gradient field
By this definiton, we can say that.
Let f:D⊂R2→R be a differentiable function. The gradient is ∇f(x,y)=⟨fx(x,y),fy(x,y)⟩.
The gradient is therefore a vector field!
∇f:D→R2
Conservative vector field
A vector field, F, is called conservative, if there is a function, f, for which ∇f=F.
In this case, f, is called a potential for F.
Line integrals with vector fields
If C is parameterized as r(t)=⟨x(t),y(t),z(t)⟩ in the interval, a≤t≤b. Then:
∫CF⋅dr=∫abF(x(t),y(t),z(t))⋅r′(t) dt
Conservative vector field
Let D⊂R2 be open (every point in D has a small disc around it, which contains D), connected (consists of one single “piece”).
Let F:D→R2 be a vector field. Then F is conservative (there exists a f such that ∇f=F), if and only if:
∫CF⋅dr=0 ∣ for every closed curve C⊂D
NB: This only applies for R2.
Suppose F(x,y)=P(x,y)i+Q(x,y)j is a conservative field. Then:
∂y∂P=∂x∂Q
Green’s Theorem
Let C be a simple, closed curve oriented positively. Let D be the region it surrounds and let P,Q:D→R.
∫CP dx+Q dy=∬D∂x∂Q−∂y∂P dx dy
Equivalently:
∫∂DP dx+Q dy=∬D∂x∂Q−∂y∂P dx dy
Parameteric surface
A parametric surface is a region, S⊂R3, which is the image of a function, r:D→R3, defined on a region D⊂R2 of the plane.
Which means we can parameterize:
r(u,v)=⟨x(u,v),y(u,v),z(u,v)⟩
Tangent planes to surfaces.
Suppose S is a parametric surface with parameterization r:D⊂R2→R3.
r(u,v)=x(u,v)i+y(u,v)j+z(u,v)k
We define ru(u,v) as:
ru=xu(u,v)i+yu(u,v)j+zu(u,v)k
And for the partial derivate of v:
rv=xv(u,v)i+yv(u,v)j+zv(u,v)k
The tangent plane, π, to S, at the point r(u0,v0) is the plane that contains ru(u0,v0) and rv(u0,v0).
Equivalently, it is the plane perpendicular to the cross product of ru(u0,v0) and rv(u0,v0, which goes through r(u0,v0).
Surface area
Let r:D→R3 be a parameterization for a surface, S.
Area(s)=∬D∣ru×rv∣ dx dy
Surface integrals
Let r:D→R3 be a parameterization of a surface, S.
Let f:S→R be a function, then:
∬Sf(x,y,z) dS=∬Df(r(u,v)) ∣ru×rv∣ du dv
Surface integrals over vector fields
Let S be a parametric surface, parameterized by, r:D→R2 and F:R3→R3, be a vector field. Then:
∬SF⋅dS=∬DF(r(u,v))⋅ru×rv du dv
We call this the flux of F through S.
The Divergence Theorem
For a vector field, F:R3→R3, the divergence is:
div F=∂x∂P+∂y∂Q+∂z∂R
Let S be a hollow surface and let E be the 3-dimensional region it surrounds (∂E=S).
Then:
∬SF⋅dS=∭Ediv F dV
Equivalently:
∬∂EF⋅dS=∭Ediv F dV
Stokes Theorem
So far we have seen Green’s Theorem as well as The Divergence theorem. But what is the reason that Green’s Theorem only works in R3?
Well, Stokes Theorem is essentially Green’s Theorem but in R3.
For F:R3→R3, we define its curl as:
NB: it is also called rot and sometimes denoted as ∇×F.
curl F=⟨∂y∂R−∂z∂Q,∂z∂P−∂x∂R,∂x∂Q−∂y∂P⟩
If S⊂R3 is a surface, surrounded by a simple, closed curve in R3. Then:
∫CF⋅dr=∬Scurl F dS