Lemonmath
Tiếng Việt

Antiderivatives

Lesson 4.1 · 20 min read · Updated

A car is travelling at 2020 m/s when the driver brakes. From that moment, its velocity after tt seconds is v(t)=20−5tv(t)=20-5t (m/s), and the car comes to a stop after 44 seconds. How many metres does it travel in those 44 seconds?

You might think: 20⋅4=8020\cdot 4=80 m. But the car keeps slowing down, so the distance must be less. To answer, we need to run differentiation backwards.

What is an antiderivative?

Explore: which functions have derivative 2x2x?

In grade 11 we learnt to differentiate. Now we ask the reverse question: if the derivative is 2x2x, what was the function?

Function F(x)F(x) x2x^2 x2+1x^2+1 x2−5x^2-5 x2+3x^2+\sqrt3
Derivative F′(x)F'(x) 2x2x 2x2x 2x2x 2x2x

There are many answers, but they differ only by a constant, because the derivative of a constant is 00. In the car problem, the velocity is the derivative of the distance, so we need a function s(t)s(t) with s′(t)=20−5ts'(t)=20-5t.

Why is it true? If G(x)G(x) is another antiderivative, then (G(x)−F(x))′=f(x)−f(x)=0\big(G(x)-F(x)\big)'=f(x)-f(x)=0 on KK. A function whose derivative is 00 on a whole interval neither increases nor decreases, so it is a constant: G(x)−F(x)=CG(x)-F(x)=C.

The symbol ∫f(x) dx\displaystyle\int f(x)\,dx is read "the indefinite integral of ff"; it stands for the whole family of antiderivatives. Every function that is continuous on KK has an antiderivative on KK. The definition also gives ∫f′(x) dx=f(x)+C\displaystyle\int f'(x)\,dx=f(x)+C.

The table and the rules

Each row of this table is a derivative formula read backwards. You can check every row by differentiating the right-hand side.

Function f(x)f(x) Indefinite integral ∫f(x) dx\displaystyle\int f(x)\,dx
00 CC
11 x+Cx+C
xαx^{\alpha} (α≠−1)(\alpha\neq-1) xα+1α+1+C\dfrac{x^{\alpha+1}}{\alpha+1}+C
1x\dfrac{1}{x} ln⁡∣x∣+C\ln\lvert x\rvert+C
exe^x ex+Ce^x+C
axa^x (0<a≠1)(0<a\neq1) axln⁡a+C\dfrac{a^x}{\ln a}+C
cos⁡x\cos x sin⁡x+C\sin x+C
sin⁡x\sin x −cos⁡x+C-\cos x+C
1cos⁡2x\dfrac{1}{\cos^2x} tan⁡x+C\tan x+C
1sin⁡2x\dfrac{1}{\sin^2x} −cot⁡x+C-\cot x+C

Notice the minus sign in the sin⁡x\sin x row: since (cos⁡x)′=−sin⁡x(\cos x)'=-\sin x, to get sin⁡x\sin x we must take −cos⁡x-\cos x.

Both rules hold because differentiation follows the same rules. With them, we find the antiderivative of a sum one term at a time.

With roots and fractions, we rewrite them as powers before using the table.

Next come exponential and trigonometric functions. Watch every sign.

Many functions are not in the table, but a small rearrangement puts them there.

The antiderivative that meets a condition

A family of antiderivatives has infinitely many members. When we are given one more value, such as F(0)=5F(0)=5, we substitute it to find exactly one constant CC.

Graphically, each constant CC gives one graph, and these graphs are vertical translations of one another. The condition F(x0)=y0F(x_0)=y_0 picks out the one graph through the point (x0,y0)(x_0, y_0).

-3-2-123-2246xyOC = 2C = 0C = -2
Three antiderivatives of f(x)=2xf(x)=2x

From velocity to distance

If s(t)s(t) is the distance an object has travelled after tt seconds, its velocity is v(t)=s′(t)v(t)=s'(t). So s(t)s(t) is an antiderivative of v(t)v(t). In the same way, the velocity is an antiderivative of the acceleration. Now we can answer the question about the car.

Key terms

Summary

  • FF is an antiderivative of ff on KK when F′(x)=f(x)F'(x)=f(x) for every x∈Kx\in K.
  • Every antiderivative has the form F(x)+CF(x)+C; we write ∫f(x) dx=F(x)+C\displaystyle\int f(x)\,dx=F(x)+C.
  • The table to remember: xα→xα+1α+1x^\alpha\to\dfrac{x^{\alpha+1}}{\alpha+1} (α≠−1\alpha\neq-1), 1x→ln⁡∣x∣\dfrac1x\to\ln\lvert x\rvert, ex→exe^x\to e^x, ax→axln⁡aa^x\to\dfrac{a^x}{\ln a}, cos⁡x→sin⁡x\cos x\to\sin x, sin⁡x→−cos⁡x\sin x\to-\cos x, 1cos⁡2x→tan⁡x\dfrac1{\cos^2x}\to\tan x, 1sin⁡2x→−cot⁡x\dfrac1{\sin^2x}\to-\cot x.
  • Constant factors, sums and differences split apart; products do not.
  • Given F(x0)=y0F(x_0)=y_0, substitute it to find CC.
  • Distance is an antiderivative of velocity; always check by differentiating.

