Kim’s Math NotesCourse index

Antiderivatives and Indefinite Integrals

Why do indefinite integrals include a constant of integration?

Find antiderivatives (indefinite integrals) with +C: powers backward, 1x→ln|x|, basic rules read backward, rewrite first, and fix C with one point.

Integrating a quotient piece by piece, no + C

Common mistake ∫4x3−6x2dx=∫(4x3−6)dx∫x2dx; or 2x2+6x with no +C.

Correction Divide first, then term by term: 2x2+6x+C. Always +C.

The family F(x) + C

Start with something easy. The derivative of x squared is two x. Now take three parabolas: x squared minus one, x squared, and x squared plus one. Differentiate each one, and every one gives two x. Look at x equals one.

The tangent lines are parallel, all with slope two.

Watch this part of the concept lesson

Read the rest of this scene

Sliding a curve up or down never tilts it. Now go backward. Start from f of x equals two x, and look for capital F. Which one was it? x squared plus one, plus two, or plus three: every one of them works. Without another clue, you can't tell. So we write the whole family at once: x squared plus C, where C is any constant.

Why only a constant? Two functions with the same derivative have a difference whose slope is zero, everywhere. Slope zero everywhere means flat: a constant. How do we pick just one curve? One point. Say the curve passes through one comma four.

Plug in: one squared plus C equals four, so C is three. One point picks one curve out of the whole family: x squared plus three.

The indefinite integral and its four names

Here's how we write a family. Leave the bounds off the integral sign. No bounds means the answer is a family of functions. The integral of two x, d x, equals x squared plus C. It's called an indefinite integral.

In general: the integral of f of x, d x, equals capital F of x plus C, where F prime is f.

Watch this part of the concept lesson

Read the rest of this scene

Four names. Capital F is an antiderivative of f. C, the up-and-down shift we can't detect, is the constant of integration. f of x, sitting inside, is the integrand. And x, tagged by the d x, is the variable of integration. So every indefinite integral answer ends with plus C.

Leave it off, and the answer is incomplete.

Integrate vs differentiate; number vs function

Two facts about order. One: integrate first, then differentiate, and you land right back on f. Two x integrates to x squared plus C. Differentiate that: two x again. The C just vanishes.

Two: differentiate first, then integrate, and you get f back, plus C.

Watch this part of the concept lesson

Read the rest of this scene

x squared differentiates to two x. Integrate that: x squared plus C. The derivative wiped out any constant, so C tags along. One more difference. With bounds, the integral of two x from zero to two is x squared at two, minus x squared at zero: four.

Switch the variable to t, and it's still the number four. Without bounds, the variable matters. The integral of two x d x is x squared plus C, a function of x. The integral of two t d t is t squared plus C, a function of t. A definite integral is a number, so the variable doesn't matter.

An indefinite integral is a function, so the integral of f of x d x is not the same as the integral of f of t d t.

The power rule, backward

Forward first: the derivative of x cubed. Bring the three down, subtract one from the power: three x squared. To undo it, do the opposite steps in the opposite order. Add one to the power first, then divide by the new power. So the integral of x to the n is x to the n plus one, over n plus one, plus C.

As long as n is not negative one. Hold that thought.

Watch this part of the concept lesson

Read the rest of this scene

Try a fraction: the integral of x to the one half. Add one to the power: one half plus one is three halves. Divide by three halves, which is the same as multiplying by two thirds: two thirds x to the three halves, plus C. Always check by differentiating. Two thirds times three halves is one, and the power drops back to one half. We're home.

Negative powers, and the one rebel: 1/x

Now a negative power: the integral of x to the negative two. Careful: negative two plus one is negative one, not negative three. Divide by negative one: x to the negative one over negative one, which cleans up to negative one over x, plus C. Now here's the catch: n equals negative one. That's x to the negative one, which is one over x.

Run the power rule: x to the zero, over zero.

Watch this part of the concept lesson

Read the rest of this scene

Division by zero. The power rule breaks on the very fraction we want most. So think back to derivatives. Ask it the other way: whose derivative is one over x? Natural log. So one over x gets its own rule: the integral of one over x is the natural log of the absolute value of x, plus C.

