Substitution and Transformed Bounds

Recognize a composition and change the variable, differential and bounds consistently.

Builds on Definite Integrals and the Fundamental Theorem

The bigger question: How do tiny changes add up to a total?

On this page

Reverse the chain rule

The chain rule says that differentiating F(g(x))F(g(x)) produces F′(g(x))g′(x)F'(g(x))g'(x). Substitution reverses this structure. Choose u=g(x)u=g(x), so du=g′(x)dxdu=g'(x)dx, and rewrite every remaining part in terms of uu.

A good substitution simplifies the integrand and has a derivative that can be supplied by the remaining factors. Merely renaming a complicated expression is not enough if unrelated xx terms remain and cannot be eliminated.

Visual guide

VISUAL GUIDEChange the variable and its interval

Original variable x

The area under 2x on [0, 1] equals 1. Under u = x², du = 2x dx, the same integral becomes the area under 1 on u ∈ [0, 1]. Substitution changes both the integrand measure and the endpoint labels.000.30.5750.61.150.91.721.22.3xy
  • 2x

New variable u = x²

The area under 2x on [0, 1] equals 1. Under u = x², du = 2x dx, the same integral becomes the area under 1 on u ∈ [0, 1]. Substitution changes both the integrand measure and the endpoint labels.000.30.5750.61.150.91.721.22.3uy
  • 1
The area under 2x on [0, 1] equals 1. Under u = x², du = 2x dx, the same integral becomes the area under 1 on u ∈ [0, 1]. Substitution changes both the integrand measure and the endpoint labels.

Worked example: a composition with its derivative

For ∫2xcos⁡(x2)dx\int2x\cos(x^2)dx, set u=x2u=x^2. Then du=2x dxdu=2x\,dx, and the integral becomes ∫cos⁡u du=sin⁡u+C\int\cos u\,du=\sin u+C. Substituting back gives sin⁡(x2)+C\sin(x^2)+C. Differentiation confirms both the outer function and the required 2x2x factor.

For ∫xcos⁡(x2)dx\int x\cos(x^2)dx, the needed factor is twice what is available. Compensate with a constant: the result is 12sin⁡(x2)+C\tfrac12\sin(x^2)+C. Constant factors can be adjusted; variable factors cannot simply be invented.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Under u=x², what do x=1 and x=3 become as integration bounds?

Hint 1 · Find a starting point

Bounds must use the new variable’s definition.

Hint 2 · Take the next step

Evaluate u=x² at both old endpoints.

Show the reasoning

Answer: u=1 and u=9

1²=1 and 3²=9. Changing the variable but keeping old bounds mixes descriptions.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: change the endpoints too

Evaluate ∫012x/(1+x2) dx\int_0^1 2x/(1+x^2)\,dx. Choose u=1+x2u=1+x^2 and du=2x dxdu=2x\,dx. The old endpoint x=0x=0 becomes u=1u=1, and x=1x=1 becomes u=2u=2. Therefore

∫012x1+x2dx=∫12duu=ln⁡2.\int_0^1\frac{2x}{1+x^2}dx=\int_1^2\frac{du}{u}=\ln2.

An equally valid route is to find ln⁡(1+x2)\ln(1+x^2) and then use the original xx endpoints. Mixing a uu antiderivative with xx endpoints is invalid because they refer to different coordinates.

Reversing orientation

If uu decreases as xx increases, the transformed bounds reverse order and the differential carries the appropriate sign. For ∫01(1−x)2dx\int_0^1(1-x)^2dx, let u=1−xu=1-x. Then dx=−dudx=-du and the bounds go from 11 to 00, giving −∫10u2du=1/3-\int_1^0u^2du=1/3.

For the standard substitution theorem, a continuously differentiable inner function and continuous outer integrand on the relevant ranges are sufficient. More general changes of variable require care about domains and branches; trigonometric substitution later makes these choices explicit.

Practice

  1. Integrate 3x2ex33x^2e^{x^3}.
  2. Evaluate ∫01x1+x2 dx\int_0^1 x\sqrt{1+x^2}\,dx.
  3. Why is u=x2u=x^2 not immediately enough to simplify ∫cos⁡(x2)dx\int\cos(x^2)dx to ∫cos⁡u du\int\cos u\,du?
Show worked solutions
  1. With u=x3u=x^3, the answer is ex3+Ce^{x^3}+C.
  2. u=1+x2u=1+x^2 gives 12∫12u1/2du=(22−1)/3\tfrac12\int_1^2u^{1/2}du=(2\sqrt2-1)/3.
  3. The differential is du=2x dxdu=2x\,dx, and no 2x2x factor is present. Dropping it changes the integral; this example has no elementary antiderivative.
MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →