Skip to main content

Business Calculus with Excel

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]. Suppose F(x) is any continuous, differentiable function with ddxF(x)=f(x). Then abf(t)dt=F(b)F(a).
We thus find it very useful to be able to systematically find an anti-derivative of a function. The standard notation is to use an integral sign without the limits of integration to denote the general anti-derivative. Thus, abf(t)dt is referred to as the definite integral of f(x) from a to b, and it is a number. In contrast, f(x)dx is the indefinite integral of f(x), and it is a function. We use indefinite integrals or anti-derivatives to evaluate definite integrals or areas.
We find anti-derivatives by starting with the differentiation formulas of basic functions and manipulating them so the derivative is a nice function.
Elementary Anti-derivative 1 — Find a formula for xndx.
We start with the closest differentiation formula ddxxn=nxn1, and manipulate it so xn is on the right hand side. We first replace n with n+1 to get ddxxn+1=(n+1)xn. We then divide both sides by n+1 to obtain xn=ddxxn+1/(n+1). Finally, we note that adding a constant C does not change the derivative, so xn=ddx(xn+1/(n+1)+C). Since we have divided by n+1, we need to insist that n+10. Using the notation of indefinite integrals we obtain our power rule formula:
xndx=xn+1n+1+C, assuming n1.
Note that this matches the pattern we found in the last section.
Elementary Anti-derivative 2 — Find a formula for 1/xdx.
We start with the closest differentiation formula ddxln(x)=1/x. 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, ddx(ln(|x|)+C)=1/x, and we have our second formula:
Elementary Anti-derivative 3 — Find a formula for exdx.
Once again, we start with the closest differentiation formula ddxex=ex. In this case we don’t have to do any manipulation, and we have our formula:
Elementary Anti-derivative 4 — Find a formula for axdx for a positive number a.
This formula requires a bit more work. We start with the formula ddxax=ln(a)ax. Dividing both sides by the constant ln(a) gives ax=ddx(ax/ln(a)+C). 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, ddx(f(x)+g(x))=ddxf(x)+ddxg(x), becomes the

Integral of a Sum Rule.

(f(x)+g(x))dx=f(x)dx+g(x)dx
The derivatives of a difference rule, ddx(f(x)g(x))=ddxf(x)ddxg(x), becomes the

Integral of a Difference Rule.

(f(x)g(x))dx=f(x)dxg(x)dx

Integral of a Constant Multiple Rule.

cf(x)dx=cf(x)dx
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 3x5+4x2+5+7xdx.
Solution.
3x5+4x2+5+7xdx=3x5dx+4x2dx+5dx+7xdx(sum rule)=3x5dx+4x2dx+5dx+71xdx(constant multiple rule)=3x5dx+4x2dx+5dx+7ln|x|+C(natural log rule)=36x6+43x3+5x+7ln|x|+C(power rule).
One might argue that the last line should have been
=36x6+C1+43x3+C2+5x+C3+7ln|x|+C4
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.
We can also use these rules to find indefinite integrals for roots.

Example 7.3.2. Antiderivative of fractional powers.

Find the integral 2x+4x3dx.
Solution.
2x+4x3dx=2xdx+4x3dx(sum rule)=2xdx+43x3dx(constant multiple rule)=2x(1/2)dx+43x(1/3)dx(rules of exponents)=2x(3/2)(2/3)+43x(4/3)(3/4)+C(power rule).
We can also find anti-derivatives of exponential and power functions.

Example 7.3.3. Antiderivative of power and exponential functions.

Find the integral 23x+4exdx.
Solution.
23x+4exdx=23xdx+4exdx(sum rule)=23xdx+4exdx(constant multiple rule)=2ln(3)3x+4ex+C(exponential rules).
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 136x2+2dx.
Solution.
We first evaluate the indefinite integral to find an anti-derivative.
6x2+2dx=2x3+2x+C.
Since we can use any anti-derivative, we simplify by setting C=0 and choosing the anti-derivative F(x)=2x3+2x.
136x2+2dx=F(3)F(1)=604=56.
If we choose a different value for C, it cancels out when we subract the values at the endpoints.,

