There are two ways to use a substitution in a definite integral: evaluate the indefinite integral first and convert back to , or change the variable and the limits at the same time and never return to at all.
| Formula | Name | Notes |
|---|---|---|
| \displaystyle\int_{a}^{b}f\!\left(g(x)\right)g'(x)\,dx=\int_{g(a)}^{g(b)}f(u)\,du | Substitution in Definite Integrals | g' continuous on , continuous on the range of |
| u=g(x),\quad du=g'(x)\,dx | The Substitution | The engine of both methods |
| Method (a) | Return to , then use the original limits | |
| New limits: and | Method (b) | Never return to |
| need not be one-to-one | Scope of the Theorem | Increasing and decreasing stretches balance out |
In the previous chapter, we learned the substitution rule for indefinite integrals. In summary, if we have an indefinite integral of the form
\int f\!\left(g(x)\right)g'(x)\,dx,we make the substitution
u=g(x),\qquad du=g'(x)\,dx,and transform the integral into
\int f(\underbrace{g(x)}_{u})\underbrace{g'(x)\,dx}_{du}=\int f(u)\,du.In this section, we learn how to evaluate a definite integral of the form
\int_{a}^{b}f\!\left(g(x)\right)g'(x)\,dxby substitution.
A Motivating Example
Suppose that we want to evaluate
It follows from the second part of the Fundamental Theorem of Calculus that
To evaluate the indefinite integral , we make the substitution
which converts the indefinite integral to
\begin{aligned} \int\overbrace{\ln x}^{u}\overbrace{\frac{1}{x}\,dx}^{du} &=\int u\,du\\ &=\frac{1}{2}u^{2}+C\\ &=\frac{1}{2}(\ln x)^{2}+C. \end{aligned}Therefore
\begin{aligned} \int_{1}^{e}\frac{\ln x}{x}\,dx &=\left[\int\frac{\ln x}{x}\,dx\right]_{1}^{e}\\ &=\left[\frac{1}{2}(\ln x)^{2}\right]_{1}^{e}\\ &=\frac{1}{2}\left[(\ln e)^{2}-(\ln1)^{2}\right]=\frac{1}{2}\left[1^{2}-0^{2}\right]\\ &=\frac{1}{2}. \end{aligned}When integrating by the substitution of a new variable (u in the above example), it is sometimes rather troublesome to express the result in terms of the original variable (x in the above example). We may avoid the process of restoring the original variable if we change the limits of integration to correspond with the new variable.
In the above example, the lower limit of integration is , so in terms of u the lower limit becomes . The upper limit is , so in terms of u the upper limit becomes . Therefore,
and we get the same result as before.
Geometrically, the equation
means that the two different regions shown below have the same area. This is worth dwelling on: substitution does not preserve the shape of the region, only its area.

The Two Methods
There are two methods to evaluate a definite integral by substitution:
- First find the corresponding indefinite integral by substitution, express the answer in terms of the original variable, and then apply the second part of the Fundamental Theorem of Calculus with the original limits.
- Use a substitution directly in the definite integral, changing both the variable and the limits of integration in one step, as stated in the following theorem.
Substitution in Definite Integrals. If the function has a continuous derivative on the interval and is continuous on the range of , then
Proof
Let be an antiderivative of . Then it follows from the Chain Rule that
\begin{aligned} \frac{d}{dx}F\!\left(g(x)\right) &=F'\!\left(g(x)\right)g'(x)\\ &=f\!\left(g(x)\right)g'(x); \end{aligned}that is, is an antiderivative of f\!\left(g(x)\right)g'(x). Therefore, by the second part of the Fundamental Theorem of Calculus,
\begin{aligned} \int_{a}^{b}f\!\left(g(x)\right)g'(x)\,dx &=F\!\left(g(x)\right)\bigg]_{x=a}^{x=b}\\ &=F\!\left(g(b)\right)-F\!\left(g(a)\right)\\ &=F(u)\bigg]_{u=g(a)}^{u=g(b)}\\ &=\int_{g(a)}^{g(b)}f(u)\,du. \end{aligned}The single most common mistake is changing the variable but forgetting to change the limits. If the integral is written in terms of , then the numbers on the integral sign must be -values, not -values.
Worked Examples
Evaluate
Solution
Method (a). An appropriate substitution is , or . Then
and
\begin{aligned} \int\overbrace{x}^{u-1}\overbrace{\sqrt{1+x}}^{\sqrt{u}}\ \overbrace{dx}^{du} &=\int(u-1)\sqrt{u}\,du\\ &=\int\left(u^{3/2}-u^{1/2}\right)du\\ &=\frac{2}{5}u^{5/2}-\frac{2}{3}u^{3/2}\\ &=\frac{2}{5}(1+x)^{5/2}-\frac{2}{3}(1+x)^{3/2}. \end{aligned}Therefore, using the original limits,
\begin{aligned} \int_{0}^{3}x\sqrt{1+x}\,dx &=\left[\frac{2}{5}(1+x)^{5/2}-\frac{2}{3}(1+x)^{3/2}\right]_{x=0}^{x=3}\\ &=\frac{2}{5}\left(4^{5/2}\right)-\frac{2}{3}\left(4^{3/2}\right)-\frac{2}{5}+\frac{2}{3}\\ &=\frac{64}{5}-\frac{16}{3}-\frac{2}{5}+\frac{2}{3}\\ &=\frac{116}{15}. \end{aligned}Method (b). Change the variable of integration to and the limits of integration to correspond with u simultaneously:
- The lower limit: when , .
- The upper limit: when , .
Therefore
\begin{aligned} \int_{0}^{3}x\sqrt{1+x}\,dx &=\int_{1}^{4}(u-1)\sqrt{u}\,du\\ &=\left[\frac{2}{5}u^{5/2}-\frac{2}{3}u^{3/2}\right]_{u=1}^{u=4}\\ &=\left(\frac{2}{5}\left(\sqrt{4}\right)^{5}-\frac{2}{3}\left(\sqrt{4}\right)^{3}\right)-\left(\frac{2}{5}(1)-\frac{2}{3}(1)\right)\\ &=\frac{116}{15}. \end{aligned}The previous example was solved by two different methods. In method (a), the indefinite integral is evaluated using the Substitution Rule, and then the original limits are used. In method (b), the transformed definite integral with transformed limits is evaluated using the theorem above. There is no general rule to say which method is easier.
Evaluate .
Solution
Method (a). Because both and its derivative appear in the integrand, we try the substitution . So
and
\begin{aligned} \int\frac{\overbrace{\cos x\,dx}^{du}}{1+\underbrace{\sin^{2}x}_{u^{2}}} &=\int\frac{du}{1+u^{2}}\\ &=\arctan u+C\\ &=\arctan(\sin x)+C. &&{\small(u=\sin x)} \end{aligned}Therefore,
\begin{aligned} \int_{0}^{\pi/2}\frac{\cos x}{1+\sin^{2}x}\,dx &=\arctan(\sin x)\bigg]_{x=0}^{x=\pi/2}\\ &=\arctan\Big(\underbrace{\sin\frac{\pi}{2}}_{1}\Big)-\arctan(\sin0)\\ &=\frac{\pi}{4}. \end{aligned}Method (b). Change both the variable and the limits of integration:
- The lower limit: when , .
- The upper limit: when , .
Therefore
\begin{aligned} \int_{0}^{\pi/2}\frac{\cos x}{1+\sin^{2}x}\,dx &=\int_{0}^{1}\frac{du}{1+u^{2}}\\ &=\arctan u\bigg]_{u=0}^{u=1}\\ &=\arctan1-\arctan0\\ &=\frac{\pi}{4}-0=\frac{\pi}{4}. \end{aligned}Evaluate .
Solution
Method (a). Let
Then
\begin{aligned} \int\frac{x}{\sqrt[3]{x^{2}+2}}\,dx &=\int\frac{1}{\sqrt[3]{u}}\overbrace{\frac{du}{2}}^{x\,dx}=\frac{1}{2}\int u^{-1/3}\,du\\ &=\frac{1}{2}\times\frac{3}{2}u^{2/3}\\ &=\frac{3}{4}\left(x^{2}+2\right)^{2/3}+C. &&{\small(u=x^{2}+2)} \end{aligned}Therefore,
\begin{aligned} \int_{0}^{5}\frac{x}{\sqrt[3]{x^{2}+2}}\,dx &=\frac{3}{4}\left(x^{2}+2\right)^{2/3}\bigg]_{0}^{5}\\ &=\frac{3}{4}\left(27^{2/3}-2^{2/3}\right)=\frac{3}{4}\left(9-\sqrt[3]{4}\right). \end{aligned}Method (b). With the same substitution, the lower and upper limits become: when , ; and when , . Therefore,
\begin{aligned} \int_{0}^{5}\frac{x}{\sqrt[3]{x^{2}+2}}\,dx &=\frac{1}{2}\int_{2}^{27}u^{-1/3}\,du\\ &=\frac{1}{2}\times\frac{3}{2}u^{2/3}\bigg]_{2}^{27}\\ &=\frac{3}{4}\left(27^{2/3}-2^{2/3}\right)\\ &=\frac{3}{4}\left(9-\sqrt[3]{4}\right). \end{aligned}Evaluate
Solution
Let , or . Then
- The lower limit: when , .
- The upper limit: when , .
Therefore,
\begin{aligned} \int_{0}^{3}\frac{x-2}{\sqrt{5x+1}}\,dx &=\int_{1}^{16}\frac{\frac{u-1}{5}-2}{\sqrt{u}}\underbrace{\frac{du}{5}}_{dx}\\ &=\frac{1}{25}\int_{1}^{16}\frac{u-11}{\sqrt{u}}\,du\\ &=\frac{1}{25}\int_{1}^{16}\left(u^{1/2}-11u^{-1/2}\right)du\\ &=\frac{1}{25}\left[\frac{2}{3}u^{3/2}-22u^{1/2}\right]_{1}^{16}\\ &=\frac{1}{25}\left[\left(\frac{2}{3}\left(4^{3}\right)-22(4)\right)-\left(\frac{2}{3}-22\right)\right]\\ &=-\frac{24}{25}. \end{aligned}A different substitution. Another substitution that also works is , that is,
Taking the differential of each side we get
The numerator can be written in terms of u as
The upper and lower limits in terms of u are
Therefore
\begin{aligned} \int_{0}^{3}\frac{x-2}{\sqrt{5x+1}}\,dx &=\int_{1}^{4}\frac{u^{2}-11}{5u}\left(\frac{2}{5}u\,du\right)\\ &=\frac{2}{25}\int_{1}^{4}\left(u^{2}-11\right)du\\ &=\frac{2}{25}\left[\frac{1}{3}u^{3}-11u\right]_{u=1}^{u=4}\\ &=\frac{2}{25}\left[\left(\frac{1}{3}\left(4^{3}\right)-11(4)\right)-\left(\frac{1}{3}\left(1^{3}\right)-11(1)\right)\right]\\ &=-\frac{24}{25}. \end{aligned}The second substitution is slightly cleaner because it removes the radical entirely rather than leaving powers of behind.
When evaluating a definite integral by substitution, it is entirely possible for the new upper limit to be smaller than the new lower limit. Do not "fix" this by swapping them; the reversal rule already accounts for the sign.
Evaluate .
Solution
Let . Then
- The lower limit: when , .
- The upper limit: when , .
The new upper limit, 0, is smaller than the new lower limit, 1. That is fine. Therefore,
\begin{aligned} \int_{0}^{1}\frac{x}{\sqrt{1-x^{2}}}\,dx &=\int_{1}^{0}\frac{\overbrace{-\frac{1}{2}\,du}^{x\,dx}}{\sqrt{u}}\\ &=-\frac{1}{2}\int_{1}^{0}u^{-1/2}\,du\\ &=-\frac{1}{2}\times2u^{1/2}\bigg]_{1}^{0}\\ &=-(0-1)=1. \end{aligned}The original variable of integration is not always , and we do not have to call the new variable .
Evaluate .
Solution
To get rid of the roots, we let
Taking the differential of each side, we obtain
When , , and when , . Therefore,
\begin{aligned} \int_{0}^{16}\frac{\sqrt[4]{z}}{1+\sqrt{z}}\,dz &=\int_{0}^{2}\frac{t}{1+\sqrt{t^{4}}}\overbrace{4t^{3}\,dt}^{dz}\\ &=4\int_{0}^{2}\frac{t^{4}}{1+t^{2}}\,dt\\ &=4\int_{0}^{2}\frac{t^{4}-1+1}{1+t^{2}}\,dt\\ &=4\int_{0}^{2}\left[\frac{\left(t^{2}-1\right)\left(t^{2}+1\right)}{1+t^{2}}+\frac{1}{1+t^{2}}\right]dt\\ &=4\int_{0}^{2}\left[t^{2}-1+\frac{1}{1+t^{2}}\right]dt\\ &=4\left[\frac{t^{3}}{3}-t+\arctan t\right]_{0}^{2}\\ &=\frac{4}{3}\times8-4\times2+4\arctan2\\ &=\frac{8}{3}+4\arctan2. \end{aligned}The trick of writing turned an improper-looking rational function into a polynomial plus a recognizable arctangent form.
Evaluate .
Solution
To get rid of the cube root, let . Taking the differential of each side of this substitution, we obtain
- The lower limit: when , , so .
- The upper limit: when , , so .
Writing so that the factor matches the differential,
\begin{aligned} \int_{0}^{2}\frac{r^{2}}{\sqrt[3]{r^{2}+8}}\,r\,dr &=\int_{2}^{\sqrt[3]{12}}\frac{\overbrace{u^{3}-8}^{r^{2}}}{\underbrace{u}_{\sqrt[3]{r^{2}+8}}}\overbrace{\frac{3}{2}u^{2}\,du}^{r\,dr}\\ &=\frac{3}{2}\int_{2}^{\sqrt[3]{12}}\left(u^{4}-8u\right)du &&{\small(\text{simplify})}\\ &=\frac{3}{2}\left[\frac{1}{5}u^{5}-4u^{2}\right]_{2}^{\sqrt[3]{12}}\\ &=\frac{3}{10}\left[u^{2}\left(u^{3}-20\right)\right]_{2}^{\sqrt[3]{12}}\\ &=\frac{3}{10}\left(12^{2/3}(12-20)-4(8-20)\right)\\ &=\frac{3}{10}\left(48-8\times12^{2/3}\right)\\ &=\frac{3}{10}\left(48-16\times2^{1/3}\times3^{2/3}\right). \end{aligned}A different substitution. Another substitution that also works is :
- The lower limit: when , .
- The upper limit: when , .
Both substitutions land on the same answer, as they must.
Geometric Interpretation
So far, we have learned that the substitution rule for definite integrals is
\int_{a}^{b}f\!\left(g(x)\right)g'(x)\,dx=\int_{g(a)}^{g(b)}f(u)\,du. \tag{i}Instead of thinking of this rule as an algebraic consequence of the Chain Rule, let us see what it means geometrically.
For convenience, assume that:
- ,
- , and
- is an increasing function; that is, g'(x)>0.
Let us represent with a separate domain and range. The function maps the interval on the -axis to the interval on the -axis. Now let us subdivide the interval by . The images of the points under are
on the -axis. Specifically, the image of the subinterval under is the subinterval .

