AP® CALCULUS AB & BC · UNIT 6

Finding Antiderivatives and Indefinite Integrals

Reverse differentiation with basic integration rules. Learn why the constant matters, check domains, and verify each answer with colorful worked examples.

Topic 6.8 study notes8 worked examples · 8 practice questionsUpdated 11 November 2026
Calculus notebook with limit and integral symbols, a compass and pencil on an olive and cream study desk

1. What Topic 6.8 asks you to do

Antidifferentiation reverses differentiation. Instead of finding a rate from a function, you find a function whose derivative is the given rate. These basic rules support definite-integral evaluation, differential equations, and accumulation models.

AP Calculus AB & BC · Topic 6.8: Basic Rules and Notation. Use known derivative rules to determine antiderivatives, write indefinite-integral notation correctly, and recognize that some antiderivatives cannot be expressed with elementary functions.

2. Define an antiderivative and read the notation

A function F is an antiderivative of f on an interval if

F′(x)=f(x).

The indefinite integral describes the family of antiderivatives on that interval:

∫f(x)dx=F(x)+C.
∫
The integral sign.
f(x)
The integrand: the function being integrated.
dx
Identifies the variable of integration.
F(x)
One antiderivative of the integrand.
C
An arbitrary real constant, constant with respect to the integration variable.

An antiderivative is one function; the indefinite integral represents a family. A definite integral with fixed bounds returns a number. It does not retain an arbitrary constant in its final value.

3. Why the constant of integration matters

Constants disappear under differentiation. For example, differentiating x2−2, x2, or x2+2 gives 2x. Therefore

∫2xdx=x2+C.

Any two antiderivatives of the same function differ by a constant on an interval. Their difference has derivative zero, so the Mean Value Theorem makes that difference constant.

If the domain has separate intervals, the constant can be chosen independently on each interval. For instance, the negative and positive parts of the domain of 1x need not share the same constant.

Different heights, the same derivative

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −2 0 2 4 6 F x ( ) Lower Middle Upper
The solid, dashed, and dotted curves are x2−2, x2, and x2+2. At x=1, each has slope 2. Their vertical positions differ, but their derivatives agree.

The derivative shared by the family

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −4 −2 0 2 4 f x ( )
Every member F(x)=x2+C has derivative f(x)=2x. The marked point (1,2) gives the common slope at x=1. The curves extend beyond the displayed windows; no domain endpoints are implied.

4. Basic integration rules and rewrites

Read each formula by reversing a familiar derivative. Trigonometric inputs are in radians. Each formula holds on an interval where its integrand is defined.

Algebraic and exponential antiderivatives
Integrand f(x)Antiderivatives F(x)+CCondition or check
kkx+CConstant integrand.
xnxn+1n+1+Cn≠−1; use an interval where the powers and differentiation rule are valid.
1xln|x|+Cx≠0; work on either side of zero.
exex+CThe natural exponential.
axaxlna+Ca>0, a≠1.
Trigonometric and inverse-trigonometric antiderivatives
Integrand f(x)Antiderivatives F(x)+CCondition or check
sinx−cosx+CCheck the negative sign.
cosxsinx+CThe sign is positive.
sec2xtanx+CUse an interval where cosine is nonzero.
csc2x−cotx+CUse an interval where sine is nonzero.
secxtanxsecx+CUse an interval where cosine is nonzero.
cscxcotx−cscx+CUse an interval where sine is nonzero.
11+x2arctanx+CValid for all real inputs.
11−x2arcsinx+C−1<x<1.

The power rule, with its exception

∫xndx=xn+1n+1+C

For n≠−1, increase the exponent by one, divide by that new exponent, and include the constant. For n=−1, this formula would divide by zero; use the logarithmic antiderivative instead.

Linearity: constants, sums, and differences

Let F′=f and G′=g on a common interval. Keep the constant coefficients and integrate sums or differences term by term:

∫kfdx=kF+C
∫(f±g)dx=F±G+C
∫(af+bg)dx=aF+bG+C

