document.write( "Question 229536: Evaluate the following indefinite integral:
\n" ); document.write( "(5)/(x^(2)-x-6) dx (use partial fractions)
\n" ); document.write( "

Algebra.Com's Answer #170163 by jsmallt9(3758)\"\" \"About 
You can put this solution on YOUR website!
To integrate by partial fractions, you need to factor the denominator:
\n" ); document.write( "\"int%285%2F%28x%5E2-x-6%29%2C+dx%29+=+int%285%2F%28%28x-3%29%28x%2B2%29%29%2C+dx%29\"
\n" ); document.write( "Next we want to rewrite the integrand as a sum of fractions where the denominators of the fractions are the factors of the current denominator. (This is a little more complicated if you have an exponent with a exponent of 2 or more. Fortunately we are not faced with this.) So we want to rewrite \"5%2F%28%28x-3%29%28x%2B2%29%29\" as \"A%2F%28x-3%29+%2B+B%2F%28x%2B2%29\" We just have to figure out what values for A and B make this work. To figure this out we need to think, how would we add \"A%2F%28x-3%29+%2B+B%2F%28x%2B2%29\"? Answer: Get the denominators the same and then add. Now we have to ask: How do we get the denominators the same? Answer: Multiply the numerator and denominator of each fraction by the other fraction's denominator. In our case:
\n" ); document.write( "
\n" ); document.write( "And we want \"%28A%28x%2B2%29+%2B+B%28x-3%29%29%2F%28%28x-3%29%28x%2B2%29%29\" to add up to \"5%2F%28%28x-3%29%28x%2B2%29%29\". This will be true if \"%28A%28x%2B2%29+%2B+B%28x-3%29%29+=+5\". (If you prefer formulas instead of all this logic, here is one that will work for a fraction with two factors in the denominator with no factor having an exponent of 2 or more:
\n" ); document.write( "(A*(B's denominator) + B*(A's denominator) = (current numerator)

\n" ); document.write( "We can solve this equation. Simplify:
\n" ); document.write( "\"Ax+%2B+2A+%2B+Bx+-3B+=+5\"
\n" ); document.write( "Grouping the variable and constant terms and factoring:
\n" ); document.write( "\"%28Ax+%2B+Bx%29+%2B+%282A+%2B+%28-3B%29%29+=+5\"
\n" ); document.write( "\"%28A+%2B+B%29x+%2B+%282A+%2B+%28-3B%29%29+=+5\"
\n" ); document.write( "Since the right side has no x term, the left side must have one either. This will be true if
\n" ); document.write( "A + B = 0
\n" ); document.write( "The right side has a constant term of 5 so the left side must have a constant term of 5:
\n" ); document.write( "2A + (-3B) = 5
\n" ); document.write( "We can now solve this system of A and B. Solving the first equation for B we get:
\n" ); document.write( "B = -A
\n" ); document.write( "Substituting this into the other equation we get:
\n" ); document.write( "2A + (-3(-A)) = 5
\n" ); document.write( "2A + 3A = 5
\n" ); document.write( "5A = 5
\n" ); document.write( "A = 1
\n" ); document.write( "B = -A = -(1)
\n" ); document.write( "Finally we have our partial fractions!
\n" ); document.write( "
\n" ); document.write( "The new integrals are relatively easy. They are ln's:
\n" ); document.write( "
\n" ); document.write( "Using a properties of logarithms and absolute values, we can combine the the two ln's:
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );