To find an antiderivative of
f(
x), we go through
our list of integration methods:
- Recognize elementary antiderivatives
- Rewrite the integrand to make it easier
- Use substitution to reverse the chain rule or simplify the
integrand
- Use integration by parts
- Use inspection to see the value of a definite
integral
to find one that works for this integrand. In this case,
only one method is appropriate. We use substitution to rewrite the integrand in terms of
w = ln(
x).
This is shown below.
Substitution:
Let
w = ln(
x). Then
w' = 1/
x, so
dw = (1/
x)
dx.
The integral can therefore be rewritten as

cos(ln(
x))/
x dx =

cos(
w)
dw =
sin(
w) +
C
Thus, substituting back for
w,

cos(ln(
x))/
x dx =
sin(ln(
x)) +
C
To evaluate the definite integral, we take this antiderivative,
evaluate it at the endpoints of the integral (1 and 2),
and take the difference of the values. This gives
[ sin(ln((2))) ] - [ sin(ln((1))) ] = sin(ln(2)).