# Is there ever a requirement to change the limits of integration?

I don't have issues with doing integration problems, but occasionally I see the solution changing the limits of integration whenever a $u$-substitution is done.

I obviously don't have a problem doing this, and I just recently noticed my book doing this under the chapter involving "area of surface of revolution."

My question is did I develop a bad habit by never changing the limits of integration, or is it a best practice to always change limits of integration?

My teacher said on a test, and in general, if we do not change the limits of integration then we should be signifying this by labeling our limits of integration $x=$ lower-limit and $x=$upper-limit.

EDIT EXAMPLE INCLUDED

After further investigation, my confusion is because of the two below equations:

Find the exact area of the surface obtained by rotating the curve about the x-axis $$y=\sqrt{1+4x}, 1\le x\le 5$$

The limits of integration were changed in the solution to this problem.

The given curve is rotated about the y-axis. Find the area of the resulting surface. $$y=x^\frac{1}{3}, 1\le y \le 2$$

The limits of integration were NOT changed in the solution to this problem.

-
If you never got a result wrong by not changing the limits of integration, you should gamble, gamble a lot. – Git Gud Nov 9 '13 at 21:12
Your teacher is right, forgetting about changing the limits of integration is a frequent source of error. You usually have two choices: (i) Find an antiderivative in terms of $u$, replace $u$ by what it is in terms of $x$, then use the old limits or (ii) Put the limits in terms of $u$, and never go back to $x$. Do one or the other, don't "mix." In general I prefer (ii). Your teacher's advice, writing $x=a$ or $u=c$ will help you keep track, and will prevent error. – André Nicolas Nov 9 '13 at 21:15
@GitGud that's exactly what prompted this question. I got a result that was different than the solution, but I'm not sure if it is wrong. The only difference is that I didn't change my limits of integration. – free_mind Nov 9 '13 at 21:18
@inquisitor It is wrong in general. See this. – Git Gud Nov 9 '13 at 21:19
@inquisitor : There are some situations in which changing the bounds is not optional. See my answer below. – Michael Hardy Nov 9 '13 at 21:33

Sometimes we are doing an indefinite integral by $u$-substitution, and then the form of integral involving $u$ is easily converted back into $x$ or whatever the original variable was at the end of the process.

However when a definite integral is involved, you have a choice of either converting the limits of integration from (say) $x$ limits to $u$ limits, or considering the $u$-substitution as a means to obtaining the final indefinite integral in terms of $x$ and using the original limits of integration.

The former has the advantage of skipping the substitution back into $x$, but at the cost of figuring out how to change the limits of integration into terms of $u$. This was a bad habit you learned, or more precisely, a useful habit you failed to learn. Converting the limits from $x$ to $u$ is ordinarily just a matter of using the $x$ limits in the expression for $u$ in terms of $x$.

-
Thank you for your answer. What troubles me is early in our learning integration, the book seemed to indicate a choice as to using the substituted limits of integration, so I just did what I learned first. I'm going to try and break myself out of this habit. – free_mind Nov 9 '13 at 21:24

Suppose you have $$\int_0^{\pi/4} \left(\tan x\right)^3 \Big(\sec^2 x\,dx\Big)$$ (where you should take the $\Big($Big parentheses$\Big)$ as a hint about what $u$ should be), then you can write \begin{align} u & = \tan x \\ du & = \sec^2 x\,dx \end{align} and then the integral is $$\int_{x=0}^{x=\pi/4} u^3 \,du = \left[\frac{u^4}4\right]_{x=0}^{x=\pi/4} = \left[\frac{(\tan x)^4}{4}\right]_0^{\pi/4} = \frac14.$$ In this case, you could say changing the bounds is optional, although it speeds things up and simplifies things: $$\int_0^1 u^3\,du = \left[ \frac{u^4}{4}\right]_0^1 = \frac14.$$

But there are situations in which you'll get nowhere if you don't change the bounds. For example, the Beta function is defined by $$B(\alpha,\beta) = \int_0^1 x^{\alpha-1} (1-x)^{\beta-1}\,dx.$$ So suppose we have $$\int_0^5 x^{\alpha-1}(5-x)^{\beta-1} \,dx.$$ (I've seen integrals like this arising in statistics problems.) Then let \begin{align} u & = x/5, \\ du & = dx/5. \end{align} The integral then becomes $$\int_0^1 (5u)^{\alpha-1} (5-5u)^{\beta-1}\,\Big(5\,du\Big) = 5^3 \int_0^1 u^{\alpha-1}(1-u)^{\beta-1}\, du = 125 B(\alpha,\beta).$$

Without changing the bounds, how could one recognize this as being the Beta function?

-

The idea is that the limits of the integral are in terms of the variable of integration. So take for instance: $$\int_{0}^{2\pi}\cos(x)e^{\cos x}dx$$ If we wanted to do a $u$-substitution we might call $u=\cos(x)$ with $du=-\sin(x)dx$; therefore, $$\int_{0}^{2\pi}\cos(x)e^{\cos x}dx=\int_{-1}^{1}\frac{e^{u}u}{\sqrt{1-u^2}}du$$ You'll notice that if I had left the limits of integration as $0$ to $2\pi$, then the two inntegrals would be different. Remember, the integration variable is a dummy variable, so what you use for it is completely irrelevant. Thus, $$\int_{0}^{2\pi}\cos(x)e^{\cos x}dx=\int_{0}^{2\pi}\cos(u)e^{\cos u}du$$ The way you decide how the limits change is by evaluating the parameterization equation. So for the above example $u(x)=\cos(x)$ so $u(0)=1$ and $u(2\pi)=-1$.

-