Here the functions are written without their arguments for brevity. Use one arbitrary constant for the combined result. This also works when a coefficient is zero.

Rewrite before applying a rule

Use x=x12, x3=x13, and 1xm=x−m. Also, 1x=x−12 for x>0, and x3=x32 for x≥0. Keep the original domain when rewriting.

5. Eight worked examples with derivative checks

Example 1 · Integrate a polynomial term by term

Find I=∫(3x2+5x−7)dx.

1 · Keep each coefficient

Use linearity to integrate the three terms separately. The constant term integrates to a multiple of x.

∫3x2dx=x3+C1
∫5xdx=5x22+C2
∫(−7)dx=−7x+C3

2 · Combine into one family

I=x3+5x22−7x+C

One arbitrary constant represents the sum of the constants from the separate terms.

3 · Differentiate to verify

The derivatives of the three nonconstant terms are 3x2, 5x, and −7. The derivative of C is zero, so the result matches the integrand.

Example 2 · Rewrite negative powers and a cube root

Find I=∫(2x3+x3)dx.

1 · Rewrite the integrand

2x3+x3=2x−3+x13

Work on an interval with x≠0. For negative inputs, rational powers with denominator 3 use real cube roots.

2 · Apply the power rule

∫2x−3dx=−x−2+C
∫x13dx=3x434+C

3 · Combine and check

I=−1x2+3x434+C

Differentiating on either interval gives 2x3+x3. The cube-root form makes the real meaning explicit on both sides of zero.

Example 3 · Keep the trigonometric signs

Find ∫(4sinx−3cosx+sec2x)dx.

1 · Reverse the known derivatives

An antiderivative of sinx is −cosx. An antiderivative of cosx is sinx. An antiderivative of sec2x is tanx.

2 · Keep the coefficients and combine

The family of antiderivatives is

−4cosx−3sinx+tanx+C.

The derivative is 4sinx−3cosx+sec2x, as required. Use an interval where cosine is nonzero.

Example 4 · Combine exponential and logarithmic rules

Find I=∫(ex+5x−2x)dx.

1 · Match the three rules

∫5xdx=5ln|x|+C
∫2xdx=2xln2+C

The natural exponential integrates to itself. The base-two exponential needs division by ln2.

2 · Combine and differentiate

I=ex+5ln|x|−2xln2+C

Differentiation restores ex+5x−2x. State the result on an interval with x≠0.

Example 5 · Check the logarithm on negative inputs

Find an antiderivative of f(x)=1x on (−∞,0).

1 · Use the real logarithm correctly

For x<0, |x|=−x>0, so ln|x|=ln(−x) is defined.

ddxln(−x)=−1−x=1x

2 · State the family on the interval

∫1xdx=ln|x|+C

This also works on the positive interval. A formula using only lnx would omit the negative interval. Zero remains excluded.

An antiderivative on two separate intervals

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −3 −2 −1 0 1 2 3 x −2 −1 0 1 G x ( )
The two branches show ln|x|, with marked points (−1,0) and (1,0). The vertical asymptote is x=0; there is no join across zero. Independent constants may shift the two branches separately.

Example 6 · Reverse an inverse-trigonometric derivative

Find I=∫11+x2dx.

1 · Identify the derivative

ddxarctanx=11+x2

The denominator is positive for every real input.

2 · Write the family

I=arctanx+C

The derivative check confirms the answer on the full real line.

Example 7 · Select one member with an initial value

Given F′(x)=2x and F(1)=4, find F.

1 · Start with the family

F(x)=x2+C

All these functions have derivative 2x.

2 · Apply the given value

4=1+C
C=3
F(x)=x2+3

Both checks hold: F′(x)=2x and F(1)=4. This is a particular antiderivative.

Example 8 · Keep an antiderivative in integral form

Does f(x)=e−x2 have an antiderivative? Must it have an elementary formula?

1 · Use continuity and the Fundamental Theorem

