How do you integrate # (x^3+x^2+2x+1)/((x^2+1)(x^2+2))# using partial fractions?

2 Answers
May 9, 2018

# int \ (x^3+x^2+2x+1)/((x^2+1)(x^2+2)) \ dx = 1/2ln(x^2+1) + sqrt(2)/2 arctan(x/sqrt(2)) + c #

Explanation:

We seek:

# I = int \ (x^3+x^2+2x+1)/((x^2+1)(x^2+2)) \ dx #

We may be tempted to factorise the given factors in the denominator into complex factors. Although this would work it is inadvisable as its cumbersome and possibly beyond the ability of students studying partial fractions.

Therefore we leave the factors and the partial fraction decomposition of the integrand would be of the form:

# (x^3+x^2+2x+1)/((x^2+1)(x^2+2)) -= (Ax+B)/(x^2+1) + (Cx+D)/(x^2+2) #

Where #A,B,C,D# are constant coefficients to be determined. Which leads to:

# x^3+x^2+2x+1 -= (Ax+B)(x^2+2) + (Cx+D)(x^2+1) #

And by comparing coefficients, we get:

# Coeff(x^3): A+B=1 #
# Coeff(x^2): B+D=1#
# Coeff(x^1): 2A+C=2#
# Coeff(x^0): 2B+D=1 #

And solving these simultaneously we obtain:

#A=1,B=0,C=0,D=1#

Allowing us to write:

# I = int \ (x)/(x^2+1) + (1)/(x^2+2) \ dx#

# \ \ = int \ (x)/(x^2+1) \ dx + int \ (1)/(x^2+2) \ dx#

Consider the first integral:

# I_1 = int \ (x)/(x^2+1) \ dx #

We can perform a substitution:

# u = x^2+1 => (du)/dx = 2x #

so that:

# I_1 = int \ (1/2)/(u) \ du #
# \ \ \ = 1/2ln|u| +C #

And restoration of the substitution gives:

# I_1 = 1/2ln|x^2+1| + C#
# \ \ \ = 1/2ln(x^2+1) + C#

Now, Consider the second integral:

# I_2 = int \ (1)/(x^2+2) \ dx #

We can perform a substitution:

# sqrt(2)u = x => sqrt(2)(du)/dx = 1 #

so that:

# I_2 = int \ (1)/(2u^2+2) \ sqrt(2) \ du #
# \ \ \ = sqrt(2)/2 \ int \ 1/(u^2+1) \ du #
# \ \ \ = sqrt(2)/2 arctan(u) + C' #

And restoration of the substitution gives:

# I_2 = sqrt(2)/2 arctan(x/sqrt(2)) + C' #

Combining these results, we get:

# I = 1/2ln(x^2+1) + sqrt(2)/2 arctan(x/sqrt(2)) + c #

May 9, 2018

#I=1/2ln(x^2+1)+sqrt2/2tan^-1(x/sqrt2)+c#

Explanation:

#"The answer given by"color(blue)" Steve M."# is best and applied to this type of all question.But in INDIA we give some tips to students about time saving methods. Students can easily obtain partial fractions.

We have,

#I=int(x^3+x^2+2x+1)/((x^2+1)(x^2+2))dx#

#=int(x^3+2x+x^2+1)/((x^2+1)(x^2+2))dx#

#=int(x(x^2+2)+(x^2+1))/((x^2+1)(x^2+2))dx#

#=int(x(x^2+2))/((x^2+1)(x^2+2))dx+int(x^2+1)/((x^2+1) (x^2+2))dx#

#=intx/(x^2+1)dx+int1/(x^2+2)dx#

#=1/2int(2x)/(x^2+1)dx+int1/(x^2+(sqrt2)^2)dx#

#=1/2int(d/(dx)(x^2+1))/(x^2+1)dx+1/sqrt2tan^-1(x/sqrt2)#

#=1/2ln(x^2+1)+sqrt2/2tan^-1(x/sqrt2)+c#
Note:

This method can use for a question of the form:

#I=int(x^3+x^2+color(red)mx+color(red)n)/((x^2+color(red)m)(x^2+color(red)n))dx,where, color(red)m,color(red)n inZZ#

#=int(x^3+mx+x^2+n)/((x^2+m)(x^2+n))dx#

#=int(x(x^2+m)+(x^2+n))/((x^2+m)(x^2+n))dx#

#=intx/(x^2+n)dx+int1/(x^2+m)dx#

#=1/2int(2x)/(x^2+n)dx+int1/(x^2+(sqrtm)^2)dx#

#=1/2ln(x^2+n)+1/sqrtmtan^-1(x/sqrtm)+c#

Teachers can use this form to give several questions for practice by choosing different values of m and n.