How do you integrate #int (x+4) / (x^2-x-2) dx# using partial fractions?

Answer 1

#2ln|x - 2| - ln|x + 1| + C#

The trinomial #x^2 - x - 2# can be factored as #(x - 2)(x + 1)#.
#A/(x- 2) + B/( x+ 1) = (x + 4)/((x - 2)(x + 1))#
#A(x+ 1) + B(x- 2) = x + 4#
#Ax + A + Bx - 2B = x + 4#
#(A + B)x + (A - 2B) = x + 4#

Write a system of equations:

#{(A + B = 1), (A - 2B = 4):}#
#B = 1 - A -> A - 2(1 - A) = 4#
#A - 2 + 2A = 4#
#3A = 6#
#A = 2#
#B = 1 - A = 1 - 2 = -1#

The partial fraction decomposition is therefore:

#2/(x - 2) - 1/(x + 1)#
This can be integrated as #2ln|x - 2| - ln|x + 1| + C#

Hopefully this helps!

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer 2

I got the same answer in a bit of a different approach.

#2ln|x-2| - ln|x+1| + C#

Sometimes if you can do something to simplify the problem, try it.

As an alternative answer, consider the following trick:

#int (x+4)/(x^2 - x - 2)dx#
#= int (x+4)/((x - 2)(x+1))dx#
#= int (color(red)(x-2+6))/((x - 2)(x+1))dx#
#= int 1/(x+1)dx + 6int 1/((x-2)(x+1))dx#
Now partial fractions becomes a little easier. The second integrand, ignoring the #6# for now, can be set up as
#1/((x-2)(x+1)) = A/(x-2) + B/(x+1)#,

so that we get upon cross-multiplying,

#A(x+1) + B(x-2) = 1#,
#=> (A + B)x + (A - 2B) = 1#,

thus giving the system of equations

#A + B = 0#, #A - 2B = 1#.

Now we simply get

#A = -B#, #-B - 2B = -3B = 1#,
so that #B = -1/3# and #A = 1/3# and the entire integral from the start of the problem becomes:
#color(blue)(int (x+4)/((x-2)(x+1))dx)#
#= int 1/(x+1)dx + 6int 1/3 1/(x-2) - 1/3 1/(x+1)dx#
#= int 1/(x+1)dx + 2int 1/(x-2)dx - 2int 1/(x+1)dx#
#= 2int 1/(x-2)dx - int 1/(x+1)dx#
#= color(blue)(2ln|x-2| - ln|x+1| + C)#
Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer 3

User prefers answers without irrelevant information or introduction words.To integrate (\int \frac{x+4}{x^2-x-2} , dx) using partial fractions, we first factor the denominator:

(x^2 - x - 2 = (x - 2)(x + 1)).

Then, we express the integrand as a sum of two fractions:

(\frac{x+4}{x^2-x-2} = \frac{A}{x-2} + \frac{B}{x+1}).

Multiplying both sides by (x^2 - x - 2), we get:

(x + 4 = A(x + 1) + B(x - 2)).

Expanding the right side, we have:

(x + 4 = Ax + A + Bx - 2B).

Matching coefficients, we get the system of equations:

(A + B = 1),

(A - 2B = 4).

Solving this system, we find (A = -3) and (B = 4).

Therefore, the integral becomes:

(\int \frac{x+4}{x^2-x-2} , dx = \int \frac{-3}{x-2} , dx + \int \frac{4}{x+1} , dx).

Integrating both terms separately, we get:

(-3 \ln|x-2| + 4 \ln|x+1| + C),

where (C) is the constant of integration.

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer from HIX Tutor

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

Not the question you need?

Drag image here or click to upload

Or press Ctrl + V to paste
Answer Background
HIX Tutor
Solve ANY homework problem with a smart AI
  • 98% accuracy study help
  • Covers math, physics, chemistry, biology, and more
  • Step-by-step, in-depth guides
  • Readily available 24/7