The integrand is continuous on the real line. Define

A(x)=∫0xe−t2dt.

Then A′(x)=e−x2, so A is an antiderivative.

2 · Distinguish existence from an elementary formula

∫e−x2dx=A(x)+C

This antiderivative exists, but it cannot be written using a finite combination of elementary functions. An integral-defined function is an exact representation. Recognizing this limitation is part of Topic 6.8; proving non-elementarity is beyond this lesson.

6. Practice with step-by-step solutions

Problem 1

Find ∫5x4dx.

Show solution 1

Solution

Raise the exponent to 5 and divide by 5.

∫5x4dx=x5+C

Differentiating gives 5x4.

Problem 2

Find ∫(x3−6x2+4)dx.

Show solution 2

Solution

Integrate each term with its coefficient.

F(x)=x44−2x3+4x+C

The derivative is x3−6x2+4.

Problem 3

Find ∫(3x+2x2)dx.

Show solution 3

Solution

Write the integrand as 3x12+2x−2. The original domain requires x>0.

F(x)=2x32−2x+C

Differentiating gives the original integrand.

Problem 4

Find ∫(2ex−3sinx)dx.

Show solution 4

Solution

The antiderivative of sine is negative cosine, so the two negatives give a positive cosine term.

F(x)=2ex+3cosx+C

Its derivative is 2ex−3sinx.

Problem 5

Find ∫(4x+sec2x)dx.

Show solution 5

Solution

Use the logarithmic rule and the derivative of tangent, on an interval with x≠0 and cosine nonzero.

F(x)=4ln|x|+tanx+C

Differentiating restores both terms.

Problem 6

Find ∫(x−3+x3)dx.

Show solution 6

Solution

Increase the exponents by one and divide. Work on an interval excluding zero, using real cube roots.

F(x)=−12x2+3x434+C

The derivative is x−3+x3.

Problem 7

Find ∫11−x2dx and state the interval.

Show solution 7

Solution

Reverse the derivative of inverse sine.

F(x)=arcsinx+C

The integrand is defined for −1<x<1, which is also the interval for the derivative check.

Problem 8

If F′(x)=3x2 and F(2)=10, find F.

Show solution 8

Solution

First write F(x)=x3+C. Substitute the given value.

10=8+C
C=2
F(x)=x3+2

Its derivative is 3x2, and its value at 2 is 10.

7. Avoid common mistakes and check your answer

  • Check by differentiation. The derivative must reproduce the entire integrand, including every coefficient and sign.
  • Keep the arbitrary constant. Include C when giving a family; solve for it when an initial value selects one member.
  • Handle the power-rule exception. At exponent −1, use the logarithmic rule rather than dividing by zero.
  • Preserve the real domain. Absolute values matter in logarithms; radicals and trigonometric denominators also impose restrictions.
  • Keep the integration variable consistent. For instance, ∫3t2dt=t3+C.
  • Do not invent product or quotient integration rules. Multiplying two antiderivatives does not generally integrate their product. More advanced procedures begin in the next topics.
  • Use precise exam notation. Show the rule you applied and write the final family clearly. Scoring depends on the question and its rubric; no single formatting tip guarantees a point.

For applied quantities, an antiderivative of a rate has units of the rate multiplied by units of its input. For example, integrating a velocity measured in metres per second with respect to time in seconds gives a position change measured in metres.

Quick recap of the original power-rule examples

These four short examples revisit the polynomial, reciprocal-square, and square-root rules.

1 · Raise the exponent and divide

∫x3dx=x44+C
∫xdx=x22+C

The new exponents are 4 and 2. Those also become the denominators.

2 · Rewrite negative and fractional powers

∫1x2dx=−1x+C
∫xdx=2x323+C

The first integrand is x−2, with x≠0. The second is x12, and the power-rule check is on x>0.

8. Continue studying integration

Use these rules to evaluate definite integrals in Topic 6.7. When the integrand contains a composite function, Topic 6.9 introduces substitution.