Single-Variable-Calculus ยท Unit 15 ยท Video 4 ยท Interactive Practice

Substitution in Definite Integrals: Change the Limits

IKey Formulas

FormulaNameWhen it applies
โˆซx1x2g(u(x))โ€‰uโ€ฒ(x)โ€‰dx=โˆซu1u2g(u)โ€‰du\displaystyle\int_{x_1}^{x_2} g(u(x))\,u'(x)\,dx = \int_{u_1}^{u_2} g(u)\,duSubstitution with limitsu1=u(x1)u_1 = u(x_1) and u2=u(x2)u_2 = u(x_2)
โˆซ12(x3+2)5โ€‰x2โ€‰dx=โˆซ310u53โ€‰du=106โˆ’3618\displaystyle\int_1^2 (x^3+2)^5\,x^2\,dx = \int_3^{10} \frac{u^5}{3}\,du = \frac{10^6 - 3^6}{18}Worked exampleu=x3+2u = x^3 + 2, โ€…โ€Šdu=3x2โ€‰dx\;du = 3x^2\,dx
(x3+2)618โˆฃ12=u618โˆฃ310\displaystyle \left.\frac{(x^3+2)^6}{18}\right|_1^2 = \left.\frac{u^6}{18}\right|_3^{10}Two correct routesBack to xx with xx-limits, or stay in uu with uu-limits
โˆซโˆ’11x2โ€‰dx=โˆซโˆ’10x2โ€‰dx+โˆซ01x2โ€‰dx=13+13\displaystyle\int_{-1}^{1} x^2\,dx = \int_{-1}^{0} x^2\,dx + \int_{0}^{1} x^2\,dx = \tfrac{1}{3} + \tfrac{1}{3}Split where uโ€ฒu' changes signu=x2u = x^2 with x=โˆ’ux = -\sqrt{u} on the left, x=+ux = +\sqrt{u} on the right

Key Insight: The limits belong to whichever variable the differential names. Substitute only where uโ€ฒu' keeps one sign, so that each uu comes from exactly one xx.

IIVisualization 1 โ€” The Limits Travel With the Variable

As xx runs from 11 to 22, u=x3+2u = x^3 + 2 runs from 33 to 1010, and the two integrals agree all the way.

IIIVisualization 2 โ€” Match the Antiderivative to Its Limits

For โˆซ12(x3+2)5x2โ€‰dx\int_1^2 (x^3+2)^5 x^2\,dx, only two of the four antiderivative-and-limits pairings give the true value.

IVVisualization 3 โ€” When the Substitution Turns Around

On [โˆ’1,1][-1, 1], u=x2u = x^2 falls and then climbs, so x=ux = \sqrt{u} holds only on the right half.

VQuiz Questions

Problem 1 ยท Convert the Limits

Given: โˆซ012xโ€‰(x2+1)3โ€‰dx\displaystyle\int_0^1 2x\,(x^2+1)^3\,dx with u=x2+1u = x^2 + 1 โ€” find the integral in uu, limits included.

โœ… Correct! du=2xโ€‰dxdu = 2x\,dx absorbs the whole factor 2xโ€‰dx2x\,dx, and the limits become u(0)=1u(0) = 1 and u(1)=2u(1) = 2.
โŒ Not quite. The limits 00 and 11 are xx-values. Once the integrand is in uu, the limits must be u(0)u(0) and u(1)u(1).
โŒ Close, butโ€ฆ the upper limit is right, but the lower one was not converted: at x=0x = 0, u=02+1=1u = 0^2 + 1 = 1.
โŒ Close, butโ€ฆ there is no leftover 12\tfrac12 here. The integrand already contains 2xโ€‰dx2x\,dx, which is exactly dudu.
Show solution

With u=x2+1u = x^2 + 1 we have du=2xโ€‰dxdu = 2x\,dx, so (x2+1)3โ‹…2xโ€‰dx=u3โ€‰du(x^2+1)^3 \cdot 2x\,dx = u^3\,du.

The limits change with the variable: u1=02+1=1u_1 = 0^2 + 1 = 1 and u2=12+1=2u_2 = 1^2 + 1 = 2.

โˆซ012xโ€‰(x2+1)3โ€‰dx=โˆซ12u3โ€‰du=u44โˆฃ12=16โˆ’14=154\int_0^1 2x\,(x^2+1)^3\,dx = \int_1^2 u^3\,du = \left.\frac{u^4}{4}\right|_1^2 = \frac{16 - 1}{4} = \frac{15}{4}

