Note that the numerator and denominator are both quadratics.Integrate: \(\displaystyle \L\int{\,\frac{x^2\,+\,1}{(x\,+\,1)(x\,+\,2)}\,dx\)
Matt said:Sometimes long division isn't necessary, if you can make some good guesses. For example, one way to reduce the integrand (without long division) would be:
\(\displaystyle \L\qquad\begin{eqnarray*}
\frac{x^2+1}{(x+1)(x+2)}
&=&\frac{x^2+3x+2-(3x+1)}{(x+1)(x+2)}\\
&=&\frac{(x+1)(x+2)-(3x+1)}{(x+1)(x+2)}\\
&=&\frac{(x+1)(x+2)}{(x+1)(x+2)}-\frac{3x+1}{(x+1)(x+2)}\\
&=&1-\frac{3x+1}{(x+1)(x+2)}
\end{eqnarray*}\)
Of course, it wasn't really a guess we made in the first line. The motivation is to make \(\displaystyle (x+1)(x+2)=x^2+3x+2\) appear somewhere the numerator, which would enable us to cancel it out later (and that happens between the third and fourth lines).
To check an integration, differentiate and see if you get what you started with.refid said:x - 5ln(x+2) - 2ln(x+1)+ C <-------- can any1 tell me if it is correct?
stapel said:To check an integration, differentiate and see if you get what you started with.refid said:x - 5ln(x+2) - 2ln(x+1)+ C <-------- can any1 tell me if it is correct?
. . . . .f(x) = x - 5 ln(x + 2) - 2 ln(x + 1) + C
. . . . .f'(x) = 1 - 5/(x + 2) - 2/(x + 1)
. . . . .. . . .= [(x + 2)(x + 1) - 5(x + 1) - 2(x + 2)] / [(x + 2)(x + 1)]
. . . . .. . . .= [x<sup>2</sup> + 2x + 3x + 2 - 5x - 5 - 2x - 4] / [(x + 2)(x + 1)]
. . . . .. . . .= [x<sup>2</sup> - 3x - 7] / [(x + 2)(x + 1)]
Is that what you started with?
Eliz.
1) Practice.refid said:Do u have and hints or tips on when to use integration by parts, substitution, or partial fractions? like recognizing when to use each method.