Problem Solving 1: Line Integrals and Surface Integrals A. Line Integrals
Problem Solving 1: Line Integrals and Surface Integrals A. Line Integrals
Department of Physics
A. Line Integrals
∫
C
f ( x, y, z ) ds = lim
N →∞
∑ f ( x , y , z )∆s
i i i i
∆si →0 i=1
where C has been subdivided into N segments, each with a length ∆si . To evaluate the line
integral, it is convenient to parameterize C in terms of the arc length parameter s. With x = x( s ) ,
y = y ( s) and z = z ( s) , the above line integral can be rewritten as an ordinary definite integral:
s2
∫ C
f (x, y, z ) ds = ∫ f [ x( s ), y ( s), z ( s)] ds
s1
Example 1:
I = ∫ (x + y ) ds
C
s
x = s cos θ =
2
s
y = s sin θ =
2
2⎛ s s ⎞ 2 s2 2
I =∫ ⎜ + ⎟ ds = 2 ∫0 s ds = 2 ⋅ = 2
0
⎝ 2 2⎠ 2 0
I ′ = ∫ (x + y ) ds = ∫ (x + y ) ds + ∫ (x + y ) ds
C′ C1 C2
(a) Evaluate I1 = ∫ (x + y ) ds .
C1
(b) Evaluate I 2 = ∫ (x + y ) ds .
C2
(c) Now add up I1 and I 2 to obtain I ′ . Is the value of I ′ equal to I = 2 in Example 1 above?
What can you conclude about the value of a line integral? That is, is the integral independent of
the path you take to get from the beginning point to the end point?
where
G
d s = dx î + dy ĵ + dz k̂
G
is the differential line element along C. If F represents a
force vector, then this line integral is the work done by the
force to move an object along the path.
G G
( )( )
F( x, 0) ⋅ d s = − x ˆj ⋅ dx ˆi = 0
So the integral along C1 is zero. Now you will evaluate the integral along C3 . The value of x is
G G G
fixed at x = 0 , d s = dy ĵ , and F(0, y ) ⋅ d s = ?
G G
(a) Evaluate ∫ C3
F⋅d s .
a point along C2 and (1, 0) . From the figure shown on the right,
we have
1− x 1 y 1
= cos 45° = , = sin 45° =
s 2 s 2
s s
x = 1− , y=
2 2
ds ds
and dx = − and dy = ,
2 2
G G
(b) With the information given above, evaluate ∫
C2
F⋅d s .
Fx dx + Fy dy = ?
G G
∫C
F ⋅ d s = ∫ Fx dx + Fy dy = ?
C2
A function F ( x, y ) of two variables can be integrated over a surface S, and the result is a double
integral:
∫∫ S
F ( x, y ) dA = ∫∫ F ( x, y ) dx dy
S
A = ∫∫ dA = ∫∫ dx dy
S S
A=∫
b
0 ∫
0
a
dx dy = ∫
0
b
( ∫ dx ) dy
a
b b
= ∫ a dy = a ∫ dy = ab
0 0
Now suppose F ( x, y ) = σ ( x, y ) , where σ is the charge density (Coulomb/m2). Then the double
integral represents the total charge on the surface:
Q = ∫∫ σ ( x, y ) dA = ∫∫ σ ( x, y )dx dy
S S
On the other hand, if the surface is a circle, it would be more convenient to work in polar
coordinates.
A=∫
0
R
∫
0
2π
rdθ dr = ∫
0
R
(∫
0
2π
)
dθ rdr = ∫
0
R
2π rdr = 2π ⋅
R2
2
= π R2
as expected. If σ (r , θ ) is the charge distribution on a circular plate, then the total charge on the
plate would be
Q = ∫∫ σ (r , θ ) dA = ∫∫ σ (r, θ )rdθ dr
S S
Closed Surface
The surfaces we have discussed so far (rectangle and circle) are open surfaces. A closed surface
is a surface which completely encloses a volume. An example of a closed surface is a sphere. To
calculate the surface area of a sphere of radius R, it is convenient to use spherical coordinates.
The differential surface area element on the sphere is given by
dA = R 2 sin θ dθ dφ
∫∫ dA = w
A=w ∫∫ R sin θ dθ dφ
2
S S
π 2π
=R ∫ sin θ dθ ∫ dφ
2
0 0
= 4π R 2
Suppose charge is uniformly distributed on the surface of the sphere of radius R, then the total
charge on the surface is
∫∫ σ dA = 4π R σ
Q=w 2
(a) Find the total charge Q on the rectangular surface of length a (x direction from x = 0 to x = a)
and width b (y direction from y = 0 to y = b), if the charge density is σ ( x, y ) = k x y , where k is a
constant.
where dA = dA n̂ and n̂ is a unit vector pointing in the normal direction of the surface. The dot
G G
product Fn = F ⋅ nˆ is the component of F parallel to n̂ . The above quantity is called “flux.” For
G
an electric field E , the electric flux through a surface is
G
Φ E = ∫∫ E ⋅ nˆ dA = ∫∫ En dA
S S
( )
Φ E = E ⋅ A = aî + bˆj ⋅ Aˆi = aA
(a) Consider a uniform electric field E = a î + b ĵ which intersects a surface of area A. What is the
electric flux through this area if the surface lies (i) in the xz plane with normal in the positive y
direction? (ii) in the xy plane with the normal in the positive z direction?
What is the vector formula for the normal n̂ to the side of the cylinder with y > 0, in terms of
G
θ, î and ĵ ? What is E ⋅ nˆ ?
G
∫∫ E ⋅ nˆ dA = ?
S
Tear off this page and turn it in at the end of class !!!!
Note: Writing in the name of a student who is not present is a Committee on
Discipline offense.
Names ____________________________________
____________________________________
____________________________________
PROBLEM 1:
(a) I1 = ∫ (x + y ) ds =
C1
(b) I 2 = ∫ (x + y ) ds =
C2
(c) I ′ = I1 + I 2 =
Is the value of I ′ equal to I = 2 in Example 1 above? What can you conclude about the value
of a line integral? That is, is the integral independent of the path you take to get from the
beginning point to the end point?
PROBLEM 2:
G G
(a) ∫ C3
F⋅d s =
G G
(b) ∫C2
F⋅d s =
PROBLEM 4:
G
(a) Consider a uniform electric field E = a î + b ĵ which intersects a surface of area A. What is the
electric flux through this area if the surface lies
G
(b) Determine the electric flux ∫∫ E ⋅ nˆ dA for the side of the cylinder with y > 0.
S