# How can I calculate $\int_1^2 \int_{\sqrt{x}}^x \sin\left(\frac{\pi x}{2y}\right) \,dy \, dx$?

Good night i have problem solving this integral.

$$\int_1^2 \int_{\sqrt{x}}^x \sin\left(\frac{\pi x}{2y}\right) \,dy \, dx$$

I make the area of integration, but i cannot solve the integrat, i don't know how! please help me.

How i can make this??

I think in this form:

$$\sin\left(\frac{\pi x}{2y}\right)=\sqrt{\frac{1-\cos(\pi x)}{2y}}$$ but i don't know...

• That last re-write: Are you sure it is right? Usually when sine is rewritten with a squareroot and a cosine the cosine inside is squared, but one can get rid of that using a double angle formula (which it looks like you didn't do here). Also suggest you make the capital pi's into lower case, and replace your "sen" by sin in the initial integral. – coffeemath May 24 '16 at 23:01
• oh sorry man, @coffeemath i'm spanish and we say "sen", but i go to change to "sin" thanks! – Bvss12 May 24 '16 at 23:03
• Bvss12 What about my question regarding your trig replacement formula at the end? [Sorry I didn't know Spanish for sine is "sen"--] Also, it may help to reverse the integration order, since integrating sine of $(x/k)$ where $k$ is a fixed veriable is easy. – coffeemath May 24 '16 at 23:05
• you're in the right! oh! you say change the integration limits? @coffeemath – Bvss12 May 24 '16 at 23:12
• It tuned out that, even though changing the order made the first integration simpler, the integral had to be4 broken up at $\sqrt{2}$ and the upper part involved an integral of $K\cdot y \cos(k/y),$ which isn't simple. I think you should use Felix Marin's answer, which involves the Ci(x) function. – coffeemath May 25 '16 at 10:30

where $\mathrm{Ci}$ is the Cosine Integral function: $\ds{\mathrm{Ci}\pars{x} \equiv -\int_{x}^{\infty}{\cos\pars{t} \over t} \,\dd t}$. Then,
The last integral can be integrated by parts such that we can use $\ds{\mathrm{Ci}'\pars{x} = {\cos\pars{x} \over x}}$.