Overview

Among the multitude of mathematical tools to conquer integral computations, the u-substitution is one of the most fundamental, as it helps simplify otherwise ugly-looking integrals. Let's get familiar with them in this handout!

1. Definition and Examples

1.1 Why u-sub Works

Definition: This integration technique is basically applying reverse chain rule by the Fundamental Theorem of Calculus. It aims to write integrals into the form

∫f(g(x)) g′(x) dx\int f(g(x))\,g'(x)\,dx

which, when using a substitution of u=g(x)u = g(x), gives:

∫f(u) du\int f(u)\,du

because g′(u)=dudxg'(u) = \dfrac{du}{dx}.

1.2 Steps to Perform a u-sub

There are a few steps to performing a u-substitution. As an example, let's say we wanted to evaluate

∫35sin⁡(1+69x) dx\int_3^5 \sin(1 + 69x)\,dx

Step 1 — Choose a simplifying transformation. Here, notice that if we could apply the power rule, that would be wonderful. Hence we choose the substitution

u=1+69xu = 1 + 69x

Step 2 — Determine the corresponding differential. We want to change everything from the xx world into the uu world. Computing dudx\dfrac{du}{dx} by differentiation:

dudx=ddx(1+69x)=69  ⟹  du=69 dx\frac{du}{dx} = \frac{d}{dx}(1 + 69x) = 69 \implies du = 69\,dx

Step 3 — Change the bounds of integration. This part only applies if you have definite integrals. For x=3x = 3: u=1+69(3)=208u = 1 + 69(3) = 208. For x=5x = 5: u=346u = 346.

Step 4 — Assemble the integral. Putting all three steps together:

∫x=3x=5sin⁡(1+69x) dx=∫u=208u=346sin⁡(u)⋅(169 du)\int_{x=3}^{x=5} \sin(1 + 69x)\,dx = \int_{u=208}^{u=346} \sin(u) \cdot \left(\frac{1}{69}\,du\right)

From here, it is straightforward to perform the integral because we know the integral of sin⁡(x)\sin(x).

The reason we perform all the steps above is because u-substitution is basically the same thing as changing a graph's axes — if one pictures integrals as areas under curves, then u-substitution is mapping one xx-axis into another uu-axis. Not only do the scales on the axes change (which implies that dxdx changes into dudu), but also the bounds of integration.

Note that you don't always have to perform substitutions of uu as a function of xx. You could also perform substitutions where xx is a function of uu, as we will see below.

1.3 Trigonometric Substitutions

As you continue on your calculus journey, you will encounter more and more substitutions. One particular family of substitutions are trigonometric substitutions. The reason they are so useful — and even deserve to be named "a family of substitutions" — is because of the trigonometric identities, which can help simplify an integral greatly.

Example 1: Let's consider the integral:

∫1(1+x2)3/2 dx\int \frac{1}{(1 + x^2)^{3/2}}\,dx

At first glance, this seems hard because you can't do reverse-power-rule on this. However, there is a beautiful coincidence:

1+tan⁡2x=sec⁡2xddxtan⁡x=sec⁡2x1 + \tan^2 x = \sec^2 x \qquad \frac{d}{dx}\tan x = \sec^2 x

The derivative of tan⁡x\tan x is exactly the same as 11 plus itself squared! This motivates the substitution x=tan⁡ux = \tan u, which implies dx=sec⁡2u dudx = \sec^2 u\,du. Plugging in:

∫1(1+x2)3/2 dx=∫1(1+tan⁡2u)3/2sec⁡2u du=∫1sec⁡3usec⁡2u du=∫cos⁡u du\int \frac{1}{(1 + x^2)^{3/2}}\,dx = \int \frac{1}{(1 + \tan^2 u)^{3/2}} \sec^2 u\,du = \int \frac{1}{\sec^3 u} \sec^2 u\,du = \int \cos u\,du

The original integral then evaluates to

∫1(1+x2)3/2 dx=sin⁡u+C=sin⁡(arctan⁡x)+C\int \frac{1}{(1 + x^2)^{3/2}}\,dx = \sin u + C = \sin(\arctan x) + C

which one can further simplify using trigonometry.

The key insight is that whenever you see a certain form of function in the integrand, one should use a certain substitution. The problem then transforms from a polynomial-type function into a trigonometric-type function.

Here is a list of useful trigonometric substitutions:

