Ch2-1 Integrals
Ch2-1 Integrals
The problem we set in this lesson is the following: given a function f , is there a function F
such that F 0 = f ?
Definition 1.1. We say that the function F : [a, b] → R is differentiable in the interval
[a, b], if F is differentiable in (a, b) and the two following limits exist and are finite
F (a + h) − F (a) F (a + h) − F (a)
F 0 (a+ ) := lim and F 0 (b− ) := lim .
h→0+ h h→0− h
We say that F is of class C 1 in [a, b] if the derivative of order 1 of F is continuous in [a, b].
√
Example 1.2. The function F (x) = x is differentiable in [0, 1], but G(x) = x is not, since
G0 (0+ ) = ∞.
Definition 1.3. The function F is an antiderivative (or primitive) of the function f on the
interval I if and only if F 0 (x) = f (x) for all x ∈ I.
Example 1.4. Both F1 (x) = x3 + 6 and F2 (x) = x3 − 2 are antiderivatives of f (x) = 3x2
in any interval [a, b].
Theorem 1.5. If F1 and F2 are two arbitrary antiderivatives of f on I, then F1 (x)−F2 (x) =
const. on I.
Definition 1.7. The set of all antiderivatives of the function f on the interval I is called
the indefinite integral of f on I, and it is denoted
Z
f (x) dx.
R
Remark 1.8. Note that by Corollary 1.6, f (x) dx = F (x) + C, where F is one of the
antiderivatives of f on I, and C is an arbitrary constant.
(2) Since (sin x)0 = cos x, we have cos xdx = sin x + C. The antiderivative of f (x) =
R
cos x that takes the value −5 at the point x = π/2 is F (x) = sin x − 6 (this comes
from the equality sin π/2 + C = −5).
(3) Not every function has an antiderivative in a given interval. Let the function
−1, if x < 0;
sgn(x) = 0, if x = 0;
1, if x > 0;
and the interval I = [−2, 2]. If F is an antiderivative of sgn in this interval, then
F 0 (x) = −1 for x ∈ [−2, 0) and F 0 (x) = 1 for x ∈ (0, 2]. Thus, F (x) = −x + C1 for
x ∈ [−2, 0), and F (x) = x + C2 for x ∈ (0, 2]. Since that F has to be continuous
in the interval [−2, 2], it has to be continuous at 0, thus F (0) = C1 = C2 . Hence,
F (x) = |x| + C for all x ∈ [−2, 2]. But F is not differentiable at 0, so we obtain a
contradiction.
xa+1
Z
(3) xa dx = +C (a 6= −1);
a+1
Z
dx
(4) = ln |x| + C (x 6= 0);
x
ax
Z Z
(5) ax dx = +C (0 < a 6= 1), ex dx = ex + C;
ln a
Z
(6) sin x dx = − cos x + C;
Z
(7) cos x dx = sin x + C;
Z
1 π
(8) dx = tan x + C (x 6= + kπ, k integer);
cos2 x 2
Z
dx
(9) √ = arcsin x + C (−1 < x < 1);
1 − x2
Z
dx
(10) = arctan x + C.
1 + x2
Theorem 2.1. Let I, J two intervals of R and let ϕ : J → R be of class C 1 in J, such that
ϕ(J) ⊆ I. Let f : I → R be continuous and suppose that F is an antiderivative of f on the
interval I. Then the function F (ϕ(t)) is an antiderivative of the function f (ϕ(t))ϕ0 (t) and
hence
Z
f (ϕ(t))ϕ0 (t)dt = F (ϕ(t)) + C.
This is the formula of change of variable. If the function x = ϕ(t) admits and inverse
t = ϕ−1 (x), then the formula can be rewritten
Z Z
0
f (x)dx = f (ϕ(t))ϕ (t)dt ,
t=ϕ−1 (x)
R
which is the formula generally used to evaluate the integral f (x)dx by the method of
change of variable.
4 II.1 CALCULUS OF PRIMITIVES
Z
Example 2.3. Find tan x dx.
Solution: Let t = cos x. Then dt = − sin x dx. Hence, by the formula of change of variable
Z Z Z
sin x dt
tan x dx = dx = − = − ln |t| + C = − ln | cos x| + C.
cos x t
√
Z
Example 2.4. Find 2x − 1 dx.
√
Z
Example 2.5. Find x 2x − 1 dx.
3. Integration by parts
For differentiable functions u and v we have (uv)0 = uv 0 + vu0 . Taking integrals and given
that (uv)0 (x) dx = u(x)v(x), we have the following formula of integration by parts.
R
Remark 3.2. This relation is known as the formula of integration by parts. Using the
identifications u0 (x) dx = du and v 0 (x) dx = dv we can write this formula as
Z Z
u dv = uv − v du.
Z
Example 3.3. Find xex dx.
Z
Example 3.4. Find x2 ln x dx.
Solution: Let u = ln x and dv = x2 dx. Notice that du = dx/x and v = x3 /3. Then,
using the formula of integration by parts we get
Z 3 Z 3 3 Z 3
2 x x x 1 2 x 1
x ln x dx = ln x − dx = ln x − x dx = ln x − x3 + C.
3 3x 3 3 3 9
Z
Example 3.5. Find arctan x dx.
4.1. Decomposition into simple fractions. If n ≥ m the fraction is improper and can
be represented
Pn (x) Rk (x)
= Pn−m (x) + ,
Qm (x) Qm (x)
where the degree of the polynomial Rk is k < m. Thus, the integration of an improper frac-
tion can be reduced to the integration of a proper fraction (k < m) and a polynomial.
Z Z Z
Pn (x) Rk (x)
dx = Pn−m (x) dx + dx.
Qm (x) Qm (x)
Example 4.1.
x3 + x2 + x
Z Z Z
1
dx = (x + 1) dx − dx,
x2 + 1 x2 + 1
because dividing the polynomials we find
x3 + x2 + x 1
2
=x+1− 2 .
x +1 x +1
Then
x3 + x2 + x
Z
1
dx = (x + 1)2 − arctan x + C.
x2 + 1 2
When n < m, we will use the following theorem. It asserts that any proper fraction can be
decomposed into simple fractions. Although we establish the theorem with full generality,
only the simplest cases will be worked on in the course.
II.1 CALCULUS OF PRIMITIVES 7
Pn (x)
Theorem 4.2. Suppose that is an proper fraction (n < m) and that
Qm (x)
The fractions which appear on the right–hand side are simple fractions and the relation is
the decomposition of a proper rational fraction into a sum of simple fractions.
4.2. Integrals of the simple fractions. Each of the partial fractions can be integrated
in terms of elementary functions:
R A
(1) x−a dx = A ln |x − a| + C,
R A A 1
(2) (x−a) α dx = 1−α (x−a)α−1 + C, (α 6= 1),
M x+N M M p+N x−p
ln ((x − p)2 + q 2 ) +
R
(3) (x−p)2 +q 2
dx = 2 q arctan q + C.
M x+N M 1
R R
(4) ((x−p)2 +q 2 )n
dx = − 2(n−1)((x−p)2 +q 2 )n−1 + (M p + N ) ((x−p)2 +q 2 )n
dx.
Z
1
Example 4.3. Find dx.
x2 − 5x + 6
where R is a rational function, can be reduced to the integral of a rational function of the
class studied above. To this end, the universal change of variable
x
t = tan , −π < x < π
2
is used. It can be shown that
2t 1 − t2 2dt
sin x = , cos x = , dx = .
1 + t2 1 + t2 1 + t2
Usually, this change of variable leads to cumbersome calculations There are cases where the
simplification does not require the change above.
• When R is odd in sin x, R(− sin x, cos x) = −R(sin x, cos x), use
• When R is even in both variables, R(− sin x, − cos x) = R(sin x, cos x), use
t = tan x.
in this case
t 1 dt
sin x = √ , sin x = √ , dx = .
1 + t2 1 + t2 1 + t2
II.1 CALCULUS OF PRIMITIVES 9
R R R
• Integrals of the kind sin ax cos bxdx, sin ax sin bxdx and cos ax cos bxdx, where
a, b ∈ R, reduce to immediate integrals with the trigonometric formulae