Running differentiation backwards#
Differentiation takes a quantity and gives you its rate of change. Integration runs the film backwards: you are handed the rate, and you have to recover the quantity. We will define the indefinite integral, collect the standard integrals you should know by heart, and then learn two everyday methods, substitution and the use of trigonometric identities.
Antiderivatives#
F F F is an antiderivative of f f f if F ′ ( x ) = f ( x ) F'(x) = f(x) F ′ ( x ) = f ( x ) . Any two antiderivatives differ only by a constant, which is why we always write
∫ f ( x ) d x = F ( x ) + C . \displaystyle \int f(x)\,dx = F(x) + C. ∫ f ( x ) d x = F ( x ) + C .
Integration is also linear, so you can split sums and pull out constants: ∫ ( a f + b g ) d x = a ∫ f d x + b ∫ g d x \displaystyle \int (af + bg)\,dx = a\int f\,dx + b\int g\,dx ∫ ( a f + b g ) d x = a ∫ f d x + b ∫ g d x .
Standard integrals#
Each of these carries its own + C + C + C . Four more that come up constantly: ∫ tan x d x = log ∣ sec x ∣ \displaystyle \int\tan x\,dx = \log\lvert\sec x\rvert ∫ tan x d x = log ∣ sec x ∣ , ∫ cot x d x = log ∣ sin x ∣ \displaystyle \int\cot x\,dx = \log\lvert\sin x\rvert ∫ cot x d x = log ∣ sin x ∣ , ∫ sec x d x = log ∣ sec x + tan x ∣ \displaystyle \int\sec x\,dx = \log\lvert\sec x + \tan x\rvert ∫ sec x d x = log ∣ sec x + tan x ∣ , ∫ csc x d x = log ∣ csc x − cot x ∣ \displaystyle \int\csc x\,dx = \log\lvert\csc x - \cot x\rvert ∫ csc x d x = log ∣ csc x − cot x ∣ .
Example 1. ∫ ( 4 x 3 − 3 x + 2 e x ) d x = x 4 − 3 log ∣ x ∣ + 2 e x + C \displaystyle \int\left(4x^3 - \tfrac{3}{x} + 2e^x\right)dx = x^4 - 3\log\lvert x \rvert + 2e^x + C ∫ ( 4 x 3 − x 3 + 2 e x ) d x = x 4 − 3 log ∣ x ∣ + 2 e x + C .
Example 2. ∫ x 2 + 3 x − 1 x d x = ∫ ( x 3 / 2 + 3 x 1 / 2 − x − 1 / 2 ) d x = 2 5 x 5 / 2 + 2 x 3 / 2 − 2 x 1 / 2 + C \displaystyle \int\frac{x^2 + 3x - 1}{\sqrt{x}}\,dx = \int(x^{3/2} + 3x^{1/2} - x^{-1/2})\,dx = \tfrac{2}{5}x^{5/2} + 2x^{3/2} - 2x^{1/2} + C ∫ x x 2 + 3 x − 1 d x = ∫ ( x 3/2 + 3 x 1/2 − x − 1/2 ) d x = 5 2 x 5/2 + 2 x 3/2 − 2 x 1/2 + C .
Example 3. Find f f f with f ′ ( x ) = 6 x 2 − 4 f'(x) = 6x^2 - 4 f ′ ( x ) = 6 x 2 − 4 and f ( 1 ) = 3 f(1) = 3 f ( 1 ) = 3 . Integrating, f ( x ) = 2 x 3 − 4 x + C f(x) = 2x^3 - 4x + C f ( x ) = 2 x 3 − 4 x + C , and the condition gives C = 5 C = 5 C = 5 .
All antiderivatives are vertical shifts of one another; the condition f(1) = 3 picks C = 5.
Substitution#
Here is the sign to look for: the integrand contains some function together with its derivative. When you spot that, put t t t = that function, and the integral usually becomes one from the table.
Example 4. ∫ 2 x cos ( x 2 ) d x \displaystyle \int 2x\cos(x^2)\,dx ∫ 2 x cos ( x 2 ) d x . Put t = x 2 t = x^2 t = x 2 , so d t = 2 x d x dt = 2x\,dx d t = 2 x d x , and the answer is sin ( x 2 ) + C \sin(x^2) + C sin ( x 2 ) + C .
Example 5. ∫ e tan − 1 x 1 + x 2 d x = e tan − 1 x + C \displaystyle \int\frac{e^{\tan^{-1}x}}{1 + x^2}\,dx = e^{\tan^{-1}x} + C ∫ 1 + x 2 e t a n − 1 x d x = e t a n − 1 x + C .
Example 6. ∫ ( log x ) 3 x d x = ( log x ) 4 4 + C \displaystyle \int\frac{(\log x)^3}{x}\,dx = \tfrac{(\log x)^4}{4} + C ∫ x ( log x ) 3 d x = 4 ( l o g x ) 4 + C . ∫ 3 x 2 x 3 + 5 d x = log ∣ x 3 + 5 ∣ + C \displaystyle \int\frac{3x^2}{x^3 + 5}\,dx = \log\lvert x^3 + 5 \rvert + C ∫ x 3 + 5 3 x 2 d x = log ∣ x 3 + 5 ∣ + C .
Example 7. ∫ ( 3 x + 2 ) 5 d x = ( 3 x + 2 ) 6 18 + C \displaystyle \int(3x + 2)^5\,dx = \tfrac{(3x + 2)^6}{18} + C ∫ ( 3 x + 2 ) 5 d x = 18 ( 3 x + 2 ) 6 + C .
Using trigonometric identities#
Example 8. Powers of sine and cosine are best lowered with double-angle formulas. ∫ sin 2 x d x = ∫ 1 − cos 2 x 2 d x = x 2 − sin 2 x 4 + C \displaystyle \int\sin^2 x\,dx = \int\tfrac{1 - \cos 2x}{2}\,dx = \tfrac{x}{2} - \tfrac{\sin 2x}{4} + C ∫ sin 2 x d x = ∫ 2 1 − c o s 2 x d x = 2 x − 4 s i n 2 x + C .
Example 9. A product of sines and cosines turns into a sum: ∫ sin 5 x cos 2 x d x = 1 2 ∫ ( sin 7 x + sin 3 x ) d x = − cos 7 x 14 − cos 3 x 6 + C \displaystyle \int\sin 5x\cos 2x\,dx = \tfrac{1}{2}\int(\sin 7x + \sin 3x)\,dx = -\tfrac{\cos 7x}{14} - \tfrac{\cos 3x}{6} + C ∫ sin 5 x cos 2 x d x = 2 1 ∫ ( sin 7 x + sin 3 x ) d x = − 14 c o s 7 x − 6 c o s 3 x + C .
Example 10. ∫ sin 3 x d x = ∫ ( 1 − cos 2 x ) sin x d x = − cos x + cos 3 x 3 + C \displaystyle \int\sin^3 x\,dx = \int(1 - \cos^2 x)\sin x\,dx = -\cos x + \tfrac{\cos^3 x}{3} + C ∫ sin 3 x d x = ∫ ( 1 − cos 2 x ) sin x d x = − cos x + 3 c o s 3 x + C .
Try these yourself#
∫ ( 5 x 4 + 2 x − 7 ) d x \displaystyle \int(5x^4 + 2x - 7)\,dx ∫ ( 5 x 4 + 2 x − 7 ) d x ; ∫ ( x + 1 x ) 2 d x \displaystyle \int\left(\sqrt{x} + \tfrac{1}{\sqrt{x}}\right)^2dx ∫ ( x + x 1 ) 2 d x ; ∫ ( 2 sin x − 3 sec 2 x ) d x \displaystyle \int(2\sin x - 3\sec^2 x)\,dx ∫ ( 2 sin x − 3 sec 2 x ) d x .
Find f f f if f ′ ( x ) = 3 cos x − 2 e x f'(x) = 3\cos x - 2e^x f ′ ( x ) = 3 cos x − 2 e x and f ( 0 ) = 4 f(0) = 4 f ( 0 ) = 4 .
∫ sin ( log x ) x d x \displaystyle \int\frac{\sin(\log x)}{x}\,dx ∫ x sin ( log x ) d x ; ∫ cos x sin x d x \displaystyle \int\frac{\cos x}{\sqrt{\sin x}}\,dx ∫ sin x cos x d x ; ∫ x e x 2 d x \displaystyle \int xe^{x^2}\,dx ∫ x e x 2 d x .
∫ 2 x + 3 x 2 + 3 x + 7 d x \displaystyle \int\frac{2x + 3}{x^2 + 3x + 7}\,dx ∫ x 2 + 3 x + 7 2 x + 3 d x ; ∫ tan 3 x sec 2 x d x \displaystyle \int\tan^3 x\sec^2 x\,dx ∫ tan 3 x sec 2 x d x ; ∫ 1 x log x d x \displaystyle \int\frac{1}{x\log x}\,dx ∫ x log x 1 d x .
∫ cos 2 3 x d x \displaystyle \int\cos^2 3x\,dx ∫ cos 2 3 x d x ; ∫ sin 4 x sin 2 x d x \displaystyle \int\sin 4x\sin 2x\,dx ∫ sin 4 x sin 2 x d x ; ∫ cos 3 x d x \displaystyle \int\cos^3 x\,dx ∫ cos 3 x d x .
∫ d x 1 + cos x \displaystyle \int\frac{dx}{1 + \cos x} ∫ 1 + cos x d x (multiply by 1 − cos x 1 - \cos x 1 − cos x ).
∫ sin − 1 x 1 − x 2 d x \displaystyle \int\frac{\sin^{-1}x}{\sqrt{1 - x^2}}\,dx ∫ 1 − x 2 sin − 1 x d x .
∫ sin 2 x cos 2 x d x \displaystyle \int\sqrt{\sin 2x}\cos 2x\,dx ∫ sin 2 x cos 2 x d x .
Answers to check against#
Show answers
x 5 + x 2 − 7 x + C x^5 + x^2 - 7x + C x 5 + x 2 − 7 x + C ; x 2 2 + 2 x + log ∣ x ∣ + C \displaystyle \tfrac{x^2}{2} + 2x + \log\lvert x \rvert + C 2 x 2 + 2 x + log ∣ x ∣ + C ; − 2 cos x − 3 tan x + C -2\cos x - 3\tan x + C − 2 cos x − 3 tan x + C .
3 sin x − 2 e x + 6 3\sin x - 2e^x + 6 3 sin x − 2 e x + 6 .
− cos ( log x ) + C -\cos(\log x) + C − cos ( log x ) + C ; 2 sin x + C 2\sqrt{\sin x} + C 2 sin x + C ; e x 2 2 + C \displaystyle \tfrac{e^{x^2}}{2} + C 2 e x 2 + C .
log ∣ x 2 + 3 x + 7 ∣ + C \log\lvert x^2 + 3x + 7 \rvert + C log ∣ x 2 + 3 x + 7 ∣ + C ; tan 4 x 4 + C \displaystyle \tfrac{\tan^4 x}{4} + C 4 t a n 4 x + C ; log ∣ log x ∣ + C \log\lvert\log x\rvert + C log ∣ log x ∣ + C .
x 2 + sin 6 x 12 + C \displaystyle \tfrac{x}{2} + \tfrac{\sin 6x}{12} + C 2 x + 12 s i n 6 x + C ; sin 2 x 4 − sin 6 x 12 + C \displaystyle \tfrac{\sin 2x}{4} - \tfrac{\sin 6x}{12} + C 4 s i n 2 x − 12 s i n 6 x + C ; sin x − sin 3 x 3 + C \displaystyle \sin x - \tfrac{\sin^3 x}{3} + C sin x − 3 s i n 3 x + C .
∫ 1 − cos x sin 2 x d x = − cot x + csc x + C \displaystyle \int\tfrac{1 - \cos x}{\sin^2 x}dx = -\cot x + \csc x + C ∫ s i n 2 x 1 − c o s x d x = − cot x + csc x + C .
( sin − 1 x ) 2 2 + C \displaystyle \tfrac{(\sin^{-1}x)^2}{2} + C 2 ( s i n − 1 x ) 2 + C .
( sin 2 x ) 3 / 2 3 + C \displaystyle \tfrac{(\sin 2x)^{3/2}}{3} + C 3 ( s i n 2 x ) 3/2 + C .