Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 6.8

Finding Antiderivatives and Indefinite Integrals: Basic Rules and Notation

Given a rate, how do we find the function it came from?

What you will learn

  • Understand an indefinite integral as the whole family F(x) + C.
  • Know the antiderivative of each basic function, including the inverse-trig forms.
  • Understand that some functions have no closed-form antiderivative.

You must be able to

  1. Integrate by rewriting a product, root or fraction into a sum of powers.
  2. Find the constant from an initial condition.
  3. Choose ln|x| only for exactly x to the power -1.
  4. Check an answer by differentiating.
  5. Decide when a definite integral needs the calculator.

In the exam. Section I multiple choice, Part A: pick the antiderivative of a sum of power, exponential, trig and 1x\frac{1}{x} terms, often after a rewrite, or find f(x)f(x) from f′(x)f'(x) and one value. Section II free response: you find a position from a velocity or a particular solution from a derivative and a point, and in differential equations (Unit 7) every solution starts here. This is the base skill under 6.7 and 6.9.

1Notation: indefinite and definite

Indefinite integral = the family of all antiderivatives of ff.

∫f(x) dx=F(x)+C,where F′(x)=f(x) and C is any constant \int f(x)\,dx = F(x) + C, \qquad \text{where } F'(x) = f(x) \text{ and } C \text{ is any constant}

Compare the two kinds of integral.

IndefiniteDefinite
Written∫f(x) dx\int f(x)\,dx∫abf(x) dx\int_a^b f(x)\,dx
Isa family of functionsa number
AnswerF(x)+CF(x) + CF(b)−F(a)F(b) - F(a)
Constant+C+ C neededno CC

The dxdx matters here too. It names the variable of integration.

The constant is not decoration. Without +C+ C the answer is one antiderivative, not all of them, and on a free-response question a missing +C+ C loses a point.

Figure 1 shows what +C+ C means. The curves y=x22+Cy = \tfrac{x^2}{2} + C are all antiderivatives of f(x)=xf(x) = x. They are the same curve moved up or down. At x=2x = 2, every one has slope 2, shown by the small amber lines: they are parallel.

Four curves y equal to x squared over 2 plus C, for C equal to 1, 0, minus 1 and minus 2. Each is the same curve moved up or down. At x equal to 2 every curve has the same slope, 2. The curve through the point (2, 0) has C equal to minus 2 2 −2 2 4 y x C = 1 C = 0 C = −1 C = −2
Figure 1 · Antiderivatives of f(x) = x: the same curve shifted up or down, each with the same slope at x = 2

2The basic rules

Each rule is a derivative fact turned round. To check one, differentiate the right-hand side.

∫f(x) dx\displaystyle\int f(x)\,dxF(x)+CF(x) + C
∫k dx\displaystyle\int k\,dxkx+Ckx + C
∫xn dx, n≠−1\displaystyle\int x^n\,dx,\ n \ne -1xn+1n+1+C\dfrac{x^{n+1}}{n+1} + C
∫1x dx\displaystyle\int \dfrac{1}{x}\,dxln⁡∣x∣+C\ln\lvert x\rvert + C
∫ex dx\displaystyle\int e^x\,dxex+Ce^x + C
∫sin⁡x dx\displaystyle\int \sin x\,dx−cos⁡x+C-\cos x + C
∫cos⁡x dx\displaystyle\int \cos x\,dxsin⁡x+C\sin x + C
∫sec⁡2x dx\displaystyle\int \sec^2 x\,dxtan⁡x+C\tan x + C
∫csc⁡2x dx\displaystyle\int \csc^2 x\,dx−cot⁡x+C-\cot x + C
∫sec⁡xtan⁡x dx\displaystyle\int \sec x\tan x\,dxsec⁡x+C\sec x + C
∫csc⁡xcot⁡x dx\displaystyle\int \csc x\cot x\,dx−csc⁡x+C-\csc x + C
∫11+x2 dx\displaystyle\int \dfrac{1}{1 + x^2}\,dxarctan⁡x+C\arctan x + C
∫11−x2 dx\displaystyle\int \dfrac{1}{\sqrt{1 - x^2}}\,dxarcsin⁡x+C\arcsin x + C

And two rules for combining.

  • Constant multiple. ∫k f(x) dx=k∫f(x) dx\int k\,f(x)\,dx = k\int f(x)\,dx.
  • Sum and difference. ∫[f(x)±g(x)] dx=∫f(x) dx±∫g(x) dx\int [f(x) \pm g(x)]\,dx = \int f(x)\,dx \pm \int g(x)\,dx.

Integrate term by term, then add one +C+ C at the end.

Example: ∫(4x3−3x2+2)dx\displaystyle\int \left(4x^3 - \frac{3}{x^2} + 2\right)dx. Write 3x2=3x−2\frac{3}{x^2} = 3x^{-2}.

∫(4x3−3x−2+2) dx=x4+3x−1+2x+C=x4+3x+2x+C \int (4x^3 - 3x^{-2} + 2)\,dx = x^4 + 3x^{-1} + 2x + C = x^4 + \frac{3}{x} + 2x + C

