Line Integral
Line Integral
Line Integral
Learning outcomes
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
If f is a function of two variables x and y, then the gradient of f is the vector function 𝛻𝑓
𝜕𝑓 𝜕𝑓 𝜕𝑓 𝜕𝑓
defined by 𝛻𝑓 𝑥, 𝑦 = , = 𝜕𝑥 𝐢 + 𝜕𝑦 𝐣
𝜕𝑥 𝜕𝑦
If f is a function of three variables x, y and z, then the gradient of f is the vector function
𝜕𝑓 𝜕𝑓 𝜕𝑓 𝜕𝑓 𝜕𝑓 𝜕𝑓
𝛻𝑓 defined by 𝛻𝑓 𝑥, 𝑦 = , , = 𝜕𝑥 𝐢 + 𝜕𝑦 𝐣 + 𝜕𝑧 𝐤
𝜕𝑥 𝜕𝑦 𝜕𝑧
Notation: 𝛻𝑓 or grad𝑓
Remarks: - Gradient represents the slope of the tangent of the graph of the function
- Magnitude of 𝛻𝑓 gives the slope of the graph of the function
Gradient vector
𝑥2 𝑦2
Let 𝑓 𝑥, 𝑦 = + 4 . The gradient of f is
9
2 2
𝛻𝑓 𝑥, 𝑦 = 9 𝑥 𝐢 + 4𝑦 𝐣