Paul's Online Notes
Paul's Online Notes
Home / Calculus I / Integrals / Indefinite Integrals
Show Mobile Notice Show All Notes Hide All Notes
Mobile Notice
You appear to be on a device with a "narrow" screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best viewed in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (you should be able to scroll/swipe to see them) and some of the menu items will be cut off due to the narrow screen width.

Section 5.1 : Indefinite Integrals

In the past two chapters we’ve been given a function, \(f\left( x \right)\), and asking what the derivative of this function was. Starting with this section we are now going to turn things around. We now want to ask what function we differentiated to get the function \(f\left( x \right)\).

Let’s take a quick look at an example to get us started.

Example 1 What function did we differentiate to get the following function. \[f\left( x \right) = {x^4} + 3x - 9\]
Show Solution

Let’s actually start by getting the derivative of this function to help us see how we’re going to have to approach this problem. The derivative of this function is,

\[f'\left( x \right) = 4{x^3} + 3\]

The point of this was to remind us of how differentiation works. When differentiating powers of \(x\) we multiply the term by the original exponent and then drop the exponent by one.

Now, let’s go back and work the problem. In fact, let’s just start with the first term. We got \({x^4}\) by differentiating a function and since we drop the exponent by one it looks like we must have differentiated \({x^5}\). However, if we had differentiated \({x^5}\) we would have \(5{x^4}\) and we don’t have a 5 in front our first term, so the 5 needs to cancel out after we’ve differentiated. It looks then like we would have to differentiate \(\frac{1}{5}{x^5}\) in order to get \({x^4}\).

Likewise, for the second term, in order to get 3x after differentiating we would have to differentiate \(\frac{3}{2}{x^2}\). Again, the fraction is there to cancel out the 2 we pick up in the differentiation.

The third term is just a constant and we know that if we differentiate \(x\) we get 1. So, it looks like we had to differentiate -9\(x\) to get the last term.

Putting all of this together gives the following function,

\[F\left( x \right) = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x\]

Our answer is easy enough to check. Simply differentiate \(F\left( x \right)\).

\[F'\left( x \right) = {x^4} + 3x - 9 = f\left( x \right)\]

So, it looks like we got the correct function. Or did we? We know that the derivative of a constant is zero and so any of the following will also give \(f\left( x \right)\) upon differentiating.

\[\begin{align*}F\left( x \right) & = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x + 10\\ F\left( x \right) & = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x - 1954\\ F\left( x \right) & = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x + \frac{{3469}}{{123}}\\ & etc.\end{align*}\]

In fact, any function of the form,

\[F\left( x \right) = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x + c,\,\,\hspace{0.25in}c{\mbox{ is a constant}}\]

will give \(f\left( x \right)\) upon differentiating.

There were two points to this last example. The first point was to get you thinking about how to do these problems. It is important initially to remember that we are really just asking what we differentiated to get the given function.

The other point is to recognize that there are actually an infinite number of functions that we could use and they will all differ by a constant.

Now that we’ve worked an example let’s get some of the definitions and terminology out of the way.

Definitions

Given a function, \(f\left( x \right)\), an anti-derivative of \(f\left( x \right)\) is any function \(F\left( x \right)\) such that

\[F'\left( x \right) = f\left( x \right)\]

If \(F\left( x \right)\) is any anti-derivative of \(f\left( x \right)\) then the most general anti-derivative of \(f\left( x \right)\) is called an indefinite integral and denoted,

\[\int{{f\left( x \right)\,dx}} = F\left( x \right) + c,\hspace{0.25in}\,\,\,\,c{\mbox{ is an arbitrary constant}}\]

In this definition the \(\int{{}}\)is called the integral symbol, \(f\left( x \right)\) is called the integrand, \(x\) is called the integration variable and the “\(c\)” is called the constant of integration.

Note that often we will just say integral instead of indefinite integral (or definite integral for that matter when we get to those). It will be clear from the context of the problem that we are talking about an indefinite integral (or definite integral).

The process of finding the indefinite integral is called integration or integrating \(f\left( x \right)\) . If we need to be specific about the integration variable we will say that we are integrating \(f\left( x \right)\) with respect to \(x\).

Let’s rework the first problem in light of the new terminology.

Example 2 Evaluate the following indefinite integral. \[\int{{{x^4} + 3x - 9\,dx}}\]
Show Solution

Since this is really asking for the most general anti-derivative we just need to reuse the final answer from the first example.

The indefinite integral is,

\[\int{{{x^4} + 3x - 9\,dx}} = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x + c\]

A couple of warnings are now in order. One of the more common mistakes that students make with integrals (both indefinite and definite) is to drop the dx at the end of the integral. This is required! Think of the integral sign and the dx as a set of parentheses. You already know and are probably quite comfortable with the idea that every time you open a parenthesis you must close it. With integrals, think of the integral sign as an “open parenthesis” and the dx as a “close parenthesis”.

If you drop the dx it won’t be clear where the integrand ends. Consider the following variations of the above example.

\[\begin{align*}\int{{{x^4} + 3x - 9\,dx}} & = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x + c\\ \int{{{x^4} + 3x\,dx}} - 9 & = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} + c - 9\\ \int{{{x^4}\,dx}} + 3x - 9 & = \frac{1}{5}{x^5} + c + 3x - 9\end{align*}\]

You only integrate what is between the integral sign and the dx. Each of the above integrals end in a different place and so we get different answers because we integrate a different number of terms each time. In the second integral the “-9” is outside the integral and so is left alone and not integrated. Likewise, in the third integral the “\(3x - 9\)” is outside the integral and so is left alone.

Knowing which terms to integrate is not the only reason for writing the \(dx\) down. In the Substitution Rule section we will actually be working with the \(dx\) in the problem and if we aren’t in the habit of writing it down it will be easy to forget about it and then we will get the wrong answer at that stage.

The moral of this is to make sure and put in the \(dx\)! At this stage it may seem like a silly thing to do, but it just needs to be there, if for no other reason than knowing where the integral stops.

On a side note, the \(dx\) notation should seem a little familiar to you. We saw things like this a couple of sections ago. We called the \(dx\) a differential in that section and yes that is exactly what it is. The \(dx\) that ends the integral is nothing more than a differential.

The next topic that we should discuss here is the integration variable used in the integral. Actually, there isn’t really a lot to discuss here other than to note that the integration variable doesn’t really matter. For instance,

\[\begin{align*}\int{{{x^4} + 3x - 9\,dx}} & = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x + c\\ \int{{{t^4} + 3t - 9\,dt}} & = \frac{1}{5}{t^5} + \frac{3}{2}{t^2} - 9t + c\\ \int{{{w^4} + 3w - 9\,dw}} & = \frac{1}{5}{w^5} + \frac{3}{2}{w^2} - 9w + c\end{align*}\]

Changing the integration variable in the integral simply changes the variable in the answer. It is important to notice however that when we change the integration variable in the integral we also changed the differential (\(dx\), \(dt\), or \(dw\)) to match the new variable. This is more important than we might realize at this point.

Another use of the differential at the end of integral is to tell us what variable we are integrating with respect to. At this stage that may seem unimportant since most of the integrals that we’re going to be working with here will only involve a single variable. However, if you are on a degree track that will take you into multi-variable calculus this will be very important at that stage since there will be more than one variable in the problem. You need to get into the habit of writing the correct differential at the end of the integral so when it becomes important in those classes you will already be in the habit of writing it down.

To see why this is important take a look at the following two integrals.

\[\int{{2x\,dx}}\hspace{1.0in}\int{{2t\,dx}}\]

The first integral is simple enough.

\[\int{{2x\,dx}} = {x^2} + c\]

The second integral is also fairly simple, but we need to be careful. The dx tells us that we are integrating \(x\)’s. That means that we only integrate \(x\)’s that are in the integrand and all other variables in the integrand are considered to be constants. The second integral is then,

\[\int{{2t\,dx}} = 2tx + c\]

So, it may seem silly to always put in the dx, but it is a vital bit of notation that can cause us to get the incorrect answer if we neglect to put it in.

Now, there are some important properties of integrals that we should take a look at.

Properties of the Indefinite Integral

  1. \(\displaystyle \int{{k\,f\left( x \right)\,dx}} = k\int{{f\left( x \right)\,dx}}\) where \(k\) is any number. So, we can factor multiplicative constants out of indefinite integrals.

    See the Proof of Various Integral Formulas section of the Extras chapter to see the proof of this property.

  2. \(\displaystyle \int{{ - f\left( x \right)\,dx}} = - \int{{f\left( x \right)\,dx}}\). This is really the first property with \(k = - 1\) and so no proof of this property will be given.

  3. \(\displaystyle \int{{f\left( x \right) \pm g\left( x \right)\,dx}} = \int{{f\left( x \right)\,dx}} \pm \int{{g\left( x \right)\,dx}}\). In other words, the integral of a sum or difference of functions is the sum or difference of the individual integrals. This rule can be extended to as many functions as we need.

    See the Proof of Various Integral Formulas section of the Extras chapter to see the proof of this property.

Notice that when we worked the first example above we used the first and third property in the discussion. We integrated each term individually, put any constants back in and then put everything back together with the appropriate sign.

Not listed in the properties above were integrals of products and quotients. The reason for this is simple. Just like with derivatives each of the following will NOT work.

\[\int{{f\left( x \right)g\left( x \right)\,dx}} \ne \int{{f\left( x \right)dx}}\int{{g\left( x \right)\,dx}}\hspace{0.75in}\int{{\frac{{f\left( x \right)}}{{g\left( x \right)}}\,dx}} \ne \frac{{\int{{f\left( x \right)\,dx}}}}{{\int{{g\left( x \right)\,dx}}}}\]

With derivatives we had a product rule and a quotient rule to deal with these cases. However, with integrals there are no such rules. When faced with a product and quotient in an integral we will have a variety of ways of dealing with it depending on just what the integrand is.

There is one final topic to be discussed briefly in this section. On occasion we will be given \(f'\left( x \right)\) and will ask what \(f\left( x \right)\) was. We can now answer this question easily with an indefinite integral.

\[f\left( x \right) = \int{{f'\left( x \right)\,dx}}\]
Example 3 If \(f'\left( x \right) = {x^4} + 3x - 9\) what was \(f\left( x \right)\)?
Show Solution

By this point in this section this is a simple question to answer.

\[f\left( x \right) = \int{{f'\left( x \right)\,dx}} = \int{{{x^4} + 3x - 9\,dx}} = \frac{1}{5}{x^5} + \frac{3}{2}{x^2} - 9x + c\]

In this section we kept evaluating the same indefinite integral in all of our examples. The point of this section was not to do indefinite integrals, but instead to get us familiar with the notation and some of the basic ideas and properties of indefinite integrals. The next couple of sections are devoted to actually evaluating indefinite integrals.