Even if the division points are equally spaced, those image subintervals on the -axis will not all have the same width. In fact, the width of is approximately g'(x) times the width of , because by linear approximation
\Delta u\approx g'(x)\,\Delta x.The approximation becomes an equality, and \Delta u\to du=g'(x)\,dx, as . If g'(x)>1, then the image of each subinterval on the -axis is stretched on the -axis; if 0

Now let us compare the graphs of and . Notice that the value of at is the same as the value of at :
\begin{aligned} f\circ g(x_{i}) &=f\!\left(g(x_{i})\right)\\ &=f(u_{i}). &&{\small(u_{i}=g(x_{i}))} \end{aligned}
Therefore, the rectangle with corners , , and under the graph of , and the rectangle with corners , , and under the graph of , have the same height, but the width of the second one is approximately g'(x_{i})\Delta x. So if we multiply the height of the first rectangle by g'(x_{i}), then both rectangles have the same area.

In other words, the role of g'(x) in the formula
\int_{a}^{b}f\!\left(g(x)\right)g'(x)\,dx=\int_{g(a)}^{g(b)}f(u)\,duis to cancel the change in the width by an opposite change in the height, so that the net signed areas remain the same.

A Concrete Illustration
Let for and . Then maps the interval to . Because is a constant function,
and