Check: the derivative of the answer is 4x3−3x−2+24x^3 - 3x^{-2} + 2.

Notice the case n=−1n = -1. The power rule would divide by 0, so 1x\frac{1}{x} has its own rule, and ln⁡∣x∣\ln\lvert x\rvert is the answer. A power such as 1x2\frac{1}{x^2} is x−2x^{-2}, which is not n=−1n = -1, so it uses the power rule.

3Rewriting first

Many integrands do not match a rule as they stand. There is no product rule or quotient rule for integrals, so rewrite them into a sum of terms that match.

  • Expand a product. ∫(x+1)2 dx=∫(x2+2x+1) dx=x33+x2+x+C\displaystyle\int (x + 1)^2\,dx = \int (x^2 + 2x + 1)\,dx = \frac{x^3}{3} + x^2 + x + C.
  • Split a fraction over a single term. ∫x2+3xx dx=∫(x+3) dx=x22+3x+C\displaystyle\int \frac{x^2 + 3x}{x}\,dx = \int (x + 3)\,dx = \frac{x^2}{2} + 3x + C.
  • Write roots and reciprocals as powers. ∫x3 dx=∫x1/3 dx=34x4/3+C\displaystyle\int \sqrt[3]{x}\,dx = \int x^{1/3}\,dx = \frac{3}{4}x^{4/3} + C, and ∫4x3 dx=∫4x−3 dx=−2x−2+C\displaystyle\int \frac{4}{x^3}\,dx = \int 4x^{-3}\,dx = -2x^{-2} + C.
  • Use an identity. tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1, so ∫tan⁡2x dx=∫(sec⁡2x−1) dx=tan⁡x−x+C\displaystyle\int \tan^2 x\,dx = \int (\sec^2 x - 1)\,dx = \tan x - x + C.
  • Divide out a term with xx in the denominator. ∫(x+1)2x dx=∫(x+2+1x)dx=x22+2x+ln⁡∣x∣+C\displaystyle\int \frac{(x + 1)^2}{x}\,dx = \int \left(x + 2 + \frac{1}{x}\right)dx = \frac{x^2}{2} + 2x + \ln\lvert x\rvert + C.

This rewriting is part of the skill the CED calls using equivalent forms. Topic 6.10 extends it to long division and completing the square.

4Finding a particular antiderivative

An initial condition picks one curve from the family.

Example (invented): f′(x)=2x+3exf'(x) = 2x + 3e^x and f(0)=5f(0) = 5. Find f(1)f(1).

  1. Integrate: f(x)=x2+3ex+Cf(x) = x^2 + 3e^x + C.
  2. Use f(0)=5f(0) = 5: 0+3+C=50 + 3 + C = 5, so C=2C = 2.
  3. So f(x)=x2+3ex+2f(x) = x^2 + 3e^x + 2, and f(1)=1+3e+2=3+3ef(1) = 1 + 3e + 2 = 3 + 3e.

Find the constant before you evaluate anywhere else. In Figure 1 the teal curve is the one through (2,0)(2, 0): 2+C=02 + C = 0 gives C=−2C = -2.

This is the same step as in 6.7, where f(b)=f(a)+∫abf′f(b) = f(a) + \int_a^b f'. Both give the same function.

5Functions with no closed-form antiderivative

Not every continuous function has an antiderivative you can write with the functions you know. The CED says so directly.

Examples: e−x2e^{-x^2}, sin⁡(x2)\sin(x^2) and sin⁡xx\dfrac{\sin x}{x}. There is an antiderivative for each (the accumulation function ∫0xe−t2 dt\int_0^x e^{-t^2}\,dt is one, by 6.4), but no formula for it in terms of powers, exponentials, logarithms and trig functions.

What to do instead:

  • A definite integral of such a function still exists. Use the calculator, with the setup written. For example, ∫01e−x2 dx≈0.747\int_0^1 e^{-x^2}\,dx \approx 0.747.
  • An accumulation function is the antiderivative, left as an integral: g(x)=∫0xe−t2 dtg(x) = \int_0^x e^{-t^2}\,dt. Its derivative is e−x2e^{-x^2} by the Fundamental Theorem.

An exam question never asks you to find a formula for one of these. If you are stuck trying to integrate one, check whether the question wants a definite integral by calculator or the derivative of an accumulation function.

6What the basic rules do not cover

Two features need a method from the next topics.

  • A composite function. ∫cos⁡(2x) dx\int \cos(2x)\,dx is not sin⁡(2x)\sin(2x): the derivative of sin⁡(2x)\sin(2x) is 2cos⁡(2x)2\cos(2x). This needs substitution (6.9).
  • A product or quotient of different functions. ∫xex dx\int x e^x\,dx is by parts (6.11, BC only), and ∫1x2−1 dx\int \frac{1}{x^2 - 1}\,dx is by partial fractions (6.12, BC only).

Do not guess an antiderivative and skip the check. Differentiating your answer takes ten seconds.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.