Section 13.5 Line Integrals
¶If you want to add up something along a curve, you need to compute a line integral. Common examples are determining the length of a curve, the mass of a wire, or how much work is done when moving a mass along a particular path.
Consider the problem of trying to find the length of a quarter of a circle. What do you know? In polar coordinates, a circle is given by \(r=\hbox{constant}\text{,}\) so that \(dr=0\text{.}\) Inserting this fact into the expression (4.3.2) for arclength in polar coordinates, one immediately obtains
and finally
But what if you didn't remember (4.3.2)? The calculation is not much harder in rectangular coordinates: You know that \(x=r\cos\phi\) and \(y=r\sin\phi\text{,}\) with \(r=\hbox{constant}\text{,}\) so that \(dx=-r\sin\phi\,d\phi\) and \(dy=r\cos\phi\,d\phi\text{.}\) Inserting this into (4.2.3) again leads to (13.5.2).
But what if you didn't even remember how to parameterize a circle, or, equivalently, how to use polar coordinates? Well, you still know that \(x^2+y^2=r^2=\hbox{constant}\text{,}\) so that \(2x\,dx+2y\,dy=0\text{.}\) Solving for \(dy\) and inserting this into (4.2.3) yields
This approach leads to the (improper!) integral
which is, of course, most easily computed via a trig substitution — or numerically — yielding the same answer.