Problem 2 ยท The Old-Limits Trap

Given: โˆซ02xโ€‰(x2+1)2โ€‰dx\displaystyle\int_0^2 x\,(x^2+1)^2\,dx โ€” find its value using u=x2+1u = x^2 + 1.

โœ… Correct! The uu-antiderivative u36\tfrac{u^3}{6} is evaluated at the uu-limits 11 and 55.
โŒ Not quite. This is u36\tfrac{u^3}{6} evaluated at u=0u = 0 and u=2u = 2, the old xx-limits. As xx runs from 00 to 22, uu runs from 11 to 55.
โŒ Close, butโ€ฆ du=2xโ€‰dxdu = 2x\,dx, so xโ€‰dx=du2x\,dx = \tfrac{du}{2}. The factor 12\tfrac12 was dropped, which doubles the answer.
โŒ Close, butโ€ฆ only the upper limit was converted. At x=0x = 0, u=1u = 1, so the lower term is 136\tfrac{1^3}{6}, not 00.
Show solution

Let u=x2+1u = x^2 + 1, so du=2xโ€‰dxdu = 2x\,dx and xโ€‰dx=du2x\,dx = \tfrac{du}{2}. The limits: u(0)=1u(0) = 1, u(2)=5u(2) = 5.

โˆซ02xโ€‰(x2+1)2โ€‰dx=โˆซ15u22โ€‰du=u36โˆฃ15=125โˆ’16=623\int_0^2 x\,(x^2+1)^2\,dx = \int_1^5 \frac{u^2}{2}\,du = \left.\frac{u^3}{6}\right|_1^5 = \frac{125 - 1}{6} = \frac{62}{3}

Check by changing back to xx: (x2+1)36โˆฃ02=125โˆ’16=623\left.\tfrac{(x^2+1)^3}{6}\right|_0^2 = \tfrac{125 - 1}{6} = \tfrac{62}{3}, using the old limits with the xx-antiderivative.

Problem 3 ยท A Decreasing Substitution

Given: โˆซ01x2โ€‰(1โˆ’x3)4โ€‰dx\displaystyle\int_0^1 x^2\,(1 - x^3)^4\,dx with u=1โˆ’x3u = 1 - x^3 โ€” find the new limits and the value.

As x runs from 0 to 1, u runsโ€ฆ

What is the value of the integral?

โœ… Correct! The minus sign in du=โˆ’3x2โ€‰dxdu = -3x^2\,dx and the reversed limits 1โ†’01 \to 0 cancel, leaving โˆซ01u43โ€‰du=115\int_0^1 \tfrac{u^4}{3}\,du = \tfrac{1}{15}.
โŒ Not quite. Those are the xx-limits copied over. Compute u(0)=1โˆ’0=1u(0) = 1 - 0 = 1 and u(1)=1โˆ’1=0u(1) = 1 - 1 = 0.
โŒ Check the limits. Put each xx-limit into u=1โˆ’x3u = 1 - x^3: u(0)=1u(0) = 1 is the lower limit and u(1)=0u(1) = 0 is the upper one.
โŒ Close, butโ€ฆ one of the two sign changes was lost. Keep both the minus sign in x2โ€‰dx=โˆ’du3x^2\,dx = -\tfrac{du}{3} and the reversed limits โˆซ10\int_1^0.
โŒ Not quite. x2โ€‰dx=โˆ’du3x^2\,dx = -\tfrac{du}{3}, so the factor 13\tfrac13 must stay in the integral.
โŒ Check the value. Rewrite x2โ€‰dx=โˆ’du3x^2\,dx = -\tfrac{du}{3} and integrate u4u^4 between the converted limits.
Show solution

Let u=1โˆ’x3u = 1 - x^3. Then du=โˆ’3x2โ€‰dxdu = -3x^2\,dx, so x2โ€‰dx=โˆ’du3x^2\,dx = -\tfrac{du}{3}. Here uโ€ฒ=โˆ’3x2โ‰ค0u' = -3x^2 \le 0, so uu moves steadily down and the substitution is safe.

The limits: u(0)=1u(0) = 1 and u(1)=0u(1) = 0, so uu runs from 11 down to 00.

