Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
6.1 Accumulation of change
6.2 Riemann sums & area
6.3 Definite integrals
6.4 Accumulation functions
6.5 Behavior of accumulation functions
6.6 Fundamental theorem of calculus
6.7 Indefinite integrals
6.8 u-substitution
6.9 Long division & completing the square
7. Differential equations
8. Applications of integrals
9. Testing details tag
10. test
Wrapping up
Achievable logoAchievable logo
6.7 Indefinite integrals
Achievable AP Calculus AB
6. Integration
Our AP Calculus AB course is currently in development and is a work-in-progress.

Indefinite integrals

8 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • Difference between definite and indefinite integrals
  • Key integration rules

In the previous sections, antiderivatives were used to evaluate definite integrals to find the net area under a curve over a specific interval.

On the other hand, if the bounds of integration are absent, and it’s just a single integral symbol followed by the integrand, then what you’re dealing with is an indefinite integral.

While definite integrals produce a number, the answer to an indefinite integrals is an entire family of antiderivatives.

Suppose there are 3 functions:

F(x)=x2−1

G(x)=x2+100

H(x)=x2+π

All of these are the same x2 with different vertical shifts. When differentiated, the constants become 0 and the derivative of all three functions is 2x.

Then to integrate 2x, find its antiderivative. But which function - F(x),G(x), or H(x) - is the antiderivative?

This is where +C must be added. C is the constant of integration that accounts for all vertical shifts of the antiderivative, because regardless of its value, the derivative of x2+C is 2x. Then

∫2xdx=x2+C

The answer to this indefinite integral is x2+C, which represents the entire family of functions that have the derivative 2x.

Sidenote
Constant of integration

Your answer for an indefinite integral must include +C at the end unless given an initial condition.

On the previous page, the reverse power rule was given as a way to find the antiderivative of a function involving powers.

Reverse power rule

For n=−1,

∫xndx=n+1xn+1​+C

What about the case where n=−1? If we wanted to integrate f(x)=x1​, the reverse power rule can’t be applied because

∫x1​dx=∫x−1dx=−1+1x−1+1​=0x0​

This is problem because nothing can be divided by 0. Instead, recall that the derivative of ln∣x∣ is x1​.

Then

∫x1​=ln∣x∣+C

By working backwards from some of the derivative rules from the 1st part of calculus, we obtain some important integration rules:

f(x) Indefinite integral
xn n+1xn+1​+C
x1​ ln∣x∣+C
ex ex+C
ax ln(a)ax​+C

Some trig integration rules:

f(x) Indefinite integral
sin(x) −cos(x)+C
cos(x) sin(x)+C
sec2(x) tan(x)+C
csc2(x) −cot(x)+C
sec(x)tan(x) sec(x)+C
csc(x)cot(x) −csc(x)+C

Some antiderivatives derived from inverse trig functions:

f(x) Indefinite integral
1−x2​1​ sin−1(x)+C
1−x2​−1​ cos−1(x)+C
1+x21​ tan−1(x)+C
1+x2−1​ cot−1(x)+C
∣x∣x2−1​1​ sec−1(x)+C
∣x∣x2−1​−1​ csc−1(x)+C

Although you’re expected to know these basic integration rules for the exam, there aren’t too many straightforward questions on just these. Many problems will be worded for you to set up a definite integral and then evaluate it with or without a calculator. So we’ll continue working with such problems instead.

Examples

Water flows into a tank at a rate of R(t)=et+e3 liters per hour. How much water enters the tank from t=0 to t=10?

Solution

(spoiler)

We’re looking for the accumulation of change in the water between t=0 to t=10, or evaluating

∫010​(et+e3)dt

The antiderivative of et is itself - et.

On the other hand, e3 is a constant so its antiderivative with respect to t is e3⋅t (using the reverse power rule).

Therefore the definite integral becomes

et+e3(t)​010​

=[e10+e3(10)]−[e0+e3(0)]

=e10+10e3−1−0

≈22,226.321 liters​

Sidenote
Definite integrals in Desmos

