Professional Documents
Culture Documents
Vector Calculus Lecture Slides
Vector Calculus Lecture Slides
LECTURE SLIDES
ASASIpintar, Session 2022/2023
By Dr. Faieza Samat
Partial derivatives
Partial Derivatives
Remember the derivative of a function of one variable
f ( x + h) − f ( x )
f ( x) = lim
h →0 h
Now, if f is a function of two variables, its partial derivatives are the function fx and fy
defined by
f ( x + h, y ) − f ( x, y )
f x ( x, y ) = lim
h →0 h
f ( x, y + h ) − f ( x, y )
f y ( x, y ) = lim
h →0 h
Rule for finding partial derivatives
To find fx, regard y as a constant and differentiate f(x,y) with respect to x
To find fy, regard x as a constant and differentiate f(x,y) with respect to y.
Other notation:
f
fx =
x
f
fy =
y
Example 1
If 𝑓 𝑥, 𝑦 = 𝑥 3 + 𝑥 2 𝑦 3 − 2𝑦 2 , find 𝑓𝑥 (2,1) and 𝑓𝑦 (2,1) .
Answer: 𝑓𝑥 (2,1) = 16
𝑓𝑦 (2,1) = 8
Example 2
Suppose 𝑓(𝑥, 𝑦) = 𝑥 2 𝑦. Use the limit definition of partial derivatives to compute
𝑓𝑥 (𝑥, 𝑦) and 𝑓𝑦 (𝑥, 𝑦)
Answer: 𝑓𝑥 𝑥, 𝑦 = 2𝑥𝑦
𝑓𝑦 𝑥, 𝑦 = 𝑥 2
Example 3
𝜕𝑧 𝜕𝑧
Find and if 𝑧 = 𝑥 4 sin(𝑥𝑦 3 )
𝜕𝑥 𝜕𝑦
𝜕𝑧 𝜕 𝜕
Solution: = 𝑥4 sin 𝑥𝑦 3 + sin(𝑥𝑦 3 ) (𝑥 4 )
𝜕𝑥 𝑑𝑥 𝜕𝑥
= 𝑥 4 cos 𝑥𝑦 3 𝑦 3 + sin 𝑥𝑦 3 4𝑥 = 𝑥 𝑦 3 cos 𝑥𝑦 3 + 4𝑥 3 sin 𝑥𝑦 3
3 4
𝜕𝑧 𝜕 𝜕
= 𝑥4 sin 𝑥𝑦 3 + sin(𝑥𝑦 3 ) (𝑥 4 )
𝜕𝑦 𝜕𝑦 𝜕𝑦
= 𝑥 4 cos 𝑥𝑦 3 3𝑥𝑦 2 + sin 𝑥𝑦 3 0 = 3𝑥 5 𝑦 2 cos(𝑥𝑦 3 )
Graphical understanding of partial
derivatives
https://www.khanacademy.org/math/multivariable-
calculus/multivariable-derivatives/partial-derivatives/v/partial-
derivatives-and-graphs
Example 4
Find the slopes of the traces to 𝑧 = 10 − 4𝑥 2 − 𝑦 2 at the point (1,2).
𝜕𝑧 𝜕𝑧
Slope of this trace is at point (1,2) Slope of this trace is 𝜕𝑥 at point (1,2)
𝜕𝑦
𝐶1 𝐶2
𝜕𝑧 𝜕𝑧 𝜕𝑧 𝜕𝑧
= −2𝑦. At the point 1,2 , = −2 2 = −4 = −8𝑥. At the point 1,2 , 𝜕𝑥 = −8 1 = −8
𝜕𝑦 𝜕𝑦 𝜕𝑥
Solution:
Case 1
𝜕𝐵 1
=
𝜕𝑚 ℎ2
Example 5
𝜕𝐵 1
= ≈ 0.35
𝜕𝑚 (1.68)2
𝜕𝐵
is the rate at which the man’s BMI changes with respect to weight when height is
𝜕𝑚
𝜕𝐵
fixed. In other words, is the rate of change of BMI with respect to weight when
𝜕𝑚
height is fixed.
If his weight increases by one kilogram while his height remains unchanged, then his
BMI will increase by about 0.35.
Example 5
Case 2
𝜕𝐵 2𝑚
= − 3
𝜕ℎ ℎ
𝜕𝐵 2 64
= − ≈ −27
𝜕ℎ 1.68 3
𝜕𝐵
is the rate of change of BMI with respect to height when weight is fixed.
𝜕ℎ
If the man is still growing and his weight stays unchanged while his height increases
by 1 meter, then his BMI will decrease by about 27.
Exercises
𝜕𝑓 𝜕𝑓 𝜕2 𝑓 𝜕2 𝑓
Find , and 2, 2 if 𝑓 𝑥, 𝑦 = 𝑥 4 𝑦 − 2𝑥 3 𝑦 2
𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑦
𝑥 𝜕𝑓 𝜕𝑓
If 𝑓(𝑥, 𝑦) = sin( ), calculate and
1+𝑦 𝜕𝑥 𝜕𝑦
Find the partial derivative 𝑅𝑡 (0,1) if 𝑅(𝑠, 𝑡) = 𝑡𝑒 𝑠/𝑡
2 3
Let 𝑓 𝑥, 𝑦 = 𝑥 𝑦 + 5𝑦 . Find the slope of the surface 𝑧 = 𝑓(𝑥, 𝑦) in the x-direction
at the point (1, −2).
INDEFINITE AND
DEFINITE INTEGRALS
Learning outcomes
Students should be able to
◦ find all antiderivatives of a given function
◦ evaluate indefinite integrals
◦ find the Riemann sum for a given function
◦ evaluate definite integrals
Definition (Antiderivative)
◦ A function F is an antiderivative of f on an interval I provided 𝐹 ′ 𝑥 = 𝑓(𝑥) for all x in I.
𝑑
𝑑𝑥
F(x) f(x)
◦ Example 1:
◦ Find one example of antiderivative F of f(x) = 3x2.
antiderivative
◦ Solution:
𝑑
◦ We know that 𝑑𝑥 𝑥 3 = 3𝑥 2 . So, F(x) = 𝑥 3
The family of antiderivatives
◦ Let F be any antiderivatives of f on an interval I. Then all the antiderivatives of f on I have the form F +
C, where C is an arbitrary constant.
◦ Example 2
◦ Find all antiderivatives of f(x) = x2.
◦ Solution:
𝑥3
◦ All antiderivatives of f(x) = x2 is F(x) = + Cwhere C is an arbitrary constant.
3
Indefinite integrals
◦ Find the antiderivatives of f in the indefinite integral 𝑥 𝑓 dx. 𝑑
◦ Power Rule for Indefinite Integrals: 𝑑𝑥
𝑥 𝑝+1
𝑥𝑝 𝑑𝑥 = +C
𝑝+1
F(x) f(x)
where p ≠ −1 is a real number and C is an arbitrary constant.
𝑥3
1
Answer: 𝑓 𝑥 = − 𝑥2 + 1
3
◦ Answer: − 3 cos 3𝑥 + 𝐶
Approximating Areas by Riemann Sums
◦ Suppose [a, b] is a closed interval containing n subintervals
[x0, x1], [x1, x2], …, [xn−1, xn]
Area??? 𝑏−𝑎
of equal length x = with a = x0 and b = xn.
𝑛
The points x0, x1, x2, …, xn−1, xn are called grid points, and they create
a regular partition of the interval [a, b].
In the kth subinterval [xk−1, xk], we choose a point 𝑥𝑘∗ and build a
rectangle whose height is 𝑓 𝑥𝑘∗ . The area of the rectangle on the kth
subinterval is
height base = 𝑓 𝑥𝑘∗ 𝑥
Summing the areas of the rectangles for k = 1, 2, …, n, we obtain
𝑓 𝑥1∗ 𝑥 + 𝑓 𝑥2∗ 𝑥 + ⋯ + 𝑓 𝑥𝑛∗ 𝑥.
This is an approximation to the area S; called Riemann Sum
x→ x→ x→ x→ x→
…
x
x0 = a x1 x2 x3 x4 … xn-1 xn = b
Georg Friedrich Bernhard
Riemann was an influential
Riemann Sum
German Mathematician
who made lasting and
revolutionary contributions
to analysis, number theory,
and differential geometry.
Answers:
2
a) −1 𝑥 3 − 𝑥 2 − 2𝑥 𝑑𝑥 = −2.25
0 2
b) Area = −1 𝑥 3 − 𝑥 2 − 2𝑥 𝑑𝑥 + 0 𝑥 3 − 𝑥 2 − 2𝑥 𝑑𝑥
5 2 37
= 12 + −2 3 = 12
Area between two curves
◦ If f and g are continuous functions on the interval [a, b], and if 𝑓(𝑥) ≥ 𝑔(𝑥) for all x in [a, b], then the
area of the region bounded above by 𝑦 = 𝑓(𝑥), below by 𝑦 = 𝑔(𝑥), on the left by the line 𝑥 = 𝑎, and on
the right by the line 𝑥 = 𝑏 is
𝑏
𝐴 = න 𝑓 𝑥 − 𝑔(𝑥)𝑑𝑥
𝑎
Example 9
◦ Find the area of the region that is enclosed between curves 𝑦 = 𝑥 2 and 𝑦 = 𝑥 + 6
◦ Solution:
◦ Step 1: Find the intersection points between the two curves
◦ 𝑥2 = 𝑥 + 6 → 𝑥2 − 𝑥 − 6 = 0
◦ 𝑥+2 𝑥−3 =0
◦ 𝑥 = −2, 𝑥 = 3
◦ 𝑦 = (−2)2 = 4, 𝑦 = 32 = 9
◦ Points of intersection: (−2,4) and (3,9)
Example 9
◦ Step 2: Sketch the graph 𝑏
◦ Step 3: Use formula 𝐴 = 𝑥 𝑓 𝑎− 𝑔 𝑥 𝑑𝑥.
3
◦ Area = −2 𝑥 + 6 − 𝑥 2 𝑑𝑥
125
◦ Answer: 6
EXAMPLES
Algebraic function
Example 1 Example 3
Evaluate 𝑥 2 + 3𝑥 4 2𝑥 + 3 𝑑𝑥 Evaluate 3𝑦 7 − 3𝑦 2 𝑑𝑦
(𝑥 2 +3𝑥)5 1 3Τ
Answer:
5
+𝐶 Answer: − 7 − 3𝑦 2 2 +𝐶
3
Example 2 Example 4
Evaluate 12 𝑦 4 + 4𝑦 2 + 1 2 (𝑦 3 + 2𝑦) 𝑑𝑦 Evaluate
1
𝑑𝑥
𝑥(1+ 𝑥)2
Answer: (𝑦 4 +4𝑦 2 + 1)3 + 𝐶 2
Answer: − +𝐶
1+ 𝑥
Example 5 Example 7
4 𝑑𝑦
Evaluate 𝑥 3 𝑥 2 + 1 𝑑𝑥 Evaluate 1
2 𝑦(1+ 𝑦)2
1 5 1 3
Answer: (𝑥 2 + 1) Τ2 − (𝑥 2 + 1) Τ2 + C Answer:
1
5 3
6
Example 6
1
Evaluate −1 𝑡 3 (1 + 𝑡 4 )3 𝑑𝑡
Answer: 0
Formulas of integration for
trigonometric functions and
trigonometric identities
sin 𝑥 𝑑𝑥 = − cos 𝑥 + 𝐶 cos2 𝜃 + sin2(𝜃) = 1
cos 𝑥 𝑑𝑥 = sin 𝑥 + 𝐶 1 + tan2 𝜃 = sec 2(𝜃)
Example 8 Example 10
Evaluate sin 2𝑥 𝑑𝑥 Evaluate sin2 𝑥 𝑑𝑥
cos 2𝑥 1 1
Answer: − +𝐶 Answer: 𝑥 − sin 2𝑥 + 𝐶
2 2 4
Example 9 Example 11
Evaluate cos 3𝑥 +
𝜋
𝑑𝑥 Evaluate tan2 𝑥 𝑑𝑥
4
sin 3𝑥+
𝜋 Answer: tan 𝑥 − 𝑥 + 𝐶
4
Answer: +𝐶
3 Example 12
𝜋Τ 3Τ
4
Evaluate 0 (1 − sin 2𝑡 ) 2 cos 2𝑡 𝑑𝑡
1
Answer:
5
Example 13
2𝜋
Evaluate 𝜋Τ sin 2𝜃 sin 𝜃 𝑑𝜃
2
2
Answer: −
3
Example 14
2𝜋
Evaluate 𝜋Τ sin2 𝜃 cos 𝜃 𝑑𝜃
2
1
Answer: −
3
Natural logarithmic function
1
If u is a differentiable function and that it is never zero, then 𝑑𝑢 = ln 𝑢 + 𝐶
𝑢
Example 15
−2 1
Evaluate −3 𝑑𝑥
𝑥
2
Answer: 𝑙𝑛
3
Example 16
2𝑦
Evaluate 𝑑𝑦
𝑦 2 −25
Answer: 𝑙𝑛 𝑦 2 − 25 + 𝐶
Modulus function
Example 17
4
Evaluate −4 𝑥 𝑑𝑥
Answer: 16
Example 18 −4 4
1
Evaluate −1 2 − 𝑥 𝑑𝑥
y
Answer: 3 2
−1 0 1 x
Exponential function
𝑥 𝑒 = 𝑥𝑑 𝑥 𝑒 + 𝐶 Example 21
𝑒𝑟
Example 19 Evaluate 𝑑𝑟
1+𝑒 𝑟
Evaluate 𝑒 3𝑥 + 5𝑒 −𝑥 𝑑𝑥 Answer: ln 1 + 𝑒 𝑟 + 𝐶
𝑒 3𝑥
Answer: − 5𝑒 −𝑥 + 𝐶
3
Example 20
2
Evaluate 2𝑡𝑒 −𝑡 𝑑𝑡
2
Answer: −𝑒 −𝑡 + 𝐶
Inverse Trigonometric Functions
𝑑𝑥 𝑥
= sin−1 ( ) + 𝐶
𝑎2 −𝑥 2 𝑎
𝑑𝑥 1 𝑥
𝑎 2 +𝑥2 = 𝑎 tan−1 𝑎
+𝐶
𝑑𝑥 1 𝑥
𝑥 = sec −1 + 𝐶, 𝑎 > 0
𝑥 2 −𝑎 2 𝑎 𝑎
Example 22 Example 23 1
𝑎=
Evaluate
4
𝑑𝑥 Evaluate
𝑑𝑥 4
9−𝑥 2 16𝑥 2 +1
Solution: Solution:
4 𝑑𝑥 𝑥 𝑑𝑥 1 𝑑𝑥 1 𝑑𝑥
𝑑𝑥 = 4 = 4sin−1 +𝐶 16𝑥 2+1 = 16 1 =
16 𝑥 2 +(1)2
9−𝑥 2 32 −𝑥2 3 𝑥2+
16 4
1
= tan−1 4𝑥 + 𝐶
a=3 4
Hyperbolic function
Definition (hyperbolic function)
Example 1 Example 3
𝑑 ln(3)
Evaluate
𝑑𝑥
sech(3𝑥) Evaluate 0 sinh3 𝑥 cosh 𝑥 𝑑𝑥
64
Answer: −3 sech 3𝑥 tanh 3𝑥 Answer:
81
Example 2
csch2 𝑥
Evaluate 𝑑𝑥
𝑥
Answer: −2 coth 𝑥 +𝐶
Integration techniques: Integration by
parts
𝑑 𝑑 𝑑
𝑢𝑣 = 𝑣 𝑢 +𝑢 (𝑣)
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑 𝑑
𝑥𝑑 𝑢 𝑥𝑑 𝑣 = 𝑥𝑑 𝑣𝑢 𝑥𝑑 + )𝑣( 𝑥𝑑 𝑢
𝑢𝑑𝑣 = 𝑣𝑢 𝑑 + 𝑣𝑑𝑢
𝑢𝑣 = 𝑢𝑑𝑣 + 𝑣𝑑𝑢
Suppose that u and v are differentiable functions. Then
𝑣𝑢 = 𝑣𝑑 𝑢 − 𝑢𝑑𝑣
Examples: Integration by parts
Example 1
3𝑥 3𝑥
Find the partial fraction decomposition for 𝑓 𝑥 = . Then, evaluate 𝑑𝑥
𝑥 2 +2𝑥−8 𝑥 2 +2𝑥−8
Solution:
Step 1: Factor the denominator
3𝑥 3𝑥
=
𝑥 2 +2𝑥−8 (𝑥−2)(𝑥+4)
A + B = 3 --- (1) 3𝑥 1 2
𝑥 2+2𝑥−8 𝑑𝑥 = 𝑥 −2 + 𝑥+4 𝑑𝑥
4A – 2B = 0 --- (2)
= ln 𝑥 − 2 + 2 ln 𝑥 + 4 + 𝐶
From (1), A = 3 – B. So,
= ln 𝑥 − 2 (𝑥 + 4)2 + 𝐶
4(3 – B) – 2B = 0
12 – 6B = 0
B = 2.
Therefore, A = 3 – 2 = 1.
1 2
Partial decomposition for f(x) is +
𝑥−2 𝑥+4
Method of partial fractions
Example 2
3𝑥 2 +7𝑥−2 3𝑥 2 +7𝑥−2
Find the partial decomposition for 𝑓(𝑥) = . Then evaluate 𝑥 3−𝑥 2−2𝑥 𝑑𝑥
𝑥 3 −𝑥 2 −2𝑥
Solution:
Step 1: Factor the denominator
Denominator: 𝑥 3 − 𝑥 2 − 2𝑥 = 𝑥 𝑥 2 − 𝑥 − 2 = 𝑥(𝑥 + 1)(𝑥 − 2)
Step 2: Form the partial fraction decomposition by writing
3𝑥2 +7𝑥−2 𝐴 𝐵 𝐶
= + +
𝑥(𝑥+1)(𝑥−2) 𝑥 𝑥+1 𝑥−2
A = 1, B = −2 and C = 4.
3𝑥 2 +7𝑥−2 1 2 4
𝑥 3−𝑥 2−2𝑥 𝑑𝑥 = −
𝑥 𝑥+1
+
𝑥−2
𝑑𝑥 = ln 𝑥 − 2 ln 𝑥 + 1 + 4 ln 𝑥 − 2 + 𝐶
|𝑥|(𝑥−2)4
= ln +𝐶
(𝑥+1)2
Method of partial fractions: Repeated
linear factors
Procedure: Suppose the repeated linear factor (x – r)m appears in the denominator of a
proper rational function in reduced form. The partial fraction decomposition has a partial
fraction for each power of (x – r) up to and including the mth power; that is, the partial
fraction decomposition contains the sum
𝐴1 𝐴2 𝐴3 𝐴𝑚
+ + +⋯+
(𝑥−𝑟) (𝑥−𝑟)2 (𝑥−𝑟)3 (𝑥−𝑟)𝑚
Example 3 5𝑥 2 −3𝑥+2 1 1 4
𝑥 3−2𝑥2 𝑑𝑥 = − + 𝑑𝑥
𝑥 𝑥2 𝑥−2
5𝑥 2 −3𝑥+2
Evaluate 𝑥𝑑 𝑥 𝑓 where 𝑓(𝑥) = :
𝑥 3 −2𝑥 2
Solution: :
5𝑥 2 −3𝑥+2 5𝑥 2 −3𝑥+2 𝐴 𝐵 𝐶 4 1
= = + + = ln 𝑥 𝑥 − 2 + +𝐶
𝑥 3 −2𝑥2 𝑥 2 (𝑥−2) 𝑥 𝑥2 𝑥−2 𝑥
:
:
A = 1, B = −1, C = 4
Method of partial fractions: Irreducible
factor
:
:
A = 5, B = 2, C = 1 ln 𝑥 2 − 2𝑥 + 3 +
3
tan−1
𝑥−1
2 2
Method of partial fractions: Irreducible
factor
7𝑥 2 −13𝑥+13 3 𝑥−1
𝑥( −2)(𝑥2−2𝑥+3) 𝑑𝑥 = 5 ln 𝑥 − 2 + ln 𝑥 2 − 2𝑥 + 3 + tan−1 + C.
2 2
IMPROPER INTEGRALS: Improper
integrals over infinite intervals
Definition:
∞ 𝑡
1. If f is continuous on [a, ∞) then = 𝑥𝑑 𝑥 𝑓 𝑎lim 𝑥𝑑 𝑥 𝑓 𝑎
𝑡→∞
𝑏 𝑏
2. If f is continuous on (−∞, b] then −∞ 𝑓 𝑥 𝑑𝑥 = lim 𝑥𝑑 𝑥 𝑓 𝑡
𝑡→−∞
3. If f is continuous on (−∞, ∞) then
∞ 𝑐 ∞
න 𝑓 𝑥 𝑑𝑥 = න 𝑓 𝑥 𝑑𝑥 + න 𝑓 𝑥 𝑑𝑥
−∞ −∞ 𝑐
𝑐 𝑡
= lim 𝑓 𝑡 𝑥 𝑑𝑥 + lim 𝑥𝑑 𝑥 𝑓 𝑐
𝑡→−∞ 𝑡→∞
where c is any real number.
If the limits in cases 1 ⎯ 3 exist (as a finite number), then the improper integrals converge; otherwise
they diverge.
Examples: Improper integrals
Example 1
Evaluate each integral
∞ ∞ 𝑑𝑥
a) 0 𝑒 −3𝑥 𝑑𝑥 b) −∞
1+𝑥 2
1
Answers: a) b)
3
Examples: Improper integrals
Example 2
∞1
Determine whether the integral 1 𝑑𝑥 converges or
𝑥
diverges.
∞1
Answer: 1 𝑑𝑥 = ∞. Thus, the integral diverges.
𝑥
Example 3
0
Determine whether the integral −∞ 𝑥𝑒 𝑥 𝑑𝑥 converges
or diverges.
0
Answer: −∞ 𝑥𝑒 𝑥 𝑑𝑥 = −1. Thus, the integral
converges.
IMPROPER INTEGRALS: Improper
integrals with discontinuous integrands
Definition:
𝑏 𝑡
1. If f is continuous on [a, b) and is discontinuous at b, then = 𝑥𝑑 𝑥 𝑓 𝑎lim− 𝑥𝑑 𝑥 𝑓 𝑎if this limit
𝑡→𝑏
exists (as a finite number).
𝑏 𝑏
2. If f is continuous on (a, b] and is discontinuous at a, then = 𝑥𝑑 𝑥 𝑓 𝑎lim+ 𝑥𝑑 𝑥 𝑓 𝑡if this limit
𝑡→𝑎
exists (as a finite number).
𝑏
The improper integral 𝑥𝑑 𝑥 𝑓 𝑎converges if the corresponding limit exists and diverges if the limit does
not exist.
𝑐 𝑏
3. If f has a discontinuity at c, where 𝑎 < 𝑐 < 𝑏, and both 𝑥𝑑 𝑥 𝑓 𝑎and 𝑥𝑑 𝑥 𝑓 𝑐converge, then
𝑏 𝑐 𝑏
𝑥𝑑 𝑥 𝑓 𝑎 = 𝑥𝑑 𝑥 𝑓 𝑎+ 𝑥𝑑 𝑥 𝑓 𝑐.
Examples:
Improper integrals
Example 4
3 1
Determine whether 0 𝑑𝑥 converges or diverges.
𝑥−1
3 1
Answer: 0 𝑑𝑥 = ∞ . Thus, this integral diverges.
𝑥−1
Example 5
5 1
Determine whether 2 𝑑𝑥 converges or diverges.
𝑥−2
5 1
Answer: 2 𝑑𝑥 = 2 3 . Thus, this integral converges.
𝑥−2
DOUBLE INTEGRALS
Learning outcomes
Recall that the single integral of one variable arose from the problem of finding areas
under curves. If 𝑓 is defined for 𝑎 ≤ 𝑥 ≤ 𝑏 then the definite integral of 𝑓 from 𝑎 to 𝑏 is:
𝑏 𝑛
න 𝑓 𝑥 𝑑𝑥 = lim 𝑓 𝑥𝑖∗ ∆𝑥 .
𝑛→∞
𝑎 𝑖=1
Introduction
Integrals of functions of two variables arise
from the problem of finding volumes under
surfaces.
The volume problem: Given a function f of
two variables that is continuous and
nonnegative on a region R in the xy-plane,
find the volume of the solid enclosed
between the surface z = f(x, y) and the
region R.
Surfaces
Solids
Example 1
Consider 𝑅 to be a closed rectangle defined by
𝑅 = 0,1 × 0,2 = 𝑥, 𝑦 ∈ ℝ2 |0 ≤ 𝑥 ≤ 1, 0 ≤ 𝑦 ≤ 2 z
Solid S
and suppose the surface 𝑓 𝑥, 𝑦 = 6. 6
R 1 2 6 y
3
x
Example 2
Consider 𝑅 to be a closed rectangle defined by
𝑅 = 0,1 × 0,2 = 𝑥, 𝑦 ∈ ℝ2 |0 ≤ 𝑥 ≤ 1, 0 ≤ 𝑦 ≤ 2 z
R 1 2 6 y
3
x
Example 3
Estimate the volume of the solid that lies above the square 𝑅 = 0,2 × 0,2 and below
𝑧 = 16 − 𝑥 2 − 𝑦 2 by dividing 𝑅 into four equal squares and choose the sample point to
be the upper right corner of each square 𝑅𝑖𝑗 .
Answer: 44
y
x
0 2
Process of approximating the volume
of the solid
• Now consider 𝑅 to be a closed rectangle defined by
𝑅 = 𝑎, 𝑏 × 𝑐, 𝑑 = 𝑥, 𝑦 ∈ ℝ2 |𝑎 ≤ 𝑥 ≤ 𝑏, 𝑐 ≤ 𝑦 ≤ 𝑑
and suppose the surface 𝑓 𝑥, 𝑦 ≥ 0.
• Divide the rectangle 𝑅 into subrectangles 𝑅𝑖𝑗 = 𝑥𝑖−1 , 𝑥𝑖 × 𝑦𝑗−1 , 𝑦𝑗 . This can be done
by dividing the intervals 𝑎, 𝑏 and 𝑐, 𝑑 into respectively 𝑚 and 𝑛 subintervals of equal
width ∆𝑥 and ∆𝑦. The area of each 𝑅𝑖𝑗 is ∆𝐴 = ∆𝑥∆𝑦.
if this limit exists. When this happens, we say that 𝑓 is integrable over 𝑅.
Thus if 𝑓 𝑥, 𝑦 ≥ 0, then 𝑉 represents the volume of the solid that lies above the
rectangle 𝑅 and below the surface 𝑧 = 𝑓 𝑥, 𝑦 .
Iterated integrals
Integration
𝑏 𝑑 𝑏 𝑑
න න 𝑓 𝑥, 𝑦 𝑑𝑦 𝑑𝑥 = න න 𝑓 𝑥, 𝑦 𝑑𝑦𝑑𝑥
𝑎 𝑐 𝑎 𝑐
𝑑 𝑏 𝑑 𝑏
න න 𝑓 𝑥, 𝑦 𝑑𝑥 𝑑𝑦 = න න 𝑓 𝑥, 𝑦 𝑑𝑥𝑑𝑦
𝑐 𝑎 𝑐 𝑎
The above two iterated integrals are equal and the order of integration does not
matter.
Example 4: Evaluate the iterated integrals
3 2 2 3
න න 𝑥 2 𝑦 𝑑𝑦𝑑𝑥 ; න න 𝑥 2 𝑦 𝑑𝑥𝑑𝑦
0 1 1 0
(Answer: 27/2)
Properties of double integrals
𝑓 𝑥, 𝑦 = 4 − 𝑥 − 𝑦
and below by the rectangle 𝑅 = 0,1 × 0,2 . Then, find its volume.
Answer: Sketching ….(Student activity)
Volume = 5
Double integrals over general regions
We will limit our study to two types of regions, which we will call Type I and Type II.
Type 1 region
ඵ 2𝑥 − 𝑦 2 𝑑𝐴
𝑅
over the following shaded region
𝑥
4 𝑥 4 𝑦3
Solution: 2 𝑥 2𝑥 − 𝑦2 𝑑𝑦𝑑𝑥 = 2 2𝑥𝑦 − 3 ቃ𝑥 𝑑𝑥 … (student activity)
2 2
Example 7
Set up the double integral to find the volume of z = 4 – 4x – 2y over the region R
Answer: 2−𝑦
1 2−2𝑥 2 2
ඵ 𝑓 𝑥, 𝑦 𝑑𝐴 = න න 4 − 4𝑥 − 2𝑦 𝑑𝑦𝑑𝑥 = න න 4 − 4𝑥 − 2𝑦 𝑑𝑥𝑑𝑦.
𝑅 0 0 0 0
Example 8
Set up the double integral
ඵ 25 − 𝑥 2 − 𝑦 2 𝑑𝐴
𝑅
Area of a region R is
the volume of a solid
with the height of 1.
Example 10
Find the area of the shaded region below:
𝜋 𝜋 𝜋
cos 𝑦 𝜋 3
Solution: 0 0
3 1 3 3
𝑑𝑥𝑑𝑦 = 0 cos 𝑦 𝑑𝑦 = sin 𝑦ሿ0 = sin 3 = = 0.8660
2
Double integrals in polar coordinate: polar
coordinate and Cartesian coordinate
Double integrals in polar coordinate:
relating polar and Cartesian coordinates
We can locate the polar axis to the x-axis and the pole on
Some double integrals are easier to evaluate if
𝑅 is expressed in polar coordinates. the origin of the Cartesian coordinate plane.
𝑥 = 𝑟 cos 𝜃
ൠ 𝑥2 + 𝑦2 = 𝑟2
𝑦 = 𝑟 sin 𝜃
𝑦
𝜃 = tan−1 ( )
𝑥
𝑓 𝑥, 𝑦 → 𝑓 𝑟 cos 𝜃 , 𝑟 sin 𝜃 = 𝑓 𝑟, 𝜃
and the limit of integrations are chosen from polar
coordinates.
Example 11
Convert f(x,y) to polar coordinates
a) 𝑓 𝑥, 𝑦 = 𝑥 2 + 𝑦 2 𝐴𝑛𝑠𝑤𝑒𝑟: 𝑓 𝑟, 𝜃 = 𝑟2 = 𝑟
b) 𝑓 𝑥, 𝑦 = 𝑎 − 𝑥 2 − 𝑦 2 𝐴𝑛𝑠𝑤𝑒𝑟: 𝑓 𝑟, 𝜃 = 𝑎 − 𝑟 2
1 1
c) 𝑓 𝑥, 𝑦 = 𝑥 2+𝑦2 𝐴𝑛𝑠𝑤𝑒𝑟: 𝑓 𝑟, 𝜃 = 𝑟 2
Simple polar region
y+x=6
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑧 = 𝑦 2 + 𝑥 2 and 𝑧 =
𝑦2 + 𝑥2
𝑧= 𝑦2 + 𝑥2 Paraboloid 𝑧 = 𝑦 2 + 𝑥 2
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑦 = 𝑧 2 + 𝑥 2 and 𝑦 =
𝑧2 + 𝑥2
𝑦= 𝑧2 + 𝑥2 Paraboloid 𝑦 = 𝑧 2 + 𝑥 2
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑥 = 𝑦 2 + 𝑧 2 and 𝑥 =
𝑦2 + 𝑧2
𝑥= 𝑦2 + 𝑧2 Paraboloid 𝑥 = 𝑦 2 + 𝑧 2
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑥 + 𝑦 + 𝑧 = 2 and 2𝑦 − 𝑧 = 7 Plane
𝑥+𝑦+𝑧 =2
2𝑦 − 𝑧 = 7
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑧 2 + 𝑦 2 + 𝑥 2 = 4,
𝑧 = 4 − 𝑦2 + 𝑥2
Sphere 𝑧 2 + 𝑦 2 + 𝑥 2 = 4 𝑧 = 4 − 𝑦2 + 𝑥2
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑧 = 2, 𝑧 = 2𝑥, 𝑧 = −1 and 𝑧=2 𝑧=0
𝑧=0
𝑧 = −1
𝑧 = 2𝑥
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑧2 + 𝑦 − 1 2
+ 𝑥2 = 3
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑧 = 16 − 𝑦 2 − 𝑥 2 , 𝑧 = 1 − 𝑥 2 ,
𝑧 = 1 − 𝑥2
𝑧 = 1 − 𝑦2 𝑧 = 1 − 𝑦2
𝑧= 16 − 𝑦 2 − 𝑥 2
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑥 = 1 − 𝑧2
𝑧 =2+ 𝑦2 + 𝑥 2, 𝑥=1− 𝑦2,
𝑥 = 1 − 𝑧2
𝑥 = 1 − 𝑦2
𝑧 = 2 + 𝑦2 + 𝑥2
VARIOUS PLANES AND SURFACES
Equation Graph in 3D
𝑥 2 + 𝑧 2 = 4, 𝑥 + 1 2
+ 𝑧−3 2
=4
𝑥2 + 𝑧2 = 4
(𝑥 + 1)2 + (𝑧 − 3)2 = 4
VARIOUS PLANES AND SURFACES
x
𝜋
0
2
b) Compare the result in part (a) to the exact value of the volume.
EXAMPLE 2
Each iterated integral represents the volume of a solid. Make a sketch of the solid. (You do not have to find the
volume).
5 2
0 1 4𝑑𝑥𝑑𝑦
1 1
0 0 2 − 𝑥 − 𝑦𝑑𝑦𝑑𝑥
3 4
0 0 25 − 𝑥 2 − 𝑦 2 𝑑𝑦𝑑𝑥
2 2𝑦
1/4 𝑦
5 𝑑𝑥𝑑𝑦
EXAMPLE 3
a) Use a double integral in polar coordinates to find the volume of a cylinder of radius a and height h.
2 +𝑦 2 )
b) Use polar coordinates to evaluate 𝑒 𝑅−(𝑥 𝑑𝐴, where R is the region enclosed by the circle 𝑥 2 + 𝑦 2 = 1.
TRIPLE INTEGRALS
LEARNING OUTCOMES
G is a general solid
TRIPLE INTEGRALS OVER RECTANGULAR BOXES
Example 1
Let 𝐺 = 0,1 × 0,4 × 0,2 =
𝑥, 𝑦, 𝑧 0 ≤ 𝑥 ≤ 1, 0 ≤ 𝑦 ≤ 4,0 ≤ 𝑧 ≤ 2 and
z
𝑓 𝑥, 𝑦, 𝑧 = 2 − 𝑧. Solid G
∗ ∗ ∗
where the sample point 𝑥𝑖𝑗𝑘 , 𝑦𝑖𝑗𝑘 , 𝑧𝑖𝑗𝑘 ∈ 𝐺𝑖𝑗𝑘 .
TRIPLE INTEGRALS
𝑙 𝑚 𝑛
∗ ∗ ∗
𝑓(𝑥, 𝑦, 𝑧) 𝑑𝑉 = lim 𝑓 𝑥𝑖𝑗𝑘 , 𝑦𝑖𝑗𝑘 , 𝑧𝑖𝑗𝑘 ∆𝑉
𝑙,𝑚 ,𝑛→∞
𝐺 𝑖=1 𝑗 =1 𝑘=1
The practical method for evaluating triple integrals is to express them as iterated
integrals as follows:
12𝑥𝑦 2 𝑧 3 𝑑𝑉
𝐺
𝑔2 (𝑥,𝑦)
𝑓 𝑥, 𝑦, 𝑧 𝑑𝑉 = ඵ න 𝑓 𝑥, 𝑦, 𝑧 𝑑𝑧 𝑑𝐴
𝑔1 (𝑥,𝑦)
𝐺 𝑅
DETERMINING LIMITS OF INTEGRATION: SIMPLE XY-
SOLID IN RECTANGULAR COORDINATES
• Step 1: Find an equation 𝑧 = 𝑔2 (𝑥, 𝑦) for the upper surface and an equation 𝑧 =
𝑔1 (𝑥, 𝑦) for the lower surface of G. The functions 𝑔1 (𝑥, 𝑦) and 𝑔2 (𝑥, 𝑦) determine
the lower and upper z-limits of integration.
• Step 2: Make a two-dimensional sketch of the projection R of the solid on the xy-
plane. From this sketch, determine the limits of integration for the double integral
over R
Example 3
1−𝑦 2
• We have 𝑅 = 𝑉𝑑𝑧 𝐺0 𝑧 𝑑𝑧 𝑑𝐴
• Step 2: Make a sketch of the projection R of the solid on the xy-plane.
1
• Answer =
8
INTEGRATION IN DIFFERENT ORDERS
𝑔2 (𝑥,𝑦)
𝑓 𝑥, 𝑦, 𝑧 𝑑𝑉 = ඵ න 𝑓 𝑥, 𝑦, 𝑧 𝑑𝑧 𝑑𝐴
𝑔1 (𝑥,𝑦)
𝐺 𝑅
𝑔2 (𝑥,𝑧)
𝑓 𝑥, 𝑦, 𝑧 𝑑𝑉 = ඵ න 𝑓 𝑥, 𝑦, 𝑧 𝑑𝑦 𝑑𝐴
𝑔1 (𝑥,𝑧)
𝐺 𝑅
INTEGRATION IN DIFFERENT ORDERS
𝑔2 (𝑦,𝑧)
𝑓 𝑥, 𝑦, 𝑧 𝑑𝑉 = ඵ න 𝑓 𝑥, 𝑦, 𝑧 𝑑𝑥 𝑑𝐴
𝑔1 (𝑦,𝑧)
𝐺 𝑅
Example 4
𝑦2 + 𝑧2 = 1
(𝑧 = 1 − 𝑦 2 )
𝑦 1 1−𝑦 2 𝑦 1 1−𝑧 2 𝑦
We have 𝑅 = 𝑉𝑑𝑧 𝐺 0 𝑧 𝑑𝑥 𝑑𝐴 = 0 0 0 𝑧 𝑑𝑥 𝑑𝑧𝑑𝑦 = 0 0 0 𝑧 𝑑𝑥 𝑑𝑦𝑑𝑧
1
Answer =
8
RELATING CYLINDRICAL AND RECTANGULAR
COORDINATES
• 𝑥 = 𝑟 cos 𝜃,
• 𝑦 = 𝑟 sin 𝜃,
• 𝑧=𝑧
• 𝑟2 = 𝑥 2 + 𝑦2,
• tan 𝜃 = 𝑦/𝑥
𝑔2 (𝑟,𝜃)
𝑓 𝑟, 𝜃, 𝑧 𝑑𝑉 = ඵ න 𝑓 𝑟, 𝜃, 𝑧 𝑑𝑧 𝑑𝐴
𝑔1 (𝑟,𝜃)
𝐺 𝑅
𝜃2 𝑟2 (𝜃) 𝑔2 (𝑟,𝜃)
=න න න 𝑓 𝑟, 𝜃, 𝑧 𝑟𝑑𝑧𝑑𝑟𝑑𝜃
𝜃1 𝑟1 (𝜃) 𝑔1 (𝑟,𝜃)
DETERMINING LIMITS OF INTEGRATION IN
CYLINDRICAL COORDINATES
• Step 1: Identify the upper surface and lower surface of the solid (must be in
cylindrical coordinate). These surfaces are the lower and upper limits for 𝑧.
• Step 2: Sketch the projection (simple polar region) on the xy-plane and find the
limits for 𝑥 and 𝑦.
Example 5
Let G be the solid region inside the sphere of radius 2 centered at the origin and
above the plane 𝑧 = 1. Set up the triple integral
𝑧
𝐺 𝑑𝑉
𝑥 2 +𝑦 2 +𝑧 2
in cylindrical coordinates.
2𝜋 3 4−𝑟 2
Answer: 0 0 1 𝑧/(𝑟 2 + 𝑧 2 )𝑟𝑑𝑧𝑑𝑟𝑑𝜃
Example 6
Use triple integration in cylindrical coordinates
to find the volume of the solid G that is
bounded above by the hemisphere 𝑧 =
25 − 𝑥 2 − 𝑦 2 , below by the xy-plane and
laterally by the cylinder 𝑥 2 + 𝑦 2 = 9 .
2𝜋 3 25−𝑟 2 𝜋
Answer: 0 0 0 𝑟 𝑑𝑧𝑑𝑟𝑑𝜃 = 122 .
3
Example 7
Use cylindrical coordinate to evaluate
3 9−𝑥 2 9−𝑥 2 −𝑦 2
න න න 𝑥 2 𝑑𝑧𝑑𝑦𝑑𝑥
−3 − 9−𝑥 2 0
𝜋
Answer: 243 .
4
SOME EXAMPLES TRIPLE
INTEGRALS
Example 1 dV = dz dA or dV = dA dz ?
Which one is simpler to
calculate in this example ?
Solution:
𝜋 𝜋
1 𝜋 1 𝜋 −𝑥𝑦 cos(𝑦𝑧) 6
0 0 06 𝑥𝑦 sin 𝑦𝑧 𝑑𝑧𝑑𝑥𝑑𝑦 = 0 0 𝑦
𝑑𝑥𝑑𝑦
0
1 𝜋 𝜋
= 0 0 −𝑥 cos 𝑦 + 𝑥 𝑑𝑥𝑑𝑦
6
𝜋
1 𝑥2 𝜋 𝑥2
= 0 − 2 cos 6 𝑦 + 𝑑𝑦
2 0
1 𝜋2 𝜋 𝜋2
= 0 − 2 cos 6 𝑦 + 2 𝑑𝑦
Continue
𝜋
1 𝜋2 𝜋 𝜋2 𝜋2 sin 𝑦 𝜋2 𝜋2
6
0 − 2 cos 6 𝑦 + 2 𝑑𝑦 = −2 𝜋 + 2
− − 2 (0) +0
6
𝜋2 6 1 𝜋2 𝜋 3 𝜋−3
= −2 𝜋 2 + =𝜋 −2 =𝜋 .
2 2 2
Example 2
the first octant is
the portion under
an xyz-axis where
Evaluate 𝑉𝑑 𝑧𝑦𝑥 𝐺where G is the solid in the first octant that is bounded by the
all three variables
parabolic cylinder 𝑧 = 2 − 𝑥 2 and the planes 𝑧 = 0, 𝑦 = 𝑥, and 𝑦 = 0. are positive
values.
Continue
Solution:
Upper surface: 𝑧 = 2 − 𝑥 2
Lower surface: 𝑧 = 0
2−𝑥 2
We have = 𝑉𝑑 𝑧𝑦𝑥 𝐺 𝑅0 𝑥𝑦𝑧 𝑑𝑧 𝑑𝐴
Continue
Region R:
2 𝑥 2−𝑥 2
We have 0 0 0 𝑥𝑦𝑧 𝑑𝑧𝑑𝑦𝑑𝑥
1
Answer: 6
Example 3
Find the volume of the solid between the cone 𝑧 = 𝑥 2 + 𝑦 2 and the inverted paraboloid
𝑧 = 12 − 𝑥 2 − 𝑦 2 .
Continue
Solution:
Upper surface: 𝑧 = 12 − 𝑥 2 − 𝑦 2 → 𝑧 = 12 − 𝑟 2
Lower surface: 𝑧 = 𝑥2 + 𝑦2 → 𝑧 = 𝑟
12−𝑟 2
We have 𝐺1 𝑑𝑉 = 𝑟 𝑅 1 𝑑𝑧 𝑟𝑑𝑟𝑑𝜃
Continue
2 3 12−𝑟 2
We have 0 0 𝑟 1 𝑟𝑑𝑧𝑑𝑟𝑑
99𝜋
Answer: 2
VECTORS IN THREE
DIMENSIONS
Learning outcomes
2
(a) Given that 𝐯 = 2, −3 and w = 1,10 . Compute v + w, v – w, and − 5 𝐰 + 2𝐯.
2 18
Answer: 𝐯 + 𝐰 = 3,7 , 𝐯 − 𝐰 = 1, −13 , − 5 𝐰 + 2𝐯 = , −10
5
1 2
(b) Given that 𝐯 = 1, −2,0.6 and w = 0,2, − 2 . Compute v + w, v – w, and − 5 𝐰 + 2𝐯.
2 24
Answer: 𝐯 + 𝐰 = 1,0,0.1 , 𝐯 − 𝐰 = 1, −4,1.1 , − 5 𝐰 + 2𝐯 = 2, − , 1.4
5
Illustration
−2v
w
1
v v v+w 1
2 −2w
v
1
𝐯− 𝐰
2
Rules of vector arithmetic
For any vectors u, v, and w and any scalars k and l, the following relationships hold:
(a) u+v=v+u
(b) (u + v) + w = u + (v + w) 𝟎 = 0,0,0 is a
zero vector
(c) u+0=0+u=u
(d) u + (−u) = 0
(e) k(lu) = (kl)u
(f) k(u + v) = ku + kv
(g) (k + l)u = ku + lu
(h) 1u = u
Position vectors
In R2, position vector of a point P (x, y) is the vector 𝑂𝑃 where O is the origin (0, 0).
In R3, position vector of a point P (x, y, z) is the vector 𝑂𝑃 where O is the origin (0, 0, 0).
z
P (x, y, z)
𝑂𝑃
0
y
x
y
Vectors in R3 𝐴𝐵 = 2,2 𝐵(3,4)
𝐴(1,2)
z
If 𝐴𝐵 is a vector in R2 with initial point
𝐴(𝑥1 , 𝑦1 ) and terminal point 𝐵(𝑥2 , 𝑦2 )
then 𝐴𝐵 = 1, −2,2 x
𝐴𝐵 = 𝑥2 − 𝑥1 , 𝑦2 − 𝑦1
B(2,0,4) 𝐴(1,2,2)
Similarly, if 𝐴𝐵 is a vector in R3 with
initial point 𝐴(𝑥1 , 𝑦1 , 𝑧1 ) and terminal
point 𝐵(𝑥2 , 𝑦2 , 𝑧2 ) then y
𝐴𝐵 = 𝑥2 − 𝑥1 , 𝑦2 − 𝑦1 , 𝑧2 − 𝑧1
Note: Terminal point – Initial point
x
Example 2
(a) Find the vector 𝐴𝐵 with 𝐴(1, −3) and 𝐵(−2,3). Draw 𝐴𝐵.
(b) Given the point 𝑅 1,2 . Determine points P, Q and the vector 𝑅𝑃 with 𝑃𝑄 = 4,2 and 𝑄𝑅 = −2,3 .
(c) Find the vector 𝑄𝑅 with 𝑅(1,3,5) and Q 1,2, −5 . Draw 𝑄𝑅.
Answers: 𝐴𝐵 = −3,6 , 𝑅𝑃 = −2, −5 , point 𝑃(−1, −3), point 𝑄(3, −1), 𝑄𝑅 = 0,1,10
Magnitude (or length) of vectors
The magnitude (or length) of a vector v is the distance between the initial and terminal
points of v.
The length of a vector 𝐯 = 𝑣1 , 𝑣2 is 𝐯 = 𝑣12 + 𝑣22 .
1
(a) Given that 𝐯 = −1,2,2 and 𝐰 = 0,3,1 . Compute 𝐯 and 𝐯 −𝐰 .
2
1 17
Answers: (a) 𝐯 = 3, 𝐯 −𝐰 = .
2 2
(b) 𝑃𝑅 = 29
Unit vectors
If 𝐯 is any nonzero vector, then the unit vector that has the same direction as v is
1 𝐯
𝐰= 𝐯= .
𝐯 𝐯
In R2, vectors 1,0 and 0,1 are denoted by 𝐢 = 1,0 and 𝐣 = 0,1 . Every vector in
R2 can be expressed in terms of i and j. They are called the standard basis vectors in R2.
In R3, vectors 1,0,0 , 0,1,0 and 0,0,1 are denoted by 𝐢 = 1,0,0 , 𝐣 = 0,1,0 and
𝐤 = 0,0,1 . Every vector in R3 can be expressed in terms of i, j and k. They are called
the standard basis vectors in R3.
Example 4
Given that 𝐮 = 1,2,0 and 𝐯 = 5, −1,3 . Compute the angle between u and v.
Answer: 76.890
The cross product
If 𝐮 = 𝑢1 , 𝑢2 , 𝑢3 and 𝐯 = 𝑣1 , 𝑣2 , 𝑣3 are vectors in R3, then
the cross product 𝐮 × 𝐯 is the vector defined by
Or equivalently
Example 8
(a) Given that 𝐮 = 1,2,0 and 𝐯 = −3,1,3 . Compute the angle between u and
v. Draw u, v and 𝐮 × 𝐯. Hence, determine the magnitude of 𝐮 × 𝐯 .
(b) Find the area of the triangle that is determined by the points 𝑃(2,2,0),
𝑄 −1,0,2 and R 0,4,3 .
Answers uv
u
Work done by a force
Now suppose that the there is an angle theta between direction in which the
constant force is applied and the direction of motion.
In this case the work is given by:
Work = |F|cos() |D| = |F||D|cos() = F • D
Example 10
A child pulls a wagon with a force of 𝐅 = 20N for a distance of 100 m along a
horizontal path. The handle of the wagon makes an angle of 𝜃 = 300 to the horizontal.
Find the work done by the force.
Solution: Work = | F | | D | cos()
= 20 (100) cos(300)
1732 J
Parametric equations and
Cartesian equations
The path of a particle moving in a plane need not trace out the
graph of a function, hence we cannot describe the path by
expressing y directly in terms of x. An alternate way to describe
the path of the particle is to express the coordinates of its points
as functions of a third variable using a pair of equations
x = x(t), y = y(t).
Equations of this form are called parametric equations for x and
y, and the unknown t is called a parameter. The parameter t may
represent time in some instances, an angle in other situations, or
the distance a particle has traveled along the path from a
designated starting point.
Example 1
Sketch a line represented by the parametric equations
𝑥 = 1 − 𝑡, 𝑦 = 3𝑡, 𝑧 = 2𝑡, where 0 ≤ 𝑡 ≤ 1.
Answer:
Parametric equations and
Cartesian equations
Parametric equation Cartesian equation
Equation: 𝑥 = cos(𝑡), 𝑦 = sin 𝑡 , Equation: 𝑥 2 + 𝑦 2 = 1 . The graph
0 ≤ 𝑡 ≤ 2𝜋 . The graph is a circle is a circle of radius 1, centered at
of radius 1, centered at the origin, the origin.
and oriented counterclockwise.
Example 2
A curve is defined by
𝑥 = 1 − 𝑡 2 , 𝑦 = 𝑡 − 2, −2 ≤ 𝑡 ≤ 2
Sketch the curve by using the parametric equations to plot
the points. Indicate with an arrow the direction in which the
curve is traced as t increases.
Answer:
Example 3
P0 𝐯 = 𝑎, 𝑏 𝐯 = 𝑎, 𝑏, 𝑐
P0
• 𝑃0 𝑃 = 𝑡𝐯
• 𝑃0 𝑃 = 𝑡𝐯 • 𝑥 − 𝑥0 , 𝑦 − 𝑦0 , 𝑧 − 𝑧0 =
• 𝑥 − 𝑥0 , 𝑦 − 𝑦0 = 𝑡𝑎, 𝑡𝑏 𝑡𝑎, 𝑡𝑏, 𝑡𝑐
• 𝑥 = 𝑥0 + 𝑎𝑡, 𝑦 = 𝑦0 + 𝑏𝑡 • 𝑥 = 𝑥0 + 𝑎𝑡, 𝑦 = 𝑦0 + 𝑏𝑡, 𝑧 =
𝑧0 + 𝑐𝑡
Example 4
point. 3
L
Step 2: Determine vector v.
Step 3: Determine the parametric equations. 4
Answer: 𝑥 = 3 + 4𝑡, 𝑦 = −4 + 3𝑡
Example 6
Find parametric equations of the line L passing through the points 𝑃1 (2,4, −1) and
𝑃2 5,0,7 .
Solution: P1 L
Step 1: Determine vector v P2
𝐯 = 𝑃1 𝑃2 = 3, −4,8
Step 2: Determine the parametric equations
𝑃1 𝑃 = 𝑡𝐯 (P (x, y, z) is any point on L)
𝑥 − 2, 𝑦 − 4, 𝑧 + 1 = 3𝑡, −4𝑡, 8𝑡
So, the parametric equations: 𝑥 = 2 + 3𝑡, 𝑦 = 4 − 4𝑡, 𝑧 = −1 + 8𝑡
Remark: Had we used 𝑃2 as the point on L rather than 𝑃1 (see Step 2), we would
have obtained 𝑥 = 5 + 3𝑡, 𝑦 = −4𝑡, 𝑧 = 7 + 8𝑡. The two sets of equations are
actually equivalent because both generate L as t varies from −∞ to +∞.
Line segments
Find parametric equations describing the line segment joining the points
𝑃1 (2,4, −1) and 𝑃2 5,0,7 .
Solution:
Step 1: Determine the parametric equations of the entire line
See Example 6
Step 2: Determine the appropriate t for 𝑃1 (2,4, −1) and t for 𝑃2 5,0,7 .
For 𝑃1 2,4, −1 , 𝑥 = 2 + 3𝑡 = 2 → 𝑡 = 0,
𝑦 = 4 − 4𝑡 = 4 → 𝑡 = 0,
𝑧 = −1 + 8𝑡 = −1 → 𝑡 = 0.
So, the appropriate t for 𝑃1 (2,4, −1) is t = 0.
Continue
real number
vector
VECTOR-VALUED FUNCTIONS
Example
Notation:
𝐫 𝑡 = 𝑥 𝑡 , 𝑦(𝑡) = 𝑥 𝑡 𝐢 + 𝑦 𝑡 𝐣
𝐫 𝑡 = 𝑥 𝑡 , 𝑦 𝑡 , 𝑧(𝑡) = 𝑥 𝑡 𝐢 + 𝑦 𝑡 𝐣 + 𝑧 𝑡 𝐤
The graph of a vector–valued function 𝐫(𝑡) is defined to be the
parametric curve described by the component of the function. 𝐫 𝑡
is also called as Radius vector; a vector from the origin to points on
curve.
Curves: plane curve
space curve
A plane curve must lie on a single plane.
As t varies, the tip of the radius vector
A space curve is a curve whose points do not necessarily all lie on a
single plane r(t) traces out the curve C.
Graphing vector functions
https://www.geogebra.org/m/ubratnur
r
r
𝐫 = cos 𝑡 𝐢 + sin 𝑡 𝐣 + 𝑡𝐤
Vector equation of a line
Recall: The line in R2 that passes through the point 𝑃0 (𝑥0 , 𝑦0 ) and is parallel to the nonzero
vector 𝐯 = 𝑎, 𝑏 = 𝑎𝐢 + 𝑏𝐣 has parametric equations
𝑥 = 𝑥0 + 𝑎𝑡, 𝑦 = 𝑦0 + 𝑏𝑡. (1)
The line in R3 that passes through the point 𝑃0 (𝑥0 , 𝑦0 , 𝑧0 ) and is parallel to the nonzero
vector 𝐯 = 𝑎, 𝑏, 𝑐 = 𝑎𝐢 + 𝑏𝐣 + 𝑐𝐤 has parametric equations
𝑥 = 𝑥0 + 𝑎𝑡, 𝑦 = 𝑦0 + 𝑏𝑡, 𝑧 = 𝑧0 + 𝑐𝑡. (2)
Solution:
a) The equation is: 𝐫 = 3𝐢 + 2𝐣 + 𝐤 + 𝑡 3𝐢 − 𝐣 + 6𝐤
b) If the point (p, 4, q) lines on the line, then
𝐫 = 3𝐢 + 2𝐣 + 𝐤 + 𝑡 3𝐢 − 𝐣 + 6𝐤 = 𝑝𝐢 + 4𝐣 + 𝑞𝐤 for some t
This implies 3 + 3t = p
2 – t = 4 t = −2 Hence, p = −3, q = −11.
1 + 6t = q
Example 2
Find a vector equation r(t) of the line segment joining the point P(1, 3, −2) to
the point Q(2, −1, 3).
Solution: Take 𝐫0 = 1,3, −2 and 𝐫1 = 2, −1,3
So,
r (t ) = r0 + t (r1 − r0 )
= 1,3, −2 + t 2 − 1, −1 − 3,3 + 2
= 1 + t ,3 − 4t , −2 + 5t , 0 t 1
Equation of a plane
A vector perpendicular to a plane is called a normal to
the plane
If 𝑎, 𝑏, 𝑐 and 𝑑 are constants, and 𝑎, 𝑏 and 𝑐 are not all zero, then the graph of the equation
𝑎𝑥 + 𝑏𝑦 + 𝑐𝑧 + 𝑑 = 0
is a plane that has the vector 𝐧 = 𝑎, 𝑏, 𝑐 as a normal.
Example 5
(b) 𝐫 𝑡 = 𝑒 −𝑡 𝐢 + 10 𝑡𝐣 + 2 cos 3𝑡 𝐤
Solution:
𝑡 2
(a) 𝐫 ′ (𝑡) = 3𝑡 2 , 6𝑡, 2
5
(b) 𝐫 ′ 𝑡 = −𝑒 −𝑡 𝐢 + 𝑡
𝐣 − 6 sin 3𝑡 𝐤
Indefinite Integral of a vector-valued
function
Let 𝐫 𝑡 = 𝑥 𝑡 𝐢 + 𝑦 𝑡 𝐣 + 𝑧 𝑡 𝐤 be a vector function and let 𝑅 𝑡 = 𝑋 𝑡 𝐢 + 𝑌 𝑡 𝐣 +
𝑍 𝑡 𝐤 , where X, Y, and Z are antiderivatives of x, y, and z, respectively. The indefinite
integral of r is
න 𝑟 𝑡 𝑑𝑡 = 𝐑 𝑡 + 𝐂
𝜋 𝑡
Evaluate 0 𝐢 + 3 cos 𝐣 − 4𝑡𝐤 dt
2
Answer: 𝜋𝐢 + 6𝐣 − 2𝜋 2 𝐤
Arc length
If 𝑥 = 𝑥 𝑡 , 𝑦 = 𝑦(𝑡) and 𝑧 = 𝑧(𝑡) are parametric equations for a curve C of a vector function r(t)
where 𝑥 ′ , 𝑦 ′ , and 𝑧 ′ are continuous in R3 then the arc length s over the parameter interval a t b is
given by
𝑏 𝑑𝑥 2 𝑑𝑦 2 𝑑𝑧 2
𝑠= 𝑎 + + 𝑑𝑡
𝑑𝑡 𝑑𝑡 𝑑𝑡
from t = 0 to t = 2.
Answer: 26
Some properties of arc length
If s is the arc length of a curve C defined by r(t) in R3 , then for every value of t, the
tangent vector has length
′
𝑑𝐫 𝑑𝑠
𝐫 (𝑡) = =
𝑑𝑡 𝑑𝑡
If s is the arc length of a curve C defined by r(s) in R3, then for every value of s the tangent
vector to C has length
𝑑𝐫
𝑑𝐫 𝑑𝑡 𝐫′(𝑡) 𝐫′(𝑡) 𝐫′(𝑡)
= 𝑑𝑠 = 𝑑𝐫 = = =1
𝑑𝑠 𝐫′(𝑡) 𝐫′(𝑡)
𝑑𝑡 𝑑𝑡
Unit tangent vector
Unit tangent vector is the vector with magnitude 1, formed by dividing 𝐫 ′ (𝑡) by its length. Thus, unit
tangent vector is the velocity with magnitude equals 1.
A smooth curve is a curve with no sharp corners or cusps; when the tangent vector turns, it does so
continuously.
cusp
Solution
𝑑𝐫
Step 1: Find 𝐫 ′ 𝑡 = 𝑑𝑡
𝐫′ 𝑡
Step 2: Find 𝐓(𝑡) = 𝐫′ 𝑡
4
2𝑡,4, 𝑡
Answer: a) 𝐓(𝑡) = 4
2𝑡+ 𝑡
T(2)
(4, 8)
Curvature
Suppose that C is the graph of a smooth vector valued function.
𝑑𝐓
The sharpness of the bend in C is closely related to 𝑑𝑠
, which is the rate of change of the
unit tangent vector T with respect to s.
If C is a straight line (no bend), then the direction of T remains constant. Thus, the
curvature is zero at all points.
If C bends slightly, then T undergoes a gradual change of direction.
If C bends sharply, then T undergoes a rapid change of direction.
The curvature of a circle in R2 is constant.
Curvature
Let r(t) describe a smooth parametrized curve. If s denotes arc length and
𝐫 ′ (𝑡)
𝐓(𝑡) = 𝐫 ′ (𝑡)
is the unit tangent vector, the curvature is
𝑑𝐓(𝑡)
𝑑𝑠
(𝑠) = = 𝐫 ′ (𝑡) = 𝐯
𝑑𝑠 𝑑𝑡
From the Chain Rule, we know that
𝑑𝐓(𝑡) 𝑑𝐓(𝑡) 𝑑𝑠
= ×
𝑑𝑡 𝑑𝑠 𝑑𝑡
𝑑𝐓(𝑡) 𝑑𝐓(𝑡) 𝑑𝑠 𝑑𝐓(𝑡) 𝑑𝑠
Thus, 𝑑𝑡
= .
𝑑𝑠 𝑑𝑡
= 𝑑𝑠 𝑑𝑡
𝑑𝐓(𝑡)
𝑑𝐓(𝑡) 𝑑𝑡 1 𝑑𝐓(𝑡)
implying = 𝑑𝑠 = where v is the velocity.
𝑑𝑠 𝐯 𝑑𝑡
𝑑𝑡
1 𝑑𝐓(𝑡)
Hence, we have (𝑠) = 𝐯 𝑑𝑡
.
Formula
https://www.youtube.com/watch?v=ugtUGhBSeE0
Example 13
What is the curvature of the circle 𝐫(𝑡) = 3cos 𝑡 , 3sin(𝑡) for 0 ≤ 𝑡 ≤ 2𝜋 ?
y
1
Answer: 3 3
r
x
-3 3
-3
Example 14
What is the curvature of the 𝐫(𝑡) = 𝑡, 𝑡 2 for −5 ≤ 𝑡 ≤ 5 ?
y
25
r
x
-5 0 5
2
Answer: 3
1+4𝑡 2 2
Example 15
A soccer ball is kicked from the point 0,0,0 with initial velocity 0,80,80 feet/seconds. The
spin on the ball produces an acceleration of 1.2,0, −32 ft/s2.
(a) Find the velocity and position vectors for t 0.
(b) Make a sketch of the trajectory for 0 ≤ 𝑡 ≤ 6.
(c) Determine the time of flight and range of the soccer ball.
(d) Determine the maximum height of the ball.
Vector valued function &
vector field
Objectives
𝑓𝑦 𝑥, 𝑦 = ln 𝑥 cos 𝑥 2 𝑦 𝑥 2
𝑓𝑦 𝑒 2 , 2 = ln 𝑒 2 cos 2𝑒 4 𝑒 4 = 2𝑒 4 cos 2𝑒 4
Example 2
Remark: The partial derivatives of f with respect to x and y are special cases of the directional
derivative.
Directional derivatives for functions of
two variables
If f is a differentiable function of x and y, then
f has a directional derivative in the direction of
any unit vector 𝐮 = 𝑎, 𝑏 and
𝑦
𝐷𝐮 𝑓 𝑥, 𝑦 = 𝑓𝑥 𝑥, 𝑦 𝑎 + 𝑓𝑦 𝑥, 𝑦 𝑏 Directional derivative 𝐮
1
If the unit vector 𝐮 makes an angle with the represents the rate of change
of a function in the direction 𝜃
positive x-axis, then we can write
of the unit vector u.
𝐮 = cos 𝜃 , sin(𝜃) and the above Geometrically, the directional
derivative is the slope of a 𝑥
formula becomes
surface in the direction of u
𝐷𝐮 𝑓 𝑥, 𝑦 = 𝑓𝑥 𝑥, 𝑦 cos(𝜃) + 𝑓𝑦 𝑥, 𝑦 sin(𝜃) at a point on the surface
Example 3
Solution:
𝜋 𝜋
𝐷𝐮 𝑓 𝑥, 𝑦 = 𝑓𝑥 𝑥, 𝑦 cos + 𝑓𝑦 𝑥, 𝑦 sin
6 6
3 1
= 3𝑥 2 − 3𝑦 + (−3𝑥 + 8𝑦)
2 2
3 1 13−3 3
𝐷𝐮 𝑓 1,2 = 3(1)2 −3(2) 2
+ −3 1 + 8 2 2
= 2
.
The gradient vector for functions of
two variables
If f is a function of two variables x and y, then the gradient of f is the vector function grad f or f
defined by
𝜕𝑓 𝜕𝑓
𝛻𝑓 𝑥, 𝑦 = 𝑓𝑥 𝑥, 𝑦 , 𝑓𝑦 𝑥, 𝑦 = 𝜕𝑥 𝐢 + 𝜕𝑦 𝐣
Vector
Vector field
Let D be a set in R2 (a plane region). A vector field on R2 is a function F that assigns to each point
(x, y) in D a two-dimensional vector F(x, y).
Let E be a subset of R3. A vector field on R3 is a function F that assigns to each point (x, y, z) in E a
three-dimensional vector F(x, y, z).
Example 6
(x, y) F(x, y)
(1, 0) 0,1 F = 0,1
(2, 2) ? x
1
(3, 0) ?
(0, 1) ?
(−2, 2) ?
Recall gradient vector
𝑥2 𝑦2
Let 𝑓 𝑥, 𝑦 = 9
+ 4 . The gradient of f is
2 2
𝛻𝑓 𝑥, 𝑦 = 𝑥 𝐢 + 𝑦𝐣
9 4
At point (0, 2), the gradient of f is
𝛻𝑓 = 0𝐢 + 𝐣 = 𝐣 = 0,1,0
The maximum rate of change of f at (0, 2) is
02 + 1 2 + 02 = 1
A gradient vector is really a vector field because
it assigns to each point a vector 𝛻𝑓.
Thus, the gradient vector is often called the
gradient vector field.
Conservative vector field
A vector field F is called a conservative vector field if there exist a function f such that
𝐅 = 𝛻𝑓. In this situation, f is called a potential function for F.
Gravitational field
It is because, if we define
𝑚𝑀𝐺
𝑓 𝑥, 𝑦, 𝑧 = , then
𝑥 2 +𝑦 2 +𝑧 2
𝜕𝑓 𝜕𝑓 𝜕𝑓
𝛻𝑓 𝑥, 𝑦, 𝑧 = 𝜕𝑥 𝐢 + 𝜕𝑦 𝐣 + 𝜕𝑧 𝐤
−𝑚𝑀𝐺𝑥 −𝑚𝑀𝐺𝑦 −𝑚𝑀𝐺𝑧
= (𝑥 2+𝑦 2+𝑧 2 )3/2 𝐢 + (𝑥 2+𝑦2+𝑧 2 )3/2 𝐣 + (𝑥 2+𝑦2+𝑧 2 )3/2 𝐤
= 𝐅(𝑥, 𝑦, 𝑧)
Note: Gravitational force is also called gravitational field
TYPES OF CURVES
An open region R in R2 (or D in R3) is connected if it is possible to connect any two points of R
by a continuous curve lying in R. An open region R is simply connected if every closed simple
curve in R encloses only points that are in R; that is a simply connected region contains no hole
and can’t consist of two separate pieces.
(a) SC,C (b) SC, C (c) Not SC, Not C (d) C, Not SC
C = Connected
SC = Simply Connected
TEST FOR CONSERVATIVE
VECTOR FIELD
Let 𝐅 = 𝑃, 𝑄, 𝑀 be a vector field defined on a connected and simply connected region D of R3, where
TEST FOR P, Q, and M have continuous first partial derivatives on D. Then F is a conservative vector field on D if
and only if
CONSERVATI = ,
𝜕𝑃
𝜕𝑦
𝜕𝑄
𝜕𝑥
=
𝜕𝑃
𝜕𝑧
𝜕𝑀
𝜕𝑥
and
𝜕𝑄
𝜕𝑧
=
𝜕𝑀
𝜕𝑦
.
VE VECTOR 2
For vector fields in R , we have the single condition
𝜕𝑃
=
𝜕𝑄
.
FIELD
𝜕𝑦 𝜕𝑥
P Q M
x 𝜕𝑄 𝜕𝑀
𝜕𝑥 𝜕𝑥
y 𝜕𝑃 𝜕𝑀
𝜕𝑦 𝜕𝑦
z 𝜕𝑃 𝜕𝑄
𝜕𝑧 𝜕𝑧
Example 7
Example 10
If 𝐅 𝑥, 𝑦 = 3 + 2𝑥𝑦 𝐢 + 𝑥 2 − 3𝑦 2 𝐣 , find a function f such that 𝐅 = 𝛻𝑓.
Solution:
Since F is conservative, we have
𝐅 𝑥, 𝑦 = 𝛻𝑓 𝑥, 𝑦
𝜕𝑓 𝜕𝑓
3 + 2𝑥𝑦 𝐢 + 𝑥 2 − 3𝑦 2 𝐣 = 𝜕𝑥 𝐢 + 𝜕𝑦 𝐣
𝜕𝑓 𝜕𝑓
→ 𝜕𝑥 = 3 + 2𝑥𝑦, 𝜕𝑦 = 𝑥 2 − 3𝑦 2
𝜕𝑓
Step 1: Integrate 𝜕𝑥 with respect to x
FINDING POTENTIAL FUNCTIONS
We obtain: 𝑓 𝑥, 𝑦 = 3𝑥 + 𝑥 2 𝑦 + 𝑔(𝑦)
Step 2: Differentiate f(x,y) that was obtained in Step 1, with respect to y
𝜕𝑓
We obtain: 𝜕𝑦 = 𝑥 2 + 𝑔′ (𝑦)
Step 3: Compute 𝑔(𝑦)
𝜕𝑓
𝜕𝑦
= 𝑥 2 + 𝑔′ 𝑦 = 𝑥 2 − 3𝑦 2 → 𝑔′ 𝑦 = −3𝑦 2
Integrating 𝑔′ 𝑦 with respect to y, we have
𝑔 𝑦 = −𝑦 3 + 𝐾 where K is a constant.
Step 4: Write the desired potential function
𝑓 𝑥, 𝑦 = 3𝑥 + 𝑥 2 𝑦 − 𝑦 3 + 𝐾
LINE INTEGRAL AND
WORK
Learning outcomes
Line integral of f n
with respect to s f ( x, y, z )ds = lim f ( xk* , yk* , z k* )sk
n →
along C C k =1
Formula
In R2, let 𝑥 = 𝑥(𝑡) and 𝑦 = 𝑥(𝑡) be the parametric equations defining the smooth curve C
traversed exactly once as t increases from a to b. Then,
𝑏 2 2
𝑑𝑥 𝑑𝑦
න 𝑓 𝑥, 𝑦 𝑑𝑠 = න 𝑓(𝑥 𝑡 , 𝑦 𝑡 ) + 𝑑𝑡
𝑎 𝑑𝑡 𝑑𝑡
𝐶
Similarly, in R3, let 𝑥 = 𝑥 𝑡 , 𝑦 = 𝑦(𝑡) and 𝑧 = 𝑧(𝑡) be the parametric equations defining
the smooth curve C traversed exactly once as t increases from a to b. Then,
𝑏 2 2 2
𝑑𝑥 𝑑𝑦 𝑑𝑧
න 𝑓 𝑥, 𝑦, 𝑧 𝑑𝑠 = න 𝑓(𝑥 𝑡 , 𝑦(𝑡), 𝑧(𝑡)) + + 𝑑𝑡
𝑎 𝑑𝑡 𝑑𝑡 𝑑𝑡
𝐶
Other notations
න 𝑓 𝑥, 𝑦 𝑑𝑠
𝐶
= න 𝑓 𝑥, 𝑦 𝑑𝑠 + න 𝑓 𝑥, 𝑦 𝑑𝑠 + ⋯ + න 𝑓 𝑥, 𝑦 𝑑𝑠
𝐶1 𝐶2 𝐶𝑛
Interpretation of line integrals in 3D
Solution:
𝑑𝑥 𝑑𝑦
𝑥 = cos 𝑡 , 𝑑𝑡 = − sin 𝑡 . 𝑦 = sin 𝑡 , 𝑑𝑡 = cos(𝑡).
2𝜋
𝐶4𝑑𝑠 = 0 4 (− sin 𝑡 )2 +(cos 𝑡 )2 𝑑𝑡 = 4 2𝜋 − 4 0 = 8𝜋.
Example 1
Evaluate 𝐶2 + 𝑥 2 𝑦 𝑑𝑠, where C is the upper half of the circle 𝑥 = cos 𝑡 , 𝑦 = sin 𝑡 , 0 ≤ 𝑡 ≤ 𝜋.
2
Answer: 2𝜋 + 3
Example 2
Evaluate 𝐶2𝑥 𝑑𝑠 , where C consists of the arc 𝐶1 of the parabola 𝑥 = 𝑡, 𝑦 = 𝑡 2 from (0,
0) to (1, 1) followed by the vertical line segment 𝐶2 𝑥 = 1, 𝑦 = 𝑡 from (1, 1) to (1, 2).
5 5−1
Answer: + 2
6
Example 3
Evaluate the line integral 𝑠𝑑 𝑧𝑦 𝑒𝑥 𝐶, where C is the line segment from (0, 0, 0) to (1, 2, 3).
14(𝑒 6 −1)
Answer: 12
Line integrals of f along C with respect
to x, y and z
Integrals along C in R2:
n
𝑥 = 𝑥 𝑡 , 𝑦 = 𝑦 𝑡 , 𝑧 = 𝑧 𝑡 → 𝑑𝑥 = 𝑥 ′ 𝑡 𝑑𝑡, 𝑑𝑦 = 𝑦 ′ 𝑡 𝑑𝑡, 𝑑𝑧 = 𝑧 ′ 𝑡 𝑑𝑡
𝑏
𝑥 𝑓 𝐶, 𝑦 𝑑𝑥 = 𝑡 𝑥 𝑓 𝑎, 𝑦 𝑡 𝑥 ′ 𝑡 𝑑𝑡 ,
𝑏
𝑥 𝑓 𝐶, 𝑦 𝑑𝑦 = 𝑡 𝑥 𝑓 𝑎, 𝑦 𝑡 𝑦 ′ 𝑡 𝑑𝑡 ,
𝑏
𝑥 𝑓 𝐶, 𝑦, 𝑧 𝑑𝑥 = 𝑡 𝑥 𝑓 𝑎, 𝑦 𝑡 , 𝑧(𝑡) 𝑥 ′ 𝑡 𝑑𝑡,
𝑏
𝑥 𝑓 𝐶, 𝑦, 𝑧 𝑑𝑦 = 𝑡 𝑥 𝑓 𝑎, 𝑦 𝑡 , 𝑧 𝑡 𝑦 ′ 𝑡 𝑑𝑡,
𝑏
𝑥 𝑓 𝐶, 𝑦, 𝑧 𝑑𝑧 = 𝑡 𝑥 𝑓 𝑎, 𝑦 𝑡 , 𝑧 𝑡 𝑧 ′ 𝑡 𝑑𝑡,
Example 4
Evaluate 𝑦 𝐶2 𝑑𝑥 + 𝑥𝑑𝑦 where C is the line segment from (−5, −3) to (0,2).
5
Answer: − 6
Example 5
Evaluate 𝑥𝑑𝑦 𝐶+ 𝑧𝑑𝑦 + 𝑥𝑑𝑧 where C consists of the line segment 𝐶1 from (2, 0, 0) to
(3, 4, 5) followed by the vertical line segment 𝐶2 from (3, 4, 5) to (3, 4, 0).
Answer: 𝑥𝑑𝑦 𝐶+ 𝑧𝑑𝑦 + 𝑥𝑑𝑧 = 24.5 , 𝑥𝑑𝑦 𝐶+ 𝑧𝑑𝑦 + 𝑥𝑑𝑧 = −15.
1 2
0 a b x
Example 6
1
a) Find the work done when a variable force 𝐹 𝑥 = 𝑥 2 N in the positive x-direction moves and object
from 𝑥 = 1 to 𝑥 = 6 ft.
6 1 5
Answer: Work = 1 𝑑𝑥 = 6 J
𝑥2
b) An object moves due to the variable force 𝐅 = 3 + 2𝑥 𝐢 𝑁. Determine the work done when the
object moves from x = 0 to x = 5.
5
Answer: Work =0 3 + 2𝑥 𝑑𝑥 = 40 J
Work done by a force field
https://www.youtube.com/watch?v=iba4gUeQN0w
The line integral of a conservative vector field over any smooth curve C where C is
defined by the vector function 𝐫(𝑡), 0 ≤ 𝑡 ≤ 𝑏, is 𝑏 𝐫 𝑓 = 𝐫𝑑 ∙ 𝑓𝛻 𝐶− 𝑓(𝐫 𝑎 ) .
The line integral is defined to be the work done by the conservative vector field
The above line integral depends only on the endpoints of C. The integral is independent of
the path that C takes going from its starting point to its ending point.
Note: conservative vector field is also called a path-independent vector field
Work done by the gravitational field
𝑚𝑀𝐺 𝑚𝑀𝐺
Gravitational field is a conservative vector field given by 𝐅 𝐱 = − 𝐱 and 𝑓 𝑥, 𝑦, 𝑧 =
𝐱3 𝑥 2 +𝑦 2 +𝑧 2
Curve
Surface
PARAMETRIC REPRESENTATION OF
SURFACES
We have seen that curves in 3D can be represented parametrically
by three equations involving one parameter :
𝑥 = 𝑥 𝑡 , 𝑦 = 𝑦 𝑡 , 𝑧 = 𝑧(𝑡)
Cylinder 𝑥 = 3 cos 𝑣 , 𝑦 = 𝑢, 𝑥2 + 𝑧2 = 9
𝑧 = 3 sin 𝑣
EXAMPLES
Surface Parametric equations Cartesian equations
Cone 𝑥 = 𝑢, 𝑦 = 𝑣, 𝑧 = 2 𝑢2 + 𝑣 2 𝑧 = 2 𝑥2 + 𝑦2
plane 𝑥 = 𝑢, 𝑦 = 𝑣, 𝑧 = 4 − 𝑢 − 𝑣 𝑥+𝑦+𝑧 =4
Example 1
A paraboloid is represented by the parametric equations
𝑥 = 𝑢, 𝑦 = 𝑣, 𝑧 = 4 − 𝑢2 − 𝑣 2 , where 0 ≤ 𝑢 ≤ 1, 0 ≤ 𝑣 ≤ 1.
Give four examples of points of the paraboloid. Draw the points on R3.
Solution:
u v Point (x,y,z)
0 0 (0, 0, 4)
0 1 (0, 1, 3)
1 0 (1, 0, 3)
1 1 (1, 1, 2)
VECTOR VALUED FUNCTIONS OF
TWO VARIABLES
Recall that the parametric equations
𝑥 = 𝑥 𝑡 , 𝑦 = 𝑦 𝑡 , 𝑧 = 𝑧(𝑡)
can be expressed in vector form as
𝐫(𝑡) = 𝑥 𝑡 𝐢 + 𝑦 𝑡 𝐣 + 𝑧 𝑡 𝐤
Similarly, the parametric equations
𝑥 = 𝑥 𝑢, 𝑣 , 𝑦 = 𝑦 𝑢, 𝑣 , 𝑧 = 𝑧(𝑢, 𝑣)
can be expressed in vector form as
𝐫(𝑢, 𝑣) = 𝑥 𝑢, 𝑣 𝐢 + 𝑦 𝑢, 𝑣 𝐣 + 𝑧 𝑢, 𝑣 𝐤
VECTOR VALUED FUNCTIONS OF
TWO VARIABLES
Recall: Graph of vector valued Graph of vector valued
function of one variable function of two variables:
z
(x(u,v),y(u,v), z(u,v))
r(u,v)
x
PARTIAL DERIVATIVES OF VECTOR-
VALUED FUNCTIONS OF TWO
VARIABLES
Partial derivatives of vector-valued functions of two variables are
obtained by taking partial derivatives of the components.
If 𝐫 𝑢, 𝑣 = 𝑥 𝑢, 𝑣 𝐢 + 𝑦 𝑢, 𝑣 𝐣 + 𝑧 𝑢, 𝑣 𝐤, then
𝜕𝐫 𝜕𝑥 𝜕𝑦 𝜕𝑧
𝐫𝑢 = 𝜕𝑢 = 𝜕𝑢 𝐢 + 𝜕𝑢 𝐣 + 𝜕𝑢 𝐤
𝜕𝐫 𝜕𝑥 𝜕𝑦 𝜕𝑧
𝐫𝑣 = 𝜕𝑣 = 𝜕𝑣 𝐢 + 𝜕𝑣 𝐣 + 𝜕𝑣 𝐤
These derivatives can be written as the limits
𝜕𝐫 𝐫 𝑢+ℎ,𝑣 −𝐫(𝑢,𝑣)
𝐫𝑢 = 𝜕𝑢 = lim
ℎ→0 ℎ
𝜕𝐫 𝐫 𝑢,𝑣+ℎ −𝐫(𝑢,𝑣)
𝐫𝑣 = 𝜕𝑣 = lim
ℎ→0 ℎ
Example 4
Find the partial derivatives of the vector-valued function
𝐫 = 𝑢𝐢 + 𝑣𝐣 + 4 − 𝑢2 − 𝑣 2 𝐤
𝜕𝐫
Answer: 𝐫𝑢 = 𝜕𝑢 = 𝐢 − 2𝑢𝐤
𝜕𝐫
𝐫𝑣 = 𝜕𝑣 = 𝐣 − 2𝑣𝐤
PROCESS OF APPROXIMATING
SURFACE AREA
D S
𝑃𝑖𝑗 = 𝐫(𝑢𝑖 , 𝑣𝑗 )
𝐫(𝑢𝑖 + ∆𝑢𝑖 , 𝑣𝑗 )
PROCESS OF APPROXIMATING
SURFACE AREA
Construct vectors m and n where
m 1) m: from 𝐫(𝑢𝑖 , 𝑣𝑗 ) to 𝐫(𝑢𝑖 , 𝑣𝑗 + ∆𝑣𝑗 ), and
2) n: from 𝐫(𝑢𝑖 , 𝑣𝑗 ) to 𝐫 𝑢𝑖 + ∆𝑢𝑖 , 𝑣𝑗 .
n
Recall: Here, 𝐦 = 𝐫 𝑢𝑖 , 𝑣𝑗 + ∆𝑣𝑗 − 𝐫(𝑢𝑖 , 𝑣𝑗 ),
and 𝐧 = 𝐫 𝑢𝑖 + ∆𝑢𝑖 , 𝑣𝑗 − 𝐫(𝑢𝑖 , 𝑣𝑗 ).
The area of 𝑆𝑖𝑗 (denoted by ∆𝐴) can be
approximated by the area of the
parallelogram determined by vectors m
and n. Thus, ∆𝐴 ≈ 𝐦 × 𝐧 .
1
Area, 𝐴 = 2 × ( 𝐮 + 𝐮 ) × 𝐯 sin(𝜃)
= 𝐮 𝐯 sin(𝜃) = 𝐮 × 𝐯
PROCESS OF APPROXIMATING
SURFACE AREA
Notice that m and n can be written as:
𝐫 𝑢𝑖 , 𝑣𝑗 + ∆𝑣𝑗 − 𝐫(𝑢𝑖 , 𝑣𝑗 ),
𝐦= ∙ ∆𝑣𝑗
∆𝑣𝑗
𝐫 𝑢𝑖 + ∆𝑢𝑖 , 𝑣𝑗 − 𝐫(𝑢𝑖 , 𝑣𝑗 )
𝐧= ∙ ∆𝑢𝑖
∆𝑢𝑖
For better approximation, ∆𝑢 and ∆𝑣 should be small. As ∆𝑢 → 0, ∆𝑣 → 0, we
write
𝐫 𝑢,𝑣+∆𝑣 −𝐫(𝑢,𝑣), 𝜕𝐫
𝐦 = lim ∙ ∆𝑣 = ∆𝑣
∆𝑣→0 ∆𝑣 𝜕𝑣
𝐫 𝑢+∆𝑢,𝑣 −𝐫(𝑢,𝑣) 𝜕𝐫
𝐧 = lim ∙ ∆𝑢 = 𝜕𝑢 ∆𝑢
∆𝑢→0 ∆𝑢
𝜕𝐫 𝜕𝐫 𝜕𝐫 𝜕𝐫
Thus, ∆𝐴 = 𝐦 × 𝐧 = ∆𝑣 × 𝜕𝑢 ∆𝑢 = × 𝜕𝑢 ∆𝑣∆𝑢.
𝜕𝑣 𝜕𝑣
𝜕𝐫 𝜕𝐫
Lastly, the area of surface S is A(S) = lim σ𝑛𝑘=1 𝜕𝑣
× 𝜕𝑢 ∆𝐴𝑘
𝑛→∞
SURFACE AREA
Definition: If a smooth parametric surface S is given by the
equation 𝐫 𝑢, 𝑣 = 𝑥 𝑢, 𝑣 𝐢 + 𝑦 𝑢, 𝑣 𝐣 + 𝑧 𝑢, 𝑣 𝐤, for all (𝑢, 𝑣)𝜖𝐷
then the surface area of S is
A(S) = 𝐴𝑑 𝑣𝐫 × 𝑢𝐫 𝐷
where
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝐫𝑢 = 𝜕𝑢 𝐢 + 𝜕𝑢 𝐣 + 𝜕𝑢 𝐤,
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝐫𝑣 = 𝜕𝑣 𝐢 + 𝜕𝑣 𝐣 + 𝜕𝑣 𝐤.
Example 4
The parametric representation of a sphere of radius 4 is given by
𝑥 = 4 sin 𝜑 cos 𝜃 , 𝑦 = 4 sin 𝜑 sin 𝜃 , 𝑧 = 4cos(𝜑) , where
𝐷 = 𝜑, 𝜃 |0 ≤ 𝜑 ≤ 𝜋, 0 ≤ 𝜃 ≤ 2𝜋 .
Find the surface area of the sphere.
Solution: Compute 𝐫𝜑 × 𝐫𝜃
2𝜋 𝜋
Area =0 0 16 sin 𝜑 𝑑𝜑𝑑𝜃 = 64𝜋
Example 5
The parametric representation of a cone is given by
𝑥 = 𝑢, 𝑦 = 𝑣, 𝑧 = 2 𝑢2 + 𝑣 2 , where
𝐷 = 𝑢, 𝑣 | − 2 ≤ 𝑢 ≤ 2, −2 ≤ 𝑣 ≤ 2 .
Find the surface area of the cone.
SURFACE INTEGRALS
Subdivide the surface S into
patches 𝑆𝑖𝑗 .
We evaluate f at a point 𝑃𝑖𝑗∗
in each patch then multiply by
the area ∆𝑆𝑖𝑗
We obtain the Riemann sum
σ𝑚 σ 𝑛
𝑖=1 𝑗=1 𝑓(P *
ij )∆𝑆𝑖𝑗
SURFACE INTEGRAL
The surface integral of f over the surface S is defined as
𝑥 𝑓 𝑆, 𝑦, 𝑧 𝑑𝑆 = lim σ𝑚 𝑛 ∗
𝑖=1 σ𝑗=1 𝑓(𝑃𝑖𝑗 )∆𝑆𝑖𝑗
𝑚,𝑛→∞
= 𝑢 𝐫(𝑓 𝐷, 𝑣 ) 𝐫𝑢 × 𝐫𝑣 𝑑𝐴
Note: If 𝑓 𝑥, 𝑦, 𝑧 = 1, then 𝑓 𝐫 𝑢, 𝑣 = 1.
𝑆1𝑑𝑆 = 𝑆 𝐴 = 𝐴𝑑 𝑣𝐫 × 𝑢𝐫 𝐷.
Example 6
Compute the surface integral 𝑥 𝑆2 𝑑𝑆 where S is the surface of a
sphere 𝑥 2 + 𝑦 2 + 𝑧 2 = 1. The parametric representation of the
sphere is given by
𝑥 = sin 𝜑 cos 𝜃 , 𝑦 = sin 𝜑 sin 𝜃 , 𝑧 = cos(𝜑) , where
𝐷 = 𝜑, 𝜃 |0 ≤ 𝜑 ≤ 𝜋, 0 ≤ 𝜃 ≤ 2𝜋 .
4𝜋
Answer = 3
Example 7
Evaluate 𝑥( 𝑆+ 𝑦 + 𝑧) 𝑑𝑆 where S is the surface of the
parallelogram with parametric equations 𝑥 = 𝑢 + 𝑣, 𝑦 = 𝑢 − 𝑣, 𝑧 =
1 + 2𝑢 + 𝑣, 0 ≤ 𝑢 ≤ 2, 0 ≤ 𝑣 ≤ 1.
Answer: 11 14