A function of two variables, denoted as f(x,y), exhibits the following partial derivatives, defined by limits:
The partial derivative with respect to x:
f<em>x(x,y)=hlim</em>h→0(f(x+h,y)−f(x,y))
The partial derivative with respect to y:
f<em>y(x,y)=hlim</em>h→0(f(x,y+h)−f(x,y))
Notation for First Order Partial Derivatives
Common notations for the first order partial derivatives are:
fx(x,y)
dxdf
dydf
Rule of Thumb for Partial Differentiation
Treat y as constant when differentiating with respect to x.
Treat x as constant when differentiating with respect to y.
Examples of Partial Derivatives
Example 1:
Let f(x,y)=3x2y4+4xy2
Calculating partial with respect to x:
fx(x,y)=6xy4+4y2
Calculating partial with respect to y:
fy(x,y)=12x2y3+8xy Evaluation at Specific Points:
At point (2,1):
fx(2,1)=6(2)(14)+4(12)=12+4=16
fy(2,1)=12(22)(13)+8(2)(1)=48+16=64 Example 2:
Let f(x,y)=sin(x)
Calculating partial with respect to x,
fx(x,y)=cos(x)
If u=x, then:
dudf=cos(x)
Interpretation of Partial Derivatives
Given a surface of the form z=f(x,y) where f(a,b)=C, the partial derivatives f<em>x(a,b) and f</em>y(a,b) represent the slopes of the tangent line to the curves C<em>1 and C</em>2 that intersect with the vertical planes defined by y=b and x=a, respectively. Curve C1
Intersects at (a,b,C),
Tangential Line Equation:
z−C=fx(a,b)(x−a)(when y=b) Curve C2
Intersects at (a,b,C),
Tangential Line Equation:
z−C=fy(a,b)(y−b)(when x=a)
Interpretation of the Tangent Plane
The tangent plane at a point (a,b,C) on the surface z=f(x,y) has the equation:
z−C=f<em>x(a,b)(x−a)+f</em>y(a,b)(y−b)
This tangent plane approximates the function near (a,b).
Functions of More Than Two Variables
For functions of more than two variables, e.g., f(x,y,z), the partial derivatives follow the same rules as for two variables, treating the remaining variables as constants during differentiation.
Higher Order Partial Derivatives
For higher order partial derivatives, we can denote:
The second-order partial derivative with respect to x:
fxx(x,y)=dx2d2f
The mixed partial derivative:
fxy(x,y)=dxdyd2f
Clairaut's Theorem
If f is defined over a disc containing (a,b) and both mixed derivatives f<em>xy and f</em>yx exist, then:
f<em>xy(a,b)=f</em>yx(a,b)
This theorem holds for most functions if they are continuously differentiable.
Implicit Differentiation
Consider a function defined implicitly as
F(x,y,z)=0
To find the partial derivative dxdz, we differentiate both sides with respect to x, treating z as a function of x.
Apply Chain Rule:
F<em>x+F</em>ydxdy+Fzdxdz=0
Rearranging gives:
dxdz=−FzF<em>x+F</em>ydxdy
Differentiation Rules for Functions of One Variable
Derivative of a constant is zero.
Derivative of f(g(x)) is f′(g(x))g′(x) (Chain Rule).
Product rule: (fg)′=f′g+fg′.
Quotient rule: hg′=h2g′h−gh′.
Higher-order derivatives are computed in a similar manner as basic derivatives.
Trigonometric derivatives:
dxd(sin(x))=cos(x)
dxd(cos(x))=−sin(x)
Tangent Planes & Linear Approximations
Linearization of a function
The linear approximation of a function near a point (a,b) is given by:
For a function z=f(x,y), the approximation is:
z≈f(a,b)+f<em>x(a,b)(x−a)+f</em>y(a,b)(y−b)
This approximates f(x,y) for (x,y) near (a,b).
Total Differential
For a function of two variables z=f(x,y), the total differential dz is defined as:
dz=f<em>x(x,y)dx+f</em>y(x,y)dy
It represents the approximate change in z for small changes dx and dy in x and y.
This is often used to approximate values or estimate errors.
The Chain Rule for Multivariable Functions
The Chain Rule is essential for differentiating composite functions where the input variables are themselves functions of other variables.
Case 1: z=f(x,y) where x=g(t) and y=h(t)
If z=f(x,y) is a differentiable function of x and y, and x=g(t) and y=h(t) are differentiable functions of t, then z is a differentiable function of t, and:
dtdz=∂x∂fdtdx+∂y∂fdtdy
Case 2: z=f(x,y) where x=g(s,t) and y=h(s,t)
If z=f(x,y) is a differentiable function of x and y, and x=g(s,t) and y=h(s,t) are differentiable functions of s and t, then:
Partial derivative with respect to s:
∂s∂z=∂x∂f∂s∂x+∂y∂f∂s∂y
Partial derivative with respect to t:
∂t∂z=∂x∂f∂t∂x+∂y∂f∂t∂y
Case 3: General Chain Rule
If u=f(x<em>1,x</em>2,…,x<em>n) and each x</em>i=x<em>i(t</em>1,t<em>2,…,t</em>m), then the partial derivative of u with respect to tj is:
The gradient vector of a function f(x,y) is denoted by ∇f(x,y) (read as "del f" or "gradient f") and is defined as:
∇f(x,y)=⟨f<em>x(x,y),f</em>y(x,y)⟩=∂x∂fi+∂y∂fj
The directional derivative can also be expressed using the dot product:
Duf(x,y)=∇f(x,y)⋅u
Properties of the Gradient
Maximum Rate of Increase: The maximum value of the directional derivative Duf(x,y) is ∣∇f(x,y)∣, and it occurs when u has the same direction as ∇f(x,y).
Minimum Rate of Decrease: The minimum value is −∣∇f(x,y)∣, and it occurs when u has the opposite direction to ∇f(x,y).
Level Curves/Surfaces: The gradient vector ∇f(x,y) is orthogonal (perpendicular) to the level curves f(x,y)=k at a given point (x,y). For functions of three variables, ∇f(x,y,z) is orthogonal to the level surfaces f(x,y,z)=k.
Maximum and Minimum Values
Critical Points
A critical point of a function f(x,y) is a point (a,b) in the domain of f where either:
f<em>x(a,b)=0 and f</em>y(a,b)=0
Or, one or both of the partial derivatives do not exist.
The Second Derivatives Test
To classify critical points as local maxima, minima, or saddle points, we use the second derivatives test. Let D be the discriminant defined as:
D(x,y)=f<em>xx(x,y)f</em>yy(x,y)−[fxy(x,y)]2
At a critical point (a,b):
If D(a,b)>0 and fxx(a,b)>0, then f(a,b) is a local minimum.
If D(a,b)>0 and fxx(a,b)<0, then f(a,b) is a local maximum.
If D(a,b)<0, then f(a,b) is a saddle point (neither max nor min).
If D(a,b)=0, the test is inconclusive.
Absolute Maximum and Minimum Values
To find the absolute maximum and minimum values of a continuous function f on a closed, bounded set D:
Find the values of f at the critical points of f in D.
Find the extreme values of f on the boundary of D. This often involves parameterizing the boundary or using methods like Lagrange Multipliers.
The largest of these values is the absolute maximum value, and the smallest is the absolute minimum value.
Polar Coordinates
Polar coordinates offer an alternative way to represent points in a two-dimensional plane using a distance from the origin and an angle from the positive x-axis. This system is particularly useful for problems with circular symmetry.
Definition and Conversion
A point P in the plane is represented by an ordered pair (r,θ), where:
r is the distance from the origin (pole) to P.
θ is the angle (in radians) between the positive x-axis (polar axis) and the line segment from the origin to P.
Conversion from Polar to Cartesian:
x=rcosθ
y=rsinθ
Conversion from Cartesian to Polar:
r2=x2+y2
tanθ=xy(if x=0)
Area in Polar Coordinates
The area of a region bounded by polar curves r=f(θ) from θ=α to θ=β is given by:
A=∫αβ21r2dθ
Double Integrals in Polar Coordinates
To evaluate double integrals over regions with circular symmetry, converting to polar coordinates simplifies the integral. The differential area element dA in Cartesian coordinates becomes rdrdθ in polar coordinates.
∬<em>Rf(x,y)dA=∬</em>Df(rcosθ,rsinθ)rdrdθ
Cylindrical Coordinates
Cylindrical coordinates extend polar coordinates into three dimensions by adding a z-coordinate. They are especially useful for problems with cylindrical symmetry.
Definition and Conversion
A point P in space is represented by (r,θ,z), where:
(r,θ) are the polar coordinates of the projection of P onto the xy-plane.
z is the Cartesian z-coordinate.
Conversion from Cylindrical to Cartesian:
x=rcosθ
y=rsinθ
z=z
Conversion from Cartesian to Cylindrical:
r2=x2+y2
tanθ=xy(if x=0)
z=z
Volume Element and Triple Integrals
In cylindrical coordinates, the differential volume element dV in Cartesian coordinates becomes rdzdrdθ (or any permutation of dz,dr,dθ). This Jacobian term r is crucial for correct integration.
∭<em>Ef(x,y,z)dV=∭</em>Gf(rcosθ,rsinθ,z)rdzdrdθ
Spherical Coordinates
Spherical coordinates provide another three-dimensional coordinate system, particularly suitable for problems with spherical symmetry.
Definition and Conversion
A point P in space is represented by (ρ,θ,ϕ), where:
ρ (rho) is the distance from the origin to P (ρ≥0).
θ (theta) is the same angle as in cylindrical and polar coordinates (0≤θ≤2π).
ϕ (phi) is the angle between the positive z-axis and the line segment from the origin to P (0≤ϕ≤π).
Conversion from Spherical to Cartesian:
x=ρsinϕcosθ
y=ρsinϕsinθ
z=ρcosϕ
Conversion from Cartesian to Spherical:
ρ2=x2+y2+z2
tanθ=xy(if x=0)
cosϕ=ρz=x2+y2+z2z
Volume Element and Triple Integrals
In spherical coordinates, the differential volume element dV in Cartesian coordinates becomes ρ2sinϕdρdϕdθ. The Jacobian is ρ2sinϕ.
Triple integrals are used to integrate functions of three variables over a three-dimensional region. They are fundamental for calculating volumes, masses, centroids, and moments of inertia for solids.
Definition
The triple integral of a function f(x,y,z) over a solid region E is defined as:
The order of integration can be changed, and there are six possible orders (dzdydx,dzdxdy,dydzdx,dydxdz,dxdydz,dxdzdy), depending on the region E.
Applications
Volume: If f(x,y,z)=1, the triple integral gives the volume of the region E:
V=∭E1dV
Mass: If ρ(x,y,z) is the density function of a solid object E, its total mass M is:
M=∭Eρ(x,y,z)dV
Centroid: The coordinates of the centroid (xˉ,yˉ,zˉ) are given by:
xˉ=M1∭Exρ(x,y,z)dV
yˉ=M1∭Eyρ(x,y,z)dV
zˉ=M1∭Ezρ(x,y,z)dV
Change of Variables in Triple Integrals
When integrating over complex regions in Cartesian coordinates, changing to cylindrical or spherical coordinates can simplify computations. The conversion involves a Jacobian determinant, which accounts for the scaling of the volume elements: