Integrating Using Substitution
students, imagine you are filling a bathtub with water đźšż. The amount of water in the tub depends on how fast the faucet runs at each moment. In calculus, integration helps you measure the total accumulation from a changing rate. But sometimes the expression inside an integral looks complicated, like a puzzle with pieces that belong together. Substitution is a strategy that helps you simplify that puzzle.
In this lesson, you will learn how to:
- explain the main ideas and vocabulary behind substitution,
- choose when substitution is useful,
- use substitution to evaluate definite and indefinite integrals,
- connect substitution to the Fundamental Theorem of Calculus,
- recognize how substitution represents a change of variables in accumulation problems.
By the end, students, you should see substitution as a powerful way to turn a hard integral into one that is easier to evaluate and understand.
Why Substitution Works
Substitution is based on the idea of reversing the Chain Rule. The Chain Rule says that if $y=f(g(x))$, then the derivative is $y'=f'(g(x))g'(x)$. In integration, we often see an integrand where one function is inside another and another factor looks like its derivative. That pattern suggests substitution.
A common form is
$$\int f(g(x))g'(x)\,dx.$$
If we let $u=g(x)$, then $du=g'(x)\,dx$, and the integral becomes
$$\int f(u)\,du.$$
That new integral is usually much simpler.
Think of it like changing from miles per hour to feet per second. The situation is the same, but the units change to make the work easier. Substitution changes the variable so the integral becomes easier to evaluate âś….
For example, consider
$$\int 2x(x^2+5)^3\,dx.$$
The inside function is $x^2+5$, and its derivative is $2x$. If we let $u=x^2+5$, then $du=2x\,dx$. The integral becomes
$$\int u^3\,du,$$
which is easy to integrate.
How to Choose a Substitution
The key skill is spotting the right inside expression. students, ask yourself these questions:
- Is there a function inside another function?
- Is the derivative of the inside function also present, or almost present?
- Would replacing part of the integrand make the expression simpler?
A good substitution usually comes from a repeated pattern. Common choices include expressions like $x^2+1$, $3x-4$, $\sin x$, or $e^x$. If a factor like $2x$, $3$, or $\cos x$ appears and matches the derivative of the inside expression, substitution is likely a good move.
Let’s compare two examples.
Example 1:
$$\int (5x^4)(x^5-2)^7\,dx.$$
Here, the inside function is $x^5-2$, and its derivative is $5x^4$. That is a perfect match. Let $u=x^5-2$, so $du=5x^4\,dx$. Then
$$\int (5x^4)(x^5-2)^7\,dx=\int u^7\,du.$$
Example 2:
$$\int \frac{2x}{x^2+9}\,dx.$$
The inside function in the denominator is $x^2+9$, and its derivative is $2x$. Let $u=x^2+9$. Then $du=2x\,dx$, so the integral becomes
$$\int \frac{1}{u}\,du.$$
That gives a logarithmic antiderivative.
The most important habit is to look for structure, not just symbols. Substitution is often successful when the integral has a clear “inside-outside” pattern.
Indefinite Integrals with Substitution
For an indefinite integral, substitution changes the variable and then you integrate with respect to the new variable. After that, you rewrite the answer in terms of $x$.
Let’s do a full example:
$$\int 6x\cos(x^2)\,dx.$$
Step 1: Choose a substitution.
Let $u=x^2$.
Step 2: Differentiate.
Then $du=2x\,dx$.
Step 3: Rewrite the integral.
Since $6x\,dx=3(2x\,dx)=3\,du$, we get
$$\int 6x\cos(x^2)\,dx=\int 3\cos(u)\,du.$$
Step 4: Integrate.
$$\int 3\cos(u)\,du=3\sin(u)+C.$$
Step 5: Substitute back.
$$3\sin(x^2)+C.$$
So the final answer is
$$\int 6x\cos(x^2)\,dx=3\sin(x^2)+C.$$
Notice the structure: one part of the integrand was the derivative of the inside function, and substitution turned a complicated composition into a basic trig integral.
Another example:
$$\int \frac{1}{2x+1}\,dx.$$
Let $u=2x+1$, so $du=2\,dx$ and $dx=\frac{1}{2}du$. Then
$$\int \frac{1}{2x+1}\,dx=\frac{1}{2}\int \frac{1}{u}\,du=\frac{1}{2}\ln|u|+C=\frac{1}{2}\ln|2x+1|+C.$$
Absolute value matters because $\ln x$ is only defined for positive inputs, while $\ln|x|$ works for both positive and negative nonzero values.
Definite Integrals and Changing Limits
Substitution works for definite integrals too, but here you have two choices. You can change the bounds to match the new variable, or you can substitute back before evaluating. Changing the bounds is often cleaner.
Consider
$$\int_0^2 x(x^2+1)^4\,dx.$$
Let $u=x^2+1$, so $du=2x\,dx$ and $x\,dx=\frac{1}{2}du$.
Now change the limits:
- when $x=0$, $u=0^2+1=1$,
- when $x=2$, $u=2^2+1=5$.
So the integral becomes
$$\int_0^2 x(x^2+1)^4\,dx=\frac{1}{2}\int_1^5 u^4\,du.$$
Now integrate:
$$\frac{1}{2}\int_1^5 u^4\,du=\frac{1}{2}\left[\frac{u^5}{5}\right]_1^5=\frac{1}{10}(5^5-1^5).$$
This equals
$$\frac{1}{10}(3125-1)=312.4.$$
In a definite integral, changing variables changes the limits because the values of the interval must match the new variable. This is a very important AP Calculus AB idea.
Substitution also fits the meaning of definite integrals as accumulated change. If the integrand represents a rate, substitution can help reveal the total change more clearly by choosing a variable that matches the natural pattern of the rate.
Connection to the Fundamental Theorem of Calculus
The Fundamental Theorem of Calculus connects derivatives and integrals. Substitution works because it uses the same connection in reverse.
A typical FTC-style expression might be
$$\frac{d}{dx}\left(\int_a^{g(x)} f(t)\,dt\right).$$
By the FTC and Chain Rule, this derivative is
$$f(g(x))g'(x).$$
That is the same pattern that appears in substitution.
students, this means substitution is not just a trick. It reflects a deep relationship between differentiation and integration. If you see an integrand shaped like $f(g(x))g'(x)$, then you can think of it as something created by the Chain Rule. Substitution undoes that process.
For example, if you differentiate
$$\sin(x^2),$$
you get
$$2x\cos(x^2).$$
So when you integrate
$$\int 2x\cos(x^2)\,dx,$$
substitution is the natural reverse step.
Common Mistakes and How to Avoid Them
Substitution is powerful, but a few mistakes happen often.
First, do not forget to change every part of the integrand. If you let $u=x^2+1$, then all $x$-expressions should be rewritten in terms of $u$ and $du$.
Second, do not forget the constant of integration $C$ for indefinite integrals.
Third, with definite integrals, be careful not to mix variables. If you change the bounds to $u$-values, the answer should stay entirely in $u$ until the final evaluation.
Fourth, make sure the substitution actually simplifies the problem. Not every integral is ideal for substitution, and some need other methods.
A quick self-check can help:
- Can I clearly identify an inside function?
- Does its derivative appear somewhere nearby?
- Did I rewrite both $dx$ and the limits if needed?
- Does my final answer make sense when I differentiate it back?
That last check is excellent practice. If you differentiate your final antiderivative and recover the original integrand, your work is likely correct âś….
Conclusion
Integrating using substitution helps you solve integrals by changing variables in a smart way. It is built from the reverse of the Chain Rule and is one of the most important methods in AP Calculus AB. students, when you see a complicated integrand with a clear inside function and a matching derivative nearby, substitution can transform the problem into a simpler one.
This method connects directly to accumulation of change because definite integrals measure total accumulated quantity over an interval. Substitution lets you choose the variable that matches the structure of the accumulation, making the total easier to compute. Whether you are solving an indefinite integral, changing bounds in a definite integral, or connecting the process to the Fundamental Theorem of Calculus, substitution is a key tool in calculus.
Study Notes
- Substitution is a change of variables used to simplify integrals.
- It reverses the Chain Rule.
- Look for an inside function $g(x)$ and its derivative $g'(x)$ in the integrand.
- A common pattern is $\int f(g(x))g'(x)\,dx$.
- For indefinite integrals, rewrite everything in terms of $u$ and then substitute back.
- For definite integrals, you may change the limits to match the new variable.
- The Fundamental Theorem of Calculus explains why substitution works.
- Always include $C$ for indefinite integrals.
- Check your work by differentiating the antiderivative.
- Substitution is a major AP Calculus AB technique for integration and accumulation of change.
