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 can rewrite the integrand: use long division to divide the denominator into the
numerator to give an expression that is more easily integrable.
This is shown below.
Rewriting:
Use long division to divide the denominator into the
numerator to rewrite the integral:
(x2 + 3x)/(x + 2)
=
x + 1 - 2/(x + 2).
This can be broken into separate integrals,

(
x2 + 3
x)/(
x + 2)
dx
=
xdx+

1
dx+

-2/(
x + 2)
dx
which can be evaluated using
basic antidifferentiation,
basic antidifferentiation, and
substitution,
respectively, to obtain
xdx+

1
dx+

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