Let f : D ⊆ R n → R f : D \subseteq \mathbb{R}^n \to \mathbb{R} f : D ⊆ R n → R . The partial derivative of f f f with respect to x i x_i x i at a = ( a 1 , … , a n ) \mathbf{a} = (a_1, \ldots, a_n) a = ( a 1 , … , a n ) is
∂ f ∂ x i ( a ) = lim h → 0 f ( a 1 , … , a i + h , … , a n ) − f ( a 1 , … , a n ) h \frac{\partial f}{\partial x_i}(\mathbf{a}) = \lim_{h \to 0} \frac{f(a_1, \ldots, a_i + h, \ldots, a_n) - f(a_1, \ldots, a_n)}{h} ∂ x i ∂ f ( a ) = lim h → 0 h f ( a 1 , … , a i + h , … , a n ) − f ( a 1 , … , a n )
Provided the limit exists. This is the rate of change of f f f in the direction of the x i x_i x i -axis, Holding all other variables fixed.
Notation. Common notations for the partial derivative with respect to x i x_i x i include f x i f_{x_i} f x i , ∂ i f \partial_i f ∂ i f And ∂ f ∂ x i \frac{\partial f}{\partial x_i} ∂ x i ∂ f . We use these interchangeably.
Theorem 1.1 (Clairaut’s Theorem / Schwarz’s Theorem). If f x y f_{xy} f x y and f y x f_{yx} f y x are continuous on an Open set containing ( a , b ) (a, b) ( a , b ) Then
∂ 2 f ∂ x ∂ y ( a , b ) = ∂ 2 f ∂ y ∂ x ( a , b ) \frac{\partial^2 f}{\partial x \partial y}(a,b) = \frac{\partial^2 f}{\partial y \partial x}(a,b) ∂ x ∂ y ∂ 2 f ( a , b ) = ∂ y ∂ x ∂ 2 f ( a , b )
Proof. Define the second-order difference function
Δ ( h , k ) = f ( a + h , b + k ) − f ( a + h , b ) − f ( a , b + k ) + f ( a , b ) \Delta(h, k) = f(a+h,\, b+k) - f(a+h,\, b) - f(a,\, b+k) + f(a, b) Δ ( h , k ) = f ( a + h , b + k ) − f ( a + h , b ) − f ( a , b + k ) + f ( a , b )
For h , k ≠ 0 h, k \neq 0 h , k = 0 . Define ϕ ( s ) = f ( s , b + k ) − f ( s , b ) \phi(s) = f(s, b+k) - f(s, b) ϕ ( s ) = f ( s , b + k ) − f ( s , b ) . Then Δ ( h , k ) = ϕ ( a + h ) − ϕ ( a ) \Delta(h,k) = \phi(a+h) - \phi(a) Δ ( h , k ) = ϕ ( a + h ) − ϕ ( a ) . By the Mean Value Theorem, there exists θ 1 ∈ ( 0 , 1 ) \theta_1 \in (0, 1) θ 1 ∈ ( 0 , 1 ) such that
Δ ( h , k ) = h ⋅ ϕ ′ ( a + θ 1 h ) = h [ f x ( a + θ 1 h , b + k ) − f x ( a + θ 1 h , b ) ] \Delta(h, k) = h \cdot \phi'(a + \theta_1 h) = h \left[f_x(a + \theta_1 h,\, b+k) - f_x(a + \theta_1 h,\, b)\right] Δ ( h , k ) = h ⋅ ϕ ′ ( a + θ 1 h ) = h [ f x ( a + θ 1 h , b + k ) − f x ( a + θ 1 h , b ) ]
Apply the Mean Value Theorem again to the function g ( t ) = f x ( a + θ 1 h , t ) g(t) = f_x(a + \theta_1 h,\, t) g ( t ) = f x ( a + θ 1 h , t ) on [ b , b + k ] [b, b+k] [ b , b + k ] . There exists θ 2 ∈ ( 0 , 1 ) \theta_2 \in (0, 1) θ 2 ∈ ( 0 , 1 ) such that
Δ ( h , k ) = h k ⋅ f x y ( a + θ 1 h , b + θ 2 k ) \Delta(h, k) = hk \cdot f_{xy}(a + \theta_1 h,\, b + \theta_2 k) Δ ( h , k ) = hk ⋅ f x y ( a + θ 1 h , b + θ 2 k )
Similarly, by reversing the order of application, there exist θ 3 , θ 4 ∈ ( 0 , 1 ) \theta_3, \theta_4 \in (0,1) θ 3 , θ 4 ∈ ( 0 , 1 ) such That
Δ ( h , k ) = h k ⋅ f y x ( a + θ 3 h , b + θ 4 k ) \Delta(h, k) = hk \cdot f_{yx}(a + \theta_3 h,\, b + \theta_4 k) Δ ( h , k ) = hk ⋅ f y x ( a + θ 3 h , b + θ 4 k )
For h , k ≠ 0 h, k \neq 0 h , k = 0 we have
f x y ( a + θ 1 h , b + θ 2 k ) = f y x ( a + θ 3 h , b + θ 4 k ) f_{xy}(a + \theta_1 h,\, b + \theta_2 k) = f_{yx}(a + \theta_3 h,\, b + \theta_4 k) f x y ( a + θ 1 h , b + θ 2 k ) = f y x ( a + θ 3 h , b + θ 4 k )
Taking the limit as ( h , k ) → ( 0 , 0 ) (h, k) \to (0, 0) ( h , k ) → ( 0 , 0 ) and using continuity of f x y f_{xy} f x y and f y x f_{yx} f y x We obtain f x y ( a , b ) = f y x ( a , b ) f_{xy}(a, b) = f_{yx}(a, b) f x y ( a , b ) = f y x ( a , b ) . ■ \blacksquare ■
Intuition. Clairaut’s theorem tells us that, under a mild regularity condition (continuity of the Mixed second partials), the order in which we differentiate does not matter. Without this Condition, the mixed partials may differ.
Definition. f : D ⊆ R n → R f : D \subseteq \mathbb{R}^n \to \mathbb{R} f : D ⊆ R n → R is differentiable at a \mathbf{a} a if There exists a linear map L : R n → R L : \mathbb{R}^n \to \mathbb{R} L : R n → R such that
lim h → 0 f ( a + h ) − f ( a ) − L ( h ) ∥ h ∥ = 0 \lim_{\mathbf{h} \to \mathbf{0}} \frac{f(\mathbf{a} + \mathbf{h}) - f(\mathbf{a}) - L(\mathbf{h})}{\lVert \mathbf{h} \rVert} = 0 lim h → 0 ∥ h ∥ f ( a + h ) − f ( a ) − L ( h ) = 0
When f f f is differentiable at a \mathbf{a} a The linear map L L L is given by the gradient.
Remark. Existence of all partial derivatives at a point does not imply differentiability at That point. The canonical counterexample is
f ( x , y ) = { x y x 2 + y 2 i f ( x , y ) ≠ ( 0 , 0 ) , 0 i f ( x , y ) = ( 0 , 0 ) . f(x,y) = \begin{cases} \dfrac{xy}{x^2 + y^2} & \mathrm{if\ }(x,y) \neq (0,0), \\ 0 & \mathrm{if\ }(x,y) = (0,0). \end{cases} f ( x , y ) = ⎩ ⎨ ⎧ x 2 + y 2 x y 0 if ( x , y ) = ( 0 , 0 ) , if ( x , y ) = ( 0 , 0 ) .
Both f x ( 0 , 0 ) f_x(0,0) f x ( 0 , 0 ) and f y ( 0 , 0 ) f_y(0,0) f y ( 0 , 0 ) exist (and equal 0 0 0 ), yet f f f is not even continuous at the origin, Hence not differentiable.
The gradient of f f f at a \mathbf{a} a is
∇ f ( a ) = ( ∂ f ∂ x 1 ( a ) , … , ∂ f ∂ x n ( a ) ) \nabla f(\mathbf{a}) = \left(\frac{\partial f}{\partial x_1}(\mathbf{a}), \ldots, \frac{\partial f}{\partial x_n}(\mathbf{a})\right) ∇ f ( a ) = ( ∂ x 1 ∂ f ( a ) , … , ∂ x n ∂ f ( a ) )
The linear approximation of f f f near a \mathbf{a} a is
f ( a + h ) ≈ f ( a ) + ∇ f ( a ) ⋅ h f(\mathbf{a} + \mathbf{h}) \approx f(\mathbf{a}) + \nabla f(\mathbf{a}) \cdot \mathbf{h} f ( a + h ) ≈ f ( a ) + ∇ f ( a ) ⋅ h
Theorem 1.2. If all partial derivatives of f f f exist and are continuous in a neighbourhood of a \mathbf{a} a Then f f f is differentiable at a \mathbf{a} a .
Remark. Functions whose partial derivatives exist and are continuous on an open set U U U are called C 1 ( U ) C^1(U) C 1 ( U ) . Theorem 1.2 says C 1 ⟹ C^1 \implies C 1 ⟹ differentiable. The converse is false: there exist Differentiable functions whose partial derivatives are not continuous.
Proposition. If f f f is differentiable at a \mathbf{a} a Then f f f is continuous at a \mathbf{a} a .
Proof. From the definition of differentiability:
f ( a + h ) − f ( a ) = L ( h ) + ε ( h ) ∥ h ∥ f(\mathbf{a} + \mathbf{h}) - f(\mathbf{a}) = L(\mathbf{h}) + \varepsilon(\mathbf{h})\lVert \mathbf{h} \rVert f ( a + h ) − f ( a ) = L ( h ) + ε ( h ) ∥ h ∥
Where L L L is linear and ε ( h ) → 0 \varepsilon(\mathbf{h}) \to 0 ε ( h ) → 0 as h → 0 \mathbf{h} \to \mathbf{0} h → 0 . As h → 0 \mathbf{h} \to \mathbf{0} h → 0 Both terms on the right vanish, so f ( a + h ) → f ( a ) f(\mathbf{a} + \mathbf{h}) \to f(\mathbf{a}) f ( a + h ) → f ( a ) . ■ \blacksquare ■
The directional derivative of f f f at a \mathbf{a} a in the direction of a unit vector u \mathbf{u} u is
D u f ( a ) = lim h → 0 f ( a + h u ) − f ( a ) h D_{\mathbf{u}} f(\mathbf{a}) = \lim_{h \to 0} \frac{f(\mathbf{a} + h\mathbf{u}) - f(\mathbf{a})}{h} D u f ( a ) = lim h → 0 h f ( a + h u ) − f ( a )
Theorem 1.3. If f f f is differentiable at a \mathbf{a} a Then
D u f ( a ) = ∇ f ( a ) ⋅ u D_{\mathbf{u}} f(\mathbf{a}) = \nabla f(\mathbf{a}) \cdot \mathbf{u} D u f ( a ) = ∇ f ( a ) ⋅ u
Proof. Since f f f is differentiable at a \mathbf{a} a
f ( a + h u ) − f ( a ) h = ∇ f ( a ) ⋅ ( h u ) + ε ( h u ) ∥ h u ∥ h \frac{f(\mathbf{a} + h\mathbf{u}) - f(\mathbf{a})}{h} = \frac{\nabla f(\mathbf{a}) \cdot (h\mathbf{u}) + \varepsilon(h\mathbf{u}) \lVert h\mathbf{u} \rVert}{h} h f ( a + h u ) − f ( a ) = h ∇ f ( a ) ⋅ ( h u ) + ε ( h u ) ∥ h u ∥
= ∇ f ( a ) ⋅ u + ε ( h u ) ∥ u ∥ = \nabla f(\mathbf{a}) \cdot \mathbf{u} + \varepsilon(h\mathbf{u}) \lVert \mathbf{u} \rVert = ∇ f ( a ) ⋅ u + ε ( h u ) ∥ u ∥
Where ε ( h ) → 0 \varepsilon(\mathbf{h}) \to 0 ε ( h ) → 0 as h → 0 \mathbf{h} \to \mathbf{0} h → 0 . Taking h → 0 h \to 0 h → 0 gives the result. ■ \blacksquare ■
Corollary 1.4. The gradient points in the direction of steepest ascent, and ∥ ∇ f ∥ \lVert \nabla f \rVert ∥ ∇ f ∥ Is the rate of steepest ascent.
Proof. By the Cauchy—Schwarz inequality, ∣ ∇ f ⋅ u ∣ ≤ ∥ ∇ f ∥ ⋅ ∥ u ∥ = ∥ ∇ f ∥ \lvert \nabla f \cdot \mathbf{u} \rvert \leq \lVert \nabla f \rVert \cdot \lVert \mathbf{u} \rVert = \lVert \nabla f \rVert ∣ ∇ f ⋅ u ∣ ≤ ∥ ∇ f ∥ ⋅ ∥ u ∥ = ∥ ∇ f ∥ With equality when u \mathbf{u} u is parallel to ∇ f \nabla f ∇ f . ■ \blacksquare ■
Theorem 1.5 (Multivariable Chain Rule). If g : R m → R n \mathbf{g} : \mathbb{R}^m \to \mathbb{R}^n g : R m → R n is Differentiable at a \mathbf{a} a and f : R n → R f : \mathbb{R}^n \to \mathbb{R} f : R n → R is differentiable at g ( a ) \mathbf{g}(\mathbf{a}) g ( a ) Then
∇ ( f ∘ g ) ( a ) = J g ( a ) T ∇ f ( g ( a ) ) \nabla (f \circ \mathbf{g})(\mathbf{a}) = J\mathbf{g}(\mathbf{a})^T \nabla f(\mathbf{g}(\mathbf{a})) ∇ ( f ∘ g ) ( a ) = J g ( a ) T ∇ f ( g ( a ))
Where J g J\mathbf{g} J g is the Jacobian matrix of g \mathbf{g} g .
Proof. Write h ( t ) = f ( g ( a + t v ) ) h(t) = f(\mathbf{g}(\mathbf{a} + t\mathbf{v})) h ( t ) = f ( g ( a + t v )) for a fixed direction v \mathbf{v} v . Then
h ( t ) − h ( 0 ) t = f ( g ( a + t v ) ) − f ( g ( a ) ) t \frac{h(t) - h(0)}{t} = \frac{f(\mathbf{g}(\mathbf{a} + t\mathbf{v})) - f(\mathbf{g}(\mathbf{a}))}{t} t h ( t ) − h ( 0 ) = t f ( g ( a + t v )) − f ( g ( a ))
Let k = g ( a + t v ) − g ( a ) \mathbf{k} = \mathbf{g}(\mathbf{a} + t\mathbf{v}) - \mathbf{g}(\mathbf{a}) k = g ( a + t v ) − g ( a ) . By differentiability of g \mathbf{g} g k = J g ( a ) ( t v ) + o ( t ) \mathbf{k} = J\mathbf{g}(\mathbf{a})(t\mathbf{v}) + o(t) k = J g ( a ) ( t v ) + o ( t ) And k → 0 \mathbf{k} \to \mathbf{0} k → 0 as t → 0 t \to 0 t → 0 . By Differentiability of f f f :
f ( g ( a ) + k ) − f ( g ( a ) ) = ∇ f ( g ( a ) ) ⋅ k + o ( ∥ k ∥ ) f(\mathbf{g}(\mathbf{a}) + \mathbf{k}) - f(\mathbf{g}(\mathbf{a})) = \nabla f(\mathbf{g}(\mathbf{a})) \cdot \mathbf{k} + o(\lVert \mathbf{k} \rVert) f ( g ( a ) + k ) − f ( g ( a )) = ∇ f ( g ( a )) ⋅ k + o (∥ k ∥)
= ∇ f ( g ( a ) ) ⋅ [ J g ( a ) ( t v ) + o ( t ) ] + o ( t ) = \nabla f(\mathbf{g}(\mathbf{a})) \cdot [J\mathbf{g}(\mathbf{a})(t\mathbf{v}) + o(t)] + o(t) = ∇ f ( g ( a )) ⋅ [ J g ( a ) ( t v ) + o ( t )] + o ( t )
Dividing by t t t and taking t → 0 t \to 0 t → 0 :
h ′ ( 0 ) = ∇ f ( g ( a ) ) ⋅ J g ( a ) v = [ J g ( a ) T ∇ f ( g ( a ) ) ] ⋅ v h'(0) = \nabla f(\mathbf{g}(\mathbf{a})) \cdot J\mathbf{g}(\mathbf{a})\mathbf{v} = [J\mathbf{g}(\mathbf{a})^T \nabla f(\mathbf{g}(\mathbf{a}))] \cdot \mathbf{v} h ′ ( 0 ) = ∇ f ( g ( a )) ⋅ J g ( a ) v = [ J g ( a ) T ∇ f ( g ( a ))] ⋅ v
Since v \mathbf{v} v was arbitrary, ∇ h ( 0 ) = J g ( a ) T ∇ f ( g ( a ) ) \nabla h(0) = J\mathbf{g}(\mathbf{a})^T \nabla f(\mathbf{g}(\mathbf{a})) ∇ h ( 0 ) = J g ( a ) T ∇ f ( g ( a )) . ■ \blacksquare ■
Problem. Let f ( x , y ) = x 2 y f(x, y) = x^2 y f ( x , y ) = x 2 y and let x = cos t x = \cos t x = cos t , y = sin t y = \sin t y = sin t . Find d d t f ( cos t , sin t ) \frac{d}{dt} f(\cos t, \sin t) d t d f ( cos t , sin t ) Using the chain rule, and verify by direct substitution.
Solution Via the chain rule:
d d t f ( x ( t ) , y ( t ) ) = f x ⋅ x ′ ( t ) + f y ⋅ y ′ ( t ) \frac{d}{dt} f(x(t), y(t)) = f_x \cdot x'(t) + f_y \cdot y'(t) d t d f ( x ( t ) , y ( t )) = f x ⋅ x ′ ( t ) + f y ⋅ y ′ ( t )
= 2 x y ⋅ ( − sin t ) + x 2 ⋅ cos t = − 2 cos t sin 2 t + cos 3 t = 2xy \cdot (-\sin t) + x^2 \cdot \cos t = -2\cos t \sin^2 t + \cos^3 t = 2 x y ⋅ ( − sin t ) + x 2 ⋅ cos t = − 2 cos t sin 2 t + cos 3 t
Via direct substitution: f ( cos t , sin t ) = cos 2 t sin t f(\cos t, \sin t) = \cos^2 t \sin t f ( cos t , sin t ) = cos 2 t sin t .
d d t [ cos 2 t sin t ] = − 2 cos t sin 2 t + cos 3 t \frac{d}{dt}[\cos^2 t \sin t] = -2\cos t \sin^2 t + \cos^3 t d t d [ cos 2 t sin t ] = − 2 cos t sin 2 t + cos 3 t
Both methods agree. ■ \blacksquare ■
Problem. Let f ( x , y ) = x 2 y + sin ( x y ) f(x, y) = x^2 y + \sin(xy) f ( x , y ) = x 2 y + sin ( x y ) . Compute ∇ f \nabla f ∇ f and find the directional derivative At ( 1 , π ) (1, \pi) ( 1 , π ) in the direction u = ( 1 / 2 , 1 / 2 ) \mathbf{u} = (1/\sqrt{2}, 1/\sqrt{2}) u = ( 1/ 2 , 1/ 2 ) .
Solution.
∂ f ∂ x = 2 x y + y cos ( x y ) \frac{\partial f}{\partial x} = 2xy + y\cos(xy) ∂ x ∂ f = 2 x y + y cos ( x y )
∂ f ∂ y = x 2 + x cos ( x y ) \frac{\partial f}{\partial y} = x^2 + x\cos(xy) ∂ y ∂ f = x 2 + x cos ( x y )
∇ f ( 1 , π ) = ( 2 π + π cos ( π ) , 1 + cos ( π ) ) = ( 2 π − π , 1 − 1 ) = ( π , 0 ) \nabla f(1, \pi) = (2\pi + \pi\cos(\pi), 1 + \cos(\pi)) = (2\pi - \pi, 1 - 1) = (\pi, 0) ∇ f ( 1 , π ) = ( 2 π + π cos ( π ) , 1 + cos ( π )) = ( 2 π − π , 1 − 1 ) = ( π , 0 )
D u f ( 1 , π ) = ∇ f ( 1 , π ) ⋅ u = π ⋅ 1 2 + 0 = π 2 D_{\mathbf{u}} f(1, \pi) = \nabla f(1, \pi) \cdot \mathbf{u} = \pi \cdot \frac{1}{\sqrt{2}} + 0 = \frac{\pi}{\sqrt{2}} D u f ( 1 , π ) = ∇ f ( 1 , π ) ⋅ u = π ⋅ 2 1 + 0 = 2 π ■ \blacksquare ■
Problem. Let f ( x , y , z ) = x 2 y e z + sin ( x z ) f(x, y, z) = x^2 y\, e^z + \sin(xz) f ( x , y , z ) = x 2 y e z + sin ( x z ) . Compute ∇ f \nabla f ∇ f and evaluate it at ( 1 , 0 , π ) (1, 0, \pi) ( 1 , 0 , π ) .
Solution ∂ f ∂ x = 2 x y e z + z cos ( x z ) \frac{\partial f}{\partial x} = 2xy\, e^z + z\cos(xz) ∂ x ∂ f = 2 x y e z + z cos ( x z )
∂ f ∂ y = x 2 e z \frac{\partial f}{\partial y} = x^2 e^z ∂ y ∂ f = x 2 e z
∂ f ∂ z = x 2 y e z + x cos ( x z ) \frac{\partial f}{\partial z} = x^2 y\, e^z + x\cos(xz) ∂ z ∂ f = x 2 y e z + x cos ( x z )
At ( 1 , 0 , π ) (1, 0, \pi) ( 1 , 0 , π ) :
f x ( 1 , 0 , π ) = 0 + π cos ( π ) = − π , f y ( 1 , 0 , π ) = e π , f z ( 1 , 0 , π ) = 0 + cos ( π ) = − 1 f_x(1,0,\pi) = 0 + \pi\cos(\pi) = -\pi, \quad f_y(1,0,\pi) = e^{\pi}, \quad f_z(1,0,\pi) = 0 + \cos(\pi) = -1 f x ( 1 , 0 , π ) = 0 + π cos ( π ) = − π , f y ( 1 , 0 , π ) = e π , f z ( 1 , 0 , π ) = 0 + cos ( π ) = − 1
∇ f ( 1 , 0 , π ) = ( − π , e π , − 1 ) \nabla f(1, 0, \pi) = (-\pi,\, e^{\pi},\, -1) ∇ f ( 1 , 0 , π ) = ( − π , e π , − 1 )
■ \blacksquare ■
Problem. Find the directional derivative of f ( x , y ) = x 2 y 3 f(x,y) = x^2 y^3 f ( x , y ) = x 2 y 3 at ( 1 , − 1 ) (1, -1) ( 1 , − 1 ) in the direction of v = ( 3 , − 4 ) \mathbf{v} = (3, -4) v = ( 3 , − 4 ) .
Solution First normalise v \mathbf{v} v : ∥ v ∥ = 9 + 16 = 5 \lVert \mathbf{v} \rVert = \sqrt{9 + 16} = 5 ∥ v ∥ = 9 + 16 = 5 So u = ( 3 / 5 , − 4 / 5 ) \mathbf{u} = (3/5,\, -4/5) u = ( 3/5 , − 4/5 ) .
∇ f = ( 2 x y 3 , 3 x 2 y 2 ) \nabla f = (2xy^3,\, 3x^2 y^2) ∇ f = ( 2 x y 3 , 3 x 2 y 2 )
∇ f ( 1 , − 1 ) = ( 2 ⋅ 1 ⋅ ( − 1 ) , 3 ⋅ 1 ⋅ 1 ) = ( − 2 , 3 ) \nabla f(1, -1) = (2 \cdot 1 \cdot (-1),\, 3 \cdot 1 \cdot 1) = (-2, 3) ∇ f ( 1 , − 1 ) = ( 2 ⋅ 1 ⋅ ( − 1 ) , 3 ⋅ 1 ⋅ 1 ) = ( − 2 , 3 )
D u f ( 1 , − 1 ) = ( − 2 ) ( 3 / 5 ) + ( 3 ) ( − 4 / 5 ) = − 6 − 12 5 = − 18 5 D_{\mathbf{u}} f(1, -1) = (-2)(3/5) + (3)(-4/5) = \frac{-6 - 12}{5} = -\frac{18}{5} D u f ( 1 , − 1 ) = ( − 2 ) ( 3/5 ) + ( 3 ) ( − 4/5 ) = 5 − 6 − 12 = − 5 18
■ \blacksquare ■
Suppose F ( x , y , z ) = 0 F(x, y, z) = 0 F ( x , y , z ) = 0 defines z z z implicitly as a function of x x x and y y y near a point ( a , b , c ) (a, b, c) ( a , b , c ) with F z ( a , b , c ) ≠ 0 F_z(a, b, c) \neq 0 F z ( a , b , c ) = 0 . By the Implicit Function Theorem, there exists a C 1 C^1 C 1 function φ \varphi φ defined on a neighbourhood of ( a , b ) (a, b) ( a , b ) such that φ ( a , b ) = c \varphi(a, b) = c φ ( a , b ) = c and F ( x , y , φ ( x , y ) ) = 0 F(x, y, \varphi(x, y)) = 0 F ( x , y , φ ( x , y )) = 0 .
Differentiating F ( x , y , φ ( x , y ) ) = 0 F(x, y, \varphi(x, y)) = 0 F ( x , y , φ ( x , y )) = 0 with respect to x x x :
F x + F z ⋅ ∂ z ∂ x = 0 ⟹ ∂ z ∂ x = − F x F z F_x + F_z \cdot \frac{\partial z}{\partial x} = 0 \implies \frac{\partial z}{\partial x} = -\frac{F_x}{F_z} F x + F z ⋅ ∂ x ∂ z = 0 ⟹ ∂ x ∂ z = − F z F x
Similarly, ∂ z ∂ y = − F y F z \frac{\partial z}{\partial y} = -\frac{F_y}{F_z} ∂ y ∂ z = − F z F y .
Proposition 1.6 (Implicit Function Theorem, special case). If F : R 3 → R F : \mathbb{R}^3 \to \mathbb{R} F : R 3 → R is C 1 C^1 C 1 and F ( a , b , c ) = 0 F(a,b,c) = 0 F ( a , b , c ) = 0 with F z ( a , b , c ) ≠ 0 F_z(a,b,c) \neq 0 F z ( a , b , c ) = 0 Then there exist neighbourhoods U U U of ( a , b ) (a,b) ( a , b ) and V V V of c c c and a unique C 1 C^1 C 1 function φ : U → V \varphi : U \to V φ : U → V with φ ( a , b ) = c \varphi(a,b) = c φ ( a , b ) = c and F ( x , y , φ ( x , y ) ) = 0 F(x, y, \varphi(x,y)) = 0 F ( x , y , φ ( x , y )) = 0 for all ( x , y ) ∈ U (x,y) \in U ( x , y ) ∈ U .
Problem. If x 2 y + y 2 z + z 2 x = 3 x^2 y + y^2 z + z^2 x = 3 x 2 y + y 2 z + z 2 x = 3 Find ∂ z ∂ x \frac{\partial z}{\partial x} ∂ x ∂ z and ∂ z ∂ y \frac{\partial z}{\partial y} ∂ y ∂ z at the point ( 1 , 1 , 1 ) (1, 1, 1) ( 1 , 1 , 1 ) .
Solution Let F ( x , y , z ) = x 2 y + y 2 z + z 2 x − 3 F(x,y,z) = x^2 y + y^2 z + z^2 x - 3 F ( x , y , z ) = x 2 y + y 2 z + z 2 x − 3 . Then F x = 2 x y + z 2 F_x = 2xy + z^2 F x = 2 x y + z 2 F y = x 2 + 2 y z F_y = x^2 + 2yz F y = x 2 + 2 y z , F z = y 2 + 2 z x F_z = y^2 + 2zx F z = y 2 + 2 z x .
At ( 1 , 1 , 1 ) (1,1,1) ( 1 , 1 , 1 ) : F x = 3 F_x = 3 F x = 3 , F y = 3 F_y = 3 F y = 3 , F z = 3 F_z = 3 F z = 3 .
∂ z ∂ x = − F x F z = − 3 3 = − 1 , ∂ z ∂ y = − F y F z = − 3 3 = − 1 \frac{\partial z}{\partial x} = -\frac{F_x}{F_z} = -\frac{3}{3} = -1, \quad \frac{\partial z}{\partial y} = -\frac{F_y}{F_z} = -\frac{3}{3} = -1 ∂ x ∂ z = − F z F x = − 3 3 = − 1 , ∂ y ∂ z = − F z F y = − 3 3 = − 1
■ \blacksquare ■
Theorem 1.7 (Taylor’s Theorem). Let f : U ⊆ R n → R f : U \subseteq \mathbb{R}^n \to \mathbb{R} f : U ⊆ R n → R be of class C k + 1 C^{k+1} C k + 1 On an open convex set U U U And let a ∈ U \mathbf{a} \in U a ∈ U . Then for all x ∈ U \mathbf{x} \in U x ∈ U :
f ( x ) = f ( a ) + ∇ f ( a ) ⋅ ( x − a ) + 1 2 ! ( x − a ) T H f ( a ) ( x − a ) + ⋯ + R k f(\mathbf{x}) = f(\mathbf{a}) + \nabla f(\mathbf{a}) \cdot (\mathbf{x} - \mathbf{a}) + \frac{1}{2!}(\mathbf{x} - \mathbf{a})^T H_f(\mathbf{a})(\mathbf{x} - \mathbf{a}) + \cdots + R_k f ( x ) = f ( a ) + ∇ f ( a ) ⋅ ( x − a ) + 2 ! 1 ( x − a ) T H f ( a ) ( x − a ) + ⋯ + R k
Where H f H_f H f is the Hessian matrix and the remainder R k R_k R k can be written in Lagrange form:
R k = 1 ( k + 1 ) ! ∑ ∣ α ∣ = k + 1 ( k + 1 ) ! α ! D α f ( c ) ( x − a ) α R_k = \frac{1}{(k+1)!} \sum_{\lvert \alpha \rvert = k+1} \frac{(k+1)!}{\alpha!} D^{\alpha} f(\mathbf{c})\, (\mathbf{x} - \mathbf{a})^{\alpha} R k = ( k + 1 )! 1 ∑ ∣ α ∣ = k + 1 α ! ( k + 1 )! D α f ( c ) ( x − a ) α
For some c \mathbf{c} c on the line segment joining a \mathbf{a} a and x \mathbf{x} x .
For n = 2 n = 2 n = 2 and k = 2 k = 2 k = 2 The second-order Taylor expansion is:
f ( a + h , b + k ) = f ( a , b ) + f x h + f y k + 1 2 ( f x x h 2 + 2 f x y h k + f y y k 2 ) + R 2 f(a+h, b+k) = f(a,b) + f_x h + f_y k + \frac{1}{2}\left(f_{xx} h^2 + 2f_{xy} hk + f_{yy} k^2\right) + R_2 f ( a + h , b + k ) = f ( a , b ) + f x h + f y k + 2 1 ( f xx h 2 + 2 f x y hk + f y y k 2 ) + R 2
Where all partial derivatives are evaluated at ( a , b ) (a, b) ( a , b ) and the remainder is
R 2 = 1 6 ( f x x x h 3 + 3 f x x y h 2 k + 3 f x y y h k 2 + f y y y k 3 ) ∣ c R_2 = \frac{1}{6}\left(f_{xxx} h^3 + 3f_{xxy} h^2 k + 3f_{xyy} hk^2 + f_{yyy} k^3\right)\Big|_{\mathbf{c}} R 2 = 6 1 ( f xxx h 3 + 3 f xx y h 2 k + 3 f x y y h k 2 + f y y y k 3 ) c
Proof (sketch). Define ϕ ( t ) = f ( a + t ( x − a ) ) \phi(t) = f(\mathbf{a} + t(\mathbf{x} - \mathbf{a})) ϕ ( t ) = f ( a + t ( x − a )) for t ∈ [ 0 , 1 ] t \in [0, 1] t ∈ [ 0 , 1 ] . Apply the single-variable Taylor theorem to ϕ \phi ϕ at t = 0 t = 0 t = 0 :
ϕ ( 1 ) = ϕ ( 0 ) + ϕ ′ ( 0 ) + 1 2 ! ϕ ′ ′ ( 0 ) + ⋯ + 1 k ! ϕ ( k ) ( 0 ) + 1 ( k + 1 ) ! ϕ ( k + 1 ) ( τ ) \phi(1) = \phi(0) + \phi'(0) + \frac{1}{2!}\phi''(0) + \cdots + \frac{1}{k!}\phi^{(k)}(0) + \frac{1}{(k+1)!}\phi^{(k+1)}(\tau) ϕ ( 1 ) = ϕ ( 0 ) + ϕ ′ ( 0 ) + 2 ! 1 ϕ ′′ ( 0 ) + ⋯ + k ! 1 ϕ ( k ) ( 0 ) + ( k + 1 )! 1 ϕ ( k + 1 ) ( τ )
For some τ ∈ ( 0 , 1 ) \tau \in (0, 1) τ ∈ ( 0 , 1 ) . By the multivariable chain rule, ϕ ′ ( t ) = ∇ f ( a + t ( x − a ) ) ⋅ ( x − a ) \phi'(t) = \nabla f(\mathbf{a} + t(\mathbf{x}-\mathbf{a})) \cdot (\mathbf{x}-\mathbf{a}) ϕ ′ ( t ) = ∇ f ( a + t ( x − a )) ⋅ ( x − a ) And higher Derivatives involve higher-order partial derivatives of f f f . Substituting c = a + τ ( x − a ) \mathbf{c} = \mathbf{a} + \tau(\mathbf{x}-\mathbf{a}) c = a + τ ( x − a ) yields the result. ■ \blacksquare ■
:::caution Common Pitfalls
Existence ≠ \neq = continuity of partials. A function can have all partial derivatives at a point yet fail to be continuous (hence not differentiable) there.Existence ≠ \neq = differentiability. Even if all partials exist at a point, the function need not be differentiable. Continuity of the partials in a neighbourhood (i.e., C 1 C^1 C 1 ) is sufficient but not necessary.Clairaut’s theorem requires continuity. Without continuity of the mixed partials, the equality f x y = f y x f_{xy} = f_{yx} f x y = f y x can fail.Normalise the direction vector. The formula D u f = ∇ f ⋅ u D_{\mathbf{u}} f = \nabla f \cdot \mathbf{u} D u f = ∇ f ⋅ u assumes ∥ u ∥ = 1 \lVert \mathbf{u} \rVert = 1 ∥ u ∥ = 1 . If the direction is given by a non-unit vector v \mathbf{v} v Divide by ∥ v ∥ \lVert \mathbf{v} \rVert ∥ v ∥ first. :::The double integral of f f f over a rectangle R = [ a , b ] × [ c , d ] R = [a,b] \times [c,d] R = [ a , b ] × [ c , d ] is defined as the limit of Riemann sums:
∬ R f ( x , y ) d A = lim ∥ P ∥ → 0 ∑ i , j f ( x i j ∗ , y i j ∗ ) Δ A i j \iint_R f(x,y)\, dA = \lim_{\lVert P \rVert \to 0} \sum_{i,j} f(x_{ij}^*, y_{ij}^*) \Delta A_{ij} ∬ R f ( x , y ) d A = lim ∥ P ∥ → 0 ∑ i , j f ( x ij ∗ , y ij ∗ ) Δ A ij
Theorem 2.1 (Fubini’s Theorem). If f f f is continuous on R = [ a , b ] × [ c , d ] R = [a,b] \times [c,d] R = [ a , b ] × [ c , d ] Then
∬ R f ( x , y ) d A = ∫ a b ( ∫ c d f ( x , y ) d y ) d x = ∫ c d ( ∫ a b f ( x , y ) d x ) d y \iint_R f(x,y)\, dA = \int_a^b \left(\int_c^d f(x,y)\, dy\right) dx = \int_c^d \left(\int_a^b f(x,y)\, dx\right) dy ∬ R f ( x , y ) d A = ∫ a b ( ∫ c d f ( x , y ) d y ) d x = ∫ c d ( ∫ a b f ( x , y ) d x ) d y
Proof (sketch). For a continuous function f f f on the compact rectangle R R R Define
F ( x ) = ∫ c d f ( x , y ) d y F(x) = \int_c^d f(x,y)\, dy F ( x ) = ∫ c d f ( x , y ) d y
Since f f f is continuous, F F F is continuous on [ a , b ] [a,b] [ a , b ] . For each partition P = ( x 0 , … , x m ) P = \\{(x_0, \ldots, x_m)\\} P = ( x 0 , … , x m ) of [ a , b ] [a,b] [ a , b ] Define Riemann sums for the outer integral:
S ( P ) = ∑ i = 1 m F ( x i ∗ ) Δ x i = ∑ i = 1 m ∫ c d f ( x i ∗ , y ) d y Δ x i S(P) = \sum_{i=1}^m F(x_i^*)\, \Delta x_i = \sum_{i=1}^m \int_c^d f(x_i^*, y)\, dy\, \Delta x_i S ( P ) = ∑ i = 1 m F ( x i ∗ ) Δ x i = ∑ i = 1 m ∫ c d f ( x i ∗ , y ) d y Δ x i
By Fubini’s theorem for Riemann integrals (proven via uniform continuity of f f f on the compact set R R R ), As ∥ P ∥ → 0 \lVert P \rVert \to 0 ∥ P ∥ → 0 these sums converge to both ∬ R f d A \iint_R f\, dA ∬ R f d A and ∫ a b F ( x ) d x \int_a^b F(x)\, dx ∫ a b F ( x ) d x . The Reversal of integration order follows by symmetry. ■ \blacksquare ■
For a general region D D D in R 2 \mathbb{R}^2 R 2 :
Type I region : D = ( x , y ) : a ≤ x ≤ b , g 1 ( x ) ≤ y ≤ g 2 ( x ) D = \\{(x,y) : a \leq x \leq b,\, g_1(x) \leq y \leq g_2(x)\\} D = ( x , y ) : a ≤ x ≤ b , g 1 ( x ) ≤ y ≤ g 2 ( x ) ∬ D f d A = ∫ a b ∫ g 1 ( x ) g 2 ( x ) f ( x , y ) d y d x \iint_D f\, dA = \int_a^b \int_{g_1(x)}^{g_2(x)} f(x,y)\, dy\, dx ∬ D f d A = ∫ a b ∫ g 1 ( x ) g 2 ( x ) f ( x , y ) d y d x
Type II region : D = ( x , y ) : c ≤ y ≤ d , h 1 ( y ) ≤ x ≤ h 2 ( y ) D = \\{(x,y) : c \leq y \leq d,\, h_1(y) \leq x \leq h_2(y)\\} D = ( x , y ) : c ≤ y ≤ d , h 1 ( y ) ≤ x ≤ h 2 ( y ) ∬ D f d A = ∫ c d ∫ h 1 ( y ) h 2 ( y ) f ( x , y ) d x d y \iint_D f\, dA = \int_c^d \int_{h_1(y)}^{h_2(y)} f(x,y)\, dx\, dy ∬ D f d A = ∫ c d ∫ h 1 ( y ) h 2 ( y ) f ( x , y ) d x d y
Problem. Evaluate ∬ D x y d A \iint_D xy\, dA ∬ D x y d A where D D D is the region bounded by y = x 2 y = x^2 y = x 2 and y = x + 2 y = x + 2 y = x + 2 .
Solution The curves intersect when x 2 = x + 2 x^2 = x + 2 x 2 = x + 2 I.e., x 2 − x − 2 = 0 x^2 - x - 2 = 0 x 2 − x − 2 = 0 So ( x − 2 ) ( x + 1 ) = 0 (x-2)(x+1) = 0 ( x − 2 ) ( x + 1 ) = 0 Giving x = − 1 x = -1 x = − 1 and x = 2 x = 2 x = 2 . As a Type I region, D = ( x , y ) : − 1 ≤ x ≤ 2 , x 2 ≤ y ≤ x + 2 D = \\{(x,y) : -1 \leq x \leq 2,\, x^2 \leq y \leq x+2\\} D = ( x , y ) : − 1 ≤ x ≤ 2 , x 2 ≤ y ≤ x + 2 .
∬ D x y d A = ∫ − 1 2 ∫ x 2 x + 2 x y d y d x = ∫ − 1 2 x [ y 2 2 ] x 2 x + 2 d x \iint_D xy\, dA = \int_{-1}^{2} \int_{x^2}^{x+2} xy\, dy\, dx = \int_{-1}^{2} x \left[\frac{y^2}{2}\right]_{x^2}^{x+2}\, dx ∬ D x y d A = ∫ − 1 2 ∫ x 2 x + 2 x y d y d x = ∫ − 1 2 x [ 2 y 2 ] x 2 x + 2 d x
= ∫ − 1 2 x 2 [ ( x + 2 ) 2 − x 4 ] d x = 1 2 ∫ − 1 2 [ x ( x + 2 ) 2 − x 5 ] d x = \int_{-1}^{2} \frac{x}{2}\left[(x+2)^2 - x^4\right]\, dx = \frac{1}{2} \int_{-1}^{2} \left[x(x+2)^2 - x^5\right]\, dx = ∫ − 1 2 2 x [ ( x + 2 ) 2 − x 4 ] d x = 2 1 ∫ − 1 2 [ x ( x + 2 ) 2 − x 5 ] d x
= 1 2 ∫ − 1 2 [ x 3 + 4 x 2 + 4 x − x 5 ] d x = \frac{1}{2} \int_{-1}^{2} \left[x^3 + 4x^2 + 4x - x^5\right]\, dx = 2 1 ∫ − 1 2 [ x 3 + 4 x 2 + 4 x − x 5 ] d x
= 1 2 [ x 4 4 + 4 x 3 3 + 2 x 2 − x 6 6 ] − 1 2 = \frac{1}{2}\left[\frac{x^4}{4} + \frac{4x^3}{3} + 2x^2 - \frac{x^6}{6}\right]_{-1}^{2} = 2 1 [ 4 x 4 + 3 4 x 3 + 2 x 2 − 6 x 6 ] − 1 2
= 1 2 [ ( 4 + 32 3 + 8 − 64 6 ) − ( 1 4 − 4 3 + 2 − 1 6 ) ] = \frac{1}{2}\left[\left(4 + \frac{32}{3} + 8 - \frac{64}{6}\right) - \left(\frac{1}{4} - \frac{4}{3} + 2 - \frac{1}{6}\right)\right] = 2 1 [ ( 4 + 3 32 + 8 − 6 64 ) − ( 4 1 − 3 4 + 2 − 6 1 ) ]
= 1 2 [ 36 3 − 9 12 ] = 1 2 [ 12 − 3 4 ] = 45 8 = \frac{1}{2}\left[\frac{36}{3} - \frac{9}{12}\right] = \frac{1}{2}\left[12 - \frac{3}{4}\right] = \frac{45}{8} = 2 1 [ 3 36 − 12 9 ] = 2 1 [ 12 − 4 3 ] = 8 45
■ \blacksquare ■
Problem. Evaluate ∬ D x d A \iint_D x\, dA ∬ D x d A where D D D is the region bounded by y = x y = x y = x , y = 2 x y = 2x y = 2 x And x + y = 2 x + y = 2 x + y = 2 .
Solution First, find the intersections. The lines y = x y = x y = x and y = 2 x y = 2x y = 2 x intersect at ( 0 , 0 ) (0, 0) ( 0 , 0 ) . The line x + y = 2 x + y = 2 x + y = 2 intersects y = x y = x y = x at ( 1 , 1 ) (1, 1) ( 1 , 1 ) and y = 2 x y = 2x y = 2 x at ( 2 / 3 , 4 / 3 ) (2/3, 4/3) ( 2/3 , 4/3 ) .
As a Type I region, we must split: for 0 ≤ x ≤ 2 / 3 0 \leq x \leq 2/3 0 ≤ x ≤ 2/3 , x ≤ y ≤ 2 x x \leq y \leq 2x x ≤ y ≤ 2 x ; for 2 / 3 ≤ x ≤ 1 2/3 \leq x \leq 1 2/3 ≤ x ≤ 1 , x ≤ y ≤ 2 − x x \leq y \leq 2 - x x ≤ y ≤ 2 − x .
∬ D x d A = ∫ 0 2 / 3 ∫ x 2 x x d y d x + ∫ 2 / 3 1 ∫ x 2 − x x d y d x \iint_D x\, dA = \int_0^{2/3} \int_x^{2x} x\, dy\, dx + \int_{2/3}^1 \int_x^{2-x} x\, dy\, dx ∬ D x d A = ∫ 0 2/3 ∫ x 2 x x d y d x + ∫ 2/3 1 ∫ x 2 − x x d y d x
= ∫ 0 2 / 3 x ( x − x ) d x . . . = \int_0^{2/3} x(x - x)\, dx... = ∫ 0 2/3 x ( x − x ) d x ...
Wait, this is getting messy. Let me use Type II instead. For each y y y , x x x ranges from y / 2 y/2 y /2 to y y y (for 0 ≤ y ≤ 4 / 3 0 \leq y \leq 4/3 0 ≤ y ≤ 4/3 ) and from y / 2 y/2 y /2 to 2 − y 2 - y 2 − y (for 4 / 3 ≤ y ≤ 1 4/3 \leq y \leq 1 4/3 ≤ y ≤ 1 ). Actually, the simplest approach is to split D D D at y = 4 / 3 y = 4/3 y = 4/3 .
For 0 ≤ y ≤ 1 0 \leq y \leq 1 0 ≤ y ≤ 1 : y / 2 ≤ x ≤ y y/2 \leq x \leq y y /2 ≤ x ≤ y (between y = x y = x y = x and y = 2 x y = 2x y = 2 x But only up to x + y = 2 x + y = 2 x + y = 2 ). Actually y = 2 x y = 2x y = 2 x gives x = y / 2 x = y/2 x = y /2 And y = x y = x y = x gives x = y x = y x = y . But x + y = 2 x + y = 2 x + y = 2 gives x = 2 − y x = 2 - y x = 2 − y . For y ≤ 1 y \leq 1 y ≤ 1 : both y ≤ 2 − y y \leq 2 - y y ≤ 2 − y (since y ≤ 1 y \leq 1 y ≤ 1 ) and y / 2 ≤ y y/2 \leq y y /2 ≤ y So the right boundary is y y y . But we also need x + y ≤ 2 x + y \leq 2 x + y ≤ 2 I.e., x ≤ 2 − y x \leq 2 - y x ≤ 2 − y . For y ≤ 1 y \leq 1 y ≤ 1 : y ≤ 2 − y y \leq 2 - y y ≤ 2 − y So the constraint x ≤ y x \leq y x ≤ y is tighter.
For 0 ≤ y ≤ 1 0 \leq y \leq 1 0 ≤ y ≤ 1 : y / 2 ≤ x ≤ y y/2 \leq x \leq y y /2 ≤ x ≤ y .
∬ D x d A = ∫ 0 1 ∫ y / 2 y x d x d y = ∫ 0 1 [ x 2 2 ] y / 2 y d y = ∫ 0 1 y 2 2 − y 2 8 d y = ∫ 0 1 3 y 2 8 d y = 3 8 ⋅ 1 3 = 1 8 \iint_D x\, dA = \int_0^1 \int_{y/2}^y x\, dx\, dy = \int_0^1 \left[\frac{x^2}{2}\right]_{y/2}^y\, dy = \int_0^1 \frac{y^2}{2} - \frac{y^2}{8}\, dy = \int_0^1 \frac{3y^2}{8}\, dy = \frac{3}{8} \cdot \frac{1}{3} = \frac{1}{8} ∬ D x d A = ∫ 0 1 ∫ y /2 y x d x d y = ∫ 0 1 [ 2 x 2 ] y /2 y d y = ∫ 0 1 2 y 2 − 8 y 2 d y = ∫ 0 1 8 3 y 2 d y = 8 3 ⋅ 3 1 = 8 1
■ \blacksquare ■
Triple integrals extend to R 3 \mathbb{R}^3 R 3 :
∭ E f ( x , y , z ) d V = ∬ D ( ∫ g 1 ( x , y ) g 2 ( x , y ) f ( x , y , z ) d z ) d A \iiint_E f(x,y,z)\, dV = \iint_D \left(\int_{g_1(x,y)}^{g_2(x,y)} f(x,y,z)\, dz\right) dA ∭ E f ( x , y , z ) d V = ∬ D ( ∫ g 1 ( x , y ) g 2 ( x , y ) f ( x , y , z ) d z ) d A
Problem. Evaluate ∭ E z d V \iiint_E z\, dV ∭ E z d V where E E E is the tetrahedron in the first octant bounded by The coordinate planes and x + y + z = 1 x + y + z = 1 x + y + z = 1 .
Solution The region E E E can be described as ( x , y , z ) : 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 − x , 0 ≤ z ≤ 1 − x − y \\{(x,y,z) : 0 \leq x \leq 1,\, 0 \leq y \leq 1-x,\, 0 \leq z \leq 1-x-y\\} ( x , y , z ) : 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 − x , 0 ≤ z ≤ 1 − x − y .
∭ E z d V = ∫ 0 1 ∫ 0 1 − x ∫ 0 1 − x − y z d z d y d x \iiint_E z\, dV = \int_0^1 \int_0^{1-x} \int_0^{1-x-y} z\, dz\, dy\, dx ∭ E z d V = ∫ 0 1 ∫ 0 1 − x ∫ 0 1 − x − y z d z d y d x
= ∫ 0 1 ∫ 0 1 − x [ z 2 2 ] 0 1 − x − y d y d x = ∫ 0 1 ∫ 0 1 − x ( 1 − x − y ) 2 2 d y d x = \int_0^1 \int_0^{1-x} \left[\frac{z^2}{2}\right]_0^{1-x-y}\, dy\, dx = \int_0^1 \int_0^{1-x} \frac{(1-x-y)^2}{2}\, dy\, dx = ∫ 0 1 ∫ 0 1 − x [ 2 z 2 ] 0 1 − x − y d y d x = ∫ 0 1 ∫ 0 1 − x 2 ( 1 − x − y ) 2 d y d x
Substituting u = 1 − x − y u = 1 - x - y u = 1 − x − y , d u = − d y du = -dy d u = − d y :
= ∫ 0 1 ( 1 − x ) 3 6 d x = 1 6 [ − ( 1 − x ) 4 4 ] 0 1 = 1 6 ⋅ 1 4 = 1 24 = \int_0^1 \frac{(1-x)^3}{6}\, dx = \frac{1}{6}\left[-\frac{(1-x)^4}{4}\right]_0^1 = \frac{1}{6} \cdot \frac{1}{4} = \frac{1}{24} = ∫ 0 1 6 ( 1 − x ) 3 d x = 6 1 [ − 4 ( 1 − x ) 4 ] 0 1 = 6 1 ⋅ 4 1 = 24 1
■ \blacksquare ■
Theorem 2.2 (Change of Variables). Let T : D ⊆ R n → R n T : D \subseteq \mathbb{R}^n \to \mathbb{R}^n T : D ⊆ R n → R n be a C 1 C^1 C 1 diffeomorphism with Jacobian determinant J T J_T J T . Then
∫ T ( D ) f ( u ) d u = ∫ D f ( T ( x ) ) ∣ J T ( x ) ∣ d x \int_{T(D)} f(\mathbf{u})\, d\mathbf{u} = \int_D f(T(\mathbf{x}))\, \lvert J_T(\mathbf{x})\rvert\, d\mathbf{x} ∫ T ( D ) f ( u ) d u = ∫ D f ( T ( x )) ∣ J T ( x )∣ d x
Derivation of the Jacobian factor (for n = 2 n = 2 n = 2 ). Let T ( x , y ) = ( u ( x , y ) , v ( x , y ) ) T(x, y) = (u(x,y),\, v(x,y)) T ( x , y ) = ( u ( x , y ) , v ( x , y )) be a C 1 C^1 C 1 Diffeomorphism. Partition D D D into small rectangles R i j R_{ij} R ij of area Δ x Δ y \Delta x\, \Delta y Δ x Δ y . The image T ( R i j ) T(R_{ij}) T ( R ij ) is approximately a parallelogram spanned by the vectors
a = T ( x + Δ x , y ) − T ( x , y ) ≈ ( ∂ u ∂ x Δ x , ∂ v ∂ x Δ x ) \mathbf{a} = T(x + \Delta x, y) - T(x, y) \approx \left(\frac{\partial u}{\partial x}\Delta x,\, \frac{\partial v}{\partial x}\Delta x\right) a = T ( x + Δ x , y ) − T ( x , y ) ≈ ( ∂ x ∂ u Δ x , ∂ x ∂ v Δ x )
b = T ( x , y + Δ y ) − T ( x , y ) ≈ ( ∂ u ∂ y Δ y , ∂ v ∂ y Δ y ) \mathbf{b} = T(x, y + \Delta y) - T(x, y) \approx \left(\frac{\partial u}{\partial y}\Delta y,\, \frac{\partial v}{\partial y}\Delta y\right) b = T ( x , y + Δ y ) − T ( x , y ) ≈ ( ∂ y ∂ u Δ y , ∂ y ∂ v Δ y )
The area of this parallelogram is ∣ a × b ∣ \lvert \mathbf{a} \times \mathbf{b} \rvert ∣ a × b ∣ Which equals
∣ ∂ u ∂ x ∂ v ∂ y − ∂ u ∂ y ∂ v ∂ x ∣ Δ x Δ y = ∣ J T ∣ Δ x Δ y \left\lvert \frac{\partial u}{\partial x}\frac{\partial v}{\partial y} - \frac{\partial u}{\partial y}\frac{\partial v}{\partial x} \right\rvert \Delta x\, \Delta y = \lvert J_T \rvert\, \Delta x\, \Delta y ∂ x ∂ u ∂ y ∂ v − ∂ y ∂ u ∂ x ∂ v Δ x Δ y = ∣ J T ∣ Δ x Δ y
Summing over all subrectangles and taking the limit gives the change of variables formula. ■ \blacksquare ■
Polar coordinates: x = r cos θ x = r\cos\theta x = r cos θ , y = r sin θ y = r\sin\theta y = r sin θ , ∣ J ∣ = r \lvert J \rvert = r ∣ J ∣ = r .
∬ D f ( x , y ) d A = ∬ D ′ f ( r cos θ , r sin θ ) r d r d θ \iint_D f(x,y)\, dA = \iint_{D'} f(r\cos\theta, r\sin\theta)\, r\, dr\, d\theta ∬ D f ( x , y ) d A = ∬ D ′ f ( r cos θ , r sin θ ) r d r d θ
Cylindrical coordinates: x = r cos θ x = r\cos\theta x = r cos θ , y = r sin θ y = r\sin\theta y = r sin θ , z = z z = z z = z , ∣ J ∣ = r \lvert J \rvert = r ∣ J ∣ = r .
∭ E f ( x , y , z ) d V = ∭ E ′ f ( r cos θ , r sin θ , z ) r d r d θ d z \iiint_E f(x,y,z)\, dV = \iiint_{E'} f(r\cos\theta, r\sin\theta, z)\, r\, dr\, d\theta\, dz ∭ E f ( x , y , z ) d V = ∭ E ′ f ( r cos θ , r sin θ , z ) r d r d θ d z
Spherical coordinates: x = ρ sin ϕ cos θ x = \rho\sin\phi\cos\theta x = ρ sin ϕ cos θ , y = ρ sin ϕ sin θ y = \rho\sin\phi\sin\theta y = ρ sin ϕ sin θ , z = ρ cos ϕ z = \rho\cos\phi z = ρ cos ϕ ∣ J ∣ = ρ 2 sin ϕ \lvert J \rvert = \rho^2 \sin\phi ∣ J ∣ = ρ 2 sin ϕ .
∭ E f ( x , y , z ) d V = ∭ E ′ f ( ρ sin ϕ cos θ , ρ sin ϕ sin θ , ρ cos ϕ ) ρ 2 sin ϕ d ρ d ϕ d θ \iiint_E f(x,y,z)\, dV = \iiint_{E'} f(\rho\sin\phi\cos\theta, \rho\sin\phi\sin\theta, \rho\cos\phi)\, \rho^2 \sin\phi\, d\rho\, d\phi\, d\theta ∭ E f ( x , y , z ) d V = ∭ E ′ f ( ρ sin ϕ cos θ , ρ sin ϕ sin θ , ρ cos ϕ ) ρ 2 sin ϕ d ρ d ϕ d θ
Problem. Evaluate ∬ D e − ( x 2 + y 2 ) d A \iint_D e^{-(x^2+y^2)}\, dA ∬ D e − ( x 2 + y 2 ) d A where D D D is the entire R 2 \mathbb{R}^2 R 2 plane.
Solution Use polar coordinates. The region D ′ D' D ′ is 0 ≤ r < ∞ 0 \leq r \lt \infty 0 ≤ r < ∞ , 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π .
∬ D e − ( x 2 + y 2 ) d A = ∫ 0 2 π ∫ 0 ∞ e − r 2 r d r d θ \iint_D e^{-(x^2+y^2)}\, dA = \int_0^{2\pi} \int_0^{\infty} e^{-r^2}\, r\, dr\, d\theta ∬ D e − ( x 2 + y 2 ) d A = ∫ 0 2 π ∫ 0 ∞ e − r 2 r d r d θ
The inner integral: ∫ 0 ∞ r e − r 2 d r = [ − 1 2 e − r 2 ] 0 ∞ = 1 2 \int_0^{\infty} r e^{-r^2}\, dr = \left[-\frac{1}{2}e^{-r^2}\right]_0^{\infty} = \frac{1}{2} ∫ 0 ∞ r e − r 2 d r = [ − 2 1 e − r 2 ] 0 ∞ = 2 1 .
= ∫ 0 2 π 1 2 d θ = π = \int_0^{2\pi} \frac{1}{2}\, d\theta = \pi = ∫ 0 2 π 2 1 d θ = π
■ \blacksquare ■
Remark. This is the classic Gaussian integral computation, yielding ∫ − ∞ ∞ e − x 2 d x = π \int_{-\infty}^{\infty} e^{-x^2}\, dx = \sqrt{\pi} ∫ − ∞ ∞ e − x 2 d x = π .
Problem. Evaluate ∭ E z d V \iiint_E z\, dV ∭ E z d V where E E E is the solid bounded above by the sphere x 2 + y 2 + z 2 = 2 x^2 + y^2 + z^2 = 2 x 2 + y 2 + z 2 = 2 and below by the paraboloid z = x 2 + y 2 z = x^2 + y^2 z = x 2 + y 2 .
Solution The surfaces intersect when x 2 + y 2 + ( x 2 + y 2 ) 2 = 2 x^2 + y^2 + (x^2 + y^2)^2 = 2 x 2 + y 2 + ( x 2 + y 2 ) 2 = 2 . Let r 2 = x 2 + y 2 r^2 = x^2 + y^2 r 2 = x 2 + y 2 . Then r 2 + r 4 = 2 r^2 + r^4 = 2 r 2 + r 4 = 2 I.e., ( r 2 + 2 ) ( r 2 − 1 ) = 0 (r^2 + 2)(r^2 - 1) = 0 ( r 2 + 2 ) ( r 2 − 1 ) = 0 So r = 1 r = 1 r = 1 (positive root). Use Cylindrical coordinates. The region E ′ E' E ′ is
0 ≤ r ≤ 1 , 0 ≤ θ ≤ 2 π , r 2 ≤ z ≤ 2 − r 2 0 \leq r \leq 1, \quad 0 \leq \theta \leq 2\pi, \quad r^2 \leq z \leq \sqrt{2 - r^2} 0 ≤ r ≤ 1 , 0 ≤ θ ≤ 2 π , r 2 ≤ z ≤ 2 − r 2
∭ E z d V = ∫ 0 2 π ∫ 0 1 ∫ r 2 2 − r 2 z r d z d r d θ \iiint_E z\, dV = \int_0^{2\pi} \int_0^1 \int_{r^2}^{\sqrt{2-r^2}} z\, r\, dz\, dr\, d\theta ∭ E z d V = ∫ 0 2 π ∫ 0 1 ∫ r 2 2 − r 2 z r d z d r d θ
= ∫ 0 2 π ∫ 0 1 r 2 [ ( 2 − r 2 ) − r 4 ] d r d θ = ∫ 0 2 π ∫ 0 1 r 2 ( 2 − r 2 − r 4 ) d r d θ = \int_0^{2\pi} \int_0^1 \frac{r}{2}\left[(2 - r^2) - r^4\right]\, dr\, d\theta = \int_0^{2\pi} \int_0^1 \frac{r}{2}(2 - r^2 - r^4)\, dr\, d\theta = ∫ 0 2 π ∫ 0 1 2 r [ ( 2 − r 2 ) − r 4 ] d r d θ = ∫ 0 2 π ∫ 0 1 2 r ( 2 − r 2 − r 4 ) d r d θ
= ∫ 0 2 π 1 2 [ r 2 − r 4 4 − r 6 6 ] 0 1 d θ = ∫ 0 2 π 1 2 ⋅ 7 12 d θ = 7 π 12 = \int_0^{2\pi} \frac{1}{2}\left[r^2 - \frac{r^4}{4} - \frac{r^6}{6}\right]_0^1\, d\theta = \int_0^{2\pi} \frac{1}{2} \cdot \frac{7}{12}\, d\theta = \frac{7\pi}{12} = ∫ 0 2 π 2 1 [ r 2 − 4 r 4 − 6 r 6 ] 0 1 d θ = ∫ 0 2 π 2 1 ⋅ 12 7 d θ = 12 7 π
■ \blacksquare ■
Problem. Evaluate ∭ E ( x 2 + y 2 + z 2 ) d V \iiint_E (x^2 + y^2 + z^2)\, dV ∭ E ( x 2 + y 2 + z 2 ) d V where E E E is the solid ball x 2 + y 2 + z 2 ≤ a 2 x^2 + y^2 + z^2 \leq a^2 x 2 + y 2 + z 2 ≤ a 2 .
Solution Use spherical coordinates. In spherical: x 2 + y 2 + z 2 = ρ 2 x^2 + y^2 + z^2 = \rho^2 x 2 + y 2 + z 2 = ρ 2 And E ′ E' E ′ is 0 ≤ ρ ≤ a 0 \leq \rho \leq a 0 ≤ ρ ≤ a , 0 ≤ ϕ ≤ π 0 \leq \phi \leq \pi 0 ≤ ϕ ≤ π , 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π .
∭ E ( x 2 + y 2 + z 2 ) d V = ∫ 0 2 π ∫ 0 π ∫ 0 a ρ 2 ⋅ ρ 2 sin ϕ d ρ d ϕ d θ \iiint_E (x^2 + y^2 + z^2)\, dV = \int_0^{2\pi} \int_0^{\pi} \int_0^a \rho^2 \cdot \rho^2 \sin\phi\, d\rho\, d\phi\, d\theta ∭ E ( x 2 + y 2 + z 2 ) d V = ∫ 0 2 π ∫ 0 π ∫ 0 a ρ 2 ⋅ ρ 2 sin ϕ d ρ d ϕ d θ
= ( ∫ 0 a ρ 4 d ρ ) ( ∫ 0 π sin ϕ d ϕ ) ( ∫ 0 2 π d θ ) = \left(\int_0^a \rho^4\, d\rho\right)\left(\int_0^{\pi} \sin\phi\, d\phi\right)\left(\int_0^{2\pi} d\theta\right) = ( ∫ 0 a ρ 4 d ρ ) ( ∫ 0 π sin ϕ d ϕ ) ( ∫ 0 2 π d θ )
= a 5 5 ⋅ 2 ⋅ 2 π = 4 π a 5 5 = \frac{a^5}{5} \cdot 2 \cdot 2\pi = \frac{4\pi a^5}{5} = 5 a 5 ⋅ 2 ⋅ 2 π = 5 4 π a 5
■ \blacksquare ■
Problem. Compute ∬ D ( x 2 + y 2 ) d A \iint_D (x^2 + y^2)\, dA ∬ D ( x 2 + y 2 ) d A where D D D is the region bounded by x 2 + y 2 = 4 x^2 + y^2 = 4 x 2 + y 2 = 4 .
Solution. Use polar coordinates. The region D ′ D' D ′ is 0 ≤ r ≤ 2 0 \leq r \leq 2 0 ≤ r ≤ 2 , 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π .
∬ D ( x 2 + y 2 ) d A = ∫ 0 2 π ∫ 0 2 r 2 ⋅ r d r d θ = ∫ 0 2 π ∫ 0 2 r 3 d r d θ \iint_D (x^2 + y^2)\, dA = \int_0^{2\pi} \int_0^2 r^2 \cdot r\, dr\, d\theta = \int_0^{2\pi} \int_0^2 r^3\, dr\, d\theta ∬ D ( x 2 + y 2 ) d A = ∫ 0 2 π ∫ 0 2 r 2 ⋅ r d r d θ = ∫ 0 2 π ∫ 0 2 r 3 d r d θ
= ∫ 0 2 π [ r 4 4 ] 0 2 d θ = ∫ 0 2 π 4 d θ = 8 π = \int_0^{2\pi} \left[\frac{r^4}{4}\right]_0^2 d\theta = \int_0^{2\pi} 4\, d\theta = 8\pi = ∫ 0 2 π [ 4 r 4 ] 0 2 d θ = ∫ 0 2 π 4 d θ = 8 π
■ \blacksquare ■
Problem. Evaluate ∬ D y x d A \iint_D \frac{y}{x}\, dA ∬ D x y d A where D D D is bounded by y = x y = x y = x , y = 2 x y = 2x y = 2 x And x = 1 x = 1 x = 1 .
Solution The region D = ( x , y ) : 0 ≤ x ≤ 1 , x ≤ y ≤ 2 x D = \\{(x,y) : 0 \leq x \leq 1,\, x \leq y \leq 2x\\} D = ( x , y ) : 0 ≤ x ≤ 1 , x ≤ y ≤ 2 x .
∬ D y x d A = ∫ 0 1 ∫ x 2 x y x d y d x = ∫ 0 1 1 x [ y 2 2 ] x 2 x d x \iint_D \frac{y}{x}\, dA = \int_0^1 \int_x^{2x} \frac{y}{x}\, dy\, dx = \int_0^1 \frac{1}{x}\left[\frac{y^2}{2}\right]_x^{2x}\, dx ∬ D x y d A = ∫ 0 1 ∫ x 2 x x y d y d x = ∫ 0 1 x 1 [ 2 y 2 ] x 2 x d x
= ∫ 0 1 1 x [ 4 x 2 2 − x 2 2 ] d x = ∫ 0 1 1 x ⋅ 3 x 2 2 d x = 3 2 ∫ 0 1 x d x = 3 4 = \int_0^1 \frac{1}{x}\left[\frac{4x^2}{2} - \frac{x^2}{2}\right]\, dx = \int_0^1 \frac{1}{x} \cdot \frac{3x^2}{2}\, dx = \frac{3}{2}\int_0^1 x\, dx = \frac{3}{4} = ∫ 0 1 x 1 [ 2 4 x 2 − 2 x 2 ] d x = ∫ 0 1 x 1 ⋅ 2 3 x 2 d x = 2 3 ∫ 0 1 x d x = 4 3
■ \blacksquare ■
Problem. Swap the order of integration and evaluate: ∫ 0 1 ∫ x 2 1 x e y 2 d y d x \int_0^1 \int_{x^2}^1 x e^{y^2}\, dy\, dx ∫ 0 1 ∫ x 2 1 x e y 2 d y d x .
Solution The region is 0 ≤ x ≤ 1 0 \leq x \leq 1 0 ≤ x ≤ 1 , x 2 ≤ y ≤ 1 x^2 \leq y \leq 1 x 2 ≤ y ≤ 1 Which is the same as 0 ≤ y ≤ 1 0 \leq y \leq 1 0 ≤ y ≤ 1 0 ≤ x ≤ y 0 \leq x \leq \sqrt{y} 0 ≤ x ≤ y .
∫ 0 1 ∫ x 2 1 x e y 2 d y d x = ∫ 0 1 ∫ 0 y x e y 2 d x d y = ∫ 0 1 e y 2 [ x 2 2 ] 0 y d y \int_0^1 \int_{x^2}^1 x e^{y^2}\, dy\, dx = \int_0^1 \int_0^{\sqrt{y}} x e^{y^2}\, dx\, dy = \int_0^1 e^{y^2}\left[\frac{x^2}{2}\right]_0^{\sqrt{y}}\, dy ∫ 0 1 ∫ x 2 1 x e y 2 d y d x = ∫ 0 1 ∫ 0 y x e y 2 d x d y = ∫ 0 1 e y 2 [ 2 x 2 ] 0 y d y
= ∫ 0 1 y 2 e y 2 d y = \int_0^1 \frac{y}{2} e^{y^2}\, dy = ∫ 0 1 2 y e y 2 d y
Let u = y 2 u = y^2 u = y 2 , d u = 2 y d y du = 2y\, dy d u = 2 y d y :
= 1 4 ∫ 0 1 e u d u = 1 4 ( e − 1 ) = \frac{1}{4}\int_0^1 e^u\, du = \frac{1}{4}(e - 1) = 4 1 ∫ 0 1 e u d u = 4 1 ( e − 1 )
■ \blacksquare ■
Remark. This integral cannot be evaluated in the original order because e y 2 e^{y^2} e y 2 has no elementary Antiderivative with respect to y y y . Swapping the order was essential.
:::caution Common Pitfalls
Order of integration limits. When setting up ∫ a b ∫ g 1 ( x ) g 2 ( x ) f d y d x \int_a^b \int_{g_1(x)}^{g_2(x)} f\, dy\, dx ∫ a b ∫ g 1 ( x ) g 2 ( x ) f d y d x Verify that g 1 ( x ) ≤ g 2 ( x ) g_1(x) \leq g_2(x) g 1 ( x ) ≤ g 2 ( x ) for all x ∈ [ a , b ] x \in [a, b] x ∈ [ a , b ] . If the region is described as “between two curves,” determine which curve is above the other.Forgetting the Jacobian. In a change of variables, the Jacobian determinant ∣ J ∣ \lvert J \rvert ∣ J ∣ must be included. For polar coordinates, this factor is r r r ; omitting it is one of the most common errors.Spherical coordinate conventions. Different texts use different conventions for ϕ \phi ϕ and θ \theta θ . Here, ϕ ∈ [ 0 , π ] \phi \in [0, \pi] ϕ ∈ [ 0 , π ] is the polar angle (from the positive z z z -axis) and θ ∈ [ 0 , 2 π ] \theta \in [0, 2\pi] θ ∈ [ 0 , 2 π ] is the azimuthal angle.Region description. When swapping integration order, carefully redraw the region and re-derive the bounds. The new bounds may require splitting the integral into multiple pieces. :::A vector field on R n \mathbb{R}^n R n is a function F : D ⊆ R n → R n \mathbf{F} : D \subseteq \mathbb{R}^n \to \mathbb{R}^n F : D ⊆ R n → R n .
A vector field F = ( P , Q , R ) \mathbf{F} = (P, Q, R) F = ( P , Q , R ) on R 3 \mathbb{R}^3 R 3 is conservative if there exists a scalar Potential ϕ \phi ϕ such that F = ∇ ϕ \mathbf{F} = \nabla \phi F = ∇ ϕ .
Theorem 3.1. F \mathbf{F} F is conservative (on a connected domain) if and only if ∇ × F = 0 \nabla \times \mathbf{F} = \mathbf{0} ∇ × F = 0 .
Proof. (⇒ \Rightarrow ⇒ ) If F = ∇ ϕ \mathbf{F} = \nabla \phi F = ∇ ϕ with ϕ ∈ C 2 \phi \in C^2 ϕ ∈ C 2 Then by Clairaut’s theorem f x y = f y x f_{xy} = f_{yx} f x y = f y x Etc., which directly gives ∇ × ( ∇ ϕ ) = 0 \nabla \times (\nabla \phi) = \mathbf{0} ∇ × ( ∇ ϕ ) = 0 .
(⇐ \Leftarrow ⇐ ) If ∇ × F = 0 \nabla \times \mathbf{F} = \mathbf{0} ∇ × F = 0 on a connected domain D D D Then for any Closed curve C C C in D D D Stokes’ theorem gives ∮ C F ⋅ d r = ∬ S ( ∇ × F ) ⋅ d S = 0 \oint_C \mathbf{F} \cdot d\mathbf{r} = \iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} = 0 ∮ C F ⋅ d r = ∬ S ( ∇ × F ) ⋅ d S = 0 . This means line integrals are path-independent, so we can define ϕ ( x ) = ∫ x 0 x F ⋅ d r \phi(\mathbf{x}) = \int_{\mathbf{x}_0}^{\mathbf{x}} \mathbf{F} \cdot d\mathbf{r} ϕ ( x ) = ∫ x 0 x F ⋅ d r (independent of path), And one verifies that ∇ ϕ = F \nabla \phi = \mathbf{F} ∇ ϕ = F . ■ \blacksquare ■
Definition. The line integral of a vector field F \mathbf{F} F along a curve C C C parameterised by r ( t ) \mathbf{r}(t) r ( t ) for a ≤ t ≤ b a \leq t \leq b a ≤ t ≤ b is
∫ C F ⋅ d r = ∫ a b F ( r ( t ) ) ⋅ r ′ ( t ) d t \int_C \mathbf{F} \cdot d\mathbf{r} = \int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t)\, dt ∫ C F ⋅ d r = ∫ a b F ( r ( t )) ⋅ r ′ ( t ) d t
Theorem 3.2 (Fundamental Theorem for Line Integrals). If F = ∇ ϕ \mathbf{F} = \nabla \phi F = ∇ ϕ and C C C is a Piecewise smooth curve from A A A to B B B Then
∫ C F ⋅ d r = ϕ ( B ) − ϕ ( A ) \int_C \mathbf{F} \cdot d\mathbf{r} = \phi(B) - \phi(A) ∫ C F ⋅ d r = ϕ ( B ) − ϕ ( A )
Proof. Parameterise C C C by r ( t ) \mathbf{r}(t) r ( t ) for t ∈ [ a , b ] t \in [a,b] t ∈ [ a , b ] with r ( a ) = A \mathbf{r}(a) = A r ( a ) = A r ( b ) = B \mathbf{r}(b) = B r ( b ) = B .
∫ C F ⋅ d r = ∫ a b ∇ ϕ ( r ( t ) ) ⋅ r ′ ( t ) d t = ∫ a b d d t [ ϕ ( r ( t ) ) ] d t = ϕ ( r ( b ) ) − ϕ ( r ( a ) ) = ϕ ( B ) − ϕ ( A ) \int_C \mathbf{F} \cdot d\mathbf{r} = \int_a^b \nabla \phi(\mathbf{r}(t)) \cdot \mathbf{r}'(t)\, dt = \int_a^b \frac{d}{dt}\left[\phi(\mathbf{r}(t))\right]\, dt = \phi(\mathbf{r}(b)) - \phi(\mathbf{r}(a)) = \phi(B) - \phi(A) ∫ C F ⋅ d r = ∫ a b ∇ ϕ ( r ( t )) ⋅ r ′ ( t ) d t = ∫ a b d t d [ ϕ ( r ( t )) ] d t = ϕ ( r ( b )) − ϕ ( r ( a )) = ϕ ( B ) − ϕ ( A )
By the chain rule. ■ \blacksquare ■
Corollary 3.3. The line integral of a conservative field around any closed curve is zero.
Problem. Evaluate ∫ C F ⋅ d r \int_C \mathbf{F} \cdot d\mathbf{r} ∫ C F ⋅ d r where F = ( y , x + e y , z + 1 ) \mathbf{F} = (y,\, x + e^y,\, z + 1) F = ( y , x + e y , z + 1 ) and C C C is the Curve r ( t ) = ( t , t 2 , t 3 ) \mathbf{r}(t) = (t,\, t^2,\, t^3) r ( t ) = ( t , t 2 , t 3 ) for 0 ≤ t ≤ 1 0 \leq t \leq 1 0 ≤ t ≤ 1 .
Solution First check if F \mathbf{F} F is conservative. Compute the curl:
( ∇ × F ) x = ∂ ( z + 1 ) ∂ y − ∂ ( x + e y ) ∂ z = 0 − 0 = 0 (\nabla \times \mathbf{F})_x = \frac{\partial (z+1)}{\partial y} - \frac{\partial (x + e^y)}{\partial z} = 0 - 0 = 0 ( ∇ × F ) x = ∂ y ∂ ( z + 1 ) − ∂ z ∂ ( x + e y ) = 0 − 0 = 0
( ∇ × F ) y = ∂ y ∂ z − ∂ ( z + 1 ) ∂ x = 0 − 0 = 0 (\nabla \times \mathbf{F})_y = \frac{\partial y}{\partial z} - \frac{\partial (z+1)}{\partial x} = 0 - 0 = 0 ( ∇ × F ) y = ∂ z ∂ y − ∂ x ∂ ( z + 1 ) = 0 − 0 = 0
( ∇ × F ) z = ∂ ( x + e y ) ∂ x − ∂ y ∂ y = 1 − 1 = 0 (\nabla \times \mathbf{F})_z = \frac{\partial (x + e^y)}{\partial x} - \frac{\partial y}{\partial y} = 1 - 1 = 0 ( ∇ × F ) z = ∂ x ∂ ( x + e y ) − ∂ y ∂ y = 1 − 1 = 0
Since ∇ × F = 0 \nabla \times \mathbf{F} = \mathbf{0} ∇ × F = 0 , F \mathbf{F} F is conservative. Find ϕ \phi ϕ :
∂ ϕ ∂ x = y ⟹ ϕ = x y + g ( y , z ) \frac{\partial \phi}{\partial x} = y \implies \phi = xy + g(y,z) ∂ x ∂ ϕ = y ⟹ ϕ = x y + g ( y , z )
∂ ϕ ∂ y = x + g y = x + e y ⟹ g y = e y ⟹ g = e y + h ( z ) \frac{\partial \phi}{\partial y} = x + g_y = x + e^y \implies g_y = e^y \implies g = e^y + h(z) ∂ y ∂ ϕ = x + g y = x + e y ⟹ g y = e y ⟹ g = e y + h ( z )
∂ ϕ ∂ z = h ′ ( z ) = z + 1 ⟹ h ( z ) = z 2 2 + z + C \frac{\partial \phi}{\partial z} = h'(z) = z + 1 \implies h(z) = \frac{z^2}{2} + z + C ∂ z ∂ ϕ = h ′ ( z ) = z + 1 ⟹ h ( z ) = 2 z 2 + z + C
ϕ ( x , y , z ) = x y + e y + z 2 2 + z \phi(x,y,z) = xy + e^y + \frac{z^2}{2} + z ϕ ( x , y , z ) = x y + e y + 2 z 2 + z
Now apply the fundamental theorem:
∫ C F ⋅ d r = ϕ ( 1 , 1 , 1 ) − ϕ ( 0 , 0 , 0 ) = ( 1 + e + 1 2 + 1 ) − ( 1 + 1 ) = e + 1 2 \int_C \mathbf{F} \cdot d\mathbf{r} = \phi(1, 1, 1) - \phi(0, 0, 0) = \left(1 + e + \frac{1}{2} + 1\right) - (1 + 1) = e + \frac{1}{2} ∫ C F ⋅ d r = ϕ ( 1 , 1 , 1 ) − ϕ ( 0 , 0 , 0 ) = ( 1 + e + 2 1 + 1 ) − ( 1 + 1 ) = e + 2 1
■ \blacksquare ■
Theorem 3.4 (Green’s Theorem). Let C C C be a positively oriented, piecewise smooth, simple closed Curve bounding a region D D D . If P P P and Q Q Q have continuous partial derivatives on an open set Containing D D D Then
∮ C P d x + Q d y = ∬ D ( ∂ Q ∂ x − ∂ P ∂ y ) d A \oint_C P\, dx + Q\, dy = \iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dA ∮ C P d x + Q d y = ∬ D ( ∂ x ∂ Q − ∂ y ∂ P ) d A
Proof (for a Type I region). Assume D D D is a Type I region: D = ( x , y ) : a ≤ x ≤ b , g 1 ( x ) ≤ y ≤ g 2 ( x ) D = \\{(x,y) : a \leq x \leq b,\, g_1(x) \leq y \leq g_2(x)\\} D = ( x , y ) : a ≤ x ≤ b , g 1 ( x ) ≤ y ≤ g 2 ( x ) . The boundary C C C consists of Four pieces: bottom C 1 C_1 C 1 Right C 2 C_2 C 2 Top C 3 C_3 C 3 And left C 4 C_4 C 4 .
We first prove ∮ C P d x = − ∬ D ∂ P ∂ y d A \oint_C P\, dx = -\iint_D \frac{\partial P}{\partial y}\, dA ∮ C P d x = − ∬ D ∂ y ∂ P d A .
On C 1 C_1 C 1 : y = g 1 ( x ) y = g_1(x) y = g 1 ( x ) , x x x goes from a a a to b b b So ∫ C 1 P d x = ∫ a b P ( x , g 1 ( x ) ) d x \int_{C_1} P\, dx = \int_a^b P(x, g_1(x))\, dx ∫ C 1 P d x = ∫ a b P ( x , g 1 ( x )) d x .
On C 3 C_3 C 3 : y = g 2 ( x ) y = g_2(x) y = g 2 ( x ) , x x x goes from b b b to a a a So ∫ C 3 P d x = ∫ b a P ( x , g 2 ( x ) ) d x = − ∫ a b P ( x , g 2 ( x ) ) d x \int_{C_3} P\, dx = \int_b^a P(x, g_2(x))\, dx = -\int_a^b P(x, g_2(x))\, dx ∫ C 3 P d x = ∫ b a P ( x , g 2 ( x )) d x = − ∫ a b P ( x , g 2 ( x )) d x .
On C 2 C_2 C 2 and C 4 C_4 C 4 : x x x is constant, so d x = 0 dx = 0 d x = 0 Hence ∫ C 2 P d x = ∫ C 4 P d x = 0 \int_{C_2} P\, dx = \int_{C_4} P\, dx = 0 ∫ C 2 P d x = ∫ C 4 P d x = 0 .
Therefore:
∮ C P d x = ∫ a b P ( x , g 1 ( x ) ) d x − ∫ a b P ( x , g 2 ( x ) ) d x \oint_C P\, dx = \int_a^b P(x, g_1(x))\, dx - \int_a^b P(x, g_2(x))\, dx ∮ C P d x = ∫ a b P ( x , g 1 ( x )) d x − ∫ a b P ( x , g 2 ( x )) d x
Meanwhile:
− ∬ D ∂ P ∂ y d A = − ∫ a b ∫ g 1 ( x ) g 2 ( x ) ∂ P ∂ y d y d x = − ∫ a b [ P ( x , g 2 ( x ) ) − P ( x , g 1 ( x ) ) ] d x -\iint_D \frac{\partial P}{\partial y}\, dA = -\int_a^b \int_{g_1(x)}^{g_2(x)} \frac{\partial P}{\partial y}\, dy\, dx = -\int_a^b \left[P(x, g_2(x)) - P(x, g_1(x))\right]\, dx − ∬ D ∂ y ∂ P d A = − ∫ a b ∫ g 1 ( x ) g 2 ( x ) ∂ y ∂ P d y d x = − ∫ a b [ P ( x , g 2 ( x )) − P ( x , g 1 ( x )) ] d x
= ∫ a b P ( x , g 1 ( x ) ) d x − ∫ a b P ( x , g 2 ( x ) ) d x = ∮ C P d x = \int_a^b P(x, g_1(x))\, dx - \int_a^b P(x, g_2(x))\, dx = \oint_C P\, dx = ∫ a b P ( x , g 1 ( x )) d x − ∫ a b P ( x , g 2 ( x )) d x = ∮ C P d x
An identical argument (using Type II regions) proves ∮ C Q d y = ∬ D ∂ Q ∂ x d A \oint_C Q\, dy = \iint_D \frac{\partial Q}{\partial x}\, dA ∮ C Q d y = ∬ D ∂ x ∂ Q d A . Adding the two equalities gives the result. For general regions, decompose D D D into finitely many Type I and Type II regions and note that the line integrals along shared boundaries cancel. ■ \blacksquare ■
Worked Example. Evaluate ∮ C ( x 2 − y ) d x + ( y 2 + x ) d y \oint_C (x^2 - y)\, dx + (y^2 + x)\, dy ∮ C ( x 2 − y ) d x + ( y 2 + x ) d y where C C C is the unit circle Traversed counterclockwise.
Solution. By Green’s theorem with P = x 2 − y P = x^2 - y P = x 2 − y and Q = y 2 + x Q = y^2 + x Q = y 2 + x :
∂ Q ∂ x = 1 , ∂ P ∂ y = − 1 \frac{\partial Q}{\partial x} = 1, \quad \frac{\partial P}{\partial y} = -1 ∂ x ∂ Q = 1 , ∂ y ∂ P = − 1
∮ C P d x + Q d y = ∬ D ( 1 − ( − 1 ) ) d A = 2 ∬ D d A = 2 ⋅ π ⋅ 1 2 = 2 π \oint_C P\, dx + Q\, dy = \iint_D (1 - (-1))\, dA = 2 \iint_D dA = 2 \cdot \pi \cdot 1^2 = 2\pi ∮ C P d x + Q d y = ∬ D ( 1 − ( − 1 )) d A = 2 ∬ D d A = 2 ⋅ π ⋅ 1 2 = 2 π
■ \blacksquare ■
Definition. Let F = ( P , Q , R ) \mathbf{F} = (P, Q, R) F = ( P , Q , R ) be a C 1 C^1 C 1 vector field on R 3 \mathbb{R}^3 R 3 .
The curl of F \mathbf{F} F is
∇ × F = ( ∂ R ∂ y − ∂ Q ∂ z , ∂ P ∂ z − ∂ R ∂ x , ∂ Q ∂ x − ∂ P ∂ y ) \nabla \times \mathbf{F} = \left(\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z},\, \frac{\partial P}{\partial z} - \frac{\partial R}{\partial x},\, \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) ∇ × F = ( ∂ y ∂ R − ∂ z ∂ Q , ∂ z ∂ P − ∂ x ∂ R , ∂ x ∂ Q − ∂ y ∂ P )
The divergence of F \mathbf{F} F is
∇ ⋅ F = ∂ P ∂ x + ∂ Q ∂ y + ∂ R ∂ z \nabla \cdot \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z} ∇ ⋅ F = ∂ x ∂ P + ∂ y ∂ Q + ∂ z ∂ R
Physical interpretation. If F \mathbf{F} F represents the velocity field of a fluid:
Curl ∇ × F \nabla \times \mathbf{F} ∇ × F measures the local rotational tendency (vorticity) of the fluid. At a point p \mathbf{p} p The component ( ∇ × F ) ⋅ n (\nabla \times \mathbf{F}) \cdot \mathbf{n} ( ∇ × F ) ⋅ n gives twice the angular velocity of a small paddle wheel placed at p \mathbf{p} p with axis along n \mathbf{n} n .
Divergence ∇ ⋅ F \nabla \cdot \mathbf{F} ∇ ⋅ F measures the net rate of outward flux per unit volume at a point. If ∇ ⋅ F > 0 \nabla \cdot \mathbf{F} \gt 0 ∇ ⋅ F > 0 at p \mathbf{p} p There is a net source at p \mathbf{p} p ; if ∇ ⋅ F < 0 \nabla \cdot \mathbf{F} \lt 0 ∇ ⋅ F < 0 There is a net sink.
Proposition 3.5. For any C 2 C^2 C 2 vector field F \mathbf{F} F :
∇ ⋅ ( ∇ × F ) = 0 ( d i v o f c u r l i s z e r o ) \nabla \cdot (\nabla \times \mathbf{F}) = 0 \quad \mathrm{(div\ of\ curl\ is\ zero)} ∇ ⋅ ( ∇ × F ) = 0 ( div of curl is zero )
∇ × ( ∇ ϕ ) = 0 ( c u r l o f g r a d i e n t i s z e r o ) \nabla \times (\nabla \phi) = \mathbf{0} \quad \mathrm{(curl\ of\ gradient\ is\ zero)} ∇ × ( ∇ ϕ ) = 0 ( curl of gradient is zero )
Proof. Both follow from Clairaut’s theorem on equality of mixed partials. For the first:
∇ ⋅ ( ∇ × F ) = ∂ ∂ x ( ∂ R ∂ y − ∂ Q ∂ z ) + ∂ ∂ y ( ∂ P ∂ z − ∂ R ∂ x ) + ∂ ∂ z ( ∂ Q ∂ x − ∂ P ∂ y ) \nabla \cdot (\nabla \times \mathbf{F}) = \frac{\partial}{\partial x}\left(\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z}\right) + \frac{\partial}{\partial y}\left(\frac{\partial P}{\partial z} - \frac{\partial R}{\partial x}\right) + \frac{\partial}{\partial z}\left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) ∇ ⋅ ( ∇ × F ) = ∂ x ∂ ( ∂ y ∂ R − ∂ z ∂ Q ) + ∂ y ∂ ( ∂ z ∂ P − ∂ x ∂ R ) + ∂ z ∂ ( ∂ x ∂ Q − ∂ y ∂ P )
Each pair cancels by Clairaut: ∂ 2 R ∂ x ∂ y = ∂ 2 R ∂ y ∂ x \frac{\partial^2 R}{\partial x\,\partial y} = \frac{\partial^2 R}{\partial y\,\partial x} ∂ x ∂ y ∂ 2 R = ∂ y ∂ x ∂ 2 R Etc. ■ \blacksquare ■
Theorem 3.6 (Stokes’ Theorem). Let S S S be an oriented surface with piecewise smooth boundary curve C C C (positively oriented). If F \mathbf{F} F has continuous partial derivatives on an open set containing S S S Then
∮ C F ⋅ d r = ∬ S ( ∇ × F ) ⋅ d S \oint_C \mathbf{F} \cdot d\mathbf{r} = \iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} ∮ C F ⋅ d r = ∬ S ( ∇ × F ) ⋅ d S
Where d S = n d S d\mathbf{S} = \mathbf{n}\, dS d S = n d S is the vector surface element with unit normal n \mathbf{n} n .
Proof (sketch). Parametrise S S S by r ( u , v ) \mathbf{r}(u,v) r ( u , v ) over a region D D D in the u v uv uv -plane. The boundary C C C of S S S corresponds to the boundary ∂ D \partial D ∂ D of D D D . The left-hand side becomes:
∮ C F ⋅ d r = ∮ ∂ D F ( r ( u , v ) ) ⋅ ( ∂ r ∂ u d u + ∂ r ∂ v d v ) \oint_C \mathbf{F} \cdot d\mathbf{r} = \oint_{\partial D} \mathbf{F}(\mathbf{r}(u,v)) \cdot \left(\frac{\partial \mathbf{r}}{\partial u}\, du + \frac{\partial \mathbf{r}}{\partial v}\, dv\right) ∮ C F ⋅ d r = ∮ ∂ D F ( r ( u , v )) ⋅ ( ∂ u ∂ r d u + ∂ v ∂ r d v )
Define P ~ ( u , v ) = F ( r ( u , v ) ) ⋅ r u \tilde{P}(u,v) = \mathbf{F}(\mathbf{r}(u,v)) \cdot \mathbf{r}_u P ~ ( u , v ) = F ( r ( u , v )) ⋅ r u and Q ~ ( u , v ) = F ( r ( u , v ) ) ⋅ r v \tilde{Q}(u,v) = \mathbf{F}(\mathbf{r}(u,v)) \cdot \mathbf{r}_v Q ~ ( u , v ) = F ( r ( u , v )) ⋅ r v . Applying Green’s theorem in the u v uv uv -plane:
∮ ∂ D P ~ d u + Q ~ d v = ∬ D ( ∂ Q ~ ∂ u − ∂ P ~ ∂ v ) d u d v \oint_{\partial D} \tilde{P}\, du + \tilde{Q}\, dv = \iint_D \left(\frac{\partial \tilde{Q}}{\partial u} - \frac{\partial \tilde{P}}{\partial v}\right) du\, dv ∮ ∂ D P ~ d u + Q ~ d v = ∬ D ( ∂ u ∂ Q ~ − ∂ v ∂ P ~ ) d u d v
Expanding the partial derivatives and using the identity r u × r v = n ∥ r u × r v ∥ \mathbf{r}_u \times \mathbf{r}_v = \mathbf{n}\, \lVert \mathbf{r}_u \times \mathbf{r}_v \rVert r u × r v = n ∥ r u × r v ∥ One Verifies that the integrand equals ( ∇ × F ) ⋅ n ∥ r u × r v ∥ (\nabla \times \mathbf{F}) \cdot \mathbf{n}\, \lVert \mathbf{r}_u \times \mathbf{r}_v \rVert ( ∇ × F ) ⋅ n ∥ r u × r v ∥ Which gives ∬ S ( ∇ × F ) ⋅ d S \iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} ∬ S ( ∇ × F ) ⋅ d S . ■ \blacksquare ■
Remark. Green’s theorem is the special case of Stokes’ theorem where S S S is a planar region in R 2 \mathbb{R}^2 R 2 .
Problem. Use Stokes’ theorem to evaluate ∮ C F ⋅ d r \oint_C \mathbf{F} \cdot d\mathbf{r} ∮ C F ⋅ d r where F = ( y 2 , x z , x 2 ) \mathbf{F} = (y^2,\, xz,\, x^2) F = ( y 2 , x z , x 2 ) and C C C is the triangle with vertices ( 1 , 0 , 0 ) (1,0,0) ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) (0,1,0) ( 0 , 1 , 0 ) ( 0 , 0 , 1 ) (0,0,1) ( 0 , 0 , 1 ) traversed counterclockwise when viewed from above.
Solution The triangle lies in the plane x + y + z = 1 x + y + z = 1 x + y + z = 1 . Compute ∇ × F \nabla \times \mathbf{F} ∇ × F :
( ∇ × F ) x = ∂ ( x 2 ) ∂ y − ∂ ( x z ) ∂ z = 0 − x = − x (\nabla \times \mathbf{F})_x = \frac{\partial (x^2)}{\partial y} - \frac{\partial (xz)}{\partial z} = 0 - x = -x ( ∇ × F ) x = ∂ y ∂ ( x 2 ) − ∂ z ∂ ( x z ) = 0 − x = − x
( ∇ × F ) y = ∂ ( y 2 ) ∂ z − ∂ ( x 2 ) ∂ x = 0 − 2 x = − 2 x (\nabla \times \mathbf{F})_y = \frac{\partial (y^2)}{\partial z} - \frac{\partial (x^2)}{\partial x} = 0 - 2x = -2x ( ∇ × F ) y = ∂ z ∂ ( y 2 ) − ∂ x ∂ ( x 2 ) = 0 − 2 x = − 2 x
( ∇ × F ) z = ∂ ( x z ) ∂ x − ∂ ( y 2 ) ∂ y = z − 2 y (\nabla \times \mathbf{F})_z = \frac{\partial (xz)}{\partial x} - \frac{\partial (y^2)}{\partial y} = z - 2y ( ∇ × F ) z = ∂ x ∂ ( x z ) − ∂ y ∂ ( y 2 ) = z − 2 y
So ∇ × F = ( − x , − 2 x , z − 2 y ) \nabla \times \mathbf{F} = (-x,\, -2x,\, z - 2y) ∇ × F = ( − x , − 2 x , z − 2 y ) .
Parametrise the triangle in the x y xy x y -plane: 0 ≤ x ≤ 1 0 \leq x \leq 1 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 − x 0 \leq y \leq 1 - x 0 ≤ y ≤ 1 − x . On the plane z = 1 − x − y z = 1 - x - y z = 1 − x − y The surface element d S = 3 d x d y dS = \sqrt{3}\, dx\, dy d S = 3 d x d y .
∬ S ( ∇ × F ) ⋅ d S = 1 3 ∬ S ( − x − 2 x + z − 2 y ) d S \iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} = \frac{1}{\sqrt{3}} \iint_S (-x - 2x + z - 2y)\, dS ∬ S ( ∇ × F ) ⋅ d S = 3 1 ∬ S ( − x − 2 x + z − 2 y ) d S
On the plane: − 3 x − 2 y + z = − 3 x − 2 y + 1 − x − y = − 4 x − 3 y + 1 -3x - 2y + z = -3x - 2y + 1 - x - y = -4x - 3y + 1 − 3 x − 2 y + z = − 3 x − 2 y + 1 − x − y = − 4 x − 3 y + 1 .
= 1 3 ∫ 0 1 ∫ 0 1 − x ( − 4 x − 3 y + 1 ) 3 d y d x = ∫ 0 1 ∫ 0 1 − x ( − 4 x − 3 y + 1 ) d y d x = \frac{1}{\sqrt{3}} \int_0^1 \int_0^{1-x} (-4x - 3y + 1)\, \sqrt{3}\, dy\, dx = \int_0^1 \int_0^{1-x} (-4x - 3y + 1)\, dy\, dx = 3 1 ∫ 0 1 ∫ 0 1 − x ( − 4 x − 3 y + 1 ) 3 d y d x = ∫ 0 1 ∫ 0 1 − x ( − 4 x − 3 y + 1 ) d y d x
= ∫ 0 1 [ ( − 4 x + 1 ) y − 3 y 2 2 ] 0 1 − x d x = ∫ 0 1 ( − 4 x + 1 ) ( 1 − x ) − 3 ( 1 − x ) 2 2 d x = \int_0^1 \left[(-4x + 1)y - \frac{3y^2}{2}\right]_0^{1-x}\, dx = \int_0^1 (-4x + 1)(1 - x) - \frac{3(1-x)^2}{2}\, dx = ∫ 0 1 [ ( − 4 x + 1 ) y − 2 3 y 2 ] 0 1 − x d x = ∫ 0 1 ( − 4 x + 1 ) ( 1 − x ) − 2 3 ( 1 − x ) 2 d x
= ∫ 0 1 [ 4 x 2 − 5 x + 1 − 3 2 + 3 x − 3 x 2 2 ] d x = ∫ 0 1 [ 5 x 2 2 − 2 x − 1 2 ] d x = \int_0^1 \left[4x^2 - 5x + 1 - \frac{3}{2} + 3x - \frac{3x^2}{2}\right]\, dx = \int_0^1 \left[\frac{5x^2}{2} - 2x - \frac{1}{2}\right]\, dx = ∫ 0 1 [ 4 x 2 − 5 x + 1 − 2 3 + 3 x − 2 3 x 2 ] d x = ∫ 0 1 [ 2 5 x 2 − 2 x − 2 1 ] d x
= [ 5 x 3 6 − x 2 − x 2 ] 0 1 = 5 6 − 1 − 1 2 = − 2 3 = \left[\frac{5x^3}{6} - x^2 - \frac{x}{2}\right]_0^1 = \frac{5}{6} - 1 - \frac{1}{2} = -\frac{2}{3} = [ 6 5 x 3 − x 2 − 2 x ] 0 1 = 6 5 − 1 − 2 1 = − 3 2
■ \blacksquare ■
Theorem 3.7 (Divergence Theorem / Gauss’s Theorem). Let E E E be a solid region bounded by a closed Surface S S S with outward normal n \mathbf{n} n . If F \mathbf{F} F has continuous partial derivatives on an Open set containing E E E Then
∬ S F ⋅ d S = ∭ E ∇ ⋅ F d V \iint_S \mathbf{F} \cdot d\mathbf{S} = \iiint_E \nabla \cdot \mathbf{F}\, dV ∬ S F ⋅ d S = ∭ E ∇ ⋅ F d V
Where ∇ ⋅ F = ∂ P ∂ x + ∂ Q ∂ y + ∂ R ∂ z \nabla \cdot \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z} ∇ ⋅ F = ∂ x ∂ P + ∂ y ∂ Q + ∂ z ∂ R Is the divergence of F \mathbf{F} F .
Proof (sketch for a Type I region). Assume E E E is a Type I region: E = ( x , y , z ) : ( x , y ) ∈ D , g 1 ( x , y ) ≤ z ≤ g 2 ( x , y ) E = \\{(x,y,z) : (x,y) \in D,\, g_1(x,y) \leq z \leq g_2(x,y)\\} E = ( x , y , z ) : ( x , y ) ∈ D , g 1 ( x , y ) ≤ z ≤ g 2 ( x , y ) . The boundary consists of Bottom surface S 1 S_1 S 1 (normal pointing downward), top surface S 2 S_2 S 2 (normal pointing upward), And the lateral surface S 3 S_3 S 3 (where the normal is horizontal).
We prove the result for the R R R -component, i.e., ∬ S R k ⋅ d S = ∭ E ∂ R ∂ z d V \iint_S R\, \mathbf{k} \cdot d\mathbf{S} = \iiint_E \frac{\partial R}{\partial z}\, dV ∬ S R k ⋅ d S = ∭ E ∂ z ∂ R d V .
The right-hand side:
∭ E ∂ R ∂ z d V = ∬ D ∫ g 1 ( x , y ) g 2 ( x , y ) ∂ R ∂ z d z d A = ∬ D [ R ( x , y , g 2 ) − R ( x , y , g 1 ) ] d A \iiint_E \frac{\partial R}{\partial z}\, dV = \iint_D \int_{g_1(x,y)}^{g_2(x,y)} \frac{\partial R}{\partial z}\, dz\, dA = \iint_D \left[R(x,y,g_2) - R(x,y,g_1)\right]\, dA ∭ E ∂ z ∂ R d V = ∬ D ∫ g 1 ( x , y ) g 2 ( x , y ) ∂ z ∂ R d z d A = ∬ D [ R ( x , y , g 2 ) − R ( x , y , g 1 ) ] d A
On S 2 S_2 S 2 (top): d S = ( − g 2 x , − g 2 y , 1 ) d A d\mathbf{S} = (-g_{2x}, -g_{2y}, 1)\, dA d S = ( − g 2 x , − g 2 y , 1 ) d A (upward), so R k ⋅ d S = R ( x , y , g 2 ) d A R\, \mathbf{k} \cdot d\mathbf{S} = R(x,y,g_2)\, dA R k ⋅ d S = R ( x , y , g 2 ) d A .
On S 1 S_1 S 1 (bottom): d S = ( g 1 x , g 1 y , − 1 ) d A d\mathbf{S} = (g_{1x}, g_{1y}, -1)\, dA d S = ( g 1 x , g 1 y , − 1 ) d A (downward), so R k ⋅ d S = − R ( x , y , g 1 ) d A R\, \mathbf{k} \cdot d\mathbf{S} = -R(x,y,g_1)\, dA R k ⋅ d S = − R ( x , y , g 1 ) d A .
On S 3 S_3 S 3 : k ⋅ n = 0 \mathbf{k} \cdot \mathbf{n} = 0 k ⋅ n = 0 (the normal is horizontal), so R k ⋅ d S = 0 R\, \mathbf{k} \cdot d\mathbf{S} = 0 R k ⋅ d S = 0 .
Therefore ∬ S R k ⋅ d S = ∬ D [ R ( x , y , g 2 ) − R ( x , y , g 1 ) ] d A \iint_S R\, \mathbf{k} \cdot d\mathbf{S} = \iint_D [R(x,y,g_2) - R(x,y,g_1)]\, dA ∬ S R k ⋅ d S = ∬ D [ R ( x , y , g 2 ) − R ( x , y , g 1 )] d A Matching the Volume integral. The P P P and Q Q Q components follow by an identical argument for Type II and Type III Regions. For general regions, decompose into finitely many regions of each type. ■ \blacksquare ■
Worked Example. Compute the flux of F = ( x 3 , y 3 , z 3 ) \mathbf{F} = (x^3, y^3, z^3) F = ( x 3 , y 3 , z 3 ) through the unit sphere S S S .
Solution. By the divergence theorem:
∇ ⋅ F = 3 x 2 + 3 y 2 + 3 z 2 = 3 ( x 2 + y 2 + z 2 ) = 3 ρ 2 \nabla \cdot \mathbf{F} = 3x^2 + 3y^2 + 3z^2 = 3(x^2 + y^2 + z^2) = 3\rho^2 ∇ ⋅ F = 3 x 2 + 3 y 2 + 3 z 2 = 3 ( x 2 + y 2 + z 2 ) = 3 ρ 2
Using spherical coordinates:
∭ E 3 ρ 2 ⋅ ρ 2 sin ϕ d ρ d ϕ d θ = 3 ∫ 0 2 π ∫ 0 π ∫ 0 1 ρ 4 sin ϕ d ρ d ϕ d θ \iiint_E 3\rho^2 \cdot \rho^2 \sin\phi\, d\rho\, d\phi\, d\theta = 3 \int_0^{2\pi} \int_0^{\pi} \int_0^1 \rho^4 \sin\phi\, d\rho\, d\phi\, d\theta ∭ E 3 ρ 2 ⋅ ρ 2 sin ϕ d ρ d ϕ d θ = 3 ∫ 0 2 π ∫ 0 π ∫ 0 1 ρ 4 sin ϕ d ρ d ϕ d θ
= 3 ⋅ 2 π ⋅ 2 ⋅ 1 5 = 12 π 5 = 3 \cdot 2\pi \cdot 2 \cdot \frac{1}{5} = \frac{12\pi}{5} = 3 ⋅ 2 π ⋅ 2 ⋅ 5 1 = 5 12 π
■ \blacksquare ■
Problem. Compute the flux of F = ( x 2 , y 2 , z 2 ) \mathbf{F} = (x^2,\, y^2,\, z^2) F = ( x 2 , y 2 , z 2 ) outward through the surface of the Cylinder x 2 + y 2 ≤ 1 x^2 + y^2 \leq 1 x 2 + y 2 ≤ 1 , 0 ≤ z ≤ 2 0 \leq z \leq 2 0 ≤ z ≤ 2 .
Solution By the divergence theorem:
∇ ⋅ F = 2 x + 2 y + 2 z \nabla \cdot \mathbf{F} = 2x + 2y + 2z ∇ ⋅ F = 2 x + 2 y + 2 z
Use cylindrical coordinates. The region E ′ E' E ′ is 0 ≤ r ≤ 1 0 \leq r \leq 1 0 ≤ r ≤ 1 , 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π 0 ≤ z ≤ 2 0 \leq z \leq 2 0 ≤ z ≤ 2 .
∭ E ( 2 x + 2 y + 2 z ) d V = ∭ E 2 z d V \iiint_E (2x + 2y + 2z)\, dV = \iiint_E 2z\, dV ∭ E ( 2 x + 2 y + 2 z ) d V = ∭ E 2 z d V
Since ∬ E x d V = ∬ E y d V = 0 \iint_E x\, dV = \iint_E y\, dV = 0 ∬ E x d V = ∬ E y d V = 0 by symmetry (odd functions over a symmetric domain).
= 2 ∫ 0 2 π ∫ 0 1 ∫ 0 2 z ⋅ r d z d r d θ = 2 ∫ 0 2 π ∫ 0 1 r [ z 2 2 ] 0 2 d r d θ = 2 \int_0^{2\pi} \int_0^1 \int_0^2 z \cdot r\, dz\, dr\, d\theta = 2 \int_0^{2\pi} \int_0^1 r\left[\frac{z^2}{2}\right]_0^2\, dr\, d\theta = 2 ∫ 0 2 π ∫ 0 1 ∫ 0 2 z ⋅ r d z d r d θ = 2 ∫ 0 2 π ∫ 0 1 r [ 2 z 2 ] 0 2 d r d θ
= 2 ∫ 0 2 π ∫ 0 1 2 r d r d θ = 2 ∫ 0 2 π 1 d θ = 2 ⋅ 2 π = 4 π = 2 \int_0^{2\pi} \int_0^1 2r\, dr\, d\theta = 2 \int_0^{2\pi} 1\, d\theta = 2 \cdot 2\pi = 4\pi = 2 ∫ 0 2 π ∫ 0 1 2 r d r d θ = 2 ∫ 0 2 π 1 d θ = 2 ⋅ 2 π = 4 π
■ \blacksquare ■
Definition. A vector field F \mathbf{F} F on a domain D ⊆ R n D \subseteq \mathbb{R}^n D ⊆ R n is conservative if There exists a scalar function ϕ : D → R \phi : D \to \mathbb{R} ϕ : D → R (called a potential function ) such that F = ∇ ϕ \mathbf{F} = \nabla \phi F = ∇ ϕ .
Proposition 3.8 (Equivalent conditions for conservative fields). Let F = ( P , Q ) \mathbf{F} = (P, Q) F = ( P , Q ) be a C 1 C^1 C 1 vector field on a connected domain D ⊆ R 2 D \subseteq \mathbb{R}^2 D ⊆ R 2 . The following are equivalent:
F \mathbf{F} F is conservative: F = ∇ ϕ \mathbf{F} = \nabla \phi F = ∇ ϕ for some ϕ \phi ϕ .∮ C F ⋅ d r = 0 \oint_C \mathbf{F} \cdot d\mathbf{r} = 0 ∮ C F ⋅ d r = 0 for every closed curve C C C in D D D .∫ C F ⋅ d r \int_C \mathbf{F} \cdot d\mathbf{r} ∫ C F ⋅ d r is path-independent in D D D .∂ P ∂ y = ∂ Q ∂ x \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} ∂ y ∂ P = ∂ x ∂ Q everywhere in D D D .Procedure for finding a potential function. Given F = ( P , Q , R ) \mathbf{F} = (P, Q, R) F = ( P , Q , R ) with ∇ × F = 0 \nabla \times \mathbf{F} = \mathbf{0} ∇ × F = 0 :
Integrate P P P with respect to x x x : ϕ = ∫ P d x + g ( y , z ) \phi = \int P\, dx + g(y, z) ϕ = ∫ P d x + g ( y , z ) . Differentiate with respect to y y y and set equal to Q Q Q to determine g y g_y g y . Integrate g y g_y g y with respect to y y y : g = ∫ g y d y + h ( z ) g = \int g_y\, dy + h(z) g = ∫ g y d y + h ( z ) . Differentiate with respect to z z z and set equal to R R R to determine h ′ ( z ) h'(z) h ′ ( z ) . Integrate to find h ( z ) h(z) h ( z ) and assemble ϕ \phi ϕ . Problem. Determine whether F = ( 2 x y + z 2 , x 2 + 2 y z , 2 x z + y 2 ) \mathbf{F} = (2xy + z^2,\, x^2 + 2yz,\, 2xz + y^2) F = ( 2 x y + z 2 , x 2 + 2 y z , 2 x z + y 2 ) is conservative, And if so, find a potential function.
Solution Check the curl:
( ∇ × F ) x = ∂ ∂ y ( 2 x z + y 2 ) − ∂ ∂ z ( x 2 + 2 y z ) = 2 y − 2 y = 0 (\nabla \times \mathbf{F})_x = \frac{\partial}{\partial y}(2xz + y^2) - \frac{\partial}{\partial z}(x^2 + 2yz) = 2y - 2y = 0 ( ∇ × F ) x = ∂ y ∂ ( 2 x z + y 2 ) − ∂ z ∂ ( x 2 + 2 y z ) = 2 y − 2 y = 0
( ∇ × F ) y = ∂ ∂ z ( 2 x y + z 2 ) − ∂ ∂ x ( 2 x z + y 2 ) = 2 z − 2 z = 0 (\nabla \times \mathbf{F})_y = \frac{\partial}{\partial z}(2xy + z^2) - \frac{\partial}{\partial x}(2xz + y^2) = 2z - 2z = 0 ( ∇ × F ) y = ∂ z ∂ ( 2 x y + z 2 ) − ∂ x ∂ ( 2 x z + y 2 ) = 2 z − 2 z = 0
( ∇ × F ) z = ∂ ∂ x ( x 2 + 2 y z ) − ∂ ∂ y ( 2 x y + z 2 ) = 2 x − 2 x = 0 (\nabla \times \mathbf{F})_z = \frac{\partial}{\partial x}(x^2 + 2yz) - \frac{\partial}{\partial y}(2xy + z^2) = 2x - 2x = 0 ( ∇ × F ) z = ∂ x ∂ ( x 2 + 2 y z ) − ∂ y ∂ ( 2 x y + z 2 ) = 2 x − 2 x = 0
Since ∇ × F = 0 \nabla \times \mathbf{F} = \mathbf{0} ∇ × F = 0 , F \mathbf{F} F is conservative. Find ϕ \phi ϕ :
∂ ϕ ∂ x = 2 x y + z 2 ⟹ ϕ = x 2 y + x z 2 + g ( y , z ) \frac{\partial \phi}{\partial x} = 2xy + z^2 \implies \phi = x^2 y + xz^2 + g(y,z) ∂ x ∂ ϕ = 2 x y + z 2 ⟹ ϕ = x 2 y + x z 2 + g ( y , z )
∂ ϕ ∂ y = x 2 + g y ( y , z ) = x 2 + 2 y z ⟹ g y ( y , z ) = 2 y z ⟹ g ( y , z ) = y 2 z + h ( z ) \frac{\partial \phi}{\partial y} = x^2 + g_y(y,z) = x^2 + 2yz \implies g_y(y,z) = 2yz \implies g(y,z) = y^2 z + h(z) ∂ y ∂ ϕ = x 2 + g y ( y , z ) = x 2 + 2 y z ⟹ g y ( y , z ) = 2 y z ⟹ g ( y , z ) = y 2 z + h ( z )
∂ ϕ ∂ z = 2 x z + y 2 + h ′ ( z ) \frac{\partial \phi}{\partial z} = 2xz + y^2 + h'(z) ∂ z ∂ ϕ = 2 x z + y 2 + h ′ ( z )
This must equal 2 x z + y 2 2xz + y^2 2 x z + y 2 So h ′ ( z ) = 0 h'(z) = 0 h ′ ( z ) = 0 Giving h ( z ) = C h(z) = C h ( z ) = C .
Therefore ϕ ( x , y , z ) = x 2 y + x z 2 + y 2 z + C \phi(x,y,z) = x^2 y + xz^2 + y^2 z + C ϕ ( x , y , z ) = x 2 y + x z 2 + y 2 z + C . ■ \blacksquare ■
:::caution Common Pitfalls
Singularities. When applying Green’s, Stokes’, or the Divergence theorem, verify that the field has continuous partial derivatives on the region (including interior). If there are singularities inside the region, the theorems do not apply directly; the singularity must be handled separately.** connected domains.** The condition ∇ × F = 0 \nabla \times \mathbf{F} = \mathbf{0} ∇ × F = 0 guarantees that F \mathbf{F} F is conservative only on a connected domain. For example, F = ( − y , x ) x 2 + y 2 \mathbf{F} = \frac{(-y, x)}{x^2 + y^2} F = x 2 + y 2 ( − y , x ) has zero curl on R 2 ∖ ( 0 , 0 ) \mathbb{R}^2 \setminus \\{(0,0)\\} R 2 ∖ ( 0 , 0 ) but is not conservative there (the domain is not connected). Orientation. Green’s and Stokes’ theorems require positive orientation (counterclockwise for planar curves, right-hand rule for surfaces). The divergence theorem requires the outward normal. Reversing orientation changes the sign of the result. :::The three major integral theorems of vector calculus are deeply connected:
Remark. Green’s theorem is the planar special case of Stokes’ theorem. Stokes’ theorem relates the Circulation around a curve to the curl through the surface it bounds. The divergence theorem relates The flux through a closed surface to the divergence inside the volume it encloses. Together, these Form the higher-dimensional analogues of the Fundamental Theorem of Calculus:
∫ a b f ′ ( x ) d x = f ( b ) − f ( a ) ( F T C ) \int_a^b f'(x)\, dx = f(b) - f(a) \quad \mathrm{(FTC)} ∫ a b f ′ ( x ) d x = f ( b ) − f ( a ) ( FTC )
∫ C ∇ ϕ ⋅ d r = ϕ ( B ) − ϕ ( A ) ( F T L I ) \int_C \nabla \phi \cdot d\mathbf{r} = \phi(B) - \phi(A) \quad \mathrm{(FTLI)} ∫ C ∇ ϕ ⋅ d r = ϕ ( B ) − ϕ ( A ) ( FTLI )
∮ C F ⋅ d r = ∬ S ( ∇ × F ) ⋅ d S ( S t o k e s ) \oint_C \mathbf{F} \cdot d\mathbf{r} = \iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} \quad \mathrm{(Stokes)} ∮ C F ⋅ d r = ∬ S ( ∇ × F ) ⋅ d S ( Stokes )
∬ S F ⋅ d S = ∭ E ( ∇ ⋅ F ) d V ( D i v e r g e n c e ) \iint_S \mathbf{F} \cdot d\mathbf{S} = \iiint_E (\nabla \cdot \mathbf{F})\, dV \quad \mathrm{(Divergence)} ∬ S F ⋅ d S = ∭ E ( ∇ ⋅ F ) d V ( Divergence )
In each case, the integral of a “derivative” over a region equals the integral of the original function Over the boundary of that region. This is the generalised Stokes’ theorem :
∫ ∂ Ω ω = ∫ Ω d ω \int_{\partial \Omega} \omega = \int_{\Omega} d\omega ∫ ∂ Ω ω = ∫ Ω d ω
Where Ω \Omega Ω is a k k k -dimensional manifold with boundary ∂ Ω \partial \Omega ∂ Ω , ω \omega ω is a ( k − 1 ) (k-1) ( k − 1 ) -form, And d ω d\omega d ω is its exterior derivative.
Theorem 4.1 (First Derivative Test). If f f f has a local extremum at an interior point a \mathbf{a} a And ∇ f ( a ) \nabla f(\mathbf{a}) ∇ f ( a ) exists, then ∇ f ( a ) = 0 \nabla f(\mathbf{a}) = \mathbf{0} ∇ f ( a ) = 0 .
Points where ∇ f = 0 \nabla f = \mathbf{0} ∇ f = 0 are called critical points (or stationary points).
Remark. Not all critical points are extrema. A critical point can be a local minimum, local maximum, Or saddle point. The second derivative test (Section 4.2) distinguishes these cases.
Theorem 4.2 (Second Derivative Test). Let f f f have continuous second partial derivatives near a Critical point ( a , b ) (a,b) ( a , b ) with f x ( a , b ) = f y ( a , b ) = 0 f_x(a,b) = f_y(a,b) = 0 f x ( a , b ) = f y ( a , b ) = 0 . Let
D = f x x ( a , b ) f y y ( a , b ) − [ f x y ( a , b ) ] 2 D = f_{xx}(a,b) f_{yy}(a,b) - [f_{xy}(a,b)]^2 D = f xx ( a , b ) f y y ( a , b ) − [ f x y ( a , b ) ] 2
Be the Hessian determinant . Then:
If D > 0 D \gt 0 D > 0 and f x x ( a , b ) > 0 f_{xx}(a,b) \gt 0 f xx ( a , b ) > 0 : local minimum. If D > 0 D \gt 0 D > 0 and f x x ( a , b ) < 0 f_{xx}(a,b) \lt 0 f xx ( a , b ) < 0 : local maximum. If D < 0 D \lt 0 D < 0 : saddle point. If D = 0 D = 0 D = 0 : the test is inconclusive. Proof. By Taylor’s theorem to second order, for small h , k h, k h , k :
f ( a + h , b + k ) − f ( a , b ) = 1 2 [ f x x h 2 + 2 f x y h k + f y y k 2 ] + R 2 f(a+h, b+k) - f(a,b) = \frac{1}{2}\left[f_{xx} h^2 + 2f_{xy} hk + f_{yy} k^2\right] + R_2 f ( a + h , b + k ) − f ( a , b ) = 2 1 [ f xx h 2 + 2 f x y hk + f y y k 2 ] + R 2
Where the remainder R 2 = o ( h 2 + k 2 ) R_2 = o(h^2 + k^2) R 2 = o ( h 2 + k 2 ) and all partials are evaluated at ( a , b ) (a,b) ( a , b ) . The sign of the Right-hand side is determined by the quadratic form
Q ( h , k ) = f x x h 2 + 2 f x y h k + f y y k 2 = ( h k ) H ( h k ) Q(h,k) = f_{xx} h^2 + 2f_{xy} hk + f_{yy} k^2 = \begin{pmatrix} h & k \end{pmatrix} H \begin{pmatrix} h \\ k \end{pmatrix} Q ( h , k ) = f xx h 2 + 2 f x y hk + f y y k 2 = ( h k ) H ( h k )
Where H = ( f x x f x y f x y f y y ) H = \begin{pmatrix} f_{xx} & f_{xy} \\ f_{xy} & f_{yy} \end{pmatrix} H = ( f xx f x y f x y f y y ) is the Hessian matrix.
By Sylvester’s criterion for 2 × 2 2 \times 2 2 × 2 symmetric matrices:
If det ( H ) = D > 0 \det(H) = D \gt 0 det ( H ) = D > 0 and f x x > 0 f_{xx} \gt 0 f xx > 0 Then H H H is positive definite, so Q > 0 Q \gt 0 Q > 0 for all ( h , k ) ≠ ( 0 , 0 ) (h,k) \neq (0,0) ( h , k ) = ( 0 , 0 ) Giving a local minimum. If det ( H ) = D > 0 \det(H) = D \gt 0 det ( H ) = D > 0 and f x x < 0 f_{xx} \lt 0 f xx < 0 Then H H H is negative definite, so Q < 0 Q \lt 0 Q < 0 for all ( h , k ) ≠ ( 0 , 0 ) (h,k) \neq (0,0) ( h , k ) = ( 0 , 0 ) Giving a local maximum. If det ( H ) = D < 0 \det(H) = D \lt 0 det ( H ) = D < 0 Then H H H is indefinite, so Q Q Q takes both positive and negative values, giving a saddle point. When D = 0 D = 0 D = 0 The quadratic form is degenerate and the sign is determined by higher-order terms. ■ \blacksquare ■
Theorem 4.3 (Method of Lagrange Multipliers). To find the extrema of f ( x , y , z ) f(x,y,z) f ( x , y , z ) subject to the Constraint g ( x , y , z ) = 0 g(x,y,z) = 0 g ( x , y , z ) = 0 Solve the system:
∇ f = λ ∇ g , g = 0 \nabla f = \lambda \nabla g, \quad g = 0 ∇ f = λ ∇ g , g = 0
More generally, for k k k constraints g 1 = 0 , … , g k = 0 g_1 = 0, \ldots, g_k = 0 g 1 = 0 , … , g k = 0 :
∇ f = λ 1 ∇ g 1 + ⋯ + λ k ∇ g k \nabla f = \lambda_1 \nabla g_1 + \cdots + \lambda_k \nabla g_k ∇ f = λ 1 ∇ g 1 + ⋯ + λ k ∇ g k
Proof (single constraint, geometric justification). Let M = ( x , y , z ) : g ( x , y , z ) = 0 M = \\{(x,y,z) : g(x,y,z) = 0\\} M = ( x , y , z ) : g ( x , y , z ) = 0 be the constraint surface. If f f f has a local extremum on M M M at p \mathbf{p} p Then the directional derivative D v f ( p ) = 0 D_{\mathbf{v}} f(\mathbf{p}) = 0 D v f ( p ) = 0 for every tangent Vector v \mathbf{v} v to M M M at p \mathbf{p} p . Since ∇ f ( p ) ⋅ v = 0 \nabla f(\mathbf{p}) \cdot \mathbf{v} = 0 ∇ f ( p ) ⋅ v = 0 for all Such v \mathbf{v} v The gradient ∇ f ( p ) \nabla f(\mathbf{p}) ∇ f ( p ) must be orthogonal to the tangent space of M M M At p \mathbf{p} p . But the tangent space of M M M is orthogonal to ∇ g ( p ) \nabla g(\mathbf{p}) ∇ g ( p ) (by the implicit Function theorem). Therefore ∇ f ( p ) \nabla f(\mathbf{p}) ∇ f ( p ) must be parallel to ∇ g ( p ) \nabla g(\mathbf{p}) ∇ g ( p ) I.e., ∇ f ( p ) = λ ∇ g ( p ) \nabla f(\mathbf{p}) = \lambda\, \nabla g(\mathbf{p}) ∇ f ( p ) = λ ∇ g ( p ) for some scalar λ \lambda λ . ■ \blacksquare ■
Problem. Find the maximum of f ( x , y ) = x y f(x,y) = xy f ( x , y ) = x y subject to x 2 + y 2 = 1 x^2 + y^2 = 1 x 2 + y 2 = 1 .
Solution. Set g ( x , y ) = x 2 + y 2 − 1 g(x,y) = x^2 + y^2 - 1 g ( x , y ) = x 2 + y 2 − 1 . The Lagrange multiplier equations:
∇ f = λ ∇ g ⟹ ( y , x ) = λ ( 2 x , 2 y ) \nabla f = \lambda \nabla g \implies (y, x) = \lambda(2x, 2y) ∇ f = λ ∇ g ⟹ ( y , x ) = λ ( 2 x , 2 y )
This gives y = 2 λ x y = 2\lambda x y = 2 λ x and x = 2 λ y x = 2\lambda y x = 2 λ y . Multiplying: x y = 4 λ 2 x y xy = 4\lambda^2 xy x y = 4 λ 2 x y .
Case 1: x y ≠ 0 xy \neq 0 x y = 0 . Then 4 λ 2 = 1 4\lambda^2 = 1 4 λ 2 = 1 So λ = ± 1 / 2 \lambda = \pm 1/2 λ = ± 1/2 .
λ = 1 / 2 \lambda = 1/2 λ = 1/2 : y = x y = x y = x And x 2 + x 2 = 1 x^2 + x^2 = 1 x 2 + x 2 = 1 So x = ± 1 / 2 x = \pm 1/\sqrt{2} x = ± 1/ 2 . Points: ( 1 / 2 , 1 / 2 ) (1/\sqrt{2}, 1/\sqrt{2}) ( 1/ 2 , 1/ 2 ) and ( − 1 / 2 , − 1 / 2 ) (-1/\sqrt{2}, -1/\sqrt{2}) ( − 1/ 2 , − 1/ 2 ) with f = 1 / 2 f = 1/2 f = 1/2 .λ = − 1 / 2 \lambda = -1/2 λ = − 1/2 : y = − x y = -x y = − x And x 2 + x 2 = 1 x^2 + x^2 = 1 x 2 + x 2 = 1 So x = ± 1 / 2 x = \pm 1/\sqrt{2} x = ± 1/ 2 . Points: ( 1 / 2 , − 1 / 2 ) (1/\sqrt{2}, -1/\sqrt{2}) ( 1/ 2 , − 1/ 2 ) and ( − 1 / 2 , 1 / 2 ) (-1/\sqrt{2}, 1/\sqrt{2}) ( − 1/ 2 , 1/ 2 ) with f = − 1 / 2 f = -1/2 f = − 1/2 .Case 2: x y = 0 xy = 0 x y = 0 . Then either x = 0 x = 0 x = 0 or y = 0 y = 0 y = 0 . From the constraint: ( 0 , ± 1 ) (0, \pm 1) ( 0 , ± 1 ) or ( ± 1 , 0 ) (\pm 1, 0) ( ± 1 , 0 ) with f = 0 f = 0 f = 0 .
Maximum: f = 1 / 2 f = 1/2 f = 1/2 at ( ± 1 / 2 , ± 1 / 2 ) (\pm 1/\sqrt{2}, \pm 1/\sqrt{2}) ( ± 1/ 2 , ± 1/ 2 ) . Minimum: f = − 1 / 2 f = -1/2 f = − 1/2 at ( ± 1 / 2 , ∓ 1 / 2 ) (\pm 1/\sqrt{2}, \mp 1/\sqrt{2}) ( ± 1/ 2 , ∓ 1/ 2 ) . ■ \blacksquare ■
Problem. Find and classify all critical points of f ( x , y ) = x 4 + y 4 − 4 x y f(x,y) = x^4 + y^4 - 4xy f ( x , y ) = x 4 + y 4 − 4 x y .
Solution Compute the gradient:
∇ f = ( 4 x 3 − 4 y , 4 y 3 − 4 x ) \nabla f = (4x^3 - 4y,\, 4y^3 - 4x) ∇ f = ( 4 x 3 − 4 y , 4 y 3 − 4 x )
Set ∇ f = ( 0 , 0 ) \nabla f = (0,0) ∇ f = ( 0 , 0 ) :
x 3 = y , y 3 = x x^3 = y, \quad y^3 = x x 3 = y , y 3 = x
Substituting y = x 3 y = x^3 y = x 3 into y 3 = x y^3 = x y 3 = x : ( x 3 ) 3 = x (x^3)^3 = x ( x 3 ) 3 = x I.e., x 9 = x x^9 = x x 9 = x Giving x ( x 8 − 1 ) = 0 x(x^8 - 1) = 0 x ( x 8 − 1 ) = 0 . So x = 0 x = 0 x = 0 or x = ± 1 x = \pm 1 x = ± 1 .
x = 0 x = 0 x = 0 : y = 0 y = 0 y = 0 . Critical point: ( 0 , 0 ) (0, 0) ( 0 , 0 ) .x = 1 x = 1 x = 1 : y = 1 y = 1 y = 1 . Critical point: ( 1 , 1 ) (1, 1) ( 1 , 1 ) .x = − 1 x = -1 x = − 1 : y = − 1 y = -1 y = − 1 . Critical point: ( − 1 , − 1 ) (-1, -1) ( − 1 , − 1 ) .Second derivatives: f x x = 12 x 2 f_{xx} = 12x^2 f xx = 12 x 2 , f y y = 12 y 2 f_{yy} = 12y^2 f y y = 12 y 2 , f x y = − 4 f_{xy} = -4 f x y = − 4 .
At ( 0 , 0 ) (0,0) ( 0 , 0 ) : D = 0 ⋅ 0 − 16 = − 16 < 0 D = 0 \cdot 0 - 16 = -16 \lt 0 D = 0 ⋅ 0 − 16 = − 16 < 0 . Saddle point.
At ( 1 , 1 ) (1,1) ( 1 , 1 ) : D = 12 ⋅ 12 − 16 = 144 − 16 = 128 > 0 D = 12 \cdot 12 - 16 = 144 - 16 = 128 \gt 0 D = 12 ⋅ 12 − 16 = 144 − 16 = 128 > 0 and f x x = 12 > 0 f_{xx} = 12 \gt 0 f xx = 12 > 0 . Local minimum with f ( 1 , 1 ) = 1 + 1 − 4 = − 2 f(1,1) = 1 + 1 - 4 = -2 f ( 1 , 1 ) = 1 + 1 − 4 = − 2 .
At ( − 1 , − 1 ) (-1,-1) ( − 1 , − 1 ) : D = 12 ⋅ 12 − 16 = 128 > 0 D = 12 \cdot 12 - 16 = 128 \gt 0 D = 12 ⋅ 12 − 16 = 128 > 0 and f x x = 12 > 0 f_{xx} = 12 \gt 0 f xx = 12 > 0 . Local minimum with f ( − 1 , − 1 ) = 1 + 1 − 4 = − 2 f(-1,-1) = 1 + 1 - 4 = -2 f ( − 1 , − 1 ) = 1 + 1 − 4 = − 2 . ■ \blacksquare ■
Problem. Find and classify all critical points of f ( x , y ) = x 3 + y 3 − 3 x y f(x,y) = x^3 + y^3 - 3xy f ( x , y ) = x 3 + y 3 − 3 x y .
Solution Compute the gradient:
∇ f = ( 3 x 2 − 3 y , 3 y 2 − 3 x ) \nabla f = (3x^2 - 3y,\, 3y^2 - 3x) ∇ f = ( 3 x 2 − 3 y , 3 y 2 − 3 x )
Set ∇ f = ( 0 , 0 ) \nabla f = (0,0) ∇ f = ( 0 , 0 ) :
3 x 2 − 3 y = 0 ⟹ y = x 2 , 3 y 2 − 3 x = 0 ⟹ y 2 = x 3x^2 - 3y = 0 \implies y = x^2, \quad 3y^2 - 3x = 0 \implies y^2 = x 3 x 2 − 3 y = 0 ⟹ y = x 2 , 3 y 2 − 3 x = 0 ⟹ y 2 = x
Substituting: ( x 2 ) 2 = x (x^2)^2 = x ( x 2 ) 2 = x So x 4 − x = 0 x^4 - x = 0 x 4 − x = 0 Giving x ( x 3 − 1 ) = 0 x(x^3 - 1) = 0 x ( x 3 − 1 ) = 0 So x = 0 x = 0 x = 0 or x = 1 x = 1 x = 1 .
x = 0 x = 0 x = 0 : y = 0 y = 0 y = 0 . Critical point: ( 0 , 0 ) (0, 0) ( 0 , 0 ) .x = 1 x = 1 x = 1 : y = 1 y = 1 y = 1 . Critical point: ( 1 , 1 ) (1, 1) ( 1 , 1 ) .Second derivatives: f x x = 6 x f_{xx} = 6x f xx = 6 x , f y y = 6 y f_{yy} = 6y f y y = 6 y , f x y = − 3 f_{xy} = -3 f x y = − 3 .
At ( 0 , 0 ) (0,0) ( 0 , 0 ) : D = f x x f y y − f x y 2 = 0 ⋅ 0 − 9 = − 9 < 0 D = f_{xx} f_{yy} - f_{xy}^2 = 0 \cdot 0 - 9 = -9 \lt 0 D = f xx f y y − f x y 2 = 0 ⋅ 0 − 9 = − 9 < 0 . Saddle point.
At ( 1 , 1 ) (1,1) ( 1 , 1 ) : D = 6 ⋅ 6 − 9 = 27 > 0 D = 6 \cdot 6 - 9 = 27 \gt 0 D = 6 ⋅ 6 − 9 = 27 > 0 and f x x = 6 > 0 f_{xx} = 6 \gt 0 f xx = 6 > 0 . Local minimum with f ( 1 , 1 ) = − 1 f(1,1) = -1 f ( 1 , 1 ) = − 1 . ■ \blacksquare ■
Problem. Find the point on the plane x + 2 y + 3 z = 6 x + 2y + 3z = 6 x + 2 y + 3 z = 6 closest to the origin.
Solution Minimise f ( x , y , z ) = x 2 + y 2 + z 2 f(x,y,z) = x^2 + y^2 + z^2 f ( x , y , z ) = x 2 + y 2 + z 2 subject to g ( x , y , z ) = x + 2 y + 3 z − 6 = 0 g(x,y,z) = x + 2y + 3z - 6 = 0 g ( x , y , z ) = x + 2 y + 3 z − 6 = 0 .
∇ f = λ ∇ g \nabla f = \lambda \nabla g ∇ f = λ ∇ g :
( 2 x , 2 y , 2 z ) = λ ( 1 , 2 , 3 ) (2x, 2y, 2z) = \lambda(1, 2, 3) ( 2 x , 2 y , 2 z ) = λ ( 1 , 2 , 3 )
This gives x = λ / 2 x = \lambda/2 x = λ /2 , y = λ y = \lambda y = λ , z = 3 λ / 2 z = 3\lambda/2 z = 3 λ /2 . Substituting into the constraint:
λ 2 + 2 λ + 9 λ 2 = 6 ⟹ λ + 4 λ + 9 λ 2 = 6 ⟹ 7 λ = 6 ⟹ λ = 6 7 \frac{\lambda}{2} + 2\lambda + \frac{9\lambda}{2} = 6 \implies \frac{\lambda + 4\lambda + 9\lambda}{2} = 6 \implies 7\lambda = 6 \implies \lambda = \frac{6}{7} 2 λ + 2 λ + 2 9 λ = 6 ⟹ 2 λ + 4 λ + 9 λ = 6 ⟹ 7 λ = 6 ⟹ λ = 7 6
Therefore x = 3 / 7 x = 3/7 x = 3/7 , y = 6 / 7 y = 6/7 y = 6/7 , z = 9 / 7 z = 9/7 z = 9/7 . The closest point is ( 3 / 7 , 6 / 7 , 9 / 7 ) (3/7,\, 6/7,\, 9/7) ( 3/7 , 6/7 , 9/7 ) with Distance 9 / 49 + 36 / 49 + 81 / 49 = 126 / 49 = 3 14 7 \sqrt{9/49 + 36/49 + 81/49} = \sqrt{126/49} = \frac{3\sqrt{14}}{7} 9/49 + 36/49 + 81/49 = 126/49 = 7 3 14 . ■ \blacksquare ■
Problem. Maximise f ( x , y , z ) = x y z f(x,y,z) = xyz f ( x , y , z ) = x y z subject to x + y + z = 1 x + y + z = 1 x + y + z = 1 and x 2 + y 2 + z 2 = 1 / 3 x^2 + y^2 + z^2 = 1/3 x 2 + y 2 + z 2 = 1/3 .
Solution Set g 1 = x + y + z − 1 g_1 = x + y + z - 1 g 1 = x + y + z − 1 and g 2 = x 2 + y 2 + z 2 − 1 / 3 g_2 = x^2 + y^2 + z^2 - 1/3 g 2 = x 2 + y 2 + z 2 − 1/3 . The Lagrange multiplier system is:
∇ f = λ 1 ∇ g 1 + λ 2 ∇ g 2 \nabla f = \lambda_1 \nabla g_1 + \lambda_2 \nabla g_2 ∇ f = λ 1 ∇ g 1 + λ 2 ∇ g 2
( y z , x z , x y ) = λ 1 ( 1 , 1 , 1 ) + λ 2 ( 2 x , 2 y , 2 z ) (yz, xz, xy) = \lambda_1(1, 1, 1) + \lambda_2(2x, 2y, 2z) ( y z , x z , x y ) = λ 1 ( 1 , 1 , 1 ) + λ 2 ( 2 x , 2 y , 2 z )
This gives three equations:
y z = λ 1 + 2 λ 2 x , x z = λ 1 + 2 λ 2 y , x y = λ 1 + 2 λ 2 z yz = \lambda_1 + 2\lambda_2 x, \quad xz = \lambda_1 + 2\lambda_2 y, \quad xy = \lambda_1 + 2\lambda_2 z y z = λ 1 + 2 λ 2 x , x z = λ 1 + 2 λ 2 y , x y = λ 1 + 2 λ 2 z
Subtracting the first two: z ( y − x ) = 2 λ 2 ( x − y ) z(y - x) = 2\lambda_2(x - y) z ( y − x ) = 2 λ 2 ( x − y ) Giving ( y − x ) ( z + 2 λ 2 ) = 0 (y - x)(z + 2\lambda_2) = 0 ( y − x ) ( z + 2 λ 2 ) = 0 .
Similarly, ( z − y ) ( x + 2 λ 2 ) = 0 (z - y)(x + 2\lambda_2) = 0 ( z − y ) ( x + 2 λ 2 ) = 0 and ( x − z ) ( y + 2 λ 2 ) = 0 (x - z)(y + 2\lambda_2) = 0 ( x − z ) ( y + 2 λ 2 ) = 0 .
If x = y = z x = y = z x = y = z : From g 1 g_1 g 1 : 3 x = 1 3x = 1 3 x = 1 So x = 1 / 3 x = 1/3 x = 1/3 . From g 2 g_2 g 2 : 3 ( 1 / 9 ) = 1 / 3 3(1/9) = 1/3 3 ( 1/9 ) = 1/3 . This satisfies both constraints.
At ( 1 / 3 , 1 / 3 , 1 / 3 ) (1/3, 1/3, 1/3) ( 1/3 , 1/3 , 1/3 ) : f = 1 / 27 f = 1/27 f = 1/27 .
If x ≠ y x \neq y x = y : Then z + 2 λ 2 = 0 z + 2\lambda_2 = 0 z + 2 λ 2 = 0 . If also y ≠ z y \neq z y = z : x + 2 λ 2 = 0 x + 2\lambda_2 = 0 x + 2 λ 2 = 0 So x = z x = z x = z .
With x = z x = z x = z : from x + y + z = 1 x + y + z = 1 x + y + z = 1 : 2 x + y = 1 2x + y = 1 2 x + y = 1 . From 2 x 2 + y 2 = 1 / 3 2x^2 + y^2 = 1/3 2 x 2 + y 2 = 1/3 : Substituting y = 1 − 2 x y = 1 - 2x y = 1 − 2 x : 6 x 2 − 4 x + 2 / 3 = 0 6x^2 - 4x + 2/3 = 0 6 x 2 − 4 x + 2/3 = 0 I.e., ( 3 x − 1 ) 2 = 0 (3x - 1)^2 = 0 ( 3 x − 1 ) 2 = 0 So x = 1 / 3 x = 1/3 x = 1/3 y = 1 / 3 y = 1/3 y = 1/3 . This reduces to the symmetric case.
Therefore the only critical point is ( 1 / 3 , 1 / 3 , 1 / 3 ) (1/3, 1/3, 1/3) ( 1/3 , 1/3 , 1/3 ) Which gives f = 1 / 27 f = 1/27 f = 1/27 .
Since the constraint set is compact (intersection of a plane and a sphere in R 3 \mathbb{R}^3 R 3 ), the Extreme value theorem guarantees both a maximum and minimum exist. The maximum of x y z xyz x y z is 1 / 27 1/27 1/27 at ( 1 / 3 , 1 / 3 , 1 / 3 ) (1/3, 1/3, 1/3) ( 1/3 , 1/3 , 1/3 ) . ■ \blacksquare ■
:::caution Common Pitfalls
Lagrange multipliers find candidates only. The method produces candidates for constrained extrema but does not guarantee they are extrema. Always evaluate f f f at all candidates and use additional reasoning (e.g., compactness of the constraint set via the extreme value theorem) to determine which gives the max/min.Boundary vs. Interior. For unconstrained problems on a closed, bounded domain, check both interior critical points and boundary points separately.Degenerate Hessian. When the Hessian determinant D = 0 D = 0 D = 0 The second derivative test is inconclusive. Use higher-order Taylor expansions or direct analysis of the function near the critical point.Non-normalised constraint gradients. Ensure the constraint functions are written in the form g = 0 g = 0 g = 0 ; multiplying g g g by a constant changes λ \lambda λ but not the critical points. :::A parametric curve in R 3 \mathbb{R}^3 R 3 is a C 1 C^1 C 1 function r : [ a , b ] → R 3 \mathbf{r} : [a, b] \to \mathbb{R}^3 r : [ a , b ] → R 3 Written r ( t ) = ( x ( t ) , y ( t ) , z ( t ) ) \mathbf{r}(t) = (x(t),\, y(t),\, z(t)) r ( t ) = ( x ( t ) , y ( t ) , z ( t )) .
Definition. The arc length of r \mathbf{r} r over [ a , b ] [a, b] [ a , b ] is
L = ∫ a b ∥ r ′ ( t ) ∥ d t = ∫ a b ( d x d t ) 2 + ( d y d t ) 2 + ( d z d t ) 2 d t L = \int_a^b \lVert \mathbf{r}'(t) \rVert\, dt = \int_a^b \sqrt{\left(\frac{dx}{dt}\right)^2 + \left(\frac{dy}{dt}\right)^2 + \left(\frac{dz}{dt}\right)^2}\, dt L = ∫ a b ∥ r ′ ( t )∥ d t = ∫ a b ( d t d x ) 2 + ( d t d y ) 2 + ( d t d z ) 2 d t
Proposition 5.1. The arc length function s ( t ) = ∫ a t ∥ r ′ ( τ ) ∥ d τ s(t) = \int_a^t \lVert \mathbf{r}'(\tau) \rVert\, d\tau s ( t ) = ∫ a t ∥ r ′ ( τ )∥ d τ Satisfies d s d t = ∥ r ′ ( t ) ∥ \frac{ds}{dt} = \lVert \mathbf{r}'(t) \rVert d t d s = ∥ r ′ ( t )∥ And reparametrising by arc length gives a Unit-speed curve: ∥ d r d s ∥ = 1 \lVert \frac{d\mathbf{r}}{ds} \rVert = 1 ∥ d s d r ∥ = 1 .
Proof. By the Fundamental Theorem of Calculus, d s d t = ∥ r ′ ( t ) ∥ \frac{ds}{dt} = \lVert \mathbf{r}'(t) \rVert d t d s = ∥ r ′ ( t )∥ . If we reparametrise by s s s I.e., write r ( s ) = r ( t ( s ) ) \mathbf{r}(s) = \mathbf{r}(t(s)) r ( s ) = r ( t ( s )) Then by the chain rule d r d s = r ′ ( t ) ⋅ d t d s \frac{d\mathbf{r}}{ds} = \mathbf{r}'(t) \cdot \frac{dt}{ds} d s d r = r ′ ( t ) ⋅ d s d t So ∥ d r d s ∥ = ∥ r ′ ( t ) ∥ ⋅ ∣ d t d s ∣ = 1 \lVert \frac{d\mathbf{r}}{ds} \rVert = \lVert \mathbf{r}'(t) \rVert \cdot \left\lvert \frac{dt}{ds} \right\rvert = 1 ∥ d s d r ∥ = ∥ r ′ ( t )∥ ⋅ d s d t = 1 . ■ \blacksquare ■
Problem. Find the arc length of the curve r ( t ) = ( e t cos t , e t sin t , e t ) \mathbf{r}(t) = (e^t \cos t,\, e^t \sin t,\, e^t) r ( t ) = ( e t cos t , e t sin t , e t ) for 0 ≤ t ≤ ln 2 0 \leq t \leq \ln 2 0 ≤ t ≤ ln 2 .
Solution r ′ ( t ) = ( e t cos t − e t sin t , e t sin t + e t cos t , e t ) \mathbf{r}'(t) = (e^t \cos t - e^t \sin t,\, e^t \sin t + e^t \cos t,\, e^t) r ′ ( t ) = ( e t cos t − e t sin t , e t sin t + e t cos t , e t )
∥ r ′ ( t ) ∥ 2 = e 2 t ( cos t − sin t ) 2 + e 2 t ( sin t + cos t ) 2 + e 2 t \lVert \mathbf{r}'(t) \rVert^2 = e^{2t}(\cos t - \sin t)^2 + e^{2t}(\sin t + \cos t)^2 + e^{2t} ∥ r ′ ( t ) ∥ 2 = e 2 t ( cos t − sin t ) 2 + e 2 t ( sin t + cos t ) 2 + e 2 t
= e 2 t [ ( cos 2 t − 2 sin t cos t + sin 2 t ) + ( sin 2 t + 2 sin t cos t + cos 2 t ) + 1 ] = e^{2t}[(\cos^2 t - 2\sin t \cos t + \sin^2 t) + (\sin^2 t + 2\sin t \cos t + \cos^2 t) + 1] = e 2 t [( cos 2 t − 2 sin t cos t + sin 2 t ) + ( sin 2 t + 2 sin t cos t + cos 2 t ) + 1 ]
= e 2 t [ 1 + 1 + 1 ] = 3 e 2 t = e^{2t}[1 + 1 + 1] = 3e^{2t} = e 2 t [ 1 + 1 + 1 ] = 3 e 2 t
∥ r ′ ( t ) ∥ = 3 e t \lVert \mathbf{r}'(t) \rVert = \sqrt{3}\, e^t ∥ r ′ ( t )∥ = 3 e t
L = ∫ 0 ln 2 3 e t d t = 3 [ e t ] 0 ln 2 = 3 ( 2 − 1 ) = 3 L = \int_0^{\ln 2} \sqrt{3}\, e^t\, dt = \sqrt{3}\, [e^t]_0^{\ln 2} = \sqrt{3}(2 - 1) = \sqrt{3} L = ∫ 0 l n 2 3 e t d t = 3 [ e t ] 0 l n 2 = 3 ( 2 − 1 ) = 3
■ \blacksquare ■
Problem. Find the arc length of the helix r ( t ) = ( cos t , sin t , t ) \mathbf{r}(t) = (\cos t,\, \sin t,\, t) r ( t ) = ( cos t , sin t , t ) for 0 ≤ t ≤ 4 π 0 \leq t \leq 4\pi 0 ≤ t ≤ 4 π .
Solution r ′ ( t ) = ( − sin t , cos t , 1 ) \mathbf{r}'(t) = (-\sin t,\, \cos t,\, 1) r ′ ( t ) = ( − sin t , cos t , 1 ) So ∥ r ′ ( t ) ∥ = sin 2 t + cos 2 t + 1 = 2 \lVert \mathbf{r}'(t) \rVert = \sqrt{\sin^2 t + \cos^2 t + 1} = \sqrt{2} ∥ r ′ ( t )∥ = sin 2 t + cos 2 t + 1 = 2 .
L = ∫ 0 4 π 2 d t = 4 2 π L = \int_0^{4\pi} \sqrt{2}\, dt = 4\sqrt{2}\,\pi L = ∫ 0 4 π 2 d t = 4 2 π
■ \blacksquare ■
Definition. Let r ( s ) \mathbf{r}(s) r ( s ) be a unit-speed curve (∥ r ′ ( s ) ∥ = 1 \lVert \mathbf{r}'(s) \rVert = 1 ∥ r ′ ( s )∥ = 1 ). Define:
Unit tangent vector: T ( s ) = r ′ ( s ) \mathbf{T}(s) = \mathbf{r}'(s) T ( s ) = r ′ ( s ) Curvature: κ ( s ) = ∥ T ′ ( s ) ∥ = ∥ r ′ ′ ( s ) ∥ \kappa(s) = \lVert \mathbf{T}'(s) \rVert = \lVert \mathbf{r}''(s) \rVert κ ( s ) = ∥ T ′ ( s )∥ = ∥ r ′′ ( s )∥ Principal normal: N ( s ) = T ′ ( s ) ∥ T ′ ( s ) ∥ \mathbf{N}(s) = \frac{\mathbf{T}'(s)}{\lVert \mathbf{T}'(s) \rVert} N ( s ) = ∥ T ′ ( s )∥ T ′ ( s ) (when κ ≠ 0 \kappa \neq 0 κ = 0 )Binormal: B ( s ) = T ( s ) × N ( s ) \mathbf{B}(s) = \mathbf{T}(s) \times \mathbf{N}(s) B ( s ) = T ( s ) × N ( s ) Torsion: τ ( s ) = − B ′ ( s ) ⋅ N ( s ) \tau(s) = -\mathbf{B}'(s) \cdot \mathbf{N}(s) τ ( s ) = − B ′ ( s ) ⋅ N ( s ) The vectors T \mathbf{T} T , N \mathbf{N} N , B \mathbf{B} B form the Frenet—Serret frame , an orthonormal Basis that moves with the curve.
Theorem 5.2 (Frenet—Serret Formulas).
T ′ = κ N , N ′ = − κ T + τ B , B ′ = − τ N \mathbf{T}' = \kappa\, \mathbf{N}, \quad \mathbf{N}' = -\kappa\, \mathbf{T} + \tau\, \mathbf{B}, \quad \mathbf{B}' = -\tau\, \mathbf{N} T ′ = κ N , N ′ = − κ T + τ B , B ′ = − τ N
Proof. Since T \mathbf{T} T is a unit vector, T ⋅ T = 1 \mathbf{T} \cdot \mathbf{T} = 1 T ⋅ T = 1 So T ′ ⋅ T = 0 \mathbf{T}' \cdot \mathbf{T} = 0 T ′ ⋅ T = 0 . Therefore T ′ \mathbf{T}' T ′ is orthogonal to T \mathbf{T} T So T ′ \mathbf{T}' T ′ is parallel to N \mathbf{N} N (when κ ≠ 0 \kappa \neq 0 κ = 0 ). This gives T ′ = κ N \mathbf{T}' = \kappa\,\mathbf{N} T ′ = κ N .
Similarly, B = T × N \mathbf{B} = \mathbf{T} \times \mathbf{N} B = T × N is a unit vector, so B ′ ⋅ B = 0 \mathbf{B}' \cdot \mathbf{B} = 0 B ′ ⋅ B = 0 . Also B ⋅ T = 0 \mathbf{B} \cdot \mathbf{T} = 0 B ⋅ T = 0 So B ′ ⋅ T + B ⋅ T ′ = 0 \mathbf{B}' \cdot \mathbf{T} + \mathbf{B} \cdot \mathbf{T}' = 0 B ′ ⋅ T + B ⋅ T ′ = 0 Giving B ′ ⋅ T = − B ⋅ κ N = 0 \mathbf{B}' \cdot \mathbf{T} = -\mathbf{B} \cdot \kappa\,\mathbf{N} = 0 B ′ ⋅ T = − B ⋅ κ N = 0 . So B ′ \mathbf{B}' B ′ is Parallel to N \mathbf{N} N Giving B ′ = − τ N \mathbf{B}' = -\tau\,\mathbf{N} B ′ = − τ N .
For N ′ \mathbf{N}' N ′ : since { T , N , B } \{\mathbf{T}, \mathbf{N}, \mathbf{B}\} { T , N , B } is an orthonormal basis, N ′ = ( N ′ ⋅ T ) T + ( N ′ ⋅ N ) N + ( N ′ ⋅ B ) B \mathbf{N}' = (\mathbf{N}' \cdot \mathbf{T})\,\mathbf{T} + (\mathbf{N}' \cdot \mathbf{N})\,\mathbf{N} + (\mathbf{N}' \cdot \mathbf{B})\,\mathbf{B} N ′ = ( N ′ ⋅ T ) T + ( N ′ ⋅ N ) N + ( N ′ ⋅ B ) B . From N ⋅ T = 0 \mathbf{N} \cdot \mathbf{T} = 0 N ⋅ T = 0 : N ′ ⋅ T = − N ⋅ T ′ = − κ \mathbf{N}' \cdot \mathbf{T} = -\mathbf{N} \cdot \mathbf{T}' = -\kappa N ′ ⋅ T = − N ⋅ T ′ = − κ . From N ⋅ N = 1 \mathbf{N} \cdot \mathbf{N} = 1 N ⋅ N = 1 : N ′ ⋅ N = 0 \mathbf{N}' \cdot \mathbf{N} = 0 N ′ ⋅ N = 0 . From N ⋅ B = 0 \mathbf{N} \cdot \mathbf{B} = 0 N ⋅ B = 0 : N ′ ⋅ B = − N ⋅ B ′ = τ \mathbf{N}' \cdot \mathbf{B} = -\mathbf{N} \cdot \mathbf{B}' = \tau N ′ ⋅ B = − N ⋅ B ′ = τ . This gives N ′ = − κ T + τ B \mathbf{N}' = -\kappa\,\mathbf{T} + \tau\,\mathbf{B} N ′ = − κ T + τ B . ■ \blacksquare ■
Intuition. The curvature κ \kappa κ measures how sharply the curve bends (deviation from a straight line). The torsion τ \tau τ measures how sharply the curve twists out of the osculating plane (deviation from a Plane curve). A curve lies in a plane if and only if τ = 0 \tau = 0 τ = 0 everywhere.
For a curve parameterised by an arbitrary parameter t t t (not necessarily unit-speed):
κ = ∥ r ′ ( t ) × r ′ ′ ( t ) ∥ ∥ r ′ ( t ) ∥ 3 \kappa = \frac{\lVert \mathbf{r}'(t) \times \mathbf{r}''(t) \rVert}{\lVert \mathbf{r}'(t) \rVert^3} κ = ∥ r ′ ( t ) ∥ 3 ∥ r ′ ( t ) × r ′′ ( t )∥
τ = [ r ′ ( t ) × r ′ ′ ( t ) ] ⋅ r ′ ′ ′ ( t ) ∥ r ′ ( t ) × r ′ ′ ( t ) ∥ 2 \tau = \frac{[\mathbf{r}'(t) \times \mathbf{r}''(t)] \cdot \mathbf{r}^{\prime\prime\prime}(t)}{\lVert \mathbf{r}'(t) \times \mathbf{r}''(t) \rVert^2} τ = ∥ r ′ ( t ) × r ′′ ( t ) ∥ 2 [ r ′ ( t ) × r ′′ ( t )] ⋅ r ′′′ ( t )
Problem. Find the curvature and torsion of the helix r ( t ) = ( a cos t , a sin t , b t ) \mathbf{r}(t) = (a\cos t,\, a\sin t,\, bt) r ( t ) = ( a cos t , a sin t , b t ) where a , b > 0 a, b \gt 0 a , b > 0 .
Solution r ′ ( t ) = ( − a sin t , a cos t , b ) \mathbf{r}'(t) = (-a\sin t,\, a\cos t,\, b) r ′ ( t ) = ( − a sin t , a cos t , b )
r ′ ′ ( t ) = ( − a cos t , − a sin t , 0 ) \mathbf{r}''(t) = (-a\cos t,\, -a\sin t,\, 0) r ′′ ( t ) = ( − a cos t , − a sin t , 0 )
r ′ ′ ′ ( t ) = ( a sin t , − a cos t , 0 ) \mathbf{r}^{\prime\prime\prime}(t) = (a\sin t,\, -a\cos t,\, 0) r ′′′ ( t ) = ( a sin t , − a cos t , 0 )
∥ r ′ ∥ = a 2 + b 2 \lVert \mathbf{r}' \rVert = \sqrt{a^2 + b^2} ∥ r ′ ∥ = a 2 + b 2
r ′ × r ′ ′ = ∣ i j k − a sin t a cos t b − a cos t − a sin t 0 ∣ = ( a b sin t , − a b cos t , a 2 ) \mathbf{r}' \times \mathbf{r}'' = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ -a\sin t & a\cos t & b \\ -a\cos t & -a\sin t & 0 \end{vmatrix} = (ab\sin t,\, -ab\cos t,\, a^2) r ′ × r ′′ = i − a sin t − a cos t j a cos t − a sin t k b 0 = ( ab sin t , − ab cos t , a 2 )
∥ r ′ × r ′ ′ ∥ = a 2 b 2 + a 4 = a a 2 + b 2 \lVert \mathbf{r}' \times \mathbf{r}'' \rVert = \sqrt{a^2 b^2 + a^4} = a\sqrt{a^2 + b^2} ∥ r ′ × r ′′ ∥ = a 2 b 2 + a 4 = a a 2 + b 2
κ = a a 2 + b 2 ( a 2 + b 2 ) 3 / 2 = a a 2 + b 2 \kappa = \frac{a\sqrt{a^2 + b^2}}{(a^2 + b^2)^{3/2}} = \frac{a}{a^2 + b^2} κ = ( a 2 + b 2 ) 3/2 a a 2 + b 2 = a 2 + b 2 a
For the torsion:
( r ′ × r ′ ′ ) ⋅ r ′ ′ ′ = a b sin t ⋅ a sin t + ( − a b cos t ) ( − a cos t ) + a 2 ⋅ 0 = a 2 b (\mathbf{r}' \times \mathbf{r}'') \cdot \mathbf{r}^{\prime\prime\prime} = ab\sin t \cdot a\sin t + (-ab\cos t)(-a\cos t) + a^2 \cdot 0 = a^2 b ( r ′ × r ′′ ) ⋅ r ′′′ = ab sin t ⋅ a sin t + ( − ab cos t ) ( − a cos t ) + a 2 ⋅ 0 = a 2 b
τ = a 2 b a 2 ( a 2 + b 2 ) = b a 2 + b 2 \tau = \frac{a^2 b}{a^2(a^2 + b^2)} = \frac{b}{a^2 + b^2} τ = a 2 ( a 2 + b 2 ) a 2 b = a 2 + b 2 b
■ \blacksquare ■
Remark. The helix has constant curvature and constant torsion, reflecting its uniform geometry.
A parametric surface is a C 1 C^1 C 1 map r : D ⊆ R 2 → R 3 \mathbf{r} : D \subseteq \mathbb{R}^2 \to \mathbb{R}^3 r : D ⊆ R 2 → R 3 r ( u , v ) = ( x ( u , v ) , y ( u , v ) , z ( u , v ) ) \mathbf{r}(u, v) = (x(u,v),\, y(u,v),\, z(u,v)) r ( u , v ) = ( x ( u , v ) , y ( u , v ) , z ( u , v )) .
The tangent plane at r ( u 0 , v 0 ) \mathbf{r}(u_0, v_0) r ( u 0 , v 0 ) is spanned by the tangent vectors
r u = ∂ r ∂ u , r v = ∂ r ∂ v \mathbf{r}_u = \frac{\partial \mathbf{r}}{\partial u}, \quad \mathbf{r}_v = \frac{\partial \mathbf{r}}{\partial v} r u = ∂ u ∂ r , r v = ∂ v ∂ r
The unit normal to the surface is
n = r u × r v ∥ r u × r v ∥ \mathbf{n} = \frac{\mathbf{r}_u \times \mathbf{r}_v}{\lVert \mathbf{r}_u \times \mathbf{r}_v \rVert} n = ∥ r u × r v ∥ r u × r v
Examples of parametric surfaces:
Sphere (spherical coordinates): r ( θ , ϕ ) = ( ρ sin ϕ cos θ , ρ sin ϕ sin θ , ρ cos ϕ ) \mathbf{r}(\theta, \phi) = (\rho\sin\phi\cos\theta,\, \rho\sin\phi\sin\theta,\, \rho\cos\phi) r ( θ , ϕ ) = ( ρ sin ϕ cos θ , ρ sin ϕ sin θ , ρ cos ϕ ) Cylinder: r ( θ , z ) = ( r cos θ , r sin θ , z ) \mathbf{r}(\theta, z) = (r\cos\theta,\, r\sin\theta,\, z) r ( θ , z ) = ( r cos θ , r sin θ , z ) Graph of z = f ( x , y ) z = f(x,y) z = f ( x , y ) : r ( x , y ) = ( x , y , f ( x , y ) ) \mathbf{r}(x, y) = (x,\, y,\, f(x,y)) r ( x , y ) = ( x , y , f ( x , y )) For the graph z = f ( x , y ) z = f(x,y) z = f ( x , y ) The normal is n = ( − f x , − f y , 1 ) 1 + f x 2 + f y 2 \mathbf{n} = \frac{(-f_x,\, -f_y,\, 1)}{\sqrt{1 + f_x^2 + f_y^2}} n = 1 + f x 2 + f y 2 ( − f x , − f y , 1 ) .
Definition. The area of a parametric surface r : D → R 3 \mathbf{r} : D \to \mathbb{R}^3 r : D → R 3 is
A ( S ) = ∬ D ∥ r u × r v ∥ d u d v A(S) = \iint_D \lVert \mathbf{r}_u \times \mathbf{r}_v \rVert\, du\, dv A ( S ) = ∬ D ∥ r u × r v ∥ d u d v
Derivation. Partition D D D into small rectangles D i j D_{ij} D ij of area Δ u Δ v \Delta u\, \Delta v Δ u Δ v . The image r ( D i j ) \mathbf{r}(D_{ij}) r ( D ij ) is approximately a parallelogram spanned by r u Δ u \mathbf{r}_u\, \Delta u r u Δ u and r v Δ v \mathbf{r}_v\, \Delta v r v Δ v With area ∥ r u × r v ∥ Δ u Δ v \lVert \mathbf{r}_u \times \mathbf{r}_v \rVert\, \Delta u\, \Delta v ∥ r u × r v ∥ Δ u Δ v . Summing and taking the limit gives the formula. ■ \blacksquare ■
Problem. Find the surface area of the part of the paraboloid z = x 2 + y 2 z = x^2 + y^2 z = x 2 + y 2 that lies below The plane z = 4 z = 4 z = 4 .
Solution Parametrise by r ( x , y ) = ( x , y , x 2 + y 2 ) \mathbf{r}(x, y) = (x,\, y,\, x^2 + y^2) r ( x , y ) = ( x , y , x 2 + y 2 ) where x 2 + y 2 ≤ 4 x^2 + y^2 \leq 4 x 2 + y 2 ≤ 4 .
r x = ( 1 , 0 , 2 x ) \mathbf{r}_x = (1,\, 0,\, 2x) r x = ( 1 , 0 , 2 x ) , r y = ( 0 , 1 , 2 y ) \mathbf{r}_y = (0,\, 1,\, 2y) r y = ( 0 , 1 , 2 y ) .
r x × r y = ∣ i j k 1 0 2 x 0 1 2 y ∣ = ( − 2 x , − 2 y , 1 ) \mathbf{r}_x \times \mathbf{r}_y = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 1 & 0 & 2x \\ 0 & 1 & 2y \end{vmatrix} = (-2x,\, -2y,\, 1) r x × r y = i 1 0 j 0 1 k 2 x 2 y = ( − 2 x , − 2 y , 1 )
∥ r x × r y ∥ = 4 x 2 + 4 y 2 + 1 \lVert \mathbf{r}_x \times \mathbf{r}_y \rVert = \sqrt{4x^2 + 4y^2 + 1} ∥ r x × r y ∥ = 4 x 2 + 4 y 2 + 1
A = ∬ x 2 + y 2 ≤ 4 4 x 2 + 4 y 2 + 1 d x d y A = \iint_{x^2+y^2 \leq 4} \sqrt{4x^2 + 4y^2 + 1}\, dx\, dy A = ∬ x 2 + y 2 ≤ 4 4 x 2 + 4 y 2 + 1 d x d y
Use polar coordinates: x = r cos θ x = r\cos\theta x = r cos θ , y = r sin θ y = r\sin\theta y = r sin θ , 0 ≤ r ≤ 2 0 \leq r \leq 2 0 ≤ r ≤ 2 , 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π .
A = ∫ 0 2 π ∫ 0 2 4 r 2 + 1 r d r d θ A = \int_0^{2\pi} \int_0^2 \sqrt{4r^2 + 1}\, r\, dr\, d\theta A = ∫ 0 2 π ∫ 0 2 4 r 2 + 1 r d r d θ
Let u = 4 r 2 + 1 u = 4r^2 + 1 u = 4 r 2 + 1 , d u = 8 r d r du = 8r\, dr d u = 8 r d r :
= 2 π ⋅ 1 8 ∫ 1 17 u d u = π 4 [ 2 u 3 / 2 3 ] 1 17 = π 6 ( 17 3 / 2 − 1 ) = 2\pi \cdot \frac{1}{8} \int_1^{17} \sqrt{u}\, du = \frac{\pi}{4}\left[\frac{2u^{3/2}}{3}\right]_1^{17} = \frac{\pi}{6}(17^{3/2} - 1) = 2 π ⋅ 8 1 ∫ 1 17 u d u = 4 π [ 3 2 u 3/2 ] 1 17 = 6 π ( 1 7 3/2 − 1 )
■ \blacksquare ■
Definition (Scalar surface integral). The integral of a scalar function f f f over a parametric Surface S S S is
∬ S f d S = ∬ D f ( r ( u , v ) ) ∥ r u × r v ∥ d u d v \iint_S f\, dS = \iint_D f(\mathbf{r}(u,v))\, \lVert \mathbf{r}_u \times \mathbf{r}_v \rVert\, du\, dv ∬ S f d S = ∬ D f ( r ( u , v )) ∥ r u × r v ∥ d u d v
Definition (Vector surface integral / flux). The flux of a vector field F \mathbf{F} F through an Oriented surface S S S is
∬ S F ⋅ d S = ∬ D F ( r ( u , v ) ) ⋅ ( r u × r v ) d u d v \iint_S \mathbf{F} \cdot d\mathbf{S} = \iint_D \mathbf{F}(\mathbf{r}(u,v)) \cdot (\mathbf{r}_u \times \mathbf{r}_v)\, du\, dv ∬ S F ⋅ d S = ∬ D F ( r ( u , v )) ⋅ ( r u × r v ) d u d v
Where the orientation is determined by the choice of normal r u × r v \mathbf{r}_u \times \mathbf{r}_v r u × r v vs. r v × r u \mathbf{r}_v \times \mathbf{r}_u r v × r u .
Problem. Evaluate ∬ S F ⋅ d S \iint_S \mathbf{F} \cdot d\mathbf{S} ∬ S F ⋅ d S where F = ( x , y , z 2 ) \mathbf{F} = (x,\, y,\, z^2) F = ( x , y , z 2 ) and S S S is the hemisphere x 2 + y 2 + z 2 = 4 x^2 + y^2 + z^2 = 4 x 2 + y 2 + z 2 = 4 , z ≥ 0 z \geq 0 z ≥ 0 With Upward orientation.
Solution Use the divergence theorem on the closed hemisphere plus the disk at z = 0 z = 0 z = 0 . Let E E E be the solid hemisphere. Then:
∬ c l o s e d S F ⋅ d S = ∭ E ∇ ⋅ F d V = ∭ E ( 1 + 1 + 2 z ) d V \iint_{\mathrm{closed\ S} \mathbf{F} \cdot d\mathbf{S} = \iiint_E \nabla \cdot \mathbf{F}\, dV = \iiint_E (1 + 1 + 2z)\, dV} ∬ closed S F ⋅ d S = ∭ E ∇ ⋅ F d V = ∭ E ( 1 + 1 + 2 z ) d V
= 2 V + 2 ∭ E z d V = 2V + 2\iiint_E z\, dV = 2 V + 2 ∭ E z d V
Where V = 1 2 ⋅ 4 3 π ( 2 3 ) = 16 π 3 V = \frac{1}{2} \cdot \frac{4}{3}\pi(2^3) = \frac{16\pi}{3} V = 2 1 ⋅ 3 4 π ( 2 3 ) = 3 16 π .
By symmetry, the centroid of a hemisphere of radius R = 2 R = 2 R = 2 is at z = 3 R / 8 = 3 / 4 z = 3R/8 = 3/4 z = 3 R /8 = 3/4 So
∭ E z d V = z ˉ ⋅ V = 3 4 ⋅ 16 π 3 = 4 π \iiint_E z\, dV = \bar{z} \cdot V = \frac{3}{4} \cdot \frac{16\pi}{3} = 4\pi ∭ E z d V = z ˉ ⋅ V = 4 3 ⋅ 3 16 π = 4 π
= 2 ⋅ 16 π 3 + 2 ⋅ 4 π = 32 π 3 + 8 π = 56 π 3 = 2 \cdot \frac{16\pi}{3} + 2 \cdot 4\pi = \frac{32\pi}{3} + 8\pi = \frac{56\pi}{3} = 2 ⋅ 3 16 π + 2 ⋅ 4 π = 3 32 π + 8 π = 3 56 π
The flux through the disk z = 0 z = 0 z = 0 , x 2 + y 2 ≤ 4 x^2 + y^2 \leq 4 x 2 + y 2 ≤ 4 (with downward normal − k -\mathbf{k} − k ): ∬ d i s k F ⋅ ( − k ) d S = ∬ d i s k 0 d S = 0 \iint_{\mathrm{disk} \mathbf{F} \cdot (-\mathbf{k})\, dS = \iint_{\mathrm{disk} 0\, dS = 0}} ∬ disk F ⋅ ( − k ) d S = ∬ disk 0 d S = 0 .
So the flux through the hemisphere alone is 56 π 3 \frac{56\pi}{3} 3 56 π . ■ \blacksquare ■
Problem. Evaluate ∬ S z d S \iint_S z\, dS ∬ S z d S where S S S is the part of the plane 2 x + 2 y + z = 4 2x + 2y + z = 4 2 x + 2 y + z = 4 in the First octant.
Solution Parametrise the surface. Solve for z = 4 − 2 x − 2 y z = 4 - 2x - 2y z = 4 − 2 x − 2 y where x ≥ 0 x \geq 0 x ≥ 0 , y ≥ 0 y \geq 0 y ≥ 0 , z ≥ 0 z \geq 0 z ≥ 0 I.e., 2 x + 2 y ≤ 4 2x + 2y \leq 4 2 x + 2 y ≤ 4 or x + y ≤ 2 x + y \leq 2 x + y ≤ 2 .
r ( x , y ) = ( x , y , 4 − 2 x − 2 y ) \mathbf{r}(x,y) = (x,\, y,\, 4 - 2x - 2y) r ( x , y ) = ( x , y , 4 − 2 x − 2 y ) , D = ( x , y ) : x ≥ 0 , y ≥ 0 , x + y ≤ 2 D = \\{(x,y) : x \geq 0,\, y \geq 0,\, x + y \leq 2\\} D = ( x , y ) : x ≥ 0 , y ≥ 0 , x + y ≤ 2 .
r x = ( 1 , 0 , − 2 ) \mathbf{r}_x = (1,\, 0,\, -2) r x = ( 1 , 0 , − 2 ) , r y = ( 0 , 1 , − 2 ) \mathbf{r}_y = (0,\, 1,\, -2) r y = ( 0 , 1 , − 2 ) .
r x × r y = ( 2 , 2 , 1 ) \mathbf{r}_x \times \mathbf{r}_y = (2,\, 2,\, 1) r x × r y = ( 2 , 2 , 1 )
∥ r x × r y ∥ = 4 + 4 + 1 = 3 \lVert \mathbf{r}_x \times \mathbf{r}_y \rVert = \sqrt{4 + 4 + 1} = 3 ∥ r x × r y ∥ = 4 + 4 + 1 = 3
∬ S z d S = ∬ D ( 4 − 2 x − 2 y ) ⋅ 3 d x d y = 3 ∫ 0 2 ∫ 0 2 − x ( 4 − 2 x − 2 y ) d y d x \iint_S z\, dS = \iint_D (4 - 2x - 2y) \cdot 3\, dx\, dy = 3 \int_0^2 \int_0^{2-x} (4 - 2x - 2y)\, dy\, dx ∬ S z d S = ∬ D ( 4 − 2 x − 2 y ) ⋅ 3 d x d y = 3 ∫ 0 2 ∫ 0 2 − x ( 4 − 2 x − 2 y ) d y d x
= 3 ∫ 0 2 [ ( 4 − 2 x ) y − y 2 ] 0 2 − x d x = 3 ∫ 0 2 ( 2 − x ) ( 2 − x ) d x = 3 \int_0^2 \left[(4-2x)y - y^2\right]_0^{2-x}\, dx = 3 \int_0^2 (2-x)(2-x)\, dx = 3 ∫ 0 2 [ ( 4 − 2 x ) y − y 2 ] 0 2 − x d x = 3 ∫ 0 2 ( 2 − x ) ( 2 − x ) d x
= 3 ∫ 0 2 ( 2 − x ) 2 d x = 3 [ − ( 2 − x ) 3 3 ] 0 2 = 3 ⋅ 8 3 = 8 = 3 \int_0^2 (2-x)^2\, dx = 3\left[-\frac{(2-x)^3}{3}\right]_0^2 = 3 \cdot \frac{8}{3} = 8 = 3 ∫ 0 2 ( 2 − x ) 2 d x = 3 [ − 3 ( 2 − x ) 3 ] 0 2 = 3 ⋅ 3 8 = 8
■ \blacksquare ■
:::caution Common Pitfalls
Parameterisation domain. Always verify that the parameterisation covers the entire surface and that the map is one-to-one (except possibly on the boundary).Normal orientation. The cross product r u × r v \mathbf{r}_u \times \mathbf{r}_v r u × r v determines the orientation. Swapping the order changes the sign of the flux integral.Surface area vs. Flux. Surface area uses ∥ r u × r v ∥ \lVert \mathbf{r}_u \times \mathbf{r}_v \rVert ∥ r u × r v ∥ (scalar), while flux uses r u × r v \mathbf{r}_u \times \mathbf{r}_v r u × r v (vector, oriented).Compute ∇ f \nabla f ∇ f for f ( x , y , z ) = ln ( x 2 + y 2 ) + e x z f(x,y,z) = \ln(x^2 + y^2) + e^{xz} f ( x , y , z ) = ln ( x 2 + y 2 ) + e x z and evaluate at ( 1 , 0 , 0 ) (1, 0, 0) ( 1 , 0 , 0 ) .
Solution f x = 2 x x 2 + y 2 + z e x z f_x = \frac{2x}{x^2+y^2} + ze^{xz} f x = x 2 + y 2 2 x + z e x z , f y = 2 y x 2 + y 2 f_y = \frac{2y}{x^2+y^2} f y = x 2 + y 2 2 y , f z = x e x z f_z = xe^{xz} f z = x e x z .
At ( 1 , 0 , 0 ) (1,0,0) ( 1 , 0 , 0 ) : f x = 2 + 0 = 2 f_x = 2 + 0 = 2 f x = 2 + 0 = 2 , f y = 0 f_y = 0 f y = 0 , f z = 1 f_z = 1 f z = 1 .
∇ f ( 1 , 0 , 0 ) = ( 2 , 0 , 1 ) \nabla f(1,0,0) = (2, 0, 1) ∇ f ( 1 , 0 , 0 ) = ( 2 , 0 , 1 ) .
If you get this wrong, revise: Section 1.4 The Gradient.
Let f ( x , y ) = x 3 − 3 x y 2 + y 3 f(x,y) = x^3 - 3xy^2 + y^3 f ( x , y ) = x 3 − 3 x y 2 + y 3 . Find all critical points and classify them using the second Derivative test.
Solution f x = 3 x 2 − 3 y 2 = 0 f_x = 3x^2 - 3y^2 = 0 f x = 3 x 2 − 3 y 2 = 0 and f y = − 6 x y + 3 y 2 = 3 y ( − 2 x + y ) = 0 f_y = -6xy + 3y^2 = 3y(-2x + y) = 0 f y = − 6 x y + 3 y 2 = 3 y ( − 2 x + y ) = 0 .
From f x = 0 f_x = 0 f x = 0 : x 2 = y 2 x^2 = y^2 x 2 = y 2 So y = ± x y = \pm x y = ± x .
If y = x y = x y = x : f y = 3 x ( − 2 x + x ) = − 3 x 2 = 0 f_y = 3x(-2x + x) = -3x^2 = 0 f y = 3 x ( − 2 x + x ) = − 3 x 2 = 0 So x = 0 x = 0 x = 0 . Point: ( 0 , 0 ) (0,0) ( 0 , 0 ) .
If y = − x y = -x y = − x : f y = 3 ( − x ) ( 2 x + x ) = − 9 x 2 = 0 f_y = 3(-x)(2x + x) = -9x^2 = 0 f y = 3 ( − x ) ( 2 x + x ) = − 9 x 2 = 0 So x = 0 x = 0 x = 0 . Point: ( 0 , 0 ) (0,0) ( 0 , 0 ) .
The only critical point is ( 0 , 0 ) (0, 0) ( 0 , 0 ) . Now f x x = 6 x f_{xx} = 6x f xx = 6 x , f y y = − 6 x + 6 y f_{yy} = -6x + 6y f y y = − 6 x + 6 y , f x y = − 6 y f_{xy} = -6y f x y = − 6 y .
At ( 0 , 0 ) (0,0) ( 0 , 0 ) : D = 0 ⋅ 0 − 0 = 0 D = 0 \cdot 0 - 0 = 0 D = 0 ⋅ 0 − 0 = 0 . The second derivative test is inconclusive.
To classify, note f ( x , y ) = x 3 − 3 x y 2 + y 3 f(x, y) = x^3 - 3xy^2 + y^3 f ( x , y ) = x 3 − 3 x y 2 + y 3 . Along y = 0 y = 0 y = 0 : f ( x , 0 ) = x 3 f(x, 0) = x^3 f ( x , 0 ) = x 3 Which changes sign At 0 0 0 . Along x = y x = y x = y : f ( x , x ) = − x 3 f(x, x) = -x^3 f ( x , x ) = − x 3 Which also changes sign but with opposite sign. Since the behaviour differs by direction, ( 0 , 0 ) (0, 0) ( 0 , 0 ) is a saddle point.
If you get this wrong, revise: Section 4.2 Second Derivative Test.
Find the directional derivative of f ( x , y ) = e x cos y f(x,y) = e^x \cos y f ( x , y ) = e x cos y at ( 0 , π / 2 ) (0, \pi/2) ( 0 , π /2 ) in the direction v = ( 1 , 1 ) \mathbf{v} = (1, 1) v = ( 1 , 1 ) .
Solution Normalise: ∥ v ∥ = 2 \lVert \mathbf{v} \rVert = \sqrt{2} ∥ v ∥ = 2 So u = ( 1 / 2 , 1 / 2 ) \mathbf{u} = (1/\sqrt{2},\, 1/\sqrt{2}) u = ( 1/ 2 , 1/ 2 ) .
f x = e x cos y f_x = e^x \cos y f x = e x cos y , f y = − e x sin y f_y = -e^x \sin y f y = − e x sin y .
∇ f ( 0 , π / 2 ) = ( e 0 cos ( π / 2 ) , − e 0 sin ( π / 2 ) ) = ( 0 , − 1 ) \nabla f(0, \pi/2) = (e^0 \cos(\pi/2),\, -e^0 \sin(\pi/2)) = (0, -1) ∇ f ( 0 , π /2 ) = ( e 0 cos ( π /2 ) , − e 0 sin ( π /2 )) = ( 0 , − 1 ) .
D u f = ( 0 , − 1 ) ⋅ ( 1 / 2 , 1 / 2 ) = − 1 2 D_{\mathbf{u}} f = (0, -1) \cdot (1/\sqrt{2},\, 1/\sqrt{2}) = -\frac{1}{\sqrt{2}} D u f = ( 0 , − 1 ) ⋅ ( 1/ 2 , 1/ 2 ) = − 2 1
If you get this wrong, revise: Section 1.5 Directional Derivatives.
If x 2 z + y 2 z 2 = 5 x^2 z + y^2 z^2 = 5 x 2 z + y 2 z 2 = 5 Find ∂ z ∂ x \frac{\partial z}{\partial x} ∂ x ∂ z at ( 1 , 1 , 1 ) (1, 1, 1) ( 1 , 1 , 1 ) .
Solution Let F ( x , y , z ) = x 2 z + y 2 z 2 − 5 F(x,y,z) = x^2 z + y^2 z^2 - 5 F ( x , y , z ) = x 2 z + y 2 z 2 − 5 . Then F x = 2 x z F_x = 2xz F x = 2 x z , F y = 2 y z 2 F_y = 2yz^2 F y = 2 y z 2 , F z = x 2 + 2 y 2 z F_z = x^2 + 2y^2 z F z = x 2 + 2 y 2 z .
At ( 1 , 1 , 1 ) (1,1,1) ( 1 , 1 , 1 ) : F x = 2 F_x = 2 F x = 2 , F z = 1 + 2 = 3 F_z = 1 + 2 = 3 F z = 1 + 2 = 3 .
∂ z ∂ x = − F x F z = − 2 3 \frac{\partial z}{\partial x} = -\frac{F_x}{F_z} = -\frac{2}{3} ∂ x ∂ z = − F z F x = − 3 2
If you get this wrong, revise: Section 1.9 Implicit Differentiation.
Write the second-order Taylor expansion of f ( x , y ) = sin ( x + y ) f(x,y) = \sin(x + y) f ( x , y ) = sin ( x + y ) at ( 0 , 0 ) (0, 0) ( 0 , 0 ) .
Solution f ( 0 , 0 ) = 0 f(0,0) = 0 f ( 0 , 0 ) = 0 , f x = cos ( x + y ) f_x = \cos(x+y) f x = cos ( x + y ) , f y = cos ( x + y ) f_y = \cos(x+y) f y = cos ( x + y ) So f x ( 0 , 0 ) = f y ( 0 , 0 ) = 1 f_x(0,0) = f_y(0,0) = 1 f x ( 0 , 0 ) = f y ( 0 , 0 ) = 1 .
f x x = − sin ( x + y ) f_{xx} = -\sin(x+y) f xx = − sin ( x + y ) , f x y = − sin ( x + y ) f_{xy} = -\sin(x+y) f x y = − sin ( x + y ) , f y y = − sin ( x + y ) f_{yy} = -\sin(x+y) f y y = − sin ( x + y ) So f x x ( 0 , 0 ) = f x y ( 0 , 0 ) = f y y ( 0 , 0 ) = 0 f_{xx}(0,0) = f_{xy}(0,0) = f_{yy}(0,0) = 0 f xx ( 0 , 0 ) = f x y ( 0 , 0 ) = f y y ( 0 , 0 ) = 0 .
f ( x , y ) = 0 + x + y + 1 2 ( 0 ⋅ x 2 + 2 ⋅ 0 ⋅ x y + 0 ⋅ y 2 ) + R 2 = x + y + R 2 f(x,y) = 0 + x + y + \frac{1}{2}(0 \cdot x^2 + 2 \cdot 0 \cdot xy + 0 \cdot y^2) + R_2 = x + y + R_2 f ( x , y ) = 0 + x + y + 2 1 ( 0 ⋅ x 2 + 2 ⋅ 0 ⋅ x y + 0 ⋅ y 2 ) + R 2 = x + y + R 2
Where R 2 = O ( ∣ x ∣ 3 + ∣ y ∣ 3 ) R_2 = O(\lvert x \rvert^3 + \lvert y \rvert^3) R 2 = O (∣ x ∣ 3 + ∣ y ∣ 3 ) .
If you get this wrong, revise: Section 1.10 Taylor’s Theorem.
Evaluate ∬ D ( x + y ) d A \iint_D (x + y)\, dA ∬ D ( x + y ) d A where D D D is bounded by y = x y = x y = x and y = x 2 y = x^2 y = x 2 .
Solution The curves intersect when x = x 2 x = x^2 x = x 2 I.e., x ( x − 1 ) = 0 x(x-1) = 0 x ( x − 1 ) = 0 So x = 0 x = 0 x = 0 and x = 1 x = 1 x = 1 . For x ∈ ( 0 , 1 ) x \in (0,1) x ∈ ( 0 , 1 ) x 2 < x x^2 \lt x x 2 < x So D = ( x , y ) : 0 ≤ x ≤ 1 , x 2 ≤ y ≤ x D = \\{(x,y) : 0 \leq x \leq 1,\, x^2 \leq y \leq x\\} D = ( x , y ) : 0 ≤ x ≤ 1 , x 2 ≤ y ≤ x .
∬ D ( x + y ) d A = ∫ 0 1 ∫ x 2 x ( x + y ) d y d x = ∫ 0 1 [ x y + y 2 2 ] x 2 x d x \iint_D (x + y)\, dA = \int_0^1 \int_{x^2}^x (x + y)\, dy\, dx = \int_0^1 \left[xy + \frac{y^2}{2}\right]_{x^2}^x\, dx ∬ D ( x + y ) d A = ∫ 0 1 ∫ x 2 x ( x + y ) d y d x = ∫ 0 1 [ x y + 2 y 2 ] x 2 x d x
= ∫ 0 1 ( x 2 + x 2 2 − x 3 − x 4 2 ) d x = ∫ 0 1 ( 3 x 2 2 − x 3 − x 4 2 ) d x = \int_0^1 \left(x^2 + \frac{x^2}{2} - x^3 - \frac{x^4}{2}\right)\, dx = \int_0^1 \left(\frac{3x^2}{2} - x^3 - \frac{x^4}{2}\right)\, dx = ∫ 0 1 ( x 2 + 2 x 2 − x 3 − 2 x 4 ) d x = ∫ 0 1 ( 2 3 x 2 − x 3 − 2 x 4 ) d x
= [ x 3 2 − x 4 4 − x 5 10 ] 0 1 = 1 2 − 1 4 − 1 10 = 10 − 5 − 2 20 = 3 20 = \left[\frac{x^3}{2} - \frac{x^4}{4} - \frac{x^5}{10}\right]_0^1 = \frac{1}{2} - \frac{1}{4} - \frac{1}{10} = \frac{10 - 5 - 2}{20} = \frac{3}{20} = [ 2 x 3 − 4 x 4 − 10 x 5 ] 0 1 = 2 1 − 4 1 − 10 1 = 20 10 − 5 − 2 = 20 3
If you get this wrong, revise: Section 2.2 General Regions.
Evaluate ∭ E x d V \iiint_E x\, dV ∭ E x d V where E E E is the region bounded by the coordinate planes and x + y + z = 1 x + y + z = 1 x + y + z = 1 .
Solution E = ( x , y , z ) : 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 − x , 0 ≤ z ≤ 1 − x − y E = \\{(x,y,z) : 0 \leq x \leq 1,\, 0 \leq y \leq 1-x,\, 0 \leq z \leq 1-x-y\\} E = ( x , y , z ) : 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 − x , 0 ≤ z ≤ 1 − x − y .
∭ E x d V = ∫ 0 1 ∫ 0 1 − x ∫ 0 1 − x − y x d z d y d x = ∫ 0 1 ∫ 0 1 − x x ( 1 − x − y ) d y d x \iiint_E x\, dV = \int_0^1 \int_0^{1-x} \int_0^{1-x-y} x\, dz\, dy\, dx = \int_0^1 \int_0^{1-x} x(1-x-y)\, dy\, dx ∭ E x d V = ∫ 0 1 ∫ 0 1 − x ∫ 0 1 − x − y x d z d y d x = ∫ 0 1 ∫ 0 1 − x x ( 1 − x − y ) d y d x
= ∫ 0 1 x [ ( 1 − x ) y − y 2 2 ] 0 1 − x d x = ∫ 0 1 x ⋅ ( 1 − x ) 2 2 d x = \int_0^1 x\left[(1-x)y - \frac{y^2}{2}\right]_0^{1-x}\, dx = \int_0^1 x \cdot \frac{(1-x)^2}{2}\, dx = ∫ 0 1 x [ ( 1 − x ) y − 2 y 2 ] 0 1 − x d x = ∫ 0 1 x ⋅ 2 ( 1 − x ) 2 d x
= 1 2 ∫ 0 1 x ( 1 − 2 x + x 2 ) d x = 1 2 ∫ 0 1 ( x − 2 x 2 + x 3 ) d x = \frac{1}{2}\int_0^1 x(1 - 2x + x^2)\, dx = \frac{1}{2}\int_0^1 (x - 2x^2 + x^3)\, dx = 2 1 ∫ 0 1 x ( 1 − 2 x + x 2 ) d x = 2 1 ∫ 0 1 ( x − 2 x 2 + x 3 ) d x
= 1 2 [ x 2 2 − 2 x 3 3 + x 4 4 ] 0 1 = 1 2 [ 1 2 − 2 3 + 1 4 ] = 1 2 ⋅ 6 − 8 + 3 12 = 1 24 = \frac{1}{2}\left[\frac{x^2}{2} - \frac{2x^3}{3} + \frac{x^4}{4}\right]_0^1 = \frac{1}{2}\left[\frac{1}{2} - \frac{2}{3} + \frac{1}{4}\right] = \frac{1}{2} \cdot \frac{6 - 8 + 3}{12} = \frac{1}{24} = 2 1 [ 2 x 2 − 3 2 x 3 + 4 x 4 ] 0 1 = 2 1 [ 2 1 − 3 2 + 4 1 ] = 2 1 ⋅ 12 6 − 8 + 3 = 24 1
If you get this wrong, revise: Section 2.3 Triple Integrals.
Evaluate ∬ D e x 2 + y 2 d A \iint_D e^{x^2+y^2}\, dA ∬ D e x 2 + y 2 d A where D = ( x , y ) : 1 ≤ x 2 + y 2 ≤ 4 D = \\{(x,y) : 1 \leq x^2 + y^2 \leq 4\\} D = ( x , y ) : 1 ≤ x 2 + y 2 ≤ 4 .
Solution Use polar coordinates: 1 ≤ r ≤ 2 1 \leq r \leq 2 1 ≤ r ≤ 2 , 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π .
∬ D e x 2 + y 2 d A = ∫ 0 2 π ∫ 1 2 e r 2 r d r d θ = 2 π ∫ 1 2 r e r 2 d r \iint_D e^{x^2+y^2}\, dA = \int_0^{2\pi} \int_1^2 e^{r^2}\, r\, dr\, d\theta = 2\pi \int_1^2 r e^{r^2}\, dr ∬ D e x 2 + y 2 d A = ∫ 0 2 π ∫ 1 2 e r 2 r d r d θ = 2 π ∫ 1 2 r e r 2 d r
Let u = r 2 u = r^2 u = r 2 , d u = 2 r d r du = 2r\, dr d u = 2 r d r :
= 2 π ⋅ 1 2 ∫ 1 4 e u d u = π ( e 4 − e ) = 2\pi \cdot \frac{1}{2}\int_1^4 e^u\, du = \pi(e^4 - e) = 2 π ⋅ 2 1 ∫ 1 4 e u d u = π ( e 4 − e )
If you get this wrong, revise: Section 2.4 Change of Variables.
Evaluate ∭ E z d V \iiint_E z\, dV ∭ E z d V where E E E is the solid cone z ≤ x 2 + y 2 z \leq \sqrt{x^2 + y^2} z ≤ x 2 + y 2 , 0 ≤ z ≤ 1 0 \leq z \leq 1 0 ≤ z ≤ 1 .
Solution Use cylindrical coordinates. The cone z = r z = r z = r intersects z = 1 z = 1 z = 1 at r = 1 r = 1 r = 1 . E ′ = ( r , θ , z ) : 0 ≤ r ≤ 1 , 0 ≤ θ ≤ 2 π , r ≤ z ≤ 1 E' = \\{(r, \theta, z) : 0 \leq r \leq 1,\, 0 \leq \theta \leq 2\pi,\, r \leq z \leq 1\\} E ′ = ( r , θ , z ) : 0 ≤ r ≤ 1 , 0 ≤ θ ≤ 2 π , r ≤ z ≤ 1 .
∭ E z d V = ∫ 0 2 π ∫ 0 1 ∫ r 1 z r d z d r d θ = 2 π ∫ 0 1 r [ z 2 2 ] r 1 d r \iiint_E z\, dV = \int_0^{2\pi} \int_0^1 \int_r^1 z\, r\, dz\, dr\, d\theta = 2\pi \int_0^1 r\left[\frac{z^2}{2}\right]_r^1\, dr ∭ E z d V = ∫ 0 2 π ∫ 0 1 ∫ r 1 z r d z d r d θ = 2 π ∫ 0 1 r [ 2 z 2 ] r 1 d r
= 2 π ∫ 0 1 r 2 ( 1 − r 2 ) d r = π ∫ 0 1 ( r − r 3 ) d r = π [ r 2 2 − r 4 4 ] 0 1 = π ⋅ 1 4 = π 4 = 2\pi \int_0^1 \frac{r}{2}(1 - r^2)\, dr = \pi \int_0^1 (r - r^3)\, dr = \pi\left[\frac{r^2}{2} - \frac{r^4}{4}\right]_0^1 = \pi \cdot \frac{1}{4} = \frac{\pi}{4} = 2 π ∫ 0 1 2 r ( 1 − r 2 ) d r = π ∫ 0 1 ( r − r 3 ) d r = π [ 2 r 2 − 4 r 4 ] 0 1 = π ⋅ 4 1 = 4 π
If you get this wrong, revise: Section 2.5 Coordinate System Worked Examples.
Use Green’s theorem to evaluate ∮ C ( 3 y − e sin x ) d x + ( 7 x + y 4 + 1 ) d y \oint_C (3y - e^{\sin x})\, dx + (7x + \sqrt{y^4 + 1})\, dy ∮ C ( 3 y − e s i n x ) d x + ( 7 x + y 4 + 1 ) d y Where C C C is the circle x 2 + y 2 = 9 x^2 + y^2 = 9 x 2 + y 2 = 9 traversed counterclockwise.
Solution P = 3 y − e sin x P = 3y - e^{\sin x} P = 3 y − e s i n x , Q = 7 x + y 4 + 1 Q = 7x + \sqrt{y^4 + 1} Q = 7 x + y 4 + 1 .
∂ Q ∂ x = 7 , ∂ P ∂ y = 3 \frac{\partial Q}{\partial x} = 7, \quad \frac{\partial P}{\partial y} = 3 ∂ x ∂ Q = 7 , ∂ y ∂ P = 3
By Green’s theorem:
∮ C P d x + Q d y = ∬ D ( 7 − 3 ) d A = 4 ⋅ π ⋅ 9 = 36 π \oint_C P\, dx + Q\, dy = \iint_D (7 - 3)\, dA = 4 \cdot \pi \cdot 9 = 36\pi ∮ C P d x + Q d y = ∬ D ( 7 − 3 ) d A = 4 ⋅ π ⋅ 9 = 36 π
If you get this wrong, revise: Section 3.3 Green’s Theorem.
Compute the curl and divergence of F = ( y z , x z , x y ) \mathbf{F} = (yz,\, xz,\, xy) F = ( y z , x z , x y ) .
Solution Curl:
∇ × F = ( ∂ ( x y ) ∂ y − ∂ ( x z ) ∂ z , ∂ ( y z ) ∂ z − ∂ ( x y ) ∂ x , ∂ ( x z ) ∂ x − ∂ ( y z ) ∂ y ) \nabla \times \mathbf{F} = \left(\frac{\partial (xy)}{\partial y} - \frac{\partial (xz)}{\partial z},\, \frac{\partial (yz)}{\partial z} - \frac{\partial (xy)}{\partial x},\, \frac{\partial (xz)}{\partial x} - \frac{\partial (yz)}{\partial y}\right) ∇ × F = ( ∂ y ∂ ( x y ) − ∂ z ∂ ( x z ) , ∂ z ∂ ( y z ) − ∂ x ∂ ( x y ) , ∂ x ∂ ( x z ) − ∂ y ∂ ( y z ) )
= ( x − x , y − y , z − z ) = 0 = (x - x,\, y - y,\, z - z) = \mathbf{0} = ( x − x , y − y , z − z ) = 0
Divergence:
∇ ⋅ F = ∂ ( y z ) ∂ x + ∂ ( x z ) ∂ y + ∂ ( x y ) ∂ z = 0 + 0 + 0 = 0 \nabla \cdot \mathbf{F} = \frac{\partial (yz)}{\partial x} + \frac{\partial (xz)}{\partial y} + \frac{\partial (xy)}{\partial z} = 0 + 0 + 0 = 0 ∇ ⋅ F = ∂ x ∂ ( y z ) + ∂ y ∂ ( x z ) + ∂ z ∂ ( x y ) = 0 + 0 + 0 = 0
Since the curl is zero and the domain is connected, F \mathbf{F} F is conservative. Indeed, F = ∇ ( x y z ) \mathbf{F} = \nabla(xyz) F = ∇ ( x y z ) .
If you get this wrong, revise: Section 3.4 Curl and Divergence.
Use Stokes’ theorem to evaluate ∮ C F ⋅ d r \oint_C \mathbf{F} \cdot d\mathbf{r} ∮ C F ⋅ d r where F = ( 2 y , − z , x ) \mathbf{F} = (2y,\, -z,\, x) F = ( 2 y , − z , x ) and C C C is the circle x 2 + y 2 = 1 x^2 + y^2 = 1 x 2 + y 2 = 1 , z = 1 z = 1 z = 1 Traversed counterclockwise when viewed from above.
Solution Take S S S to be the disk x 2 + y 2 ≤ 1 x^2 + y^2 \leq 1 x 2 + y 2 ≤ 1 , z = 1 z = 1 z = 1 with upward normal n = ( 0 , 0 , 1 ) \mathbf{n} = (0, 0, 1) n = ( 0 , 0 , 1 ) .
∇ × F = ( ∂ x ∂ y − ∂ ( − z ) ∂ z , ∂ ( 2 y ) ∂ z − ∂ x ∂ x , ∂ ( − z ) ∂ x − ∂ ( 2 y ) ∂ y ) \nabla \times \mathbf{F} = \left(\frac{\partial x}{\partial y} - \frac{\partial (-z)}{\partial z},\, \frac{\partial (2y)}{\partial z} - \frac{\partial x}{\partial x},\, \frac{\partial (-z)}{\partial x} - \frac{\partial (2y)}{\partial y}\right) ∇ × F = ( ∂ y ∂ x − ∂ z ∂ ( − z ) , ∂ z ∂ ( 2 y ) − ∂ x ∂ x , ∂ x ∂ ( − z ) − ∂ y ∂ ( 2 y ) )
= ( 0 − ( − 1 ) , 0 − 1 , 0 − 2 ) = ( 1 , − 1 , − 2 ) = (0 - (-1),\, 0 - 1,\, 0 - 2) = (1, -1, -2) = ( 0 − ( − 1 ) , 0 − 1 , 0 − 2 ) = ( 1 , − 1 , − 2 )
( ∇ × F ) ⋅ n = ( 1 , − 1 , − 2 ) ⋅ ( 0 , 0 , 1 ) = − 2 (\nabla \times \mathbf{F}) \cdot \mathbf{n} = (1, -1, -2) \cdot (0, 0, 1) = -2 ( ∇ × F ) ⋅ n = ( 1 , − 1 , − 2 ) ⋅ ( 0 , 0 , 1 ) = − 2
∮ C F ⋅ d r = ∬ S ( − 2 ) d S = − 2 ⋅ π ⋅ 1 2 = − 2 π \oint_C \mathbf{F} \cdot d\mathbf{r} = \iint_S (-2)\, dS = -2 \cdot \pi \cdot 1^2 = -2\pi ∮ C F ⋅ d r = ∬ S ( − 2 ) d S = − 2 ⋅ π ⋅ 1 2 = − 2 π
If you get this wrong, revise: Section 3.5 Stokes’ Theorem.
Use the divergence theorem to compute the flux of F = ( x , y , z ) \mathbf{F} = (x,\, y,\, z) F = ( x , y , z ) through the Surface of the cube [ 0 , 1 ] 3 [0, 1]^3 [ 0 , 1 ] 3 .
Solution ∇ ⋅ F = ∂ x ∂ x + ∂ y ∂ y + ∂ z ∂ z = 3 \nabla \cdot \mathbf{F} = \frac{\partial x}{\partial x} + \frac{\partial y}{\partial y} + \frac{\partial z}{\partial z} = 3 ∇ ⋅ F = ∂ x ∂ x + ∂ y ∂ y + ∂ z ∂ z = 3
∬ S F ⋅ d S = ∭ E 3 d V = 3 ⋅ 1 3 = 3 \iint_S \mathbf{F} \cdot d\mathbf{S} = \iiint_E 3\, dV = 3 \cdot 1^3 = 3 ∬ S F ⋅ d S = ∭ E 3 d V = 3 ⋅ 1 3 = 3
If you get this wrong, revise: Section 3.6 Divergence Theorem.
Find a potential function for F = ( 2 x + y , x + 2 z , 2 y ) \mathbf{F} = (2x + y,\, x + 2z,\, 2y) F = ( 2 x + y , x + 2 z , 2 y ) .
Solution First check: ∇ × F = ( 2 − 2 , 0 − 0 , 1 − 1 ) = 0 \nabla \times \mathbf{F} = (2 - 2,\, 0 - 0,\, 1 - 1) = \mathbf{0} ∇ × F = ( 2 − 2 , 0 − 0 , 1 − 1 ) = 0 . Conservative.
∂ ϕ ∂ x = 2 x + y ⟹ ϕ = x 2 + x y + g ( y , z ) \frac{\partial \phi}{\partial x} = 2x + y \implies \phi = x^2 + xy + g(y,z) ∂ x ∂ ϕ = 2 x + y ⟹ ϕ = x 2 + x y + g ( y , z )
∂ ϕ ∂ y = x + g y = x + 2 z ⟹ g y = 2 z ⟹ g = 2 y z + h ( z ) \frac{\partial \phi}{\partial y} = x + g_y = x + 2z \implies g_y = 2z \implies g = 2yz + h(z) ∂ y ∂ ϕ = x + g y = x + 2 z ⟹ g y = 2 z ⟹ g = 2 y z + h ( z )
∂ ϕ ∂ z = 2 y + h ′ ( z ) = 2 y ⟹ h ′ ( z ) = 0 ⟹ h ( z ) = C \frac{\partial \phi}{\partial z} = 2y + h'(z) = 2y \implies h'(z) = 0 \implies h(z) = C ∂ z ∂ ϕ = 2 y + h ′ ( z ) = 2 y ⟹ h ′ ( z ) = 0 ⟹ h ( z ) = C
ϕ ( x , y , z ) = x 2 + x y + 2 y z + C \phi(x,y,z) = x^2 + xy + 2yz + C ϕ ( x , y , z ) = x 2 + x y + 2 y z + C
If you get this wrong, revise: Section 3.7 Conservative Fields and Potential Functions.
Evaluate the surface integral ∬ S ( x 2 + y 2 ) d S \iint_S (x^2 + y^2)\, dS ∬ S ( x 2 + y 2 ) d S where S S S is the cylinder x 2 + y 2 = 4 x^2 + y^2 = 4 x 2 + y 2 = 4 , 0 ≤ z ≤ 3 0 \leq z \leq 3 0 ≤ z ≤ 3 .
Solution Parametrise the cylinder: r ( θ , z ) = ( 2 cos θ , 2 sin θ , z ) \mathbf{r}(\theta, z) = (2\cos\theta,\, 2\sin\theta,\, z) r ( θ , z ) = ( 2 cos θ , 2 sin θ , z ) for 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π , 0 ≤ z ≤ 3 0 \leq z \leq 3 0 ≤ z ≤ 3 .
r θ = ( − 2 sin θ , 2 cos θ , 0 ) \mathbf{r}_\theta = (-2\sin\theta,\, 2\cos\theta,\, 0) r θ = ( − 2 sin θ , 2 cos θ , 0 ) , r z = ( 0 , 0 , 1 ) \mathbf{r}_z = (0,\, 0,\, 1) r z = ( 0 , 0 , 1 ) .
r θ × r z = ( 2 cos θ , 2 sin θ , 0 ) \mathbf{r}_\theta \times \mathbf{r}_z = (2\cos\theta,\, 2\sin\theta,\, 0) r θ × r z = ( 2 cos θ , 2 sin θ , 0 )
∥ r θ × r z ∥ = 4 cos 2 θ + 4 sin 2 θ = 2 \lVert \mathbf{r}_\theta \times \mathbf{r}_z \rVert = \sqrt{4\cos^2\theta + 4\sin^2\theta} = 2 ∥ r θ × r z ∥ = 4 cos 2 θ + 4 sin 2 θ = 2
On S S S : x 2 + y 2 = 4 x^2 + y^2 = 4 x 2 + y 2 = 4 .
∬ S ( x 2 + y 2 ) d S = ∫ 0 2 π ∫ 0 3 4 ⋅ 2 d z d θ = 8 ⋅ 3 ⋅ 2 π = 48 π \iint_S (x^2 + y^2)\, dS = \int_0^{2\pi} \int_0^3 4 \cdot 2\, dz\, d\theta = 8 \cdot 3 \cdot 2\pi = 48\pi ∬ S ( x 2 + y 2 ) d S = ∫ 0 2 π ∫ 0 3 4 ⋅ 2 d z d θ = 8 ⋅ 3 ⋅ 2 π = 48 π
If you get this wrong, revise: Section 5.5 Surface Integrals.
Use Green’s theorem to find the area enclosed by the ellipse x 2 a 2 + y 2 b 2 = 1 \frac{x^2}{a^2} + \frac{y^2}{b^2} = 1 a 2 x 2 + b 2 y 2 = 1 .
Solution By Green’s theorem with P = − y / 2 P = -y/2 P = − y /2 and Q = x / 2 Q = x/2 Q = x /2 :
∂ Q ∂ x − ∂ P ∂ y = 1 2 − ( − 1 2 ) = 1 \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = \frac{1}{2} - \left(-\frac{1}{2}\right) = 1 ∂ x ∂ Q − ∂ y ∂ P = 2 1 − ( − 2 1 ) = 1
So the area is:
A = ∬ D 1 d A = ∮ C − y 2 d x + x 2 d y = 1 2 ∮ C x d y − y d x A = \iint_D 1\, dA = \oint_C -\frac{y}{2}\, dx + \frac{x}{2}\, dy = \frac{1}{2}\oint_C x\, dy - y\, dx A = ∬ D 1 d A = ∮ C − 2 y d x + 2 x d y = 2 1 ∮ C x d y − y d x
Parametrise the ellipse: x = a cos t x = a\cos t x = a cos t , y = b sin t y = b\sin t y = b sin t , 0 ≤ t ≤ 2 π 0 \leq t \leq 2\pi 0 ≤ t ≤ 2 π .
A = 1 2 ∫ 0 2 π [ a cos t ⋅ b cos t − b sin t ⋅ ( − a sin t ) ] d t A = \frac{1}{2}\int_0^{2\pi} \left[a\cos t \cdot b\cos t - b\sin t \cdot (-a\sin t)\right]\, dt A = 2 1 ∫ 0 2 π [ a cos t ⋅ b cos t − b sin t ⋅ ( − a sin t ) ] d t
= 1 2 ∫ 0 2 π ( a b cos 2 t + a b sin 2 t ) d t = a b 2 ∫ 0 2 π 1 d t = π a b = \frac{1}{2}\int_0^{2\pi} (ab\cos^2 t + ab\sin^2 t)\, dt = \frac{ab}{2}\int_0^{2\pi} 1\, dt = \pi ab = 2 1 ∫ 0 2 π ( ab cos 2 t + ab sin 2 t ) d t = 2 ab ∫ 0 2 π 1 d t = π ab
If you get this wrong, revise: Section 3.3 Green’s Theorem.
Find the minimum value of f ( x , y , z ) = x 2 + y 2 + z 2 f(x,y,z) = x^2 + y^2 + z^2 f ( x , y , z ) = x 2 + y 2 + z 2 subject to x + y − z = 1 x + y - z = 1 x + y − z = 1 .
Solution ∇ f = ( 2 x , 2 y , 2 z ) \nabla f = (2x, 2y, 2z) ∇ f = ( 2 x , 2 y , 2 z ) , ∇ g = ( 1 , 1 , − 1 ) \nabla g = (1, 1, -1) ∇ g = ( 1 , 1 , − 1 ) where g = x + y − z − 1 g = x + y - z - 1 g = x + y − z − 1 .
2 x = λ 2x = \lambda 2 x = λ , 2 y = λ 2y = \lambda 2 y = λ , 2 z = − λ 2z = -\lambda 2 z = − λ So x = y = − z x = y = -z x = y = − z .
From x + y − z = 1 x + y - z = 1 x + y − z = 1 : 2 x − ( − x ) = 3 x = 1 2x - (-x) = 3x = 1 2 x − ( − x ) = 3 x = 1 So x = 1 / 3 x = 1/3 x = 1/3 , y = 1 / 3 y = 1/3 y = 1/3 , z = − 1 / 3 z = -1/3 z = − 1/3 .
f ( 1 / 3 , 1 / 3 , − 1 / 3 ) = 1 9 + 1 9 + 1 9 = 1 3 f(1/3, 1/3, -1/3) = \frac{1}{9} + \frac{1}{9} + \frac{1}{9} = \frac{1}{3} f ( 1/3 , 1/3 , − 1/3 ) = 9 1 + 9 1 + 9 1 = 3 1
This is the minimum (the Hessian of f f f is positive definite, and the constraint set is unbounded But f ≥ 0 f \geq 0 f ≥ 0 ).
If you get this wrong, revise: Section 4.3 Lagrange Multipliers.
Find the arc length of the curve r ( t ) = ( t 2 , 2 t , ln t ) \mathbf{r}(t) = (t^2,\, 2t,\, \ln t) r ( t ) = ( t 2 , 2 t , ln t ) for 1 ≤ t ≤ e 1 \leq t \leq e 1 ≤ t ≤ e .
Solution r ′ ( t ) = ( 2 t , 2 , 1 / t ) \mathbf{r}'(t) = (2t,\, 2,\, 1/t) r ′ ( t ) = ( 2 t , 2 , 1/ t ) So ∥ r ′ ( t ) ∥ = 4 t 2 + 4 + 1 / t 2 \lVert \mathbf{r}'(t) \rVert = \sqrt{4t^2 + 4 + 1/t^2} ∥ r ′ ( t )∥ = 4 t 2 + 4 + 1/ t 2 .
Note: 4 t 2 + 4 + t − 2 = ( 2 t + 1 / t ) 2 4t^2 + 4 + t^{-2} = (2t + 1/t)^2 4 t 2 + 4 + t − 2 = ( 2 t + 1/ t ) 2 . So ∥ r ′ ∥ = 2 t + 1 / t \lVert \mathbf{r}' \rVert = 2t + 1/t ∥ r ′ ∥ = 2 t + 1/ t .
L = ∫ 1 e ( 2 t + 1 t ) d t = [ t 2 + ln t ] 1 e = e 2 + 1 − 1 − 0 = e 2 L = \int_1^e \left(2t + \frac{1}{t}\right)\, dt = \left[t^2 + \ln t\right]_1^e = e^2 + 1 - 1 - 0 = e^2 L = ∫ 1 e ( 2 t + t 1 ) d t = [ t 2 + ln t ] 1 e = e 2 + 1 − 1 − 0 = e 2
If you get this wrong, revise: Section 5.1 Parametric Curves.
Find the curvature of r ( t ) = ( t , t 2 , t 3 ) \mathbf{r}(t) = (t,\, t^2,\, t^3) r ( t ) = ( t , t 2 , t 3 ) at t = 1 t = 1 t = 1 .
Solution r ′ ( t ) = ( 1 , 2 t , 3 t 2 ) \mathbf{r}'(t) = (1,\, 2t,\, 3t^2) r ′ ( t ) = ( 1 , 2 t , 3 t 2 ) , r ′ ′ ( t ) = ( 0 , 2 , 6 t ) \mathbf{r}''(t) = (0,\, 2,\, 6t) r ′′ ( t ) = ( 0 , 2 , 6 t ) .
At t = 1 t = 1 t = 1 : r ′ = ( 1 , 2 , 3 ) \mathbf{r}' = (1, 2, 3) r ′ = ( 1 , 2 , 3 ) , r ′ ′ = ( 0 , 2 , 6 ) \mathbf{r}'' = (0, 2, 6) r ′′ = ( 0 , 2 , 6 ) .
∥ r ′ ∥ = 1 + 4 + 9 = 14 \lVert \mathbf{r}' \rVert = \sqrt{1 + 4 + 9} = \sqrt{14} ∥ r ′ ∥ = 1 + 4 + 9 = 14 .
r ′ × r ′ ′ = ∣ i j k 1 2 3 0 2 6 ∣ = ( 12 − 6 , − ( 6 − 0 ) , 2 − 0 ) = ( 6 , − 6 , 2 ) \mathbf{r}' \times \mathbf{r}'' = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 1 & 2 & 3 \\ 0 & 2 & 6 \end{vmatrix} = (12 - 6,\, -(6 - 0),\, 2 - 0) = (6, -6, 2) r ′ × r ′′ = i 1 0 j 2 2 k 3 6 = ( 12 − 6 , − ( 6 − 0 ) , 2 − 0 ) = ( 6 , − 6 , 2 )
∥ r ′ × r ′ ′ ∥ = 36 + 36 + 4 = 76 = 2 19 \lVert \mathbf{r}' \times \mathbf{r}'' \rVert = \sqrt{36 + 36 + 4} = \sqrt{76} = 2\sqrt{19} ∥ r ′ × r ′′ ∥ = 36 + 36 + 4 = 76 = 2 19
κ = 2 19 ( 14 ) 3 = 2 19 14 14 = 266 98 \kappa = \frac{2\sqrt{19}}{(\sqrt{14})^3} = \frac{2\sqrt{19}}{14\sqrt{14}} = \frac{\sqrt{266}}{98} κ = ( 14 ) 3 2 19 = 14 14 2 19 = 98 266
If you get this wrong, revise: Section 5.2 Curvature and Torsion.
Find the surface area of the part of the sphere x 2 + y 2 + z 2 = 4 x^2 + y^2 + z^2 = 4 x 2 + y 2 + z 2 = 4 that lies above the Plane z = 1 z = 1 z = 1 .
Solution Use spherical coordinates. The sphere has ρ = 2 \rho = 2 ρ = 2 . The plane z = 1 z = 1 z = 1 intersects when 2 cos ϕ = 1 2\cos\phi = 1 2 cos ϕ = 1 So cos ϕ = 1 / 2 \cos\phi = 1/2 cos ϕ = 1/2 Giving ϕ = π / 3 \phi = \pi/3 ϕ = π /3 .
The region: 0 ≤ ρ ≤ 2 0 \leq \rho \leq 2 0 ≤ ρ ≤ 2 , 0 ≤ ϕ ≤ π / 3 0 \leq \phi \leq \pi/3 0 ≤ ϕ ≤ π /3 , 0 ≤ θ ≤ 2 π 0 \leq \theta \leq 2\pi 0 ≤ θ ≤ 2 π .
A = ∫ 0 2 π ∫ 0 π / 3 ρ 2 sin ϕ d ϕ d θ = 4 ⋅ 2 π ∫ 0 π / 3 sin ϕ d ϕ A = \int_0^{2\pi} \int_0^{\pi/3} \rho^2 \sin\phi\, d\phi\, d\theta = 4 \cdot 2\pi \int_0^{\pi/3} \sin\phi\, d\phi A = ∫ 0 2 π ∫ 0 π /3 ρ 2 sin ϕ d ϕ d θ = 4 ⋅ 2 π ∫ 0 π /3 sin ϕ d ϕ
= 8 π [ − cos ϕ ] 0 π / 3 = 8 π ( − 1 2 + 1 ) = 8 π ⋅ 1 2 = 4 π = 8\pi \left[-\cos\phi\right]_0^{\pi/3} = 8\pi \left(-\frac{1}{2} + 1\right) = 8\pi \cdot \frac{1}{2} = 4\pi = 8 π [ − cos ϕ ] 0 π /3 = 8 π ( − 2 1 + 1 ) = 8 π ⋅ 2 1 = 4 π
If you get this wrong, revise: Section 5.4 Surface Area.
Show that F = ( y e x y + 2 x , x e x y + 2 y ) \mathbf{F} = (ye^{xy} + 2x,\, xe^{xy} + 2y) F = ( y e x y + 2 x , x e x y + 2 y ) is conservative and evaluate ∫ C F ⋅ d r \int_C \mathbf{F} \cdot d\mathbf{r} ∫ C F ⋅ d r where C C C is any path from ( 0 , 0 ) (0, 0) ( 0 , 0 ) to ( 1 , 1 ) (1, 1) ( 1 , 1 ) .
Solution Check: ∂ P ∂ y = e x y + x y e x y \frac{\partial P}{\partial y} = e^{xy} + xye^{xy} ∂ y ∂ P = e x y + x y e x y , ∂ Q ∂ x = e x y + x y e x y \frac{\partial Q}{\partial x} = e^{xy} + xye^{xy} ∂ x ∂ Q = e x y + x y e x y . These are equal, so F \mathbf{F} F is conservative (on R 2 \mathbb{R}^2 R 2 Which is connected).
Find ϕ \phi ϕ :
∂ ϕ ∂ x = y e x y + 2 x ⟹ ϕ = e x y + x 2 + g ( y ) \frac{\partial \phi}{\partial x} = ye^{xy} + 2x \implies \phi = e^{xy} + x^2 + g(y) ∂ x ∂ ϕ = y e x y + 2 x ⟹ ϕ = e x y + x 2 + g ( y )
∂ ϕ ∂ y = x e x y + g ′ ( y ) = x e x y + 2 y ⟹ g ′ ( y ) = 2 y ⟹ g ( y ) = y 2 + C \frac{\partial \phi}{\partial y} = xe^{xy} + g'(y) = xe^{xy} + 2y \implies g'(y) = 2y \implies g(y) = y^2 + C ∂ y ∂ ϕ = x e x y + g ′ ( y ) = x e x y + 2 y ⟹ g ′ ( y ) = 2 y ⟹ g ( y ) = y 2 + C
ϕ ( x , y ) = e x y + x 2 + y 2 \phi(x,y) = e^{xy} + x^2 + y^2 ϕ ( x , y ) = e x y + x 2 + y 2
∫ C F ⋅ d r = ϕ ( 1 , 1 ) − ϕ ( 0 , 0 ) = ( e + 1 + 1 ) − ( 1 + 0 + 0 ) = e + 1 \int_C \mathbf{F} \cdot d\mathbf{r} = \phi(1,1) - \phi(0,0) = (e + 1 + 1) - (1 + 0 + 0) = e + 1 ∫ C F ⋅ d r = ϕ ( 1 , 1 ) − ϕ ( 0 , 0 ) = ( e + 1 + 1 ) − ( 1 + 0 + 0 ) = e + 1
If you get this wrong, revise: Section 3.2 Line Integrals and Section 3.7 Conservative Fields.
Compute the torsion of the curve r ( t ) = ( cosh t , sinh t , t ) \mathbf{r}(t) = (\cosh t,\, \sinh t,\, t) r ( t ) = ( cosh t , sinh t , t ) at t = 0 t = 0 t = 0 .
Solution r ′ ( t ) = ( sinh t , cosh t , 1 ) \mathbf{r}'(t) = (\sinh t,\, \cosh t,\, 1) r ′ ( t ) = ( sinh t , cosh t , 1 ) , r ′ ′ ( t ) = ( cosh t , sinh t , 0 ) \mathbf{r}''(t) = (\cosh t,\, \sinh t,\, 0) r ′′ ( t ) = ( cosh t , sinh t , 0 ) r ′ ′ ′ ( t ) = ( sinh t , cosh t , 0 ) \mathbf{r}^{\prime\prime\prime}(t) = (\sinh t,\, \cosh t,\, 0) r ′′′ ( t ) = ( sinh t , cosh t , 0 ) .
At t = 0 t = 0 t = 0 : r ′ = ( 0 , 1 , 1 ) \mathbf{r}' = (0, 1, 1) r ′ = ( 0 , 1 , 1 ) , r ′ ′ = ( 1 , 0 , 0 ) \mathbf{r}'' = (1, 0, 0) r ′′ = ( 1 , 0 , 0 ) r ′ ′ ′ = ( 0 , 1 , 0 ) \mathbf{r}^{\prime\prime\prime} = (0, 1, 0) r ′′′ = ( 0 , 1 , 0 ) .
r ′ × r ′ ′ = ∣ i j k 0 1 1 1 0 0 ∣ = ( 0 , 1 , − 1 ) \mathbf{r}' \times \mathbf{r}'' = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 0 & 1 & 1 \\ 1 & 0 & 0 \end{vmatrix} = (0,\, 1,\, -1) r ′ × r ′′ = i 0 1 j 1 0 k 1 0 = ( 0 , 1 , − 1 )
∥ r ′ × r ′ ′ ∥ = 2 \lVert \mathbf{r}' \times \mathbf{r}'' \rVert = \sqrt{2} ∥ r ′ × r ′′ ∥ = 2
( r ′ × r ′ ′ ) ⋅ r ′ ′ ′ = 1 (\mathbf{r}' \times \mathbf{r}'') \cdot \mathbf{r}^{\prime\prime\prime} = 1 ( r ′ × r ′′ ) ⋅ r ′′′ = 1
τ = 1 ( 2 ) 2 = 1 2 \tau = \frac{1}{(\sqrt{2})^2} = \frac{1}{2} τ = ( 2 ) 2 1 = 2 1
If you get this wrong, revise: Section 5.2 Curvature and Torsion.
Evaluate ∭ E 1 x 2 + y 2 + z 2 d V \iiint_E \frac{1}{\sqrt{x^2 + y^2 + z^2}}\, dV ∭ E x 2 + y 2 + z 2 1 d V where E E E is the solid unit ball x 2 + y 2 + z 2 ≤ 1 x^2 + y^2 + z^2 \leq 1 x 2 + y 2 + z 2 ≤ 1 .
Solution Use spherical coordinates. The integrand is 1 ρ \frac{1}{\rho} ρ 1 .
∭ E 1 ρ d V = ∫ 0 2 π ∫ 0 π ∫ 0 1 1 ρ ⋅ ρ 2 sin ϕ d ρ d ϕ d θ \iiint_E \frac{1}{\rho}\, dV = \int_0^{2\pi} \int_0^{\pi} \int_0^1 \frac{1}{\rho} \cdot \rho^2 \sin\phi\, d\rho\, d\phi\, d\theta ∭ E ρ 1 d V = ∫ 0 2 π ∫ 0 π ∫ 0 1 ρ 1 ⋅ ρ 2 sin ϕ d ρ d ϕ d θ
= ( ∫ 0 1 ρ d ρ ) ( ∫ 0 π sin ϕ d ϕ ) ( ∫ 0 2 π d θ ) = \left(\int_0^1 \rho\, d\rho\right)\left(\int_0^{\pi} \sin\phi\, d\phi\right)\left(\int_0^{2\pi} d\theta\right) = ( ∫ 0 1 ρ d ρ ) ( ∫ 0 π sin ϕ d ϕ ) ( ∫ 0 2 π d θ )
= 1 2 ⋅ 2 ⋅ 2 π = 2 π = \frac{1}{2} \cdot 2 \cdot 2\pi = 2\pi = 2 1 ⋅ 2 ⋅ 2 π = 2 π
If you get this wrong, revise: Section 2.5 Coordinate System Worked Examples.
Forgetting to check that solutions satisfy the original equation (especially with squaring both sides or dividing by variables).
Misreading the question, particularly with ‘hence’ vs ‘hence or otherwise’. The former requires using previous work.
Confusing partial derivatives with total derivatives. A partial derivative only varies one variable, holding others constant.
Problem. Evaluate ∬ R ( x + y ) d A \iint_R (x + y)\,dA ∬ R ( x + y ) d A where R R R is the triangle with vertices ( 0 , 0 ) (0,0) ( 0 , 0 ) , ( 1 , 0 ) (1,0) ( 1 , 0 ) , ( 0 , 1 ) (0,1) ( 0 , 1 ) .
Solution. The region: 0 ≤ x ≤ 1 0 \leq x \leq 1 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 − x 0 \leq y \leq 1-x 0 ≤ y ≤ 1 − x .
∫ 0 1 ∫ 0 1 − x ( x + y ) d y d x = ∫ 0 1 [ x y + y 2 2 ] 0 1 − x d x \int_0^1 \int_0^{1-x} (x+y)\,dy\,dx = \int_0^1 \left[xy + \frac{y^2}{2}\right]_0^{1-x} dx ∫ 0 1 ∫ 0 1 − x ( x + y ) d y d x = ∫ 0 1 [ x y + 2 y 2 ] 0 1 − x d x
= ∫ 0 1 ( x ( 1 − x ) + ( 1 − x ) 2 2 ) d x = \int_0^1 \left(x(1-x) + \frac{(1-x)^2}{2}\right) dx = ∫ 0 1 ( x ( 1 − x ) + 2 ( 1 − x ) 2 ) d x
After simplification: = 1 3 = \frac{1}{3} = 3 1 .
■ \blacksquare ■
Problem. Verify Stokes’ theorem for F = ( y , − x , z ) \mathbf{F} = (y, -x, z) F = ( y , − x , z ) over the hemisphere x 2 + y 2 + z 2 = 1 x^2 + y^2 + z^2 = 1 x 2 + y 2 + z 2 = 1 , z ≥ 0 z \geq 0 z ≥ 0 .
Solution. ∇ × F = ( 0 , 0 , − 2 ) \nabla \times \mathbf{F} = (0, 0, -2) ∇ × F = ( 0 , 0 , − 2 ) .
Surface integral: ∬ S ( ∇ × F ) ⋅ d S \iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} ∬ S ( ∇ × F ) ⋅ d S . For hemisphere, n ^ = ( x , y , z ) \hat{n} = (x, y, z) n ^ = ( x , y , z ) , so k ^ ⋅ n ^ = z \hat{k} \cdot \hat{n} = z k ^ ⋅ n ^ = z .
= − 2 ∬ S z d S = − 2 π = -2 \iint_S z\,dS = -2\pi = − 2 ∬ S z d S = − 2 π (using spherical coordinates).
Line integral over boundary (z = 0 z = 0 z = 0 , x 2 + y 2 = 1 x^2 + y^2 = 1 x 2 + y 2 = 1 ): ∮ C F ⋅ d r = ∫ 0 2 π ( − 1 ) d t = − 2 π \oint_C \mathbf{F} \cdot d\mathbf{r} = \int_0^{2\pi} (-1)\,dt = -2\pi ∮ C F ⋅ d r = ∫ 0 2 π ( − 1 ) d t = − 2 π . ✓
■ \blacksquare ■
Partial derivatives: f x = ∂ f ∂ x f_x = \frac{\partial f}{\partial x} f x = ∂ x ∂ f ; gradient ∇ f = ( f x , f y , f z ) \nabla f = (f_x, f_y, f_z) ∇ f = ( f x , f y , f z ) points in direction of steepest ascent. Chain rule: d f d t = ∇ f ⋅ r ′ ( t ) \frac{df}{dt} = \nabla f \cdot \mathbf{r}'(t) d t df = ∇ f ⋅ r ′ ( t ) ; for z = f ( g ( s , t ) , h ( s , t ) ) z = f(g(s,t), h(s,t)) z = f ( g ( s , t ) , h ( s , t )) , use tree diagrams. Multiple integrals: iterated integrals via Fubini’s theorem; change of variables with Jacobian ∣ J ∣ = ∣ ∂ ( x , y ) / ∂ ( u , v ) ∣ |J| = |\partial(x,y)/\partial(u,v)| ∣ J ∣ = ∣ ∂ ( x , y ) / ∂ ( u , v ) ∣ . Vector calculus: divergence (∇ ⋅ F \nabla \cdot \mathbf{F} ∇ ⋅ F ), curl (∇ × F \nabla \times \mathbf{F} ∇ × F ); integral theorems (Green’s, Stokes’, Divergence). Extrema: critical points where ∇ f = 0 \nabla f = 0 ∇ f = 0 ; classify using Hessian matrix (positive definite → local min, negative definite → local max, indefinite → saddle). Topic Site Link Real Analysis WyattsNotes View Linear Algebra WyattsNotes View Differential Equations WyattsNotes View Multivariable Calculus — MIT 18.02 MIT OCW View
:::