On calculator sections, you can use Desmos to compute definite integrals that might be tedious to integrate by hand. Type “int” and an integral symbol will appear.

Desmos requires you enter the bounds of integration - it won’t be able to show you the result of an indefinite integral.

Make sure to put parentheses around the integrand before the dx.

A factory releases a pollutant into a river at a rate of R(t)=1+e−0.2t500t​​ grams per hour, where time t is the number of hours since the start of the day. To the nearest gram, how much pollutant was released between 5≤t≤12?

Solution

(spoiler)

The problem gives a rate function that describes how fast, in grams per hour, the pollutant is being released. It’s looking for the amount of pollutant, in grams, over a specified time interval, which means integrate the rate for the accumulated change. Set up this integral in Desmos:

∫512​1+e−0.2t500t​​dt

The value it gives is 8557​ grams.

The rate of change of the temperature in degrees Celsius per hour is given by

T′(t)=−t3+6t2−9t+4

where t is the number of hours since midnight and 0≤t≤6.

Write an integral expression that gives the change in temperature during the time when the temperature is decreasing.

Solution

(spoiler)

Notice the question gives the rate of change and asks for the change in temperature. So we have to integrate the rate for the accumulated change.

This will be done over the time interval in which the temperature is decreasing, or when the rate of change is negative.

Graphing the rate function T′ in Desmos (in terms of x, since it won’t accept input variable t when graphing), we see that the graph is below the x-axis in 4≤x≤∞, but for this problem the time is capped at t=6 hours. So the change in temperature when the temperature is decreasing, in degrees Celsius, is

∫46​T′(t)dt

=∫46​(−t3+6t2−9t+4)dt​

Find a function that satisfies

dxdy​=2xln(2)−x2​

and

y(2)=5

Solution

(spoiler)

Since the derivative is given, we can integrate to get the original function.

∫dxdy​dx=∫(2xln(2)−x2​)dx

y=ln(2)∫2xdx−2∫x1​dx

=ln(2)⋅ln(2)2x​−2ln∣x∣

=2x−2ln∣x∣+C

The problem also gives y(2)=5, which we can plug in to find the specific C such that the function passes through the point (2,5).

5=22−2ln(2)+C

C=2.386

Therefore the function that satisfies those conditions is

y=2x−2ln∣x∣+2.386​

Here is a problem combining both definite and indefinite integrals that’s similar to one from a past AP exam (1988 AB FRQ #6), with the numbers altered:

Let f be a differentiable function, defined for all real numbers x, with the following properties.

(i) f′(x)=ax2+bx
(ii) f′(2)=10 and f′′(2)=18
(iii) ∫24​f(x)dx=60

Find f(x).

Solution

(spoiler)

Since f′(2)=10, then

a(2)2+b(2)=10

4a+2b=10

Next, f′′(x)=2ax+b. Since f′′(2)=18,

2a(2)+b=16

4a+b=18

Now we solve the system of equations for a and b:

4a+2b=104a+b=18​​

Subtracting equation (2) from (1), we find that b=−6 and a=6. Therefore

f′(x)=6x2−6x

To find f(x), integrate f′(x) with the reverse power rule.

f(x)=∫f′(x)dx

=∫(6x2−6x)dx

=2x3−3x2+C

+C is required because this is an indefinite integral.

Lastly, use property (iii) by further integrating f(x). Let F(x) be an antiderivative of f(x).

F(x)=∫(6x3−3x2+C)dx

=46x4​−x3+Cx

=23​x4−x3+Cx

No additional +C needs to be added because we can immediately use the FTC part 2 for definite integrals, which says that

∫24​f(x)=F(4)−F(2)

Combined with property (iii),

F(4)−F(2)=60

[23​(4)4−(4)3+C(4)]−[23​(2)4−(2)3+C(2)]=60

(384−64+4C)−(24−8+2C)=60

304+2C=60

C=−122

Therefore

f(x)=2x3−3x2−122​

Key points
  • A definite integral always produces a value while an indefinite integral produces a family of functions (don’t forget +C).

Sign up for free to take 5 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.