Practice

Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.

Exercise 1

Find ∫(4x3−6x+7) dx\displaystyle\int(4x^3-6x+7)\,dx.

What you need and how to start

What you need: ∫xαdx=xα+1α+1+C\displaystyle\int x^\alpha dx=\frac{x^{\alpha+1}}{\alpha+1}+C and the rule for sums.

Steps:

  1. Find the antiderivative of each term.
  2. Add a constant CC and check by differentiating.
Show solution

∫(4x3−6x+7) dx=4⋅x44−6⋅x22+7x+C=x4−3x2+7x+C\displaystyle\int(4x^3-6x+7)\,dx=4\cdot\frac{x^4}{4}-6\cdot\frac{x^2}{2}+7x+C=x^4-3x^2+7x+C.

Answer. x4−3x2+7x+Cx^4-3x^2+7x+C.

Exercise 2

Find ∫(3x+1x2)dx\displaystyle\int\left(3\sqrt x+\frac1{x^2}\right)dx on (0,+∞)(0, +\infty).

What you need and how to start

What you need: write x=x12\sqrt x=x^{\frac12} and 1x2=x−2\dfrac{1}{x^2}=x^{-2}, then use the power formula.

Steps:

  1. Rewrite as powers.
  2. Apply the formula to each term.
Show solution

∫(3x12+x−2)dx=3⋅x3232+x−1−1+C=2xx−1x+C\displaystyle\int\left(3x^{\frac12}+x^{-2}\right)dx=3\cdot\frac{x^{\frac32}}{\frac32}+\frac{x^{-1}}{-1}+C=2x\sqrt x-\frac1x+C.

Answer. 2xx−1x+C2x\sqrt x-\dfrac1x+C.

Exercise 3

Find ∫(5ex−2sin⁡x+1sin⁡2x)dx\displaystyle\int\left(5e^x-2\sin x+\frac{1}{\sin^2x}\right)dx.

What you need and how to start

What you need: the exe^x, sin⁡x\sin x and 1sin⁡2x\dfrac{1}{\sin^2x} rows of the table.

Steps:

  1. Write the antiderivative of each term, watching the two minus signs.
  2. Put them together and add CC.
Show solution

∫(5ex−2sin⁡x+1sin⁡2x)dx=5ex−2(−cos⁡x)+(−cot⁡x)+C=5ex+2cos⁡x−cot⁡x+C\displaystyle\int\left(5e^x-2\sin x+\frac{1}{\sin^2x}\right)dx=5e^x-2(-\cos x)+(-\cot x)+C=5e^x+2\cos x-\cot x+C.

Answer. 5ex+2cos⁡x−cot⁡x+C5e^x+2\cos x-\cot x+C.

Exercise 4

Find ∫(2x−1)2 dx\displaystyle\int(2x-1)^2\,dx.

What you need and how to start

What you need: do not find the antiderivative of a square by "squaring the antiderivative"; expand first.

Steps:

  1. Expand (2x−1)2=4x2−4x+1(2x-1)^2=4x^2-4x+1.
  2. Find the antiderivative of the polynomial.
Show solution

∫(4x2−4x+1) dx=4x33−2x2+x+C\displaystyle\int(4x^2-4x+1)\,dx=\frac{4x^3}{3}-2x^2+x+C.

Answer. 43x3−2x2+x+C\dfrac43x^3-2x^2+x+C.

Exercise 5

Consider f(x)=3x2+2cos⁡xf(x)=3x^2+2\cos x. Is each claim true or false?

a) F(x)=x3+2sin⁡xF(x)=x^3+2\sin x is an antiderivative of f(x)f(x).

b) F(x)=x3−2sin⁡x+5F(x)=x^3-2\sin x+5 is an antiderivative of f(x)f(x).

c) The antiderivative G(x)G(x) of f(x)f(x) with G(0)=1G(0)=1 is G(x)=x3+2sin⁡x+1G(x)=x^3+2\sin x+1.

d) For G(x)G(x) in c), G(π2)=π38+2G\left(\dfrac{\pi}{2}\right)=\dfrac{\pi^3}{8}+2.

What you need and how to start

What you need: FF is an antiderivative of ff when F′=fF'=f; the condition G(0)=1G(0)=1 fixes the constant CC.

