Skip to article frontmatterSkip to article content

13. Indefinite integrals

Faculty of Economics and Business
University of Zagreb

13.1Introduction

The central problem of this part of the course is the following: how to calculate the area under the graph of a function?

In order to give a full answer to this question, we need to understand the following two questions:

The following chart illustrates the way in which we will answer these questions.

This entire chapter is devoted to the second question - what new tools do we need in order to be able to find the area under the graph of a function? The answer is given in the chart above - we need to know how to compute indefinite integrals.

So, in some sense integration is the opposite operation of differentiation - given some function ff, we want to find a function FF whose derivative is exactly the function ff.

13.2Direct integration

13.3Substitution method

As it was with the derivative, not all integrals we would like to know how to compute can be calculated using just the most basic formulas for integration, so we need a new method that will allow us to find integrals of more complicated functions. One such method is called substitution method.

Solution to Problem 13.5

We use the substitution methond in order to compute this integral:

2x2x22x+9dx={t=x22x+9dt=(2x2)dx    dx=dt2x2}=2x2tdt2x2=1tdt=ln(t)=ln(x22x+9)+C.\begin{split} \int \frac{2x-2}{x^2-2x+9} \, dx &= \left\{ \begin{align*} t &= x^2 -2x + 9 \\ dt &= (2x-2)dx \implies dx = \frac{dt}{2x-2} \end{align*} \right\} \\ &= \int \frac{2x-2}{t} \cdot \frac{dt}{2x-2} \\ &= \int \frac{1}{t} \, dt \\ &= \ln(t) \\ &= \ln(x^2-2x+9) + C. \end{split}
Solution to Problem 13.8

We use the substitution method in order to compute this integral:

1xln(x)dx={t=ln(x)dt=1xdx    dx=xdt}=1xtxdt=1tdt=ln(t)=ln(ln(x))+C.\begin{split} \int \frac{1}{x \cdot \ln(x)} \, dx &= \left\{ \begin{align*} t &= \ln(x) \\ dt &= \frac{1}{x} \, dx \implies dx = x \cdot dt \end{align*} \right\} \\ &= \int \frac{1}{x \cdot t} \cdot x \, dt \\ &= \int \frac{1}{t} \, dt \\ &= \ln(t) \\ &= \ln(\ln(x)) + C. \end{split}

13.4Integration by parts

As we will see in this section, not even relying solely on the substituion method will be enough to compute all the integrals we will need. Therefore, we are introducing yet another method of integration that we will use in order to find integrals - integration by parts.

Solution to Problem 13.9

We use the formula for the integration by parts:

(x+5)exdx={u=x+5    du=dxdv=exdx    v=dv=exdx=ex}=(x+5)exexdx=(x+5)exex+C.\begin{split} \int (x+5) \cdot e^{x} \, dx &= \left\{ \begin{align*} u &= x+5 &\implies du &= dx \\ dv &= e^x \, dx &\implies v&= \int dv = \int e^x \, dx = e^x \end{align*} \right\} \\ &= (x+5) \cdot e^x - \int e^{x} \, dx \\ &= (x+5) \cdot e^x - e^x + C. \end{split}

Lastly, what would’ve happend if we reversed the roles of uu and dvdv when applying the formula for integration by parts? Well, we would’ve got something more complicated than we started with - namely, the following:

(x+5)exdx={u=ex    du=exdxdv=(x+5)dx    v=dv=(x+5)dx=12(x+5)2}=12(x+5)2ex12(x+5)2exdx.\begin{split} \int (x+5) \cdot e^x \, dx &= \left\{ \begin{align*} u &= e^x &\implies du &= e^x \, dx\\ dv &= (x+5) \, dx &\implies v &= \int \, dv = \int (x+5) \, dx = \frac{1}{2} \cdot (x+5)^2 \end{align*} \right\} \\ &= \frac{1}{2}(x+5)^2 \cdot e^x - \int \frac{1}{2}(x+5)^2 \cdot e^x \, dx. \end{split}

Notice that with this choice we end up with having to calculate something more complicated than we originally had, so that’s how you know whether or not you have made the correct choice when deciding what will be uu and what will be dvdv. Remember: the main point is get something simpler!

Solution to Problem 13.11

First of all, because the ingral of a sum is the sum of the integrals, we have

xex3x2dx=xxxdx3x2dx.\int \frac{x}{e^x} -3x^2 \, dx = \int \frac{x}{x^x} \, dx - \int 3x^2 \, dx.

So, in order to compute the integral in this question we simply need to compute the two integrals above. The second integral is easy, since we can use the formula given in the table of integrals:

3x2dx=x3.\int 3x^2 \, dx = x^3.

As for the first one, we use the integration by parts:

xexdx=xexdx={u=x    du=dxdv=exdx    v=exdx=ex}=xexexdx=xex+exdx=xexex+C\begin{split} \int \frac{x}{e^x} \, dx &= \int x \cdot e^{-x} \, dx \\ &= \left\{ \begin{align*} u &= x &\implies du &= dx\\ dv &= e^{-x} \, dx &\implies v &= \int e^{-x} \, dx \, = -e^{-x} \end{align*} \right\} \\ &= -x \cdot e^{-x} - \int -e^{-x} \, dx \\ &= -x \cdot e^{-x} + \int e^{-x} \, dx \\ &= -x \cdot e^{-x} -e^{-x} + C \end{split}