Calculus · real student question

Evaluate the line integral of (e^y + x) dx + (x e^y - 2y) dy around the closed triangular path through the points (0,0), (0,1) and (1,2).

Question

Evaluate

L(ey+x)dx+(xey2y)dy\oint_L (e^{y}+x)\,dx+(xe^{y}-2y)\,dy

where LL is the closed triangular path through the points (0,0)(0,0), (0,1)(0,1) and (1,2)(1,2).

Step-by-step solution

  1. Prefer Green's theorem to direct parametrisation. The path is closed and piecewise smooth, and parametrising three segments separately would mean three messy integrals involving eye^y. Green's theorem converts the whole thing into one double integral over the enclosed triangle DD:

    LPdx+Qdy=D(QxPy)dA\oint_L P\,dx+Q\,dy=\iint_D\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)dA

  2. Identify P and Q.

    P(x,y)=ey+x,Q(x,y)=xey2yP(x,y)=e^{y}+x,\qquad Q(x,y)=xe^{y}-2y

  3. Compute the two partial derivatives. Differentiating QQ with respect to xx treats yy as constant, so eye^y is just a constant multiplier and 2y-2y dies:

    Qx=ey\frac{\partial Q}{\partial x}=e^{y}

    Differentiating PP with respect to yy, the xx term dies:

    Py=ey\frac{\partial P}{\partial y}=e^{y}

  4. Subtract and integrate.

    QxPy=eyey=0\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}=e^{y}-e^{y}=0

    so

    LPdx+Qdy=D0dA=0\oint_L P\,dx+Q\,dy=\iint_D 0\,dA=0

    0\boxed{0}

  5. Explain why the triangle's shape was irrelevant. Because Q/x=P/y\partial Q/\partial x=\partial P/\partial y everywhere on the plane (a simply connected domain), the field is conservative: it is the gradient of the potential

    φ(x,y)=xey+x22y2\varphi(x,y)=xe^{y}+\tfrac{x^2}{2}-y^2

    since φx=ey+x=P\varphi_x=e^y+x=P and φy=xey2y=Q\varphi_y=xe^y-2y=Q. Any closed loop therefore returns to the same potential value, giving 00 — the three given vertices could have been replaced by any others.

  6. Check with the potential directly. Going (0,0)(0,1)(1,2)(0,0)(0,0)\to(0,1)\to(1,2)\to(0,0), the values of φ\varphi are 00, 1-1, e2+124e^2+\tfrac12-4, and back to 00. Summing the three differences telescopes to 00, confirming the Green's-theorem result.

Answer

00

Need to solve a different problem like this? Open the solver →