โˆซ01x2(1โˆ’x3)4โ€‰dx=โˆซ10u4(โˆ’du3)=โˆซ01u43โ€‰du=u515โˆฃ01=115\int_0^1 x^2 (1 - x^3)^4\,dx = \int_1^0 u^4 \left(-\frac{du}{3}\right) = \int_0^1 \frac{u^4}{3}\,du = \left.\frac{u^5}{15}\right|_0^1 = \frac{1}{15}

The integrand x2(1โˆ’x3)4x^2(1-x^3)^4 is never negative on [0,1][0, 1], so a positive answer is expected.

Problem 4 ยท Where u Turns Around

Given: โˆซโˆ’21x2โ€‰dx\displaystyle\int_{-2}^{1} x^2\,dx, computed with u=x2u = x^2. Find what the careless route gives and what splitting at x=0x = 0 gives.

Using x = โˆšu on the whole interval givesโ€ฆ

Splitting at x = 0 with the correct sign on each piece givesโ€ฆ

โœ… Correct! The careless route gives โˆ’73-\tfrac{7}{3}, a negative area for a nonnegative integrand. Splitting gives 83+13=3\tfrac{8}{3} + \tfrac{1}{3} = 3, matching x33โˆฃโˆ’21\left.\tfrac{x^3}{3}\right|_{-2}^{1}.
โŒ Not quite. 33 is the true value, but x=ux = \sqrt{u} is wrong where xx is negative, so the careless route cannot produce it.
โŒ Not quite. The limits only match when the interval is symmetric. Here u(โˆ’2)=4u(-2) = 4 and u(1)=1u(1) = 1, so the new integral runs from 44 to 11.
โŒ Check the careless route. It becomes โˆซ41u2uโ€‰du=โˆซ4112uโ€‰du\int_4^1 \tfrac{u}{2\sqrt{u}}\,du = \int_4^1 \tfrac12\sqrt{u}\,du; mind the order of the limits.
โŒ Close, butโ€ฆ 13\tfrac13 is only the right piece, โˆซ01x2โ€‰dx\int_0^1 x^2\,dx. The left piece โˆซโˆ’20x2โ€‰dx=83\int_{-2}^0 x^2\,dx = \tfrac83 must be added.
โŒ Check the split. With the correct sign each piece is positive: compute โˆซโˆ’20\int_{-2}^{0} and โˆซ01\int_{0}^{1} separately and add.
Show solution

Careless route. With u=x2u = x^2, du=2xโ€‰dxdu = 2x\,dx, the limits become u(โˆ’2)=4u(-2) = 4 and u(1)=1u(1) = 1. Writing x=ux = \sqrt{u} everywhere:

โˆซ41uโ‹…du2u=โˆซ4112uโ€‰du=u3/23โˆฃ41=1โˆ’83=โˆ’73\int_4^1 u \cdot \frac{du}{2\sqrt{u}} = \int_4^1 \tfrac12\sqrt{u}\,du = \left.\frac{u^{3/2}}{3}\right|_4^1 = \frac{1 - 8}{3} = -\frac{7}{3}

This is wrong because uโ€ฒ=2xu' = 2x changes sign at x=0x = 0; on [โˆ’2,0][-2, 0], x=โˆ’ux = -\sqrt{u}.

Split. On [โˆ’2,0][-2, 0]: x=โˆ’ux = -\sqrt{u}, dx=โˆ’du2udx = -\tfrac{du}{2\sqrt{u}}, uu runs from 44 to 00:

โˆซ40u(โˆ’du2u)=โˆซ0412uโ€‰du=u3/23โˆฃ04=83\int_4^0 u\left(-\frac{du}{2\sqrt{u}}\right) = \int_0^4 \tfrac12\sqrt{u}\,du = \left.\frac{u^{3/2}}{3}\right|_0^4 = \frac{8}{3}

On [0,1][0, 1]: x=ux = \sqrt{u}, uu runs from 00 to 11, giving โˆซ0112uโ€‰du=13\int_0^1 \tfrac12\sqrt{u}\,du = \tfrac13.

Total: 83+13=3\tfrac83 + \tfrac13 = 3. Directly, x33โˆฃโˆ’21=13โˆ’(โˆ’83)=3\left.\tfrac{x^3}{3}\right|_{-2}^{1} = \tfrac13 - \left(-\tfrac83\right) = 3.

Solved: 0 / 4