With f(x)=cos(x) and g(x)=ex, we have
fg¢=ex cos(x), or
with f(x)=ex and g(x)=sin(x), we have again
fg¢=ex cos(x).
We will follow through both of these.
ó õ
ex cos(x) dx
=
ex cos(x) -
ó õ
ex ·(-sin(x)) dx
=
excos(x) +
ó õ
ex sin(x) dx.
It is not clear that this is an improvement, as we are left with
an integral of the same type. We now perform another integration
by parts, using f(x)=sin(x) and g(x)=ex. This gives fg¢ = ex sin(x). Thus
ó õ
ex sin(x) dx
=
ex sin(x) -
ó õ
ex cos(x),
so that our original antiderivative is
ó õ
ex cos(x) dx
=
ex cos(x) +
ó õ
ex sin(x)
=
ex cos(x) +(ex sin(x) -
ó õ
ex cos(x))
=
ex cos(x) +exsin(x) -
ó õ
ex cos(x).
It is still not clear that this is an improvement. However, a
little algebra helps out here. Add òex cos(x) dx to both
sides of the equation to get
2
ó õ
excos(x) dx
=
excos(x) +exsin(x) +C
=
ex (cos(x) +sin(x)) +C,
so that
ó õ
excos(x) dx =
ex
2
(cos(x) +sin(x)) +C.
Again, one can check the verity of this by differentiating.
Similar is
ó õ
excos(x) dx
=
exsin(x) -
ó õ
exsin(x) dx.
We have already seen the trick of integrating by parts twice, and
we perform this again. Using f(x)=exp(x) and g(x)=-cos(x),
we have fg¢=exsin(x). Thus
ó õ
exsin(x) dx
=
-excos(x) -
ó õ
ex(-cos(x)) dx,
so that our original antiderivative is
ó õ
excos(x) dx
=
exsin(x) -
ó õ
exsin(x) dx
=
exsin(x) -(-excos(x) -
ó õ
ex(-cos(x)))
=
exsin(x) +excos(x) -
ó õ
excos(x) dx.
Again, add òexcos(x) dx to both sides of the equation to
get
2
ó õ
excos(x) dx
=
exsin(x) +excos(x) +C
=
ex(sin(x) +cos(x)) +C,
so that
ó õ
excos(x) dx =
ex
2
(sin(x) +cos(x)) +C.
This is the same as above.
File translated from
TEX
by
TTH,
version 3.33. On 09 Jan 2004, 02:52.