They rest on ∫f′(x)dx=f(x)+k: every known derivative, read backwards, gives an integral. To check an integral, differentiate the result and verify you recover the integrand: always do it.
Powers. For α=−1: D(xα+1)=(α+1)xα, so dividing by the constant α+1=0:
∫xαdx=α+1xα+1+k.Examples.∫x3dx=4x4+k; ∫xdx=3/2x3/2+k=32xx+k.
The case α=−1.x1 is defined on two separate intervals. On ]0,+∞[, Dlogx=x1; on ]−∞,0[, Dlog(−x)=−x1⋅(−1)=x1. Together:
∫x1dx=log∣x∣+kon ]−∞,0[ or on ]0,+∞[.Example.∫1ex1dx=[log∣x∣]1e=1.
Table of immediate integrals
(k∈R; each formula holds on the intervals where the integrand is defined.)
Integral
Result
∫xαdx, α=−1
α+1xα+1+k
∫x1dx
log∣x∣+k
∫eαxdx, α=0
α1eαx+k
∫sinxdx
−cosx+k
∫cosxdx
sinx+k
∫cos2x1dx=∫(1+tan2x)dx
tanx+k
∫1−x21dx, −1<x<1
arcsinx+k
∫1−x2−1dx, −1<x<1
arccosx+k
∫1+x21dx
arctanx+k
∫sinhxdx
coshx+k
∫coshxdx
sinhx+k
∫x2+11dx
arsinhx+k=log(x+x2+1)+k
∫x2−11dx, x>1
arcoshx+k=log(x+x2−1)+k
∫cosh2x1dx
tanhx+k
Example (linearity).∫(3x2−x2+5cosx)dx=x3−2log∣x∣+5sinx+k (check: the derivative is 3x2−x2+5cosx).
Remark.arcsinx and −arccosx have the same derivative, so they differ by a constant: indeed arcsinx+arccosx=2π. No contradiction.
There are no "integration rules". With derivatives, rules for sums, products, quotients and compositions give the derivative of any function. For integrals nothing similar exists: no formula for ∫fg or ∫g(f(x))dx in terms of ∫f and ∫g. There are only methods: linearity, substitution, integration by parts. Moreover some continuous functions, such as e−x2 or xsinx, have an antiderivative (by FTC 2) that cannot be written with elementary functions.
Integration by substitution
It is the chain rule read backwards:
D[G(f(x))]=G′(f(x))⋅f′(x).
If the integrand has the form "a function of f(x), times f′(x)", i.e. g(f(x))f′(x), and G is an antiderivative of g, then G(f(x)) is an antiderivative.
Theorem. Let g:[a,b]→R be continuous and f:[c,d]→[a,b] of class C1.
(1)∫g(f(x))f′(x)dx=∫g(y)dy=G(y)+k=G(f(x))+k, with y=f(x), dy=f′(x)dx, G an antiderivative of g.
(1') For definite integrals:
∫cdg(f(x))f′(x)dx=∫f(c)f(d)g(y)dy=G(f(d))−G(f(c)).
Example.∫2xcos(x2)dx: with y=x2, dy=2xdx, ∫cosydy=siny+k=sin(x2)+k.
The symbol dy=f′(x)dx comes formally from dxdy=f′(x); it is a reminder of what to substitute for f′(x)dx. In (1') the new variable runs from f(c) to f(d): the limits change, and one does not go back to x.
Proof of (1).G′=g, so by the chain rule D[G(f(x))]=g(f(x))f′(x). (1') follows from (1) and FTC 1. ■
Substitution backwards. If f is invertible, read right to left: to compute ∫g(y)dy put y=f(x), x=f−1(y), dy=f′(x)dx:
∫g(y)dy=∫g(f(x))f′(x)dx=F(x)+k=F(f−1(y))+k,
with F an antiderivative of g(f(x))f′(x); for definite integrals ∫abg(y)dy=[F(x)]x=f−1(a)x=f−1(b). Example.∫y(1+y)dy with y=x2 (x>0): ∫x(1+x2)2xdx=2arctanx+k=2arctany+k. Useful when the integral in x is easier than the one in y.
How to recognise it
Look for an "inner" function f(x)whose derivative appears (up to a multiplicative constant) as a factor.
Example 1.∫xsin(logx)dx: inner function logx, derivative x1 present. With y=logx: ∫sinydy=−cos(logx)+k.
If the derivative is present only up to a constant, multiply and divide by it: ∫xex2dx=21∫2xex2dx=21ex2+k.
Warning: only a constant can be adjusted, never a function of x. ∫ex2dx cannot be done this way: the factor 2x is missing and x cannot be moved out of the integral.
Immediate integrals by substitution
Integral
Result
∫f(x)αf′(x)dx, α=−1
α+1f(x)α+1+k
∫f(x)f′(x)dx
log∣f(x)∣+k
∫eαf(x)f′(x)dx, α=0
α1eαf(x)+k
∫sin(f(x))f′(x)dx
−cos(f(x))+k
∫cos(f(x))f′(x)dx
sin(f(x))+k
∫1−f(x)2f′(x)dx
arcsin(f(x))+k
∫1+f(x)2f′(x)dx
arctan(f(x))+k
∫sinh(f(x))f′(x)dx
cosh(f(x))+k
∫cosh(f(x))f′(x)dx
sinh(f(x))+k
∫f(x)2+1f′(x)dx
log(f(x)+f(x)2+1)+k
∫f(x)2−1f′(x)dx
log(f(x)+f(x)2−1)+k
∫cosh2(f(x))f′(x)dx
tanh(f(x))+k
Example.∫x2+12xdx=log(x2+1)+k. The second row is the most used: numerator = derivative of the denominator gives the logarithm of the denominator. E.g. ∫tanxdx=−∫cosx−sinxdx=−log∣cosx∣+k. Substitution is the first method to think of.
Definite integrals: two equivalent ways
For ∫13xex2dx:
Way A (antiderivative, then FTC 1).G=21ex2, so [21ex2]13=21(e9−e).
Way B (change the limits, formula (1')). With y=x2: x=1↦y=1, x=3↦y=9; 21∫19eydy=21(e9−e).
Do not mix the two ways: changing variable and keeping the old limits, or going back to x after changing the limits.
Integration by parts
Theorem. Let f,g∈C1([a,b]). Then
(1)∫f(x)g′(x)dx=f(x)g(x)−∫f′(x)g(x)dx,
(1')∫abf(x)g′(x)dx=[f(x)g(x)]ab−∫abf′(x)g(x)dx.
Example.∫xexdx with f=x, g′=ex: xex−∫exdx=ex(x−1)+k.
One factor is to be differentiated (f) and one integrated (g′, with a known antiderivative g). The price is a new integral ∫f′g, which must be easier than the original.
Proof of (1). From D(fg)=f′g+fg′, integrate both sides (the indefinite integral is linear): fg+k=∫f′g+∫fg′. Move ∫f′g to the left. (1') follows from (1) and FTC 1. ■
Try substitution first; if it fails, try parts. Three typical classes.
Class 1: elementary functions that are not immediate integrals
logx, arcsinx, arctanx: write them as the function times 1, with f the function (simple derivative) and g′=1 (g=x).
Example.∫logxdx: f=logx, g′=1, f′=x1, g=x:
∫logxdx=xlogx−∫x1⋅xdx=xlogx−x+k.
It works because the logarithm becomes x1, which cancels with x.
Class 2: "circular" integrals (squares of sin, cos, sinh, cosh)
Example.∫cos2xdx: f=cosx, g′=cosx, f′=−sinx, g=sinx:
∫cos2xdx=cosxsinx+∫sin2xdx=cosxsinx+∫(1−cos2x)dx=cosxsinx+x−∫cos2xdx.
The original integral reappears on the right with a minus sign. Moving it to the left like an unknown:
2∫cos2xdx=x+sinxcosx+k⟹∫cos2xdx=2x+sinxcosx+k.
(If it reappeared with a plus sign and coefficient 1, it would cancel and nothing would be obtained.) For sinh, cosh use cosh2x−sinh2x=1.
Class 3: products of different elementary functions
∫eαxsin(βx)dx, ∫eαxcos(βx)dx, ∫xneαxdx, ∫xnsin(βx)dx, ∫xncos(βx)dx are not done by substitution.
xn times exponential/sine/cosine:differentiate the polynomial (f=xn) and integrate the other factor; the degree drops by 1 each time and after n steps the polynomial disappears.
Exponential times sine/cosine: neither factor simplifies, but after two steps (choosing always the same kind of factor to differentiate) the original integral reappears: again a circular integral.
Common mistakes
Forgetting to substitute dx: all of f′(x)dx becomes dy and no x must remain.
In definite integrals, not changing the limits after the substitution.
"Adjusting" a non-constant factor by multiplying and dividing by a function of x.
Poor choice of f and g′: if ∫f′g is harder, swap. E.g. in ∫xexdx with f=ex, g′=x one gets ∫2x2exdx, worse.
In circular integrals, swapping the choice at the second step (return to I=I).
Forgetting the minus sign in front of ∫f′g; using α+1xα+1 with α=−1; writing logx instead of log∣x∣; wrong sign in ∫sinx=−cosx.
Versione ripasso
Check any antiderivative by differentiating. No integration rules exist, only methods (linearity, substitution, parts); some antiderivatives are not elementary (e−x2).
Substitution. Chain rule backwards: ∫g(f(x))f′(x)dx=∫g(y)dy=G(f(x))+k, y=f(x), dy=f′(x)dx. Definite: ∫cd=∫f(c)f(d)g(y)dy (change the limits, do not return to x).
Constants may be adjusted, functions of x not (∫ex2 no): ∫xex2=21ex2+k.
Backwards: y=f(x) invertible, ∫g(y)dy=F(f−1(y))+k; e.g. y=x2 gives ∫y(1+y)dy=2arctany.
∫13xex2dx=21(e9−e) either by the antiderivative or with limits 1 to 9.
Parts.∫fg′=fg−∫f′g; ∫abfg′=[fg]ab−∫abf′g (from D(fg)=f′g+fg′). Differentiate one factor, integrate the other; the new integral must be easier.
logx, arcsinx, arctanx: function times 1. ∫logx=xlogx−x+k.
Circular: ∫cos2x=cosxsinx+x−∫cos2x, so ∫cos2x=2x+sinxcosx+k; ∫sin2=2x−sinxcosx; ∫sinh2=2sinhxcoshx−x; ∫cosh2=2sinhxcoshx+x.
xn× exponential/sine/cosine: differentiate xn (n steps). Exponential times sine/cosine: two steps, same role each time, circular.
Typical mistakes. Not substituting all of dx; not changing the limits; adjusting by a function of x; swapping roles in circular integrals; missing minus sign; α=−1 in the power rule; logx instead of log∣x∣.