Calculus Examples

Find the Antiderivative 1/(x^2+x-2)
Step 1
Write as a function.
Step 2
The function can be found by finding the indefinite integral of the derivative .
Step 3
Set up the integral to solve.
Step 4
Write the fraction using partial fraction decomposition.
Tap for more steps...
Step 4.1
Decompose the fraction and multiply through by the common denominator.
Tap for more steps...
Step 4.1.1
Factor using the AC method.
Tap for more steps...
Step 4.1.1.1
Consider the form . Find a pair of integers whose product is and whose sum is . In this case, whose product is and whose sum is .
Step 4.1.1.2
Write the factored form using these integers.
Step 4.1.2
For each factor in the denominator, create a new fraction using the factor as the denominator, and an unknown value as the numerator. Since the factor in the denominator is linear, put a single variable in its place .
Step 4.1.3
For each factor in the denominator, create a new fraction using the factor as the denominator, and an unknown value as the numerator. Since the factor in the denominator is linear, put a single variable in its place .
Step 4.1.4
Multiply each fraction in the equation by the denominator of the original expression. In this case, the denominator is .
Step 4.1.5
Cancel the common factor of .
Tap for more steps...
Step 4.1.5.1
Cancel the common factor.
Step 4.1.5.2
Rewrite the expression.
Step 4.1.6
Cancel the common factor of .
Tap for more steps...
Step 4.1.6.1
Cancel the common factor.
Step 4.1.6.2
Rewrite the expression.
Step 4.1.7
Simplify each term.
Tap for more steps...
Step 4.1.7.1
Cancel the common factor of .
Tap for more steps...
Step 4.1.7.1.1
Cancel the common factor.
Step 4.1.7.1.2
Divide by .
Step 4.1.7.2
Apply the distributive property.
Step 4.1.7.3
Move to the left of .
Step 4.1.7.4
Cancel the common factor of .
Tap for more steps...
Step 4.1.7.4.1
Cancel the common factor.
Step 4.1.7.4.2
Divide by .
Step 4.1.7.5
Apply the distributive property.
Step 4.1.7.6
Move to the left of .
Step 4.1.7.7
Rewrite as .
Step 4.1.8
Move .
Step 4.2
Create equations for the partial fraction variables and use them to set up a system of equations.
Tap for more steps...
Step 4.2.1
Create an equation for the partial fraction variables by equating the coefficients of from each side of the equation. For the equation to be equal, the equivalent coefficients on each side of the equation must be equal.
Step 4.2.2
Create an equation for the partial fraction variables by equating the coefficients of the terms not containing . For the equation to be equal, the equivalent coefficients on each side of the equation must be equal.
Step 4.2.3
Set up the system of equations to find the coefficients of the partial fractions.
Step 4.3
Solve the system of equations.
Tap for more steps...
Step 4.3.1
Solve for in .
Tap for more steps...
Step 4.3.1.1
Rewrite the equation as .
Step 4.3.1.2
Subtract from both sides of the equation.
Step 4.3.2
Replace all occurrences of with in each equation.
Tap for more steps...
Step 4.3.2.1
Replace all occurrences of in with .
Step 4.3.2.2
Simplify the right side.
Tap for more steps...
Step 4.3.2.2.1
Simplify .
Tap for more steps...
Step 4.3.2.2.1.1
Simplify each term.
Tap for more steps...
Step 4.3.2.2.1.1.1
Multiply by .
Step 4.3.2.2.1.1.2
Rewrite as .
Step 4.3.2.2.1.2
Subtract from .
Step 4.3.3
Solve for in .
Tap for more steps...
Step 4.3.3.1
Rewrite the equation as .
Step 4.3.3.2
Divide each term in by and simplify.
Tap for more steps...
Step 4.3.3.2.1
Divide each term in by .
Step 4.3.3.2.2
Simplify the left side.
Tap for more steps...
Step 4.3.3.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 4.3.3.2.2.1.1
Cancel the common factor.
Step 4.3.3.2.2.1.2
Divide by .
Step 4.3.3.2.3
Simplify the right side.
Tap for more steps...
Step 4.3.3.2.3.1
Move the negative in front of the fraction.
Step 4.3.4
Replace all occurrences of with in each equation.
Tap for more steps...
Step 4.3.4.1
Replace all occurrences of in with .
Step 4.3.4.2
Simplify the right side.
Tap for more steps...
Step 4.3.4.2.1
Multiply .
Tap for more steps...
Step 4.3.4.2.1.1
Multiply by .
Step 4.3.4.2.1.2
Multiply by .
Step 4.3.5
List all of the solutions.
Step 4.4
Replace each of the partial fraction coefficients in with the values found for and .
Step 4.5
Simplify.
Tap for more steps...
Step 4.5.1
Multiply the numerator by the reciprocal of the denominator.
Step 4.5.2
Multiply by .
Step 4.5.3
Multiply the numerator by the reciprocal of the denominator.
Step 4.5.4
Multiply by .
Step 4.5.5
Move to the left of .
Step 5
Split the single integral into multiple integrals.
Step 6
Since is constant with respect to , move out of the integral.
Step 7
Let . Then . Rewrite using and .
Tap for more steps...
Step 7.1
Let . Find .
Tap for more steps...
Step 7.1.1
Differentiate .
Step 7.1.2
By the Sum Rule, the derivative of with respect to is .
Step 7.1.3
Differentiate using the Power Rule which states that is where .
Step 7.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 7.1.5
Add and .
Step 7.2
Rewrite the problem using and .
Step 8
The integral of with respect to is .
Step 9
Since is constant with respect to , move out of the integral.
Step 10
Since is constant with respect to , move out of the integral.
Step 11
Let . Then . Rewrite using and .
Tap for more steps...
Step 11.1
Let . Find .
Tap for more steps...
Step 11.1.1
Differentiate .
Step 11.1.2
By the Sum Rule, the derivative of with respect to is .
Step 11.1.3
Differentiate using the Power Rule which states that is where .
Step 11.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 11.1.5
Add and .
Step 11.2
Rewrite the problem using and .
Step 12
The integral of with respect to is .
Step 13
Simplify.
Step 14
Substitute back in for each integration substitution variable.
Tap for more steps...
Step 14.1
Replace all occurrences of with .
Step 14.2
Replace all occurrences of with .
Step 15
The answer is the antiderivative of the function .