# Calculate integral of function over a triangle [closed]

Let $R$ be the triangle whose vertices are the points $(0,0), (0,1)$ and $(1,0)$. Calculate the following integral: \begin{align*} \iint_R e^{\frac{y-x}{y+x}} \,dx\,dy \end{align*}

I think that i have to do some change of variables but i can't figure it out which one should that be. Any help?

## Edit

I thought about changing to variables as $u = y-x$, $v= y+x$, so the jacobian would be $-2$ and now i have to solve this other integral:

\begin{align*} -2\iint_D e^{\frac{u}{v}} \,du\,dv \end{align*}

Which i don't know how to solve either.

## closed as off-topic by Xander Henderson, JonMark Perry, A. Goodier, Claude Leibovici, user99914 Mar 2 '18 at 9:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Xander Henderson, JonMark Perry, A. Goodier, Claude Leibovici, Community
If this question can be reworded to fit the rules in the help center, please edit the question.

• I don't understand, what's wrong with the question? That's a simple exercise I have no idea how to solve so there isn't much more to say. I'd appreciate suggestions for the future. – jscherman Mar 4 '18 at 1:55
• – cgiovanardi Mar 20 '18 at 22:52

Try $u = y - x$ and $v = y+x$, since those are the terms you have. This makes the integrand easy. The Jacobian should be $\pm 2$.