The two numbers differ, and the missing factor is exactly g'. We notice that g'(x)=2x and
0\leq g'(x)\leq1\qquad\text{when }0\leq x\leq\frac{1}{2}.The function maps the interval on the -axis to the smaller interval on the -axis. In fact, maps any subinterval of to a smaller interval, because by the Mean Value Theorem
|u_{2}-u_{1}|=\left|g(x_{2})-g(x_{1})\right|=\underbrace{\left|g'(c)\right|}_{\leq1}\left|x_{2}-x_{1}\right|\leq\left|x_{2}-x_{1}\right|for every and some between and . The area under the graph of on is twice the area under the graph of on . If we multiply by g'(x)=2x, then the graph of (f\circ g)g' is a straight line whose area on is exactly the same as the area under the graph of on .
On the other hand, because
1for every in the image of under is a larger interval :
|u_{2}-u_{1}|=\left|g(x_{2})-g(x_{1})\right|=\underbrace{\left|g'(c^{*})\right|}_{>1}\left|x_{2}-x_{1}\right|\geq\left|x_{2}-x_{1}\right|.Therefore, the area under the graph of on is less than the area under the graph of on . Again, multiplying by g'(x) makes the area under (f\circ g)g' on equal to the area under on .
If is a decreasing function, then g'(x)<0 and . So if is positive, both sides of Equation (i) are negative: the left-hand side because \underbrace{f\!\left(g(x)\right)}_{>0}\underbrace{g'(x)}_{<0}<0, and the right-hand side because and
When Is Not One-to-One
Note that in the substitution theorem, does not have to be a one-to-one function. Let us see what happens if it is not, through an example. Suppose for . Then
Now consider and with


Notice that and . Unlike , the function is not one-to-one. If we integrate f\!\left(g(x)\right)g'(x) on the domain of and f\!\left(h(x)\right)h'(x) on the domain of , both integrals are equal to :
\int_{-1}^{2}f\!\left(g(x)\right)g'(x)\,dx=\int_{-1}^{2}(1)(2x)\,dx=x^{2}\big|_{-1}^{2}=2^{2}-(-1)^{2}=3,\int_{1}^{2}f\!\left(h(x)\right)h'(x)\,dx=\int_{1}^{2}(1)(2x)\,dx=x^{2}\big|_{1}^{2}=2^{2}-1^{2}=3.We notice that
the function is decreasing on and increasing on , and
\int_{-1}^{0}f\!\left(g(x)\right)g'(x)\,dx=-\int_{0}^{1}f\!\left(g(x)\right)g'(x)\,dx,\Rightarrow\ \int_{-1}^{1}f\!\left(g(x)\right)g'(x)\,dx=\int_{-1}^{0}f\!\left(g(x)\right)g'(x)\,dx+\int_{0}^{1}f\!\left(g(x)\right)g'(x)\,dx=0.Therefore,
\int_{-1}^{2}f\!\left(g(x)\right)g'(x)\,dx=\overset{0}{\cancel{\int_{-1}^{1}f\!\left(g(x)\right)g'(x)\,dx}}+\underbrace{\int_{1}^{2}f\!\left(g(x)\right)g'(x)\,dx}_{g(x)=h(x)\text{ on }[1,2]}.In general, if is not one-to-one, then the value of the integral on the intervals where is increasing and on the intervals where is decreasing balance each other, so that the total value of the integral of f\!\left(g(x)\right)g'(x) on the entire interval is still equal to .



A Substitution That Requires Sign Tracking
The next example is a cautionary one. When the substitution is not one-to-one on the interval concerned, the new limits are not unique, and a radical such as can change sign midway. Every valid choice gives the same answer, but only if the absolute value is respected.
Compute the integral
Solution
Apply the substitution , so that
The sign of depends on which interval we choose for , and tracking it carefully is the central task of this example.
Finding the new limits. The limits satisfy :
\begin{aligned} \sin t=\frac{1}{2} &\ \Longrightarrow\ t=\frac{\pi}{6}+2k\pi \ \text{ or }\ t=\frac{5\pi}{6}+2k\pi,\\ \sin t=\frac{\sqrt{3}}{2} &\ \Longrightarrow\ t=\frac{\pi}{3}+2k\pi \ \text{ or }\ t=\frac{2\pi}{3}+2k\pi, \end{aligned}for . The four possible pairs are
Since the integrand is continuous on , all four pairs are valid. We must track the sign of on each interval. On intervals that contain , the sign changes and we must split the integral there.
Under the substitution the integrand becomes
We use the antiderivative
Case 1. , .
On we have , so and the integrand is :
\begin{aligned} \int_{1/2}^{\sqrt{3}/2}\sqrt{1-x^{2}}\,dx &=\int_{\pi/6}^{\pi/3}\cos^{2}t\,dt\\ &=\left[\frac{t}{2}+\frac{\sin2t}{4}\right]_{\pi/6}^{\pi/3}\\ &=\left(\frac{\pi}{6}+\frac{\sin\frac{2\pi}{3}}{4}\right)-\left(\frac{\pi}{12}+\frac{\sin\frac{\pi}{3}}{4}\right). \end{aligned}Since , the sine terms cancel:
Case 2. , .
Note that and , so the limits match the original integration direction. On the traversed interval we have , so and the integrand is :
\begin{aligned} \int_{1/2}^{\sqrt{3}/2}\sqrt{1-x^{2}}\,dx &=\int_{5\pi/6}^{2\pi/3}\left(-\cos^{2}t\right)dt\\ &=\int_{2\pi/3}^{5\pi/6}\cos^{2}t\,dt &&{\small\left(\int_{a}^{b}f=-\int_{b}^{a}f\right)}\\ &=\left[\frac{t}{2}+\frac{\sin2t}{4}\right]_{2\pi/3}^{5\pi/6}\\ &=\left(\frac{5\pi}{12}+\frac{\sin\frac{5\pi}{3}}{4}\right)-\left(\frac{\pi}{3}+\frac{\sin\frac{4\pi}{3}}{4}\right). \end{aligned}Since , the sine terms cancel:
Case 3. , .
As increases from to , it crosses , where changes sign:
We split at :
First part (, so ):
\begin{aligned} \int_{\pi/6}^{\pi/2}\cos^{2}t\,dt &=\left[\frac{t}{2}+\frac{\sin2t}{4}\right]_{\pi/6}^{\pi/2}\\ &=\left(\frac{\pi}{4}+0\right)-\left(\frac{\pi}{12}+\frac{\sqrt{3}}{8}\right)\\ &=\frac{\pi}{6}-\frac{\sqrt{3}}{8}. \end{aligned}Second part (, so ):
\begin{aligned} -\int_{\pi/2}^{2\pi/3}\cos^{2}t\,dt &=-\left[\frac{t}{2}+\frac{\sin2t}{4}\right]_{\pi/2}^{2\pi/3}\\ &=-\left[\left(\frac{\pi}{3}-\frac{\sqrt{3}}{8}\right)-\frac{\pi}{4}\right]\\ &=-\frac{\pi}{12}+\frac{\sqrt{3}}{8}. \end{aligned}Adding:
Case 4. , .
As decreases from to , it crosses , where changes sign:
We split at :
First part (, so ):
At : . At : , since .
So the bracket is , and
Second part (, so , limits descending):
\begin{aligned} \int_{\pi/2}^{\pi/3}\cos^{2}t\,dt &=\left[\frac{t}{2}+\frac{\sin2t}{4}\right]_{\pi/2}^{\pi/3}\\ &=\left(\frac{\pi}{6}+\frac{\sin\frac{2\pi}{3}}{4}\right)-\frac{\pi}{4}\\ &=\frac{\pi}{6}+\frac{\sqrt{3}}{8}-\frac{\pi}{4}\\ &=-\frac{\pi}{12}+\frac{\sqrt{3}}{8}. \end{aligned}Adding:
All four cases yield the same answer:
Remark. The integral computes the area of the region bounded above by the unit circle , below by the -axis, and between and .
Let and be the endpoints of the arc. The shaded area can be decomposed as
\text{shaded area}=\text{sector }OPQ+\triangle OPP'-\triangle OQQ',where P'=\left(\frac{1}{2},0\right) and Q'=\left(\frac{\sqrt{3}}{2},0\right) are the feet of the vertical lines. Explicitly,
\triangle OPP'=\frac{1}{2}\cdot\frac{1}{2}\cdot\frac{\sqrt{3}}{2}=\frac{\sqrt{3}}{8},\qquad \triangle OQQ'=\frac{1}{2}\cdot\frac{\sqrt{3}}{2}\cdot\frac{1}{2}=\frac{\sqrt{3}}{8}.The two triangles have equal area and cancel:
confirming the result. The cancellation is not a coincidence: it reflects the symmetry of the two radii and about the line .
Exercises
Evaluate by both methods.
Answer
Solution
Method (b). Let , so and . When , ; when , . Hence
Method (a). The indefinite integral is , and
Evaluate .
Answer
Solution
Let , . When , ; when , .
Evaluate .
Answer
Solution
Let , . When , ; when , .
\begin{aligned} \int_{1}^{2}\frac{dx}{(3x-1)^{2}} &= \frac{1}{3}\int_{2}^{5}u^{-2}\,du\\ &= \frac{1}{3}\left[-\frac{1}{u}\right]_{2}^{5} = \frac{1}{3}\left(-\frac{1}{5}+\frac{1}{2}\right)=\frac{1}{3}\cdot\frac{3}{10}=\frac{1}{10}. \end{aligned}
Evaluate .
Answer
Solution
Let , so . When , ; when , . Note again that the new upper limit is the smaller number.
\begin{aligned} \int_{0}^{1}x\sqrt{1-x^{2}}\,dx &= -\frac{1}{2}\int_{1}^{0}u^{1/2}\,du = \frac{1}{2}\int_{0}^{1}u^{1/2}\,du\\ &= \frac{1}{2}\cdot\frac{2}{3}=\frac{1}{3}. \end{aligned}
Evaluate .
Answer
Solution
Let , . When , ; when , .
Evaluate .
Answer
Solution
Write and let , . When , ; when , .
Evaluate .
Answer
Solution
Let , so and . When , ; when , .
\begin{aligned} \int_{0}^{4}\frac{dx}{1+\sqrt{x}} &= \int_{0}^{2}\frac{2t\,dt}{1+t} = 2\int_{0}^{2}\frac{t+1-1}{1+t}\,dt\\ &= 2\int_{0}^{2}\left(1-\frac{1}{1+t}\right)dt\\ &= 2\left[t-\ln|1+t|\right]_{0}^{2} = 2\left(2-\ln3\right)=4-2\ln3. \end{aligned}The step is the standard trick for an improper-looking rational function: make the numerator contain the denominator.
Evaluate .
Answer
Solution
Let , so and . When , ; when , .
\begin{aligned} \int_{0}^{1}\frac{x}{\sqrt{x+1}}\,dx &= \int_{1}^{2}\frac{u-1}{\sqrt{u}}\,du = \int_{1}^{2}\left(u^{1/2}-u^{-1/2}\right)du\\ &= \left[\frac{2}{3}u^{3/2}-2u^{1/2}\right]_{1}^{2}\\ &= \left(\frac{4\sqrt{2}}{3}-2\sqrt{2}\right)-\left(\frac{2}{3}-2\right)\\ &= -\frac{2\sqrt{2}}{3}+\frac{4}{3}=\frac{4-2\sqrt{2}}{3}. \end{aligned}Numerically this is about .
Evaluate .
Answer
Solution
Write and let , . When , ; when , .
\begin{aligned} \int_{0}^{\pi/3}\frac{\sin x}{\cos x}\,dx &= -\int_{1}^{1/2}\frac{du}{u} = -\left[\ln|u|\right]_{1}^{1/2}\\ &= -\left(\ln\tfrac{1}{2}-\ln1\right)=\ln2. \end{aligned}
Evaluate .
Answer
Solution
Let , so , that is . When , ; when , .
\begin{aligned} \int_{1}^{9}\frac{dx}{\sqrt{x}\left(1+\sqrt{x}\right)^{2}} &= 2\int_{2}^{4}\frac{du}{u^{2}} = 2\left[-\frac{1}{u}\right]_{2}^{4}\\ &= 2\left(-\frac{1}{4}+\frac{1}{2}\right)=\frac{1}{2}. \end{aligned}
Evaluate .
Answer
Solution
Let , so . When , ; when , .
Evaluate two ways: by substitution, and by a symmetry argument.
Answer
Solution
By substitution. Let , . When , ; when , . The two limits are equal, so
This is a striking illustration of a substitution that is not one-to-one: takes the same value at both endpoints, and the increasing and decreasing halves cancel exactly.
By symmetry. The integrand is an odd function, since replacing by changes the sign of the factor while leaving unchanged. An odd function integrated over a symmetric interval gives 0, as shown in the next section.
Evaluate .
Answer
Solution
Let , . When , ; when , .
Evaluate .
Answer
Solution
Let , so and . When , ; when , . Writing ,
\begin{aligned} \int_{0}^{1}\frac{e^{2x}}{e^{x}+1}\,dx &= \int_{2}^{e+1}\frac{u-1}{u}\,du = \int_{2}^{e+1}\left(1-\frac{1}{u}\right)du\\ &= \left[u-\ln u\right]_{2}^{e+1}\\ &= \left(e+1-\ln(e+1)\right)-\left(2-\ln2\right)\\ &= e-1-\ln\frac{e+1}{2}. \end{aligned}
Evaluate .
Answer
Solution
Let , . When , ; when , .
Find the error in the following computation and give the correct value:
Is the stated answer nevertheless correct?
Answer
There is no error: the substitution is legitimate even though is not one-to-one on , and the value is indeed .
Solution
The substitution , satisfies the hypotheses of the substitution theorem: has a continuous derivative on and the integrand is continuous. The theorem does not require to be one-to-one, so the calculation is valid and the answer is 0.
Confirming directly: , and
The lesson is the one drawn in the geometric discussion above: on the substitution sweeps from 0 up to 1, and on it sweeps back down, and the two contributions cancel.
Show that for any continuous and any ,
and use it to evaluate .
Answer
The identity follows from ; the integral equals .
Solution
The identity. Let , so . When , ; when , . Hence
the last step because the variable of integration is a dummy.
The application. Call the integral and apply the identity with . Since and ,
Adding the two expressions for ,
so . The integrand has no elementary antiderivative that is pleasant to find, yet the symmetry trick gives the exact value in three lines.
The region under from to has the same area as the region under from to , for any . Prove this with a substitution, and say what property of the logarithm it expresses.
Answer
The substitution proves it; the property is .
Solution
In the second integral let , so and . When , ; when , . Therefore
which is the first integral.
Since , the statement reads , that is, . The multiplicative property of the logarithm is exactly the scale-invariance of the area under the hyperbola.