# Homework Help: Stuck on this integral

Tags:
1. Jul 30, 2016

### Alexstrasza

1. The problem statement, all variables and given/known data

I have a linear integral (e^xsiny-2)dx + (e^xcosy+x^2)dy
y≥0
2x=x^2+y^2

I used Green's theorem and got:

∬ (e^xcosy+2x) - (e^xcosy) dy dx
x bounds: from 0 to 2
y bounds: from 0 to sqrt(2x-x^2)

After solving all that stuff I get to:

∫ (2x) (sqrt(2x-x^2)) dx
x bounds: 0 to 2

I don't know how to calculate ∫ (2x) (sqrt(2x-x^2)) dx, I thought maybe I can turn the 2x into a derivative of 2x-x^2 but then I need to add +2 to the 2x and not sure if it is allowed?

I used an online integral calculator and it solved (answer: pi?) but the way of the solution was very very long so I think there must be an easier way to solve this (it is a test question).

2. Relevant equations

Calc II

2. Jul 30, 2016

### Ray Vickson

Write $2x = (2x-2) + 2$, to get
$$\int_0^2 2x \sqrt{2x-x^2} \: dx = \int_0^2 (2x-2) \sqrt{2x- x^2} \: dx + 2 \int_0^2 \sqrt{2x - x^2} \: dx.$$
The first integral is easy; the second one is also standard, and you can look it up or consult a textbook for the appropriate changes of variables.

Last edited: Jul 30, 2016