Steps:

  1. Differentiate the functions in a) and b).
  2. Find CC in c), then substitute x=π2x=\dfrac{\pi}{2} for d).
Show solution

a) True: (x3+2sin⁡x)′=3x2+2cos⁡x(x^3+2\sin x)'=3x^2+2\cos x.

b) False: (x3−2sin⁡x+5)′=3x2−2cos⁡x≠f(x)(x^3-2\sin x+5)'=3x^2-2\cos x\neq f(x).

c) True: G(x)=x3+2sin⁡x+CG(x)=x^3+2\sin x+C and G(0)=C=1G(0)=C=1.

d) False: G(π2)=π38+2⋅1+1=π38+3G\left(\dfrac{\pi}{2}\right)=\dfrac{\pi^3}{8}+2\cdot1+1=\dfrac{\pi^3}{8}+3.

Answer. a) True; b) False; c) True; d) False.

Exercise 6

F(x)F(x) is the antiderivative of f(x)=4x3−2xf(x)=4x^3-2x with F(1)=3F(1)=3. Find F(2)F(2).

What you need and how to start

What you need: find the family of antiderivatives, then use F(1)=3F(1)=3 to find CC.

Steps:

  1. F(x)=x4−x2+CF(x)=x^4-x^2+C.
  2. Substitute x=1x=1 to find CC, then compute F(2)F(2).
Show solution

F(1)=1−1+C=3F(1)=1-1+C=3, so C=3C=3. Then F(2)=16−4+3=15F(2)=16-4+3=15.

Answer. 1515.

Exercise 7

A tank already holds 200200 litres of water. A pump is switched on, and tt minutes later the volume of water is changing at the rate V′(t)=6t+20V'(t)=6t+20 (litres per minute). How many litres are in the tank after 1010 minutes?

What you need and how to start

What you need: the volume V(t)V(t) is an antiderivative of V′(t)V'(t); at the start, V(0)=200V(0)=200.

Steps:

  1. Find V(t)=3t2+20t+CV(t)=3t^2+20t+C.
  2. Use V(0)=200V(0)=200 to find CC, then compute V(10)V(10).
Show solution

V(0)=C=200V(0)=C=200, so V(t)=3t2+20t+200V(t)=3t^2+20t+200 and V(10)=300+200+200=700V(10)=300+200+200=700.

Answer. 700700 litres.

Exercise 8 Review

An object moves in a straight line with velocity v(t)=12t−3t2v(t)=12t-3t^2 (m/s), 0≤t≤40\le t\le 4. Find its greatest velocity and the distance it travels in the first 44 seconds.

What you need and how to start

What you need: how to find a maximum on a closed interval (see maximum and minimum values); distance is an antiderivative of velocity.

Steps:

  1. Solve v′(t)=0v'(t)=0 and compare v(0)v(0), v(2)v(2), v(4)v(4).
  2. Find s(t)s(t) with s(0)=0s(0)=0, then compute s(4)s(4).
Show solution

v′(t)=12−6t=0  ⟺  t=2v'(t)=12-6t=0\iff t=2; v(0)=0v(0)=0, v(2)=12v(2)=12, v(4)=0v(4)=0. Since v(t)≥0v(t)\ge0 on [0,4][0, 4], the object never turns back, and s(t)=6t2−t3s(t)=6t^2-t^3 (because s(0)=0s(0)=0), so s(4)=96−64=32s(4)=96-64=32.

Answer. Greatest velocity 1212 m/s (at t=2t=2); distance 3232 m.

Exercise 9 Challenge

Find the function f(x)f(x) with f′′(x)=6x+2f''(x)=6x+2, f′(0)=1f'(0)=1 and f(0)=−1f(0)=-1.

What you need and how to start

What you need: f′f' is an antiderivative of f′′f'', and ff is an antiderivative of f′f' (second derivatives were met in grade 11).

Steps:

  1. Find f′(x)f'(x) and use f′(0)=1f'(0)=1 to find the first constant.
  2. Find f(x)f(x) and use f(0)=−1f(0)=-1 to find the second constant.
Show solution

f′(x)=3x2+2x+C1f'(x)=3x^2+2x+C_1 and f′(0)=C1=1f'(0)=C_1=1. Next, f(x)=x3+x2+x+C2f(x)=x^3+x^2+x+C_2 and f(0)=C2=−1f(0)=C_2=-1. Check: f′′(x)=6x+2f''(x)=6x+2.

Answer. f(x)=x3+x2+x−1f(x)=x^3+x^2+x-1.

Exercise 10 Challenge

Find ∫sin⁡2x2 dx\displaystyle\int\sin^2\frac{x}{2}\,dx.

What you need and how to start

