Let
$G = \{ (x,y) \in \mathbb{R}^2 : x^2+4y^2 >1, x^2+y^2 < 4 \} $
$ \int_G x^2+y^2 d(x,y) $
I want to verify Green's Theorem : $ \oint_{ \partial G } f n ds = \int_G \operatorname{div}f\, dx $
I solved for he righthand side:
$ \int_G \operatorname{div}f dx = \frac{25}{32} \pi $,
just by calculating the Integral for the circle and the ellipse separately and subtract.
For the lefthand side, I need to find $ f: G \rightarrow \mathbb{R^2} $ so that $ \operatorname{div}f = x^2+y^2 $ that can be $ f=( \frac{1}{3} x^3 , \frac{1}{3} y^3 ) $
now my question is, how to proceed? :0 Do I have to split the region? Is $ n= \frac{1}{ \sqrt{ (\frac{1}{3} x^3 )^2+ ( \frac{1}{3}y^3 )^2}} \begin{pmatrix} \frac{1}{3} x^3 \\ \frac{1}{3} y^3 \end{pmatrix} $ ?
Looking forward to any help! :-)
$\mathbf r$ is not normal to the ellipse. If the boundary is parametrized as $\mathbf r(t) = (x(t), y(t))$, then $\mathbf n(t) = (y'(t), -x'(t))$ is normal to the boundary and $$\int_{\partial D} \mathbf F \cdot \frac {\mathbf n} {|\mathbf n|} \,ds = \int_a^b \mathbf F \cdot \frac {\mathbf n} {|\mathbf n|} \,|\mathbf r'| \,dt = \int_a^b \mathbf F \cdot \mathbf n \,dt.$$ We have $\mathbf F = (x^3/3, y^3/3), \,\mathbf r_1(t) = (\cos t, 1/2 \sin t), \,\mathbf r_2(t) = (2 \cos t, 2 \sin t)$, thus $$\begin{aligned} &\begin{aligned} \int_{\partial D} \mathbf F \cdot \mathbf n \,dt = &\int_0^{2 \pi} \left( \frac {\cos^3 t} 3, \frac {\sin^3 t} {24} \right) \cdot \left( -\frac {\cos t} 2, -\sin t \right) dt + {} \\ &\int_0^{2 \pi} \left( \frac {8 \cos^3 t} 3, \frac {8 \sin^3 t} {3} \right) \cdot (2 \cos t, 2 \sin t) \,dt, \end{aligned} \\ &\int_D \nabla \cdot \mathbf F \,dS = \int_0^{2 \pi} \int_{1/\sqrt{\cos^2 t + 4 \sin^2 t}}^2 \,r^3 dr dt. \end{aligned}$$ Both are equal to $251 \pi/32$.