Calculus/Integration techniques/Recognizing Derivatives and the Substitution Rule

From Wikibooks, open books for an open world
Jump to: navigation, search
← Integration techniques/Infinite Sums Calculus Integration techniques/Integration by Parts →
Integration techniques/Recognizing Derivatives and the Substitution Rule

After learning a simple list of antiderivatives, it is time to move on to more complex integrands, which are not at first readily integrable. In these first steps, we notice certain special case integrands which can be easily integrated in a few steps.

Recognizing Derivatives and Reversing Derivative Rules[edit]

If we recognize a function g(x) as being the derivative of a function f(x), then we can easily express the antiderivative of g(x) :

\int g(x)dx=f(x)+C.

For example, since


we can conclude that


Similarly, since we know e^x is its own derivative,

\int e^xdx=e^x+C.

The power rule for derivatives can be reversed to give us a way to handle integrals of powers of x . Since

\frac{d}{dx}x^n= nx^{n-1} ,

we can conclude that

\int nx^{n-1}dx=x^n+C,

or, a little more usefully,

\int x^n dx=\frac{x^{n+1}}{n+1}+C.

Integration by Substitution[edit]

Very rarely will we encounter a question where they ask us

1v. Evaluate \int nx^{n-1} or \int\cos(x)

is. We usually get

2iii. Evaluate \int\frac{\sin(\ln(x))}{x}

instead. These look hard, but there is a way to do them. Mathematicians call it Integration by Substitution, and for many integrals, this can be used to re-express the integrand in a way that makes finding of an antiderivative possible and easy. Sure, depending on the form of the integrand, the substitution to make may be different, but there is no doubt that the overall method is useful.

The objective of Integration by substitution is to substitute the integrand from an expression with variable x and the right side of the integral dx to an expression with variable u where u=g(x) and the right side of the integral du , where du=g'(x)dx . How? By identifying a function and its derivative that makes up a part of the overall equation.


The general gist of Integration by Substitution is to transform the integral so that instead of referencing x, it references the function u. We can show how this method works by abstracting each step using math. In math, we can write down what we want to do (write the steps of Integration by Substitution in math) by writing

Given u=g(x) ,

\begin{align}\int\limits_{x=a}^{x=b}f(x)dx\ \to\ \int\limits_{u=c}^{u=d}h(u)du\end{align}


\begin{align}\int\limits_{x=a}^{x=b}f(x)dx\end{align} \begin{align}=\int\limits_{x=a}^{x=b} f(x)\ \frac{du}{du}\ dx\end{align} (1) ie   \frac{du}{du}=1
\begin{align}=\int\limits_{x=a}^{x=b}{\left(f(x)\ \frac{dx}{du}\right)\left(\frac{du}{dx}\right)}\ dx\end{align} (2) ie   \frac{dx}{du}\frac{du}{dx}=\frac{du}{du}=1
\begin{align}=\int\limits_{x=a}^{x=b}\left(f(x)\ \frac{dx}{du}\right)g'(x)\ dx\end{align} (3) ie   \frac{du}{dx}=g'(x)
\begin{align}=\int\limits_{x=a}^{x=b}h(g(x))g'(x)dx\end{align} (4) ie   Now equate \left(f(x)\ \frac{dx}{du}\right) with h(g(x))
\begin{align}=\int\limits_{x=a}^{x=b}h(u)g'(x)dx\end{align} (5) ie   g(x)=u
\begin{align}=\int\limits_{u=g(a)}^{u=g(b)}h(u)du\end{align} (6) ie   du=\frac{du}{dx} dx=g'(x)dx
\begin{align}=\int\limits_{u=c}^{u=d}h(u)du\end{align} (7) ie   We have achieved our desired result


