# integral $\int_0^1 \int_0^{1-y} \cos \left(\frac{x-y}{x+y}\right)dxdy$

How can I evaluate the following;

$$\int_0^1 \int_0^{1-y} \cos \left(\frac{x-y}{x+y}\right)dxdy$$

I tried transforming to \begin{align} x+y &=u\\ x-y &=v \end{align} but I think it is getting complicated. Thanks in advance.

• For extended point of view about this particular change of variables, you may want to have a look at this post : math.stackexchange.com/questions/2133856/… In the end it all comes back to transform point by point the domain of integration and see what it looks like. In this case it is simple because the original domain of integration is an isosceles triangle and it transforms into another isosceles triangle. – zwim Jun 7 '17 at 13:43

You are on the right track. By letting $u=x+y$ , $v=x-y$, we have $$\left|\frac{\partial (x,y)}{\partial (u,v)}\right|=\left|\frac{\partial (u,v)}{\partial (x,y)}\right|^{-1}=\left|\det \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}\right|^{-1}=|-2|^{-1}=\frac{1}{2}.$$ Moreover the triangle with vertices $(0,0)$, $(1,0)$ and $(0,1)$ in the $xy$-plane is transformed into the triangle with vertices $(0,0)$, $(1,1)$ and $(1,-1)$ in the $uv$-plane. Therefore $$\int_{x=0}^1\left( \int_{y=0}^{1-y} \cos\left(\frac{x-y}{x+y}\right)dy\right)dx=\frac{1}{2}\int_{u=0}^1\left(\int_{v=-u}^u\cos(v/u)dv\right) du.$$ Can you take it from here?