What you need: the double-angle formula (grade 11): cos⁡x=1−2sin⁡2x2\cos x=1-2\sin^2\dfrac x2, so sin⁡2x2=1−cos⁡x2\sin^2\dfrac x2=\dfrac{1-\cos x}{2}.

Steps:

  1. Replace sin⁡2x2\sin^2\dfrac x2 by 12−12cos⁡x\dfrac12-\dfrac12\cos x.
  2. Find the antiderivative term by term.
Show solution

∫(12−12cos⁡x)dx=x2−12sin⁡x+C\displaystyle\int\left(\frac12-\frac12\cos x\right)dx=\frac x2-\frac12\sin x+C. Check: (x2−12sin⁡x)′=1−cos⁡x2=sin⁡2x2\left(\dfrac x2-\dfrac12\sin x\right)'=\dfrac{1-\cos x}{2}=\sin^2\dfrac x2.

Answer. x2−sin⁡x2+C\dfrac x2-\dfrac{\sin x}{2}+C.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. The indefinite integral of f(x)=3x2−sin⁡xf(x)=3x^2-\sin x is
Question 2. The indefinite integral of f(x)=2xf(x)=2^x is
Question 3. F(x)F(x) is the antiderivative of f(x)=2x+1f(x)=2x+1 with F(1)=5F(1)=5. The value of F(2)F(2) is
Question 4. A car brakes with velocity v(t)=15−3tv(t)=15-3t (m/s) until it stops. The distance it travels from braking until it stops is

Part II. True or false

Question 1. Consider f(x)=ex−2xf(x)=e^x-2x.
a) F(x)=ex−x2F(x)=e^x-x^2 is an antiderivative of f(x)f(x).
b) ∫f(x) dx=ex−2+C\displaystyle\int f(x)\,dx=e^x-2+C.
c) The antiderivative F(x)F(x) of f(x)f(x) with F(0)=3F(0)=3 is F(x)=ex−x2+2F(x)=e^x-x^2+2.
d) For F(x)F(x) in c), F(1)=e+1F(1)=e+1.

Part III. Short answer

Question 1. F(x)F(x) is the antiderivative of f(x)=6x2−4x+3f(x)=6x^2-4x+3 with F(0)=−2F(0)=-2. Find F(2)F(2).

Question 2. F(x)F(x) is the antiderivative of f(x)=ex+1xf(x)=e^x+\dfrac1x on (0,+∞)(0, +\infty) with F(1)=eF(1)=e. Find F(2)F(2). Give your answer to 1 decimal place.

Show answers and explanations
  1. Part I, question 1: A. ∫3x2dx=x3\displaystyle\int 3x^2dx=x^3 and ∫(−sin⁡x) dx=cos⁡x\displaystyle\int(-\sin x)\,dx=\cos x. B has the wrong sign, C differentiates 3x23x^2 instead of integrating it, and D forgets to divide by 33.
  2. Part I, question 2: B. (2xln⁡2)′=2xln⁡2ln⁡2=2x\left(\dfrac{2^x}{\ln2}\right)'=\dfrac{2^x\ln2}{\ln2}=2^x. A is the derivative of 2x2^x; C and D wrongly use the xαx^\alpha formula for an exponential.
  3. Part I, question 3: C. F(x)=x2+x+CF(x)=x^2+x+C and F(1)=2+C=5F(1)=2+C=5, so C=3C=3 and F(2)=4+2+3=9F(2)=4+2+3=9. A forgets to find CC, B takes C=5C=5, and D is f(2)f(2).
  4. Part I, question 4: B. The car stops at t=5t=5; s(t)=15t−3t22s(t)=15t-\dfrac{3t^2}{2}, so s(5)=75−37.5=37.5s(5)=75-37.5=37.5. A treats the velocity as constant, C has the wrong sign on the second term, and D forgets to divide t2t^2 by 22.
  5. Part II, question 1: a) True; b) False; c) True; d) True. a) True: (ex−x2)′=ex−2x(e^x-x^2)'=e^x-2x. b) False: ex−2e^x-2 is the derivative of ff, not an antiderivative. c) True: F(0)=1+C=3F(0)=1+C=3, so C=2C=2. d) True: e−1+2=e+1e-1+2=e+1.
  6. Part III, question 1: 12. F(x)=2x3−2x2+3x+CF(x)=2x^3-2x^2+3x+C and F(0)=C=−2F(0)=C=-2, so F(2)=16−8+6−2=12F(2)=16-8+6-2=12.
  7. Part III, question 2: 8.1. F(x)=ex+ln⁡x+CF(x)=e^x+\ln x+C and F(1)=e+C=eF(1)=e+C=e, so C=0C=0. Then F(2)=e2+ln⁡2≈7.389+0.693≈8.1F(2)=e^2+\ln2\approx7.389+0.693\approx8.1.