I was solving the following integral and got stuck in finding the new limits after the substitution. $$\int_0^1 x\sqrt{x+2} dx$$
Here's my work so far:
Putting $(x+2) = t^2$ so that $dx = 2t\ dt$ and $x = t^2 - 2$
Thus the original integral changes to, $$\int_{?}^{?} (t^2 - 2) (t) (2t )\ dt = \boxed{2\int_{?}^{?} t^4 - 2t^2\ dt}$$
The above boxed integral can be solved easily using power rule of integral but I'm totally out in finding the limits.
When $x =0, t^2= 2$ and when $x = 1, t^2 = 3$ so $t$ is going from $\pm \sqrt{2}$ to $\pm \sqrt{3}$.
So we need to evaluate the integral $$2\int_{t = \pm \sqrt{2}}^{t = \pm \sqrt{3}} t^4 - 2t^2\ dt$$ which is not meaningful I think.
So, I need help in finding the sign convention of the limits of the integral.
It's possible to let $x = t^2-2$ and we all agree that $t = \pm\sqrt{2}$ and $t = \pm\sqrt{3}$ are solutions, but saying
$$\int_{\pm\sqrt{2}}^{\pm\sqrt{3}}t^4-2t^2dt$$
is meaningless. An integral bound shouldn't have two different numbers in it.
The substitution should be monotonic, which basically means it should vary in such a way that it either never decreases, or vary in such a way that it never increases. In this case, if you really want to let $t^2 = x+2$, it means either $t = \sqrt{x+2}$ or $t = -\sqrt{x+2}$ is one of your options. Notice how those functions are monotonic because the first one is always increasing and the second one is always decreasing.
If you choose the first option, then the lower and upper bound will be $\sqrt{2}$ and $\sqrt{3}$, respectively, which results in
$$2\int_{\sqrt{2}}^{\sqrt{3}}\left(t^{4}-2t^{2}\right)dt.$$
Alternatively, if you choose the second option, then the lower and upper bound will be $-\sqrt{2}$ and $-\sqrt{3}$, respectively, which results in
$$-2\int_{-\sqrt{2}}^{-\sqrt{3}}\left(t^{4}-2t^{2}\right)dt.$$