AP Calculus AB · Topic 6.8 · Reading guide, about 5 min

Basic antiderivatives and the plus C

Indefinite integral notation, the constant C, the basic antiderivative list, rewriting before integrating, and checking by differentiating.

In one minute

Finding an antiderivative means running differentiation backward. If you know that the derivative of x3x^3 is 3x23x^2, then you know an antiderivative of 3x23x^2. Almost every integration technique in this unit is a way of reshaping a problem so that it matches one of a short list of basic reversed rules.

The list is small enough to memorize, and the work is mostly algebra. You will rewrite roots and fractions as powers, split sums, and always finish by differentiating your answer to confirm it.

Key terms

Antiderivative
A function FF whose derivative is the given function: F′(x)=f(x)F'(x)=f(x). A function has infinitely many, differing by constants.
Indefinite integral
The notation ∫f(x) dx\int f(x)\,dx for the whole family of antiderivatives of ff. The result is a function, not a number.
Constant of integration
The CC in F(x)+CF(x)+C. It stands for the arbitrary constant, since constants have derivative 0.
Integrand
The function being integrated, written between the integral sign and the dxdx.
Power rule for integrals
For n≠−1n\ne -1, ∫xn dx=xn+1n+1+C\int x^n\,dx=\frac{x^{n+1}}{n+1}+C. Add 1 to the exponent, then divide by the new exponent.
Natural log antiderivative
∫1x dx=ln⁡∣x∣+C\int\frac{1}{x}\,dx=\ln|x|+C. The absolute value makes the formula valid for negative xx too.
Initial condition
A known value such as F(2)=5F(2)=5 used to determine CC and select one antiderivative from the family.
Particular antiderivative
The single member of the family that satisfies the given initial condition.

The basic list and the plus C

The symbol ∫f(x) dx\int f(x)\,dx asks: which functions have derivative ff? Because ddx(x2)\frac{d}{dx}(x^2), ddx(x2+7)\frac{d}{dx}(x^2+7) and ddx(x2−100)\frac{d}{dx}(x^2-100) all equal 2x2x, the answer is a family, so write ∫2x dx=x2+C\int 2x\,dx=x^2+C. On the exam, a missing +C+C on an indefinite integral usually loses the point.

The +C+C is a different idea from the definite integral in 6.7. A definite integral has bounds and produces a number, and the constants cancel when you subtract. An indefinite integral has no bounds and produces a family of functions.

The power rule fails only at n=−1n=-1, because that would put 0 in the denominator. That missing case is exactly where the logarithm comes in, so remember the pair: ∫x−1 dx=ln⁡∣x∣+C\int x^{-1}\,dx=\ln|x|+C.

Basic antiderivatives (check each by differentiating)
IntegrandAntiderivativeCheck
xnx^n, n≠−1n\ne -1xn+1n+1+C\frac{x^{n+1}}{n+1}+Cderivative gives xnx^n
1x\frac1xln⁡∣x∣+C\ln|x|+Cderivative gives 1x\frac1x
exe^xex+Ce^x+Cits own derivative
cos⁡x\cos xsin⁡x+C\sin x+Cddxsin⁡x=cos⁡x\frac{d}{dx}\sin x=\cos x
sin⁡x\sin x−cos⁡x+C-\cos x+Cddx(−cos⁡x)=sin⁡x\frac{d}{dx}(-\cos x)=\sin x
sec⁡2x\sec^2 xtan⁡x+C\tan x+Cddxtan⁡x=sec⁡2x\frac{d}{dx}\tan x=\sec^2 x
sec⁡xtan⁡x\sec x\tan xsec⁡x+C\sec x+Cddxsec⁡x=sec⁡xtan⁡x\frac{d}{dx}\sec x=\sec x\tan x
11+x2\frac{1}{1+x^2}arctan⁡x+C\arctan x+Cderivative of arctangent
11−x2\frac{1}{\sqrt{1-x^2}}arcsin⁡x+C\arcsin x+Cderivative of arcsine

Rewrite first, then integrate

The rules work on a sum of powers, not on a product, a quotient or a root as written. Rewrite x\sqrt{x} as x1/2x^{1/2} and 1x3\frac{1}{x^3} as x−3x^{-3}. Expand a product such as (x+1)2(x+1)^2 into x2+2x+1x^2+2x+1 before integrating. Split a fraction with a single-term denominator into separate terms. You cannot integrate a numerator and denominator separately.

Constants multiply through, and the integral of a sum is the sum of the integrals. Everything below follows from these two facts.

Worked example

Find ∫(6x2−4x3+5x+3ex−2cos⁡x)dx\int\left(6x^2-\frac{4}{x^3}+\frac5x+3e^x-2\cos x\right)dx. Rewrite 4x3\frac{4}{x^3} as 4x−34x^{-3} and integrate term by term.

