Line Integral does not match Greens Theorem?

PhantomPower
Messages
14
Reaction score
0

Homework Statement



To evaluate the following line integral where the curve C is given by the boundary of the square 0 < x < 2 and 0 < y < 2 (In the anti clockwise sense):

\oint (x+y)^2 dx + (x-y)^2 dy

The Attempt at a Solution



Firstly it is noted that for a square ABDE :
Between AB, dy = 0 ,y = 0
Between BD, dx = 0 ,x = 2
Between DE, dy = 0 ,y = 2
Between EA, dx = 0 ,x =0

Thus : \int^2_0 x^2 dx + \int^2_0 (2-y)^2 dy + \int^0_2 (x+2)^2 dx + \int^0_2 -y^2 dy
Giving \frac{x^3}{3} |^2_0 + \frac{-(2-y)^3}{3} |^2_0 + \frac{(x+2)^3}{3} |^0_2 + \frac{-y^3}{3} |^0_2

Evaluating gives 10.6? but applying greens theorem gives -16. Can anyone spot my mistake - Probaly a negative sign?

Thanks very much.
P.s sorry for typos this keyboard is broken
 
Physics news on Phys.org
Hi PhantomPower! :smile:

erm :redface:

∫ (2 - y)2 is the same as ∫ (y - 2)2 ! :wink:

(similary for (-y)2)
 
Ooops.

Thanks very much - been a long day...
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top