Example 7.3.5. Area under 1x.

Evaluate the definite integral 11001xdx.
Solution.
We first evaluate the indefinite integral to find an antiderivative.
1xdx=ln(|x|)+C.
Since we can use any antiderivative, we simplify by setting C=0 and choosing that anti-derivative F(x)=ln(|x|).
11001xdx=F(100)F(1)=ln(100)ln(1)=ln(100).

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.
Solution.
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
P(x)=1043e0.03945x.
We would like to take an anti-derivative, but we don’t have a formula for this anti-derivative yet. However, we note
e0.03945x=(e0.03945)x=0.9613x
and we know that ln(0.9613)=0.03945. We can now use our exponential rule, and
AntiderivP(x)=(10430.9613x)(0.03945)+C.
Since we can use any anti-derivative, we simplify by setting C=0. We can do this without creating any problems because we are using the equation where two values of the anti-derivative will be subtracted from one another, and hence the C values would cancel anyways. We now evaluate our integral.
TotalP(60)=AntiderivP(60)AntiderivP(0)=(2467)(26438)=23962.
Thus over 5 years the well will produce 23,962 barrels.
Another application for anti-derivatives is solving an initial value problem. In that case we want to a particular anti-derivative that has a particular value for a specified x. 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.

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
MC(q)=50.002q.
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.
Solution.
Since Cost is an anti-derivative of the Marginal Cost we have Cost(q)=5q0.001q2+C. We also know Cost(1000)=6000. Plugging that in gives
Cost(1000)=510000.00110002+C=6000.
Solving for C gives C=2000. Thus our cost function is
Cost(q)=5q0.001q2+2000.

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 start-up 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.
Solution.
I start by finding a best fitting line to the data.
Excel tells me the marginal profit function is
MP(x)=397.4x+3991.8.
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 anti-derivative of this function is
P(x)=198.7x2+3991.8x+C.
Plugging in the initial costs into the production model, recalling that our function is written in thousands of dollars per millions of widgets, gives
P(0)=2000=C.
So our profit function is
P(x)=198.7x2+3991.8x2000.
We saw that MP(x)=0, when x=10.0448. The maximum profit is the computed by evaluating P(x) at x=10.0448. 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) f(x)dx
xn, assuming n1 xn+1n+1+C
1x ln|x|+C
ex ex+C
ax axln(a)+C
(f+g)(x) f(x)dx+g(x)dx
(fg)(x) f(x)dxg(x)dx
cf(x) cf(x)dx
A word of warning — The anti-differentiation 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 (3x+5)2dx is expand the integrand getting (9x2+30x+25)dx before applying our rules. In general, the process of finding anti-derivatives symbolically is an art form that we only begin to work with in this course.

Reading Questions Reading Check

1. Reading check, Basic Antidifferentiation.

