# Change the order of integration: $\int_0^1 \int_0^1 \int_{x^2}^1 12 xz \exp(z y^2) \mathrm dy \mathrm dx \mathrm dz$

Consider the following integral:

$$$$\int_0^1 \int_0^1 \int_{x^2}^1 12 xz \exp(z y^2) \ \mathrm dy \ \mathrm dx \ \mathrm dz.$$$$

It has been said that the integral cannot be calculated, and one should first change the order of integration.

Any help concerning this problem is much appreciated. I cannot get to a final calculation, I am assuming I am not using the correct order of integration.

I try to change the integration from dy to dx and switch the bounds from 0 to 1 and sqrt(y) to 1 ... after doing this I integrate normally but either way I am still unable to solve the question.

• Welcome to Mathematics SE. Take a tour. You'll find that simple "Here's the statement of my question, solve it for me" posts will be poorly received. What is better is for you to add context (with an edit): What you understand about the problem, what you've tried so far, etc.; something both to show you are part of the learning experience and to help us guide you to the appropriate help. You can consult this link for further guidance. Commented Nov 26, 2023 at 20:09
• I try to change the integration from dy to dx and switch the bounds from 0 to 1 and sqrt(y) to 1 ... after doing this i integrate normally but either way I am still unable to solve the question. Commented Nov 26, 2023 at 20:13
• To @MikeGotier: Try to sketch the region in $xy$-plane, it may help you to figure the bounds after changing the order of integration. Commented Nov 26, 2023 at 20:29
• To @dfnu: I have the same result as you. Commented Nov 26, 2023 at 20:30
• If I am not missing anything it should be \begin{eqnarray} \mathcal I &=& \int_0^1\int_0^112ze^{zy^2}\int_0^{\sqrt y} xdxdydz=\\ &=&\int_0^1\int_0^1 6ze^{zy^2}[x^2]_0^{\sqrt y}dydz=\\ &=&\int_0^1\int_0^1 6zye^{zy^2}dydz=\\ &=&\int_0^13 [e^{zy^2}]_0^1 dz=\\ &=&\int_0^1 3(e^z-1)dz=\\ &=&3[e^z-z]_0^1 = 3(e-2). \end{eqnarray}
– dfnu
Commented Nov 26, 2023 at 20:30

In your last paragraph, it sounds like you're changing the integral to $$\int _ 0 ^ 1 \int _ 0 ^ 1 \int _ { \sqrt y } ^ 1 \, \cdots \, \mathrm d x \, \mathrm d y \, \mathrm d z \text .$$ But this is incorrect. You're right that $$x = \sqrt { \mathstrut y }$$ is one of the bounds (coming from $$y = x ^ 2$$ in the original integral, and using that $$x \geq 0$$ in the original integral to choose $$x = \sqrt { \mathstrut y }$$ and reject $$x = - \sqrt { \mathstrut y }$$). But $$x = 1$$ is not a correct bound. (Maybe this is enough for you to fix it; if not, then read on.)
Ignoring $$z$$ for the moment, the original integral has four bounds: $$y = x ^ 2$$, $$y = 1$$, $$x = 0$$, and $$x = 1$$. But one of these is what I call a fake bound: it appears in an outer integral, but it comes from equating the two bounds in an inner integral, rather than from an actual boundary curve (or surface) of the region of integration. In this case, equating the bounds for $$y$$ in the inner integral gives $$x ^ 2 = 1$$, so $$x = 1$$ (one of the solutions to this) is a fake bound. You really only have $$y = x ^ 2$$, $$y = 1$$, and $$x = 0$$.
Solving $$y = x ^ 2$$ for $$x$$ (and remembering that $$x \geq 0$$), you get $$x = \sqrt { \mathstrut y }$$. So the bounds for $$x$$ are $$x = \sqrt { \mathstrut y }$$ and $$x = 0$$. Then one of the bounds for $$y$$ is $$y = 1$$, and you get the other bound for $$y$$ by equating the bounds for $$x$$ in the inner integral to get $$\sqrt { \mathstrut y } = 0$$, so $$y = 0$$. Restoring $$z$$ (which wasn't involved in the rest of this), the correct integral is $$\int _ 0 ^ 1 \int _ 0 ^ 1 \int _ 0 ^ { \sqrt y } \, \cdots \, \mathrm d x \, \mathrm d y \, \mathrm d z \text .$$ (But if you want to change this again, remember that $$y = 0$$ is a fake bound.)
Now when you do the inner integral with respect to $$x$$, you'll get an integral with respect to $$y$$ that you can actually do.
Notice that the region $$0\leq x^2\leq y\leq1$$ is the region $$0\leq x\leq\sqrt y\leq 1$$ on the $$xy$$-plane. Therefore, we can change the iteration of the integral \bbox[10px, yellow, border: 2px solid blue]{\begin{align}x^2\leq y\leq 1\\0\leq x\leq1\\0\leq z\leq 1\end{align}}\to \bbox[10px, yellow, border: 2px solid blue]{\begin{align}0\leq x\leq \sqrt y\\0\leq y\leq1\\0\leq z\leq 1\end{align}} The evaluation of the integral with the new bounds is done by dfnu in the comments. It is correct.