The first term: ∫6x2 dx=6x33=2x3\int 6x^2\,dx=\frac{6x^3}{3}=2x^3. The second: ∫−4x−3 dx=−4⋅x−2−2=2x−2\int -4x^{-3}\,dx=-4\cdot\frac{x^{-2}}{-2}=2x^{-2}. The third: ∫5x dx=5ln⁡∣x∣\int\frac5x\,dx=5\ln|x|. The fourth: ∫3ex dx=3ex\int 3e^x\,dx=3e^x. The fifth: ∫−2cos⁡x dx=−2sin⁡x\int -2\cos x\,dx=-2\sin x. Put them together with one constant:

2x3+2x−2+5ln⁡∣x∣+3ex−2sin⁡x+C2x^3+2x^{-2}+5\ln|x|+3e^x-2\sin x+C.

Check by differentiating: 6x26x^2 from the first, −4x−3-4x^{-3} from the second, 5x\frac5x from the third, 3ex3e^x from the fourth, and −2cos⁡x-2\cos x from the fifth. That is the original integrand, so the answer is right.

A second type is rewriting. For ∫(x+1)2x dx\int\frac{(x+1)^2}{x}\,dx, expand the numerator to get x2+2x+1x=x+2+1x\frac{x^2+2x+1}{x}=x+2+\frac1x. Then the integral is x22+2x+ln⁡∣x∣+C\frac{x^2}{2}+2x+\ln|x|+C. Differentiating gives x+2+1xx+2+\frac1x, which equals the original fraction.

With an initial condition: if f′(x)=4x−3f'(x)=4x-3 and f(2)=5f(2)=5, then f(x)=2x2−3x+Cf(x)=2x^2-3x+C. Using f(2)=8−6+C=5f(2)=8-6+C=5 gives C=3C=3, so f(x)=2x2−3x+3f(x)=2x^2-3x+3. Substitute the point right after integrating, while CC is still the only unknown.

Checking and using the answer

Differentiating is the fastest check, and it is allowed on the exam. If your antiderivative differentiates back to the integrand, it is right, whatever method you used. A wrong constant factor or a sign slip shows up immediately.

An antiderivative also answers questions about the original function. If f′(x)=4x−3f'(x)=4x-3 then ff has a horizontal tangent at x=34x=\frac34. If you are told f′′(x)=6xf''(x)=6x with f′(0)=1f'(0)=1 and f(0)=2f(0)=2, integrate twice, using each condition right after the step it belongs to: f′(x)=3x2+1f'(x)=3x^2+1, then f(x)=x3+x+2f(x)=x^3+x+2. Each integration introduces its own constant, so two conditions are needed.

Finally, notice that the answer to an indefinite integral is a function. Do not substitute numbers until the question asks for a value. Bounds and numbers belong to definite integrals, which you evaluate with the theorem from 6.7.

How it connects

  • Back to 2.5, 2.7 and 2.10: the power, 1x\frac1x, exponential and trig rows are Unit 2 derivative rules read backward (sec⁡2x\sec^2 x and sec⁡xtan⁡x\sec x\tan x come from the derivatives of tan⁡x\tan x and sec⁡x\sec x in 2.10).
  • Back to 3.4: the arctangent and arcsine rows reverse the derivatives of inverse trig functions.
  • Forward to 6.9: u-substitution reverses the chain rule, and its answers still end in one of the basic forms listed here.
  • Forward to 7.6: separation of variables integrates both sides of an equation using these same antiderivatives.

Common mistakes

  • **Forgetting +C+C.** Every indefinite integral needs it. A definite integral does not.
  • **Using the power rule on 1x\frac1x.** The answer is ln⁡∣x∣+C\ln|x|+C, never x00\frac{x^0}{0}.
  • Sign errors with sine. ∫sin⁡x dx=−cos⁡x+C\int\sin x\,dx=-\cos x+C, and ∫cos⁡x dx=sin⁡x+C\int\cos x\,dx=\sin x+C. Check by differentiating.
  • Integrating a quotient piece by piece. ∫fg dx\int\frac{f}{g}\,dx is not ∫f∫g\frac{\int f}{\int g}. Split only a sum in the numerator over a single-term denominator.
  • Dividing by the old exponent. The new exponent n+1n+1 goes in the denominator.

How it shows up on the exam

  • Direct indefinite integrals that need a quick rewrite such as turning roots and reciprocal powers into exponents.
  • Initial value problems that find ff from f′f' and a point, or f′f' from f′′f'' and two conditions.
  • Multiple-choice items where you can check candidate answers by differentiating them, which is often faster than integrating.

Check yourself

  1. Why does ∫x−1 dx\int x^{-1}\,dx not follow the power rule, and what is it instead?
  2. What is ∫(x3+1x)dx\int\left(\frac{x^3+1}{x}\right)dx, and what did you do before integrating?
  3. How can you verify an answer to an indefinite integral without any integration?
  4. If f′′(x)=12x2f''(x)=12x^2, f′(0)=3f'(0)=3 and f(0)=1f(0)=1, what is f(x)f(x)?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.