Why the bars in ln|x|

Why the absolute value bars? Plain ln x only lives where x is positive. But one over x is perfectly fine for negative x too. For negative x, minus x is positive, so ln of minus x makes sense. The chain rule gives one over minus x, times negative one, which is one over x again.

So ln x works on the right, ln of minus x works on the left, and ln of absolute x covers both sides in one package.

Watch this part of the concept lesson

Read the rest of this scene

Never drop the bars. Only when the problem tells you x is positive can you write plain ln x.

Basic rules: derivatives read backward

Take a breath. Not one rule here is new. Each line is a derivative you already know, read backward. e to the x is its own derivative, so its integral is e to the x, plus C. The derivative of a to the x is a to the x times ln a, so here we divide by ln a. The derivative of sine is cosine, so the integral of cosine is sine.

Careful here: the derivative of cosine is negative sine.

Watch this part of the concept lesson

Read the rest of this scene

So the integral of sine is negative cosine. Tangent's derivative is secant squared, so secant squared integrates to tangent. Secant's derivative is secant tangent, so that integrates to secant. The co-functions carry minus signs: cosecant squared integrates to negative cotangent, and cosecant cotangent integrates to negative cosecant. Doubt a sign? Differentiate your answer.

And the inverse trig pair: one over one plus x squared gives arctangent, and one over the square root of one minus x squared gives arcsine.

No rule fits? Rewrite first

Here's one that matches nothing on the list: x squared plus one, over root x. There's no quotient rule for integrals. So rewrite first. Root x is x to the one half; divide each term on top by it. That gives x to the three halves, plus x to the negative one half.

Now it's the power rule, term by term: two fifths x to the five halves, plus two x to the one half, since dividing by one half doubles it. Plus C.

Watch this part of the concept lesson

Read the rest of this scene

One honest warning. Some functions, like e to the negative x squared, have no antiderivative you can write as an elementary formula. One still exists, though: the accumulation function, the integral from zero to x of e to the negative t squared, d t.

Example 1: divide first

Example one. Find the integral of four x cubed minus six x, all over x squared, d x. The plan: divide first, then integrate rule by rule. There's no quotient rule, so don't integrate top and bottom. Split over the single denominator: each term on top gets its own x squared.

Four x cubed over x squared is four x.

Watch this part of the concept lesson

Read the rest of this scene

Six x over x squared is six over x. Eyes on the second term. Negative six over x is negative six times one over x. That's our rebel, n equals negative one: no power rule, it's ln of absolute x. Now term by term: four x integrates to two x squared, minus six ln of absolute x, plus C.

Here's a two-second habit: differentiate the answer. Four x minus six over x matches the split integrand exactly. Problem three in your workbook is another fraction. Divide first, then integrate.

Common mistakes: the fraction trap

Here's the trap on fractions. The fake move: integrate the top, integrate the bottom, divide. There's no such rule. Second: using the power rule on six over x, which divides by zero. Third and fourth: dropping the bars, or dropping plus C.

Do this instead. Divide first: four x minus six over x. Read negative six over x as negative six times one over x, so it becomes negative six ln of absolute x.

Watch this part of the concept lesson

Read the rest of this scene

Keep the bars, and finish with plus C: two x squared minus six ln absolute x, plus C.

Example 2: f from f' and one value

Example two, A. P. style. f prime of x is six over the square root of one minus x squared, plus two x. And f of zero is one. Which choice is f of one half? The plan has three steps: integrate with plus C, use the point to find C, then plug in one half.

The first term needs a rule from our list: the derivative of arcsine is one over the square root of one minus x squared.

Watch this part of the concept lesson

Read the rest of this scene

Pull the six out front: the first term integrates to six arcsine x. Two x integrates to x squared. And plus C. Now use f of zero equals one. Put zero into every term; don't guess.

Arcsine of zero is zero, zero squared is zero, so C equals one. So f of x is six arcsine x, plus x squared, plus one. Now x equals one half. Which angle between negative pi over two and pi over two has sine one half? Pi over six.

