Section 7.3 Basic Antidifferentiation
In the last section we looked at the fundamental theorem of calculus and saw that it could be used to find definite integrals. We saw:
Fundamental Theorem of Calculus (second version).
Let \(f(x)\) be a continuous function on the interval \([a, b]\text{.}\) Suppose \(F(x)\) is any continuous, differentiable function with \(\frac{d}{dx} F(x)=f(x)\text{.}\) Then \(\int_a^b f(t)\,dt=F(b)F(a)\text{.}\)
We thus find it very useful to be able to systematically find an antiderivative of a function. The standard notation is to use an integral sign without the limits of integration to denote the general antiderivative. Thus \(\int_a^b f(t)dt\) is referred to as the definite integral of \(f(x)\) from \(a\) to \(b\text{,}\) and is a number. In contrast, \(\int f(x) dx\) is the indefinite integral of \(f(x)\) and it is a function. We use indefinite integrals or antiderivatives to evaluate definite integrals or areas.
We find antiderivatives by starting with the differentiation formulas of basic functions and manipulating them so the derivative is a nice function.
Elementary Antiderivative 1 — Find a formula for \(\int x^n\, dx\text{.}\)
We start with the closest differentiation formula \(\frac{d}{dx} x^n=nx^{n1}\text{,}\) and manipulate it so \(x^n\) is on the right hand side. We first replace \(n\) with \(n+1\) to get \(\frac{d}{dx} x^{n+1}=(n+1)x^n\text{.}\) We then divide both sides by \(n+1\) to obtain \(x^n=\frac{d}{dx} x^{n+1}/(n+1)\text{.}\) Finally, we note that adding a constant \(C\) does not change the derivative, so \(x^n=\frac{d}{dx} (x^{n+1}/(n+1)+C)\text{.}\) Since we have divided by \(n+1\text{,}\) we need to insist that \(n+1\ne 0\text{.}\) Using the notation of indefinite integrals we obtain our power rule formula:
Note that this matches the pattern we found in the last section.
Elementary Antiderivative 2 — Find a formula for \(\int 1/x \,dx\text{.}\)
We start with the closest differentiation formula \(\frac{d}{dx} \ln (x)=1/x\text{.}\) In this case we need to note that natural logarithms are only defined positive numbers and we would like a formula that is true for positive and negative numbers. We can do this with an appropriate use of absolute value bars. Thus \(\frac{d}{dx} (\ln(x)+C)=1/x\text{,}\) and we have our second formula:
Elementary Antiderivative 3 — Find a formula for \(\int e^x\, dx\text{.}\)
Once again, we start with the closest differentiation formula \(\frac{d}{dx} e^x=e^x\text{.}\) In this case we don't have to do any manipulation, and we have our formula:
Elementary Antiderivative 4 — Find a formula for \(\int a^x\, dx\) for a positive number \(a\text{.}\)
This formula requires a bit more work. We start with the formula \(\frac{d}{dx} a^x=\ln (a) a^x\text{.}\) Dividing both sides by the constant \(\ln(a)\) gives \(a^x=\frac{d}{dx} (a^x/\ln (a) +C)\text{.}\) Thus our integral is:
Sum, Difference, and Constant Multiple rules — The rules we had for taking derivatives of sums, differences, and constant multiples of functions translate into similar rules for integrals.
The derivatives of a sum rule, \(\frac{d}{dx}(f(x)+g(x))=\frac{d}{dx}f(x)+\frac{d}{dx}g(x)\text{,}\) becomes the
Integral of a Sum Rule.
The derivatives of a difference rule, \(\frac{d}{dx}(f(x)g(x))=\frac{d}{dx}f(x)\frac{d}{dx}g(x)\text{,}\) becomes the
Integral of a Difference Rule.
Integral of a Constant Multiple Rule.
We can use these rules to find the indefinite integrals on a lot of functions. They cover all polynomials.
Example 7.3.1. Antiderivative of integral powers.
Find the integral \(\int 3x^5+4x^2+5+\frac{7}{x}\,dx\text{.}\)
One might argue that the last line should have been
since each indefinite integral gets a constant C. However all of the constants used here are arbitrary constants and they can be collapsed together into a single constant \(C\text{.}\)
We can also use these rules to find indefinite integrals for roots.
Example 7.3.2. Antiderivative of fractional powers.
Find the integral \(\int \sqrt{2x}+\sqrt[3]{4x}\,dx\text{.}\)
We can also find antiderivatives of exponential and power functions.
Example 7.3.3. Antiderivative of power and exponential functions.
Find the integral \(\int 2*3^x+4e^x\,dx\text{.}\)
As we mentioned earlier in the section, the normal reason for wanting to find indefinite integrals is to be able to use them with the fundamental theorem of calculus to find definite integrals.
Example 7.3.4. Area under a polynomial function.
Evaluate the definite integral \(\int_1^3 6x^2+2\,dx\text{.}\)
We first evaluate the indefinite integral to find an antiderivative.
Since we can use any antiderivative, we simplify by setting \(C = 0\) and choosing the antiderivative \(F(x)=2x^3+2x\text{.}\)
Example 7.3.5. Area under \(\frac{1}{x}\).
Evaluate the definite integral \(\int_1^{100}\frac{1}{x} dx\text{.}\)
We first evaluate the indefinite integral to find an antiderivative.
Since we can use any antiderivative, we simplify by setting \(C = 0\) and choosing that antiderivative \(F(x)=\ln(x)\text{.}\)
Example 7.3.6. Using the FTC when the function is fit from data.
From experience, I know that the output of an oil well follows a model of exponential decay. I have the following data for the production, in barrels, for the first 5 months.
Month  Jan  Feb  Mar  Apr  May 
Production  1000  971  925  887  859 
Find the production over the first 5 years.
The total production for 5 years will be the definite integral of the production function for the first 60 months. We first use Excel to find a best fitting exponential function.
The production function (\(P\)) in terms of the number of months (\(x\)) is given by
We would like to take an antiderivative, but we don’t have a formula for this antiderivative yet. However, we note
and we know that \(\ln (0.9613)=0.03945\text{.}\) We can now use our exponential rule, and
Since we can use any antiderivative, we simplify by setting \(C = 0\text{.}\) We can do this without creating any problems because we are using the equation where two values of the antiderivative will be subtracted from one another, and hence the \(C\) values would cancel anyways. We now evaluate our integral.
Thus over 5 years the well will produce 23,962 barrels.
Another application for antiderivatives is solving an initial value problem. In that case we want to a particular antiderivative that has a particular value for a specified \(x\text{.}\) In this situation we may not set \(C\) to zero. In fact, part of the problem will be to find the appropriate value of \(C\text{.}\)
Example 7.3.7. Finding a value of \(C\) to match initial conditions.
The marginal cost (MC) of producing a certain quantity (\(q\)) of widgets is given by
The cost of producing 1000 widgets is $6,000. Assume that the derivative of the cost function is approximated closely enough by the marginal cost to be used interchangeably. Find a cost function for producing widgets.
Since Cost is an antiderivative of the Marginal Cost we have \(\cost(q) = 5q  0.001*q^2 + C\text{.}\) We also know \(\cost(1000) = 6000\text{.}\) Plugging that in gives
Solving for \(C\) gives \(C = 2000\text{.}\) Thus our cost function is
Example 7.3.8. Building a profit function form data.
Experience tells me that the marginal profit of producing gadgets is a linear function. My startup costs are $2 million. I have the following data with my units being thousands of dollars per millions of units.
Production  0  1  2  3  4 
Marginal Profit  $3,3967  $3,603  $3,236  $2,795  $2,384 
Produce a profit function, find the number of units that maximizes profit, and find the maximum profit.
I start by finding a best fitting line to the data.
Excel tells me the marginal profit function is
We have maximum profit when the marginal profit is zero. Using Goal Seek, the Marginal Profit is zero with a production of 10.0448 millions of units. The antiderivative of this function is
Plugging in the initial costs into the production model, recalling that our function is written in thousands of dollars per millions of widgets, gives
So our profit function is
We saw that \(\MP(x) = 0\text{,}\) when \(x = 10.0448\text{.}\) The maximum profit is the computed by evaluating \(P(x)\) at \(x = 10.0448\text{.}\) A quick computation shows that the maximum profit is $18,049 thousands of dollars, or a bit more than $18 million.
It is worthwhile summarizing our list of integration formulas.
\(f(x)\)  \(\int f(x)\,dx\) 
\(\displaystyle x^n\text{, assuming }n\ne 1\)  \(\displaystyle \frac{x^{n+1}}{n+1}+C\) 
\(\displaystyle \frac{1}{x}\)  \(\displaystyle \lnx+C\) 
\(\displaystyle e^x\)  \(\displaystyle e^x+C\) 
\(\displaystyle a^x\)  \(\displaystyle \frac{a^x}{\ln(a)}+C\) 
\(\displaystyle (f+g)(x)\)  \(\displaystyle \int f(x)\,dx+\int g(x)dx\) 
\(\displaystyle (fg)(x)\)  \(\displaystyle \int f(x)\,dx\int g(x)dx\) 
\(\displaystyle c*f(x)\)  \(\displaystyle c*\int f(x)\,dx\) 
A word of warning — The antidifferentiation formulas we have produced only work for the functions given, allowing for changes in variables. At this point the only way we have for finding \(\int(3x+5)^2 dx\) is expand the integrand getting \(\int(9x^2+30x+25)dx\) before applying our rules. In general the process of finding antiderivatives symbolically is an art form that we only begin to work with in this course.
Exercises Exercises: Basic Antidifferentiation Problems
Exercise Group.
Find antiderivatives for the given functions.
1.
2.
3.
4.
5.
6.
Exercise Group.
Evaluate the definite integrals by first finding an antiderivative.
7.
The antiderivative is: \(F(x)=x^2/2+7x\) (with these definite integrals we may choose the constant to be 0.)
8.
9.
The antiderivative is: \(F(x)=(3x^2)/2+5 \lnx\text{.}\)
10.
11.
The antiderivative is: \(F(x)=e^x+e x\text{.}\)
12.
Exercise Group.
Solve the Initial value problem.
13.
Let \(f(x)=4x+3\text{.}\) The function \(F(x)\) is an antiderivative, and \(F(0)=7\text{.}\)
The antiderivative is: \(F(x)=2x^2+3x+C\text{.}\)
\(F(0)= 7\) implies that \(F(0)=0+C=7\text{,}\) so \(C = 7\)
Then \(F(x)=2x^2+3x+7\text{.}\)
14.
Let \(f(x)=3x^26x+5\text{.}\) The function \(F(x)\) is an antiderivative, and \(F(3)=17\text{.}\)
15.
Let \(f(x)=100(0.95)^x\text{.}\) The function \(F(x)\) is an antiderivative, and \(F(5)=9\text{.}\)
The antiderivative is:
\(F(5)= 9\) implies that
Then
16.
Let \(f(x)=7/x+x^2\text{.}\) The function \(F(x)\) is an antiderivative, and \(F(1)=11\text{.}\)
17.
An investment provides an income stream of \(1000 (0.95)^t\) dollars per year. How much is received in the first 10 years?
18.
A firm has a marginal profit function of \(MP(x) = 50  3 x\) in thousands of dollars per thousands of units. How much is profit increased if production is shifted from 10 to 15 thousand units?
19.
After the first year, the rate of sales of a fad product are \(\operatorname{sales}(t) = \frac{1000}{t}\) with time in years. How many units are sold from the end of the first year to the end of the tenth year?
20.
A software company allows your company to expand the number of licenses your company owns by charging a marginal rate of \(\MR(\text{licenses})=\frac{200}{\sqrt{\text{licenses}}}\text{.}\) How much does it cost to increase your license from 1000 to 2000 licenses?
21.
The production function for a given oil well is \(rate(t) = 400(0.9)^t\) with time measured in years and production measured in millions of barrels of oil.
How much oil is produced in the first year?
How much oil is produced in the tenth year?
If I need to produce 75 thousand barrels of oil per year for the well to be financially viable, what is the life of the well?
How much oil will the well produce before being shut down?
 \begin{align*} \text{Production}\amp =\int_0^{1}400(0.9)^t\, dt =\left.\frac{400}{\ln(0.9)} (0.9)^t \right_{t=0}^{t=1}\\ \amp =\frac{400}{\ln(0.9)} (0.91)\approx 379.649 \text{.} \end{align*}
 \begin{align*} \text{Production}\amp =\int_9^{10}400(0.9)^t\, dt =\left.\frac{400}{\ln(0.9)} (0.9)^t \right_{t=9}^{t=10}\\ \amp =\frac{400}{\ln(0.9)} (0.9^{10}0.9^{9})\approx 147.08 \text{.} \end{align*}
 \begin{align*} 0.075\amp =400*(0.9)^t\\ t\amp =ln(0.75/400)/ln(0.9)\approx 81.451\text{.} \end{align*}

Use Goal seek:
\begin{align*} 75\amp =400(0.9^t)\\ t \amp \approx 15.8881\text{.} \end{align*}
22.
The expected value received from a particular revenue stream should be an exponential function. I have the following data for income received over the past 5year period.
Year  1  2  3  4  5 
Income  $1,030  $1,078  $1,110  $1,169  $1,225 
How much do I expect to receive over the next 10 years?
23.
From experience, I expect the marginal revenue for my firm to be a quadratic function. I have the following data on revenue at a variety of levels, with production in thousands of units and marginal profit in millions of dollars.
Production  $4.90  $7.04  9.00  11.03  14.00 
MProfit  7.40  9.12  9.90  9.89  8.40 
What is the expected change in revenue as I increase production from 15 to 20 thousand units?
Using trend line, my function for \(\Mprofit\) is
Integrating from 15 to 20,
The profit is approximately $160.133 million.