FormSubstitutionReason
a2+x2\sqrt{a^2 + x^2}u=atan⁡xu = a\tan x1+tan⁡2x=sec⁡2x=(tan⁡x)′1 + \tan^2 x = \sec^2 x = (\tan x)'
a2−x2\sqrt{a^2 - x^2}u=asin⁡xu = a\sin x1−sin⁡2x=cos⁡2x=((sin⁡x)′)21 - \sin^2 x = \cos^2 x = ((\sin x)')^2
x2−a2\sqrt{x^2 - a^2}u=asec⁡xu = a\sec xsec⁡2x−1=tan⁡2x=((sec⁡x)′sec⁡x)2\sec^2 x - 1 = \tan^2 x = \left(\frac{(\sec x)'}{\sec x}\right)^2

where (f(x))′=ddxf(x)(f(x))' = \dfrac{d}{dx}f(x) and (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x \tan x.

1.4 A Note on Substitutions

As seen above, the list of substitutions is extensive — there are many types out there, including Weierstrass substitutions, Euler substitutions, and many other tricks one will discover along their path through calculus.

The key to substitutions is not memorising all of them, but rather choosing the correct one which simplifies the problem at hand.

2. Problems & Practices

Problem 1: Evaluate the integral

∫3x2(x3+1)6 dx\int 3x^2(x^3 + 1)^6\,dx

Problem 2: Evaluate the integral

∫(ln⁡x)2x dx\int \frac{(\ln x)^2}{x}\,dx

Problem 3: Evaluate the integral

∫1a2−b2x2 dx\int \frac{1}{\sqrt{a^2 - b^2 x^2}}\,dx

Problem 4: Prove the King Property:

∫abf(x) dx=∫abf(a+b−x) dx\int_a^b f(x)\,dx = \int_a^b f(a + b - x)\,dx

Problem 5: Evaluate the integral

∫0πxsin⁡x(1+cos⁡2x)2 dx\int_0^{\pi} \frac{x\sin x}{(1 + \cos^2 x)^2}\,dx

Hint: use the result from Problem 4, and think about the periodicity of the sinusoidal functions.

Problem 6: Evaluate the integral

∫1x2(x4+1)3/4 dx\int \frac{1}{x^2(x^4 + 1)^{3/4}}\,dx

Problem 7: Evaluate the integral

∫x2−2(x4+5x2+4)arctan⁡ ⁣(x2+2x) dx\int \frac{x^2 - 2}{(x^4 + 5x^2 + 4)\arctan\!\left(\frac{x^2+2}{x}\right)}\,dx

Problem 8: Evaluate the integral

∫0π/2ln⁡(sin⁡x) dx\int_0^{\pi/2} \ln(\sin x)\,dx

Hint: use the result from Problem 4. You might use the identity sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x \cos x.

3. Solutions

Problem 1:

(x3+1)77+C\frac{(x^3 + 1)^7}{7} + C

Problem 2:

(ln⁡x)33+C\frac{(\ln x)^3}{3} + C

Problem 3:

1barcsin⁡bax+C\frac{1}{b}\arcsin\frac{b}{a}x + C

Problem 4: Perform the substitution x=a+b−ux = a + b - u to get

∫baf(a+b−u)(−du)=∫abf(a+b−u) du\int_b^a f(a + b - u)(-du) = \int_a^b f(a + b - u)\,du

Then notice that the integral is definite, and uu is a dummy variable — by renaming it xx, we complete the proof of the King Property.

Problem 5:

π24\frac{\pi^2}{4}

Problem 6: Perform the substitution u=x−4u = x^{-4} to get

−14∫du(1+u)3/4-\frac{1}{4}\int \frac{du}{(1+u)^{3/4}}

which evaluates to −(1+x−4)1/4+C-(1 + x^{-4})^{1/4} + C.

Problem 7:

ln⁡(arctan⁡(x2+2x))+C\ln\left(\arctan\left(\frac{x^2 + 2}{x}\right)\right) + C

Problem 8:

−πln⁡22-\frac{\pi\ln 2}{2}

Conclusion

Congratulations on making it through this handout! The problems were tough, so give yourself a pat on the back if you managed to do them all — you can now compute many different types of integrals!

StatusSourceProblem NameDifficultyTags
AIMEVery Hard
Show TagsCombinatorics, Recursion

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.