So f of one half is six times pi over six, plus one fourth, plus one, which is pi plus five fourths. That's choice B. And choice A, pi plus one fourth, is exactly what you get if you forget C. One more AP twist. Given f double prime, you integrate twice.

That's two constants, so you need two facts to pin them down. Problems four through six in your workbook do exactly this, with one fact and with two.

Worked examples

Example 1

Find ∫4x3−6xx2dx.
Hint

Plan: not ∫÷∫ → divide, each term

Answer and solution

Answer 2x2−6ln|x|+C

  1. 4x3−6xx2=4x−6x
  2. 1x=x−1: no power rule, it gives ln|x|.
  3. ∫(4x−6x)dx=2x2−6ln|x|+C
  4. Check: (2x2−6ln|x|)′=4x−6x.

Example 2

f′(x)=61−x2+2x and f(0)=1. f(12) is
  1. π+14
  2. π+54
  3. π6+54
  4. 2π+54
Hint

Antidifferentiate with +C; then f(0)=1 fixes C.

Answer and solution

Answer B. π+54

  1. f(x)=6arcsinx+x2+C
  2. f(0)=0+0+C=1→C=1
  3. f(12)=6⋅π6+14+1=π+54
  4. Answer B.

Workbook

Problem 1

Find ∫(6x2−4x+5)dx.
Hint

Power rule backward, term by term. Add C.

Answer and solution

Answer 2x3−2x2+5x+C

  1. ∫6x2dx=2x3,∫(−4x)dx=−2x2,∫5dx=5x
  2. ∫(6x2−4x+5)dx=2x3−2x2+5x+C

Common mistake Forgetting + C.

Watch the worked solution to Problem 1

Problem 2

∫(3cosx−2ex)dx=
  1. 3sinx−2ex+C
  2. −3sinx−2ex+C
  3. 3sinx−2xex−1+C
  4. −3sinx+2ex+C
Hint

∫cosxdx=sinx and ∫exdx=ex.

Answer and solution

Answer A. 3sinx−2ex+C

  1. ∫3cosxdx=3sinx,∫2exdx=2ex
  2. ∫(3cosx−2ex)dx=3sinx−2ex+C
  3. Answer A.

Common mistake Using -sin x as the antiderivative of cos x.

Watch the worked solution to Problem 2

Problem 4

If f′(x)=2sec2x−sinx and f(0)=3, then f(π4)=
  1. 4+22
  2. 2+22
  3. 6−22
  4. 3+22
Hint

f(x)=2tanx+cosx+C. Use f(0)=3.

Answer and solution

Answer A. 4+22

  1. f(x)=2tanx+cosx+C
  2. f(0)=0+1+C=3→C=2
  3. f(π4)=2+22+2=4+22
  4. Answer A.

Common mistake Using f(0) = 3 to set C = 3 without cos 0 = 1.

Watch the worked solution to Problem 4

Problem 5

A function f has f′′(x)=6x−4, f′(1)=2, and f(1)=3.
  1. Find f′(x).
  2. Find f(x).
  3. Find f(2).
Hint

Integrate twice; use f′(1)=2, then f(1)=3.

Answer and solution
  1. f′(x)=3x2−4x+3
  2. f(x)=x3−2x2+3x+1
  3. 7
  1. f′(x)=3x2−4x+C1,3−4+C1=2→C1=3
  2. f(x)=x3−2x2+3x+C2,1−2+3+C2=3→C2=1
  3. f(2)=8−8+6+1=7

Common mistake Using one C for both integrations.

Watch the worked solution to Problem 5

Problem 6

If F′(x)=1x for x<0 and F(−1)=2, then F(−e)=
  1. 1
  2. 3
  3. 2−e
  4. undefined
Hint

F(x)=ln|x|+C for x<0.

Answer and solution

Answer B. 3

  1. F(x)=ln|x|+C(x<0)
  2. F(−1)=ln1+C=2→C=2
  3. F(−e)=lne+2=3
  4. Answer B.

Common mistake Writing ln x, which is undefined for x < 0.

Watch the worked solution to Problem 6