Let
be a differentiable function of
,
.
The indefinite integral is
.
Rewrite the integral as
.
Consider
.
Write the expression (
) into perfect suare trinomial.
Add and subtract
coefficient of the expression.

Thus, the integral can be written as
.
Let
, then
.
Substitute
and
in
.

Apply formula :
.

Replace
with
.

.
.