This question checks your reading comprehension of the material is section 7.3, Basic Antidifferentiation, of Business Calculus with Excel. Based on your reading, select all statements that are correct. There may be more than one correct answer. The statements may appear in what seems to be a random order.
  1. axdx=axln(a)+C.
  2. axdx=ln(a)ax+C, assuming n1.
  3. exdx=ex+C.
  4. exdx=ex+1x+1+C, assuming n1.
  5. xndx=xn+1n+1+C, assuming n+1.
  6. (f(x)g(x))dx=f(x)dx(g(x)dx.
  7. xndx=xn+1n+1+C, assuming n1.
  8. (f(x)+g(x))dx=f(x)dx+(g(x)dx.
  9. xndx=nxn1+C.
  10. 1/xdx=ln|x|+C.
  11. None of the above

Exercises Exercises: Basic Antidifferentiation Problems

Exercise Group.

Find antiderivatives for the given functions.
1.
f(x)=3x+5.
Solution.
F(x)=3x22+5x+C.
3.
f(x)=x3,124,567+2x473+327x2,786,534.
Solution.
F(x)=x3,124,5683,124,568+2x474474+327x2,786,5332,786,533+C.
5.
f(x)=ex+(12)x.
Solution.
F(x)=ex+(12)xln(12)+C.

Exercise Group.

Evaluate the definite integrals by first finding an antiderivative.
7.
05x+7dx.
Solution.
The anti-derivative is: F(x)=x2/2+7x (with these definite integrals we may choose the constant to be 0.)
05(x+7)dx=F(5)F(0)=252+350=952.
9.
2103x+5xdx.
Solution.
The anti-derivative is: F(x)=(3x2)/2+5ln|x|.
2103x+5xdx=F(10)F(2)=3002+5ln(10)(122+5ln(2))=150+5ln(10)65ln(2)=144+5(ln(10)ln(2))=144+5ln(102)=144+5ln(5).
11.
102ex+edx.
Solution.
The anti-derivative is: F(x)=ex+ex.
102ex+edx=F(2)F(10)=e2+2e(e1010e)=e21e10+12e.

Exercise Group.

Solve the Initial value problem.
13.
Let f(x)=4x+3. The function F(x) is an antiderivative, and F(0)=7.
Solution.
The anti-derivative is: F(x)=2x2+3x+C.
F(0)=7 implies that F(0)=0+C=7, so C=7
Then F(x)=2x2+3x+7.
14.
Let f(x)=3x26x+5. The function F(x) is an antiderivative, and F(3)=17.
15.
Let f(x)=100(0.95)x. The function F(x) is an antiderivative, and F(5)=9.
Solution.
The anti-derivative is:
F(x)=100(0.95)xln(0.95)+C.
F(5)=9 implies that
F(5)=100(0.955)ln(0.95)+C=9C=9100(0.955)ln(0.95)9+1508.54=1517.54.
Then
F(x)100(0.95x)ln(0.95)+1517.54.
16.
Let f(x)=7/x+x2. The function F(x) is an antiderivative, and F(1)=11.

17.

An investment provides an income stream of 1000(0.95)t dollars per year. How much is received in the first 10 years?
Solution.
Income=0101000(0.95)tdt=1000(0.95)t)ln(0.95)|t=0t=10=1000(0.95)10ln(0.95)1000(0.95)0ln(0.95)11672.81+19495.73=7822.91.

18.

A firm has a marginal profit function of MP(x)=503x 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 sales(t)=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?
Solution.
sales=1101000tdt=1000ln(t)|t=1t=10=1000(ln(10)ln(0))=1000ln(10)2302.58.

20.

A software company allows your company to expand the number of licenses your company owns by charging a marginal rate of MR(licenses)=200licenses. 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.
  1. How much oil is produced in the first year?
  2. How much oil is produced in the tenth year?
  3. 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?
  4. How much oil will the well produce before being shut down?
Solution.
  1. Production=01400(0.9)tdt=400ln(0.9)(0.9)t|t=0t=1=400ln(0.9)(0.91)379.649.
  2. Production=910400(0.9)tdt=400ln(0.9)(0.9)t|t=9t=10=400ln(0.9)(0.9100.99)147.08.
  3. 0.075=400(0.9)tt=ln(0.75/400)/ln(0.9)81.451.
  4. Use Goal seek:
    75=400(0.9t)t15.8881.

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 5-year 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?
Solution.
Using trend line, my function for MarginalProfit is
MarginalProfit=0.01Production2+2Production+0.11.
Integrating from 15 to 20,
Profit=15200.01x2+2x+0.11dx=0.013x3+x2+0.11x|x=15x=20160.133.
The profit is approximately $160.133 million.
You have attempted 1 of 2 activities on this page.