Calculus Examples

Solve the Differential Equation (x^2-1)(dy)/(dx)+2y=(x+1)^2
Step 1
Rewrite the differential equation as .
Tap for more steps...
Step 1.1
Divide each term in by .
Step 1.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.1
Cancel the common factor.
Step 1.2.2
Divide by .
Step 1.3
Factor out of .
Step 1.4
Reorder and .
Step 2
The integrating factor is defined by the formula , where .
Tap for more steps...
Step 2.1
Set up the integration.
Step 2.2
Integrate .
Tap for more steps...
Step 2.2.1
Since is constant with respect to , move out of the integral.
Step 2.2.2
Write the fraction using partial fraction decomposition.
Tap for more steps...
Step 2.2.2.1
Decompose the fraction and multiply through by the common denominator.
Tap for more steps...
Step 2.2.2.1.1
Factor the fraction.
Tap for more steps...
Step 2.2.2.1.1.1
Rewrite as .
Step 2.2.2.1.1.2
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 2.2.2.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 2.2.2.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 2.2.2.1.4
Multiply each fraction in the equation by the denominator of the original expression. In this case, the denominator is .
Step 2.2.2.1.5
Cancel the common factor of .
Tap for more steps...
Step 2.2.2.1.5.1
Cancel the common factor.
Step 2.2.2.1.5.2
Rewrite the expression.
Step 2.2.2.1.6
Cancel the common factor of .
Tap for more steps...
Step 2.2.2.1.6.1
Cancel the common factor.
Step 2.2.2.1.6.2
Rewrite the expression.
Step 2.2.2.1.7
Simplify each term.
Tap for more steps...
Step 2.2.2.1.7.1
Cancel the common factor of .
Tap for more steps...
Step 2.2.2.1.7.1.1
Cancel the common factor.
Step 2.2.2.1.7.1.2
Divide by .
Step 2.2.2.1.7.2
Apply the distributive property.
Step 2.2.2.1.7.3
Move to the left of .
Step 2.2.2.1.7.4
Rewrite as .
Step 2.2.2.1.7.5
Cancel the common factor of .
Tap for more steps...
Step 2.2.2.1.7.5.1
Cancel the common factor.
Step 2.2.2.1.7.5.2
Divide by .
Step 2.2.2.1.7.6
Apply the distributive property.
Step 2.2.2.1.7.7
Multiply by .
Step 2.2.2.1.8
Move .
Step 2.2.2.2
Create equations for the partial fraction variables and use them to set up a system of equations.
Tap for more steps...
Step 2.2.2.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 2.2.2.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 2.2.2.2.3
Set up the system of equations to find the coefficients of the partial fractions.
Step 2.2.2.3
Solve the system of equations.
Tap for more steps...
Step 2.2.2.3.1
Solve for in .
Tap for more steps...
Step 2.2.2.3.1.1
Rewrite the equation as .
Step 2.2.2.3.1.2
Subtract from both sides of the equation.
Step 2.2.2.3.2
Replace all occurrences of with in each equation.
Tap for more steps...
Step 2.2.2.3.2.1
Replace all occurrences of in with .
Step 2.2.2.3.2.2
Simplify the right side.
Tap for more steps...
Step 2.2.2.3.2.2.1
Simplify .
Tap for more steps...
Step 2.2.2.3.2.2.1.1
Multiply .
Tap for more steps...
Step 2.2.2.3.2.2.1.1.1
Multiply by .
Step 2.2.2.3.2.2.1.1.2
Multiply by .
Step 2.2.2.3.2.2.1.2
Add and .
Step 2.2.2.3.3
Solve for in .
Tap for more steps...
Step 2.2.2.3.3.1
Rewrite the equation as .
Step 2.2.2.3.3.2
Divide each term in by and simplify.
Tap for more steps...
Step 2.2.2.3.3.2.1
Divide each term in by .
Step 2.2.2.3.3.2.2
Simplify the left side.
Tap for more steps...
Step 2.2.2.3.3.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 2.2.2.3.3.2.2.1.1
Cancel the common factor.
Step 2.2.2.3.3.2.2.1.2
Divide by .
Step 2.2.2.3.4
Replace all occurrences of with in each equation.
Tap for more steps...
Step 2.2.2.3.4.1
Replace all occurrences of in with .
Step 2.2.2.3.4.2
Simplify the right side.
Tap for more steps...
Step 2.2.2.3.4.2.1
Multiply by .
Step 2.2.2.3.5
List all of the solutions.
Step 2.2.2.4
Replace each of the partial fraction coefficients in with the values found for and .
Step 2.2.2.5
Simplify.
Tap for more steps...
Step 2.2.2.5.1
Multiply the numerator by the reciprocal of the denominator.
Step 2.2.2.5.2
Multiply by .
Step 2.2.2.5.3
Move to the left of .
Step 2.2.2.5.4
Multiply the numerator by the reciprocal of the denominator.
Step 2.2.2.5.5
Multiply by .
Step 2.2.3
Split the single integral into multiple integrals.
Step 2.2.4
Since is constant with respect to , move out of the integral.
Step 2.2.5
Since is constant with respect to , move out of the integral.
Step 2.2.6
Let . Then . Rewrite using and .
Tap for more steps...
Step 2.2.6.1
Let . Find .
Tap for more steps...
Step 2.2.6.1.1
Differentiate .
Step 2.2.6.1.2
By the Sum Rule, the derivative of with respect to is .
Step 2.2.6.1.3
Differentiate using the Power Rule which states that is where .
Step 2.2.6.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.6.1.5
Add and .
Step 2.2.6.2
Rewrite the problem using and .
Step 2.2.7
The integral of with respect to is .
Step 2.2.8
Since is constant with respect to , move out of the integral.
Step 2.2.9
Let . Then . Rewrite using and .
Tap for more steps...
Step 2.2.9.1
Let . Find .
Tap for more steps...
Step 2.2.9.1.1
Differentiate .
Step 2.2.9.1.2
By the Sum Rule, the derivative of with respect to is .
Step 2.2.9.1.3
Differentiate using the Power Rule which states that is where .
Step 2.2.9.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.9.1.5
Add and .
Step 2.2.9.2
Rewrite the problem using and .
Step 2.2.10
The integral of with respect to is .
Step 2.2.11
Simplify.
Step 2.2.12
Substitute back in for each integration substitution variable.
Tap for more steps...
Step 2.2.12.1
Replace all occurrences of with .
Step 2.2.12.2
Replace all occurrences of with .
Step 2.2.13
Simplify.
Tap for more steps...
Step 2.2.13.1
Simplify each term.
Tap for more steps...
Step 2.2.13.1.1
Combine and .
Step 2.2.13.1.2
Combine and .
Step 2.2.13.2
Combine the numerators over the common denominator.
Step 2.2.13.3
Cancel the common factor of .
Tap for more steps...
Step 2.2.13.3.1
Cancel the common factor.
Step 2.2.13.3.2
Rewrite the expression.
Step 2.3
Remove the constant of integration.
Step 2.4
Use the logarithmic power rule.
Step 2.5
Use the product property of logarithms, .
Step 2.6
Exponentiation and log are inverse functions.
Step 2.7
Rewrite the expression using the negative exponent rule .
Step 2.8
Multiply by .
Step 3
Multiply each term by the integrating factor .
Tap for more steps...
Step 3.1
Multiply each term by .
Step 3.2
Simplify each term.
Tap for more steps...
Step 3.2.1
Combine and .
Step 3.2.2
Simplify the denominator.
Tap for more steps...
Step 3.2.2.1
Rewrite as .
Step 3.2.2.2
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 3.2.3
Combine and .
Step 3.2.4
Cancel the common factor of .
Tap for more steps...
Step 3.2.4.1
Factor out of .
Step 3.2.4.2
Cancel the common factor.
Step 3.2.4.3
Rewrite the expression.
Step 3.2.5
Multiply by .
Step 3.2.6
Raise to the power of .
Step 3.2.7
Raise to the power of .
Step 3.2.8
Use the power rule to combine exponents.
Step 3.2.9
Add and .
Step 3.3
To write as a fraction with a common denominator, multiply by .
Step 3.4
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 3.4.1
Multiply by .
Step 3.4.2
Raise to the power of .
Step 3.4.3
Raise to the power of .
Step 3.4.4
Use the power rule to combine exponents.
Step 3.4.5
Add and .
Step 3.5
Combine the numerators over the common denominator.
Step 3.6
Simplify the numerator.
Tap for more steps...
Step 3.6.1
Apply the distributive property.
Step 3.6.2
Rewrite as .
Step 3.6.3
Expand using the FOIL Method.
Tap for more steps...
Step 3.6.3.1
Apply the distributive property.
Step 3.6.3.2
Apply the distributive property.
Step 3.6.3.3
Apply the distributive property.
Step 3.6.4
Simplify and combine like terms.
Tap for more steps...
Step 3.6.4.1
Simplify each term.
Tap for more steps...
Step 3.6.4.1.1
Multiply by by adding the exponents.
Tap for more steps...
Step 3.6.4.1.1.1
Move .
Step 3.6.4.1.1.2
Multiply by .
Step 3.6.4.1.2
Multiply by .
Step 3.6.4.1.3
Multiply by .
Step 3.6.4.2
Subtract from .
Tap for more steps...
Step 3.6.4.2.1
Move .
Step 3.6.4.2.2
Subtract from .
Step 3.6.4.3
Add and .
Step 3.7
Cancel the common factor of .
Tap for more steps...
Step 3.7.1
Factor out of .
Step 3.7.2
Cancel the common factor.
Step 3.7.3
Rewrite the expression.
Step 3.8
Simplify the denominator.
Tap for more steps...
Step 3.8.1
Rewrite as .
Step 3.8.2
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 3.9
Cancel the common factor of .
Tap for more steps...
Step 3.9.1
Factor out of .
Step 3.9.2
Cancel the common factor.
Step 3.9.3
Rewrite the expression.
Step 3.10
Cancel the common factor of .
Tap for more steps...
Step 3.10.1
Cancel the common factor.
Step 3.10.2
Rewrite the expression.
Step 4
Rewrite the left side as a result of differentiating a product.
Step 5
Set up an integral on each side.
Step 6
Integrate the left side.
Step 7
Apply the constant rule.
Step 8
Solve for .
Tap for more steps...
Step 8.1
Simplify .
Tap for more steps...
Step 8.1.1
Combine and .
Step 8.1.2
Reorder factors in .
Step 8.2
Multiply both sides by .
Step 8.3
Simplify.
Tap for more steps...
Step 8.3.1
Simplify the left side.
Tap for more steps...
Step 8.3.1.1
Simplify .
Tap for more steps...
Step 8.3.1.1.1
Simplify terms.
Tap for more steps...
Step 8.3.1.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 8.3.1.1.1.1.1
Cancel the common factor.
Step 8.3.1.1.1.1.2
Rewrite the expression.
Step 8.3.1.1.1.2
Apply the distributive property.
Step 8.3.1.1.1.3
Move to the left of .
Step 8.3.1.1.2
Rewrite as .
Step 8.3.1.1.3
Reorder and .
Step 8.3.2
Simplify the right side.
Tap for more steps...
Step 8.3.2.1
Simplify .
Tap for more steps...
Step 8.3.2.1.1
Expand using the FOIL Method.
Tap for more steps...
Step 8.3.2.1.1.1
Apply the distributive property.
Step 8.3.2.1.1.2
Apply the distributive property.
Step 8.3.2.1.1.3
Apply the distributive property.
Step 8.3.2.1.2
Simplify terms.
Tap for more steps...
Step 8.3.2.1.2.1
Simplify each term.
Tap for more steps...
Step 8.3.2.1.2.1.1
Multiply by .
Step 8.3.2.1.2.1.2
Multiply by .
Step 8.3.2.1.2.1.3
Multiply by .
Step 8.3.2.1.2.2
Simplify the expression.
Tap for more steps...
Step 8.3.2.1.2.2.1
Move .
Step 8.3.2.1.2.2.2
Reorder and .
Step 8.4
Solve for .
Tap for more steps...
Step 8.4.1
Factor out of .
Tap for more steps...
Step 8.4.1.1
Factor out of .
Step 8.4.1.2
Factor out of .
Step 8.4.1.3
Factor out of .
Step 8.4.2
Divide each term in by and simplify.
Tap for more steps...
Step 8.4.2.1
Divide each term in by .
Step 8.4.2.2
Simplify the left side.
Tap for more steps...
Step 8.4.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 8.4.2.2.1.1
Cancel the common factor.
Step 8.4.2.2.1.2
Divide by .
Step 8.4.2.3
Simplify the right side.
Tap for more steps...
Step 8.4.2.3.1
Simplify terms.
Tap for more steps...
Step 8.4.2.3.1.1
Combine the numerators over the common denominator.
Step 8.4.2.3.1.2
Factor out of .
Tap for more steps...
Step 8.4.2.3.1.2.1
Factor out of .
Step 8.4.2.3.1.2.2
Factor out of .
Step 8.4.2.3.1.2.3
Factor out of .
Step 8.4.2.3.1.3
Combine the numerators over the common denominator.
Step 8.4.2.3.2
Simplify the numerator.
Tap for more steps...
Step 8.4.2.3.2.1
Apply the distributive property.
Step 8.4.2.3.2.2
Multiply by .
Step 8.4.2.3.3
Combine the numerators over the common denominator.
Step 8.4.2.3.4
Simplify the numerator.
Tap for more steps...
Step 8.4.2.3.4.1
Factor out the greatest common factor from each group.
Tap for more steps...
Step 8.4.2.3.4.1.1
Group the first two terms and the last two terms.
Step 8.4.2.3.4.1.2
Factor out the greatest common factor (GCF) from each group.
Step 8.4.2.3.4.2
Factor the polynomial by factoring out the greatest common factor, .