# Line Integral using Green's theorem

Problem statement:

Calculate $\int_{\gamma }(3e^{(y-3x)^{2}}-y)\mathrm{dx}+(-e^{(y-3x)^{2}}+2x)\mathrm{dy}$ where $\gamma$ is the curve $y=x^2$ from $(0,0)$ to $(3,9)$.

Progress

First idea was to parametrize the curve: $f(t,t^2), t\in [0,3]$ but using this approach I ended up with an integral whose primitive could not be expressed in elementary functions.

Secondly I noticed that "$\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y} = 3$" so Green's theorem could be suitable. So I enclosed a region using a vertical and a horizontal line segment. However, these couldn't be solved in elementary functions.

What are some other ways?

Let $\Omega$ be the domain which is enclosed by $y=3x$ and $y=x^2$, and $\Gamma$ be the line $y=3x$, by the Green's Formula, we have \begin{eqnarray*} \int_{\partial\Omega}Pdx+Qdy&=&\int_{\Omega}\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)\ dxdy=3|\Omega|\\ &=&3\int_0^3 (3x-x^2)\ dx=\frac{27}{2}. \end{eqnarray*}