If the previous mathematical steps are difficult to grasp all at once or difficult to put into practice, don't worry! Here are the steps written in plain English. It even includes the Goal too.

  • Find a function u=g(x) that has a g'(x) also in the expression somewhere . This may involve experimenting or staring at the expression in the integrand long enough
    • If the question is hard, finding the g'(x) may involve synthesizing numbers (constants) from nowhere so that it can be used to cancel out portions of g'(x) . However, if the entirety of g'(x) needs to cancel artificially, then this may be a sign that you are making a question harder.
  • Calculate g'(x)=\frac{du}{dx}
  • Calculate h(u) which is f(x)\ \frac{dx}{du}=\frac{f(x)}{g'(x)} and make sure the final expression h(u) does not have x in it
  • Calculate c=g(a)
  • Calculate d=g(b)

In summary, Integration by Substitution tells us the following

Substitution rule for definite integrals

Assume u is differentiable with continuous derivative and that f is continuous on the range of u. Suppose c=u(a) and d=u(b) . Then \int\limits_a^b f(u(x))\frac{du}{dx}dx=\int\limits_c^d f(u)du.


Integrating with the derivative present[edit]

Under ideal circumstances for Integration by Substitution, a component of the integrand can be viewed as the derivative of another component of the integrand. This makes it so that the substitution can be easily applied to simplify the integrand.

For example, in the integral

\int 3x^2(x^3+1)^5dx

we see that 3x^2 is the derivative of x^3+1 . Letting


we have


or, in order to apply it to the integral,

du=3x^2dx .

With this we may write \int 3x^2(x^3+1)^5dx=\int u^5du=\frac{u^6}{6}+C=\frac{(x^3+1)^6}{6}+C.

Note that it was not necessary that we had exactly the derivative of u in our integrand. It would have been sufficient to have any constant multiple of the derivative.

For instance, to treat the integral

\int x^4\sin(x^5)dx

we may let u=x^5 . Then


and so


the right-hand side of which is a factor of our integrand. Thus,

\int x^4\sin(x^5)dx=\int\frac{\sin(u)}{5}du=-\frac{\cos(u)}{5}+C=-\frac{\cos(x^5)}{5}+C.

In general, the integral of a power of a function times that function's derivative may be integrated in this way. Since \frac{d[g(x)]}{dx}=g'(x) ,

we have dx=\frac{d[g(x)]}{g'(x)}.

Therefore, \int g'(x)[g(x)]^n dx =\int g'(x)[g(x)]^n\frac{d[g(x)]}{g'(x)}
=\int [g(x)]^n d[g(x)]

There is a similar rule for definite integrals, but we have to change the endpoints.

Synthesizing Terms[edit]

What if the derivative does not show up one-for-one in the expression? This is okay! For some integrals, it may be necessary to synthesize constants in order to solve the integral. Usually, this looks like a multiplication between the expression and \frac{n}{n}=1 , for some number n. Note that this usually works for variables as well, but synthesizing variables should not be a common thing and should only be an absolute last resort.

As an example of this practice put into the Integration by Substitution method, consider the integral

\int\limits_0^2 x\cos(x^2+1)dx

By using the substitution u = x2 + 1, we obtain du = 2x dx. However, notice that the constant 2 does not show up in the expression in the integrand. This is where this extra step applies. Notice that

\int\limits_0^2 x\cos(x^2+1)dx =\frac{1}{2}\int\limits_0^2 \cos(x^2+1)2x\ dx
=\frac{1}{2}\int\limits_1^5 \cos(u)du

and remember to calculate the new bounds for this integral. The lower limit for this integral was x = 0 but is now u = 02 + 1 = 1 and the upper limit was x = 2 but is now u = 22 + 1 = 5.


Proof of the substitution rule[edit]

We will now prove the substitution rule for definite integrals. Let H be an anti derivative of h so


Suppose we have a differentiable function, g(x) such that u=g(x) , and numbers c=g(a) and d=g(b) derived from some given numbers, a and b.
By the Fundamental Theorem of Calculus, we have

\int\limits_c^d h(u)du=H(d)-H(c).

Next we define a function F by the rule

F(x)= H(g(x))=H(u).



Then by the Chain rule F is differentiable with derivative


Integrating both sides with respect to x and using the Fundamental Theorem of Calculus we get

\int\limits_a^b h(g(x))\frac{du}{dx}dx=\int\limits_a^b \frac{dF}{dx}dx=F(b)-F(a).

But by the definition of F this equals

F(b)-F(a)=H(g(b))-H(g(a))=H(d)-H(c)=\int\limits_c^d h(u)du.


\int\limits_a^b f(x)dx=\int\limits_a^b h(g(x))\frac{du}{dx}dx=\int\limits_c^d h(u)du.

which is the substitution rule for definite integrals.


Evaluate the following using a suitable substitution.

1. \int\frac{19}{\sqrt{9x-38}}dx


2. \int-15\sqrt{9x+43}dx


3. \int\frac{17\sin(x)}{\cos(x)}dx


4. \int5\cos(x)\sin(x)dx


5. \int\limits_0^1-\frac{10}{(-5x-32)^4}dx


6. \int -3e^{3x+12}dx



External links[edit]

← Integration techniques/Infinite Sums Calculus Integration techniques/Integration by Parts →
Integration techniques/Recognizing Derivatives and the Substitution Rule