Week 6 Discussion Notes
Table of Contents
Line Integrals
Line integrals are usually of the form
∫Cf(x,y,z)dsor∫CF(x,y,z)⋅dror∫CF1dx+F2dy+F3dz,
where C is a curve. To calculate these, there are three main steps:
-
Parametrize C, which gives you a parametrization r(t)=⟨x(t),y(t),z(t)⟩.
-
Plug in r(t) into the integrand, differential, and bounds.
To plug in r(t) into the integrand, you replace x with x(t), y with y(t), and z with z(t) to get f(r(t)) or F(r(t)).
For the differential, it's basically like a u-substitution from 1D: u=u(x)⟹du=u′(x)dx, but instead, you can have vector quantities:
r=r(t)⟹dr=r′(t)dtandds=∥r′(t)∥dt.
For the third line integral above, though, it will look slightly different:
x=x(t)y=y(t)z=z(t)⟹dx=x′(t)dt⟹dy=y′(t)dt⟹dz=z′(t)dt.
The bounds will depend on the parametrization, too.
-
Integrate like normal.
Example 1.
Compute
∫C⟨1+x2,xy2⟩⋅dr,
where C is the line segment from (0,0) to (1,3).
Solution.
You can always parametrize line segments like so:
r(t)=(1−t)⟨0,0⟩+t⟨1,3⟩=⟨t,3t⟩,0≤t≤1.
Note that r(0)=⟨0,0⟩ and r(1)=⟨1,3⟩, so this is the correct direction (C starts at (0,0) and ends at (1,3)).
Now we just plug everything in:
F(r(t))=⟨1+t2,t⋅(3t)2⟩=⟨1+t2,9t3⟩dr=⟨1,3⟩dt,
which gives
∫C⟨1+x2,xy2⟩⋅dr=∫01⟨1+t2,9t3⟩⋅⟨1,3⟩dt=∫011+t2+27t3dt=1297.
(Like with double/triple integrals, the hardest part is almost always just setting it up, i.e., the first equals sign above was the hardest step.)