Find ∫C(xydx+x2dy) along the piecewise-smooth curve C illustrated in Figure 21.
Solution The values of the line integral along each of the smooth curves C1, C2, C3, and C4 are C1:y=13x,dy=13dx;0≤x≤3∫C1(xydx+x2dy)=∫30[x(13x)dx+x213dx]=6C2:x=3,dx=0;1≤y≤2∫C2(xydx+x2dy)=∫219dy=9C3:y=2,dy=0;Watch the orientation here: x varies from 3 to 2.∫C3(xydx+x2dy)=∫232xdx=[x2]23=−5C4:y=x,dy=dx;Watch the orientation here: x varies from 2 to 0.∫C4(xydx+x2dy)=∫02(x2dx+x2dx)=2∫02x2dx=−163
Then ∫C(xydx+x2dy)=6+9−5−163=143