# Change of variables problem

I came across this problem yesterday where i wanted to change variables in an integral like below. $$\iiint f\left(x_{1},x_{2},x_{3}\right) dx_{1}dx_{2}dx_{3}\tag{1}$$

so $y_1 = x_2 - x_1$ and $y_2 = x_3 - x_1$ there is no constraint available on $y_3$

Standard change of variable process would be to put $$x_1 = a_{11}y_1+a_{12}y_2 +a_{13}y_3$$ $$x_2 = a_{21}y_1+a_{22}y_2 +a_{23}y_3\tag{2}$$ $$x_3 = a_{31}y_1+a_{32}y_2 +a_{33}y_3$$

Let $\Delta = a_{11}a_{22}a_{33}+a_{12}a_{23}a_{31}+a_{13}a_{21}a_{32}-a_{13}a_{22}a_{31}-a_{12}a_{21}a_{33}-a_{11}a_{23}a_{32} > 0.\,$

Now $$\iiint f\left(x_{1},x_{2},x_{3}\right) dx_{1}dx_{2}dx_{3} =\tag{3}$$ $$=\iiint f(a_{11}y_1+a_{12}y_2 +a_{13}y_3,a_{21}y_1+a_{22}y_2 +a_{23}y_3,a_{31}y_1+a_{32}y_2 +a_{33}y_3)\Delta dy_1dy_2dy_3$$

I have two questions, Clearly the determinant has to be kept positive, for this process to work but how to pick a sensible value for $y_3$ which i can later integrate out ? Also if the original 3 variables had the range values $[0,\inf)$ how can i calculate the limits of the new variables ?

Is there a better way to do this ?

Any help would be much appreciated.

Edit: There is possibility that more context is needed here my original integral is the joint density of 3 independent exponential variables.

$$\int _{0}^{\infty }\int _{0}^{\infty }\int _{0}^{\infty } \lambda^3\mathrm e^{-\lambda(x_1+x_2+x_3)} dx_{1}dx_{2}dx_{3}\tag{4}$$

-