First, we factor the denominator on the right side:
x2+x−2=(x+2)(x−1).
The given equation can be written as:
x−12x−6−x+1x+2=(x+2)(x−1)3x+4
To eliminate the fractions, we multiply both sides of the equation by (x−1)(x+1)(x+2),
but since (x+2)(x−1)=x2+x−2 is in the denominator on the right side of the original equation, we multiply both sides of the equation by (x−1)(x+1)(x+2)=(x+1)(x2+x−2)=(x+2)(x2−1):
(2x−6)(x+1)−(x+2)(x−1)=3x+4
2x2+2x−6x−6−(x2−x+2x−2)=3x+4
2x2−4x−6−(x2+x−2)=3x+4
2x2−4x−6−x2−x+2=3x+4
x2−5x−4=3x+4
x2−5x−3x−4−4=0
x2−8x−8=0
We use the quadratic formula to solve for x:
x=2a−b±b2−4ac
In this case, a=1, b=−8, and c=−8.
x=2(1)−(−8)±(−8)2−4(1)(−8)
x=28±64+32
x=28±96
x=28±16×6
x=28±46
x=4±26
The domain of the equation requires that x=1, x=−1, and x=−2. Since 4+26≈8.9 and 4−26≈−0.9, neither solution is extraneous.