What is the integral of #(2x)/(x^2 + 6x + 9)# using partial fractions or #u# substitution?
4 Answers
The answer is
Explanation:
There are 2 ways of performing this integral.
Let's do it by partial fractions
The denominators are the same, we compare the numerators
Let
Coefficients of
Therefore,
You can also, do
Hope that this is helpful
Explanation:
To be honest, I was on the same boat as you until you mentioned integration by partial fractions. That's when it clicked for me. If you had not mentioned partial fractions, I probably would not know how to have solved it. Here goes:
For partial fractions, you would first factor the denominator:
#x^2+6x+9=(x+3)^2#
Now you set it with variables A and B so that:
#A/(x+3) + B/(x+3)^2 = (2x)/(x+3)^2# (from integral)
(Remember to account for the multiplicity of the factor.)
Multiply everything by
#A(x+3) + B = 2x#
Let's distribute.
#Ax +(Axx3) + B = 2x#
This may lead somewhere. Let's set
#(Axx3) + B=0#
#3A=-B#
#A=-B/3#
Plug this in so that
#int (-B"/"3)/(x+3)dx +int B/(x+3)^2dx#
#-1/3int B/(x+3)dx +int B/(x+3)^2dx#
This would equal
To solve for B, set the equation as such:
#-B/3 ln |x+3| - B/(x+3) =int(2x)/(x^2+6x+9)dx#
Factor B:
#B(-1/3ln |x+3| - 1/(x+3))=int(2x)/(x^2+6x+9)dx#
Divide by
#B=(int(2x)/(x^2+6x+9)dx)/(-1/3ln |x+3| - 1/(x+3))#
Input this as B to get:
#-1/3((int(2x)/(x^2+6x+9)dx)/(-1/3ln |x+3| - 1/(x+3))) ln |x+3| - ((int(2x)/(x^2+6x+9)dx)/(-1/3ln |x+3| - 1/(x+3))) 1/(x+3)#
Phew! This is your final result, after you divide out the starting integral.
Let's do it your way (sort of):
Add 0 to the numerator in the form of +6-6:
We can break this into two fractions:
We can make this two integrals:
You know how to do the first integral:
let
Reverse the u substitution:
Let's factor the denominator in the integral:
Let
Write as a negative exponent:
Use the power rule to integrate:
Reverse the u substitution:
Explanation:
As:
you can also integrate by parts: