Calculus Examples

Solve the Differential Equation (dy)/(dx)+2/(x-2)y=(x-2)^2
Step 1
The integrating factor is defined by the formula , where .
Tap for more steps...
Step 1.1
Set up the integration.
Step 1.2
Integrate .
Tap for more steps...
Step 1.2.1
Since is constant with respect to , move out of the integral.
Step 1.2.2
Let . Then . Rewrite using and .
Tap for more steps...
Step 1.2.2.1
Let . Find .
Tap for more steps...
Step 1.2.2.1.1
Differentiate .
Step 1.2.2.1.2
By the Sum Rule, the derivative of with respect to is .
Step 1.2.2.1.3
Differentiate using the Power Rule which states that is where .
Step 1.2.2.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.2.1.5
Add and .
Step 1.2.2.2
Rewrite the problem using and .
Step 1.2.3
The integral of with respect to is .
Step 1.2.4
Simplify.
Step 1.2.5
Replace all occurrences of with .
Step 1.3
Remove the constant of integration.
Step 1.4
Use the logarithmic power rule.
Step 1.5
Exponentiation and log are inverse functions.
Step 1.6
Rewrite as .
Step 1.7
Expand using the FOIL Method.
Tap for more steps...
Step 1.7.1
Apply the distributive property.
Step 1.7.2
Apply the distributive property.
Step 1.7.3
Apply the distributive property.
Step 1.8
Simplify and combine like terms.
Tap for more steps...
Step 1.8.1
Simplify each term.
Tap for more steps...
Step 1.8.1.1
Multiply by .
Step 1.8.1.2
Move to the left of .
Step 1.8.1.3
Multiply by .
Step 1.8.2
Subtract from .
Step 2
Multiply each term by the integrating factor .
Tap for more steps...
Step 2.1
Multiply each term by .
Step 2.2
Simplify each term.
Tap for more steps...
Step 2.2.1
Apply the distributive property.
Step 2.2.2
Combine and .
Step 2.2.3
Multiply by .
Step 2.2.4
Factor using the perfect square rule.
Tap for more steps...
Step 2.2.4.1
Rewrite as .
Step 2.2.4.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 2.2.4.3
Rewrite the polynomial.
Step 2.2.4.4
Factor using the perfect square trinomial rule , where and .
Step 2.2.5
Cancel the common factor of and .
Tap for more steps...
Step 2.2.5.1
Factor out of .
Step 2.2.5.2
Cancel the common factors.
Tap for more steps...
Step 2.2.5.2.1
Multiply by .
Step 2.2.5.2.2
Cancel the common factor.
Step 2.2.5.2.3
Rewrite the expression.
Step 2.2.5.2.4
Divide by .
Step 2.2.6
Apply the distributive property.
Step 2.2.7
Move to the left of .
Step 2.2.8
Multiply by .
Step 2.2.9
Apply the distributive property.
Step 2.3
Rewrite as .
Step 2.4
Expand using the FOIL Method.
Tap for more steps...
Step 2.4.1
Apply the distributive property.
Step 2.4.2
Apply the distributive property.
Step 2.4.3
Apply the distributive property.
Step 2.5
Simplify and combine like terms.
Tap for more steps...
Step 2.5.1
Simplify each term.
Tap for more steps...
Step 2.5.1.1
Multiply by .
Step 2.5.1.2
Move to the left of .
Step 2.5.1.3
Multiply by .
Step 2.5.2
Subtract from .
Step 2.6
Expand by multiplying each term in the first expression by each term in the second expression.
Step 2.7
Simplify each term.
Tap for more steps...
Step 2.7.1
Multiply by by adding the exponents.
Tap for more steps...
Step 2.7.1.1
Use the power rule to combine exponents.
Step 2.7.1.2
Add and .
Step 2.7.2
Rewrite using the commutative property of multiplication.
Step 2.7.3
Multiply by by adding the exponents.
Tap for more steps...
Step 2.7.3.1
Move .
Step 2.7.3.2
Multiply by .
Tap for more steps...
Step 2.7.3.2.1
Raise to the power of .
Step 2.7.3.2.2
Use the power rule to combine exponents.
Step 2.7.3.3
Add and .
Step 2.7.4
Move to the left of .
Step 2.7.5
Multiply by by adding the exponents.
Tap for more steps...
Step 2.7.5.1
Move .
Step 2.7.5.2
Multiply by .
Tap for more steps...
Step 2.7.5.2.1
Raise to the power of .
Step 2.7.5.2.2
Use the power rule to combine exponents.
Step 2.7.5.3
Add and .
Step 2.7.6
Rewrite using the commutative property of multiplication.
Step 2.7.7
Multiply by by adding the exponents.
Tap for more steps...
Step 2.7.7.1
Move .
Step 2.7.7.2
Multiply by .
Step 2.7.8
Multiply by .
Step 2.7.9
Multiply by .
Step 2.7.10
Multiply by .
Step 2.7.11
Multiply by .
Step 2.8
Subtract from .
Step 2.9
Add and .
Step 2.10
Add and .
Step 2.11
Subtract from .
Step 3
Rewrite the left side as a result of differentiating a product.
Step 4
Set up an integral on each side.
Step 5
Integrate the left side.
Step 6
Integrate the right side.
Tap for more steps...
Step 6.1
Split the single integral into multiple integrals.
Step 6.2
By the Power Rule, the integral of with respect to is .
Step 6.3
Since is constant with respect to , move out of the integral.
Step 6.4
By the Power Rule, the integral of with respect to is .
Step 6.5
Since is constant with respect to , move out of the integral.
Step 6.6
By the Power Rule, the integral of with respect to is .
Step 6.7
Since is constant with respect to , move out of the integral.
Step 6.8
By the Power Rule, the integral of with respect to is .
Step 6.9
Apply the constant rule.
Step 6.10
Simplify.
Tap for more steps...
Step 6.10.1
Simplify.
Tap for more steps...
Step 6.10.1.1
Combine and .
Step 6.10.1.2
Combine and .
Step 6.10.1.3
Combine and .
Step 6.10.2
Simplify.
Step 6.10.3
Reorder terms.
Step 7
Divide each term in by and simplify.
Tap for more steps...
Step 7.1
Divide each term in by .
Step 7.2
Simplify the left side.
Tap for more steps...
Step 7.2.1
Cancel the common factor of .
Tap for more steps...
Step 7.2.1.1
Cancel the common factor.
Step 7.2.1.2
Divide by .
Step 7.3
Simplify the right side.
Tap for more steps...
Step 7.3.1
Simplify each term.
Tap for more steps...
Step 7.3.1.1
Combine and .
Step 7.3.1.2
Factor using the perfect square rule.
Tap for more steps...
Step 7.3.1.2.1
Rewrite as .
Step 7.3.1.2.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 7.3.1.2.3
Rewrite the polynomial.
Step 7.3.1.2.4
Factor using the perfect square trinomial rule , where and .
Step 7.3.1.3
Multiply the numerator by the reciprocal of the denominator.
Step 7.3.1.4
Combine.
Step 7.3.1.5
Multiply by .
Step 7.3.1.6
Factor using the perfect square rule.
Tap for more steps...
Step 7.3.1.6.1
Rewrite as .
Step 7.3.1.6.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 7.3.1.6.3
Rewrite the polynomial.
Step 7.3.1.6.4
Factor using the perfect square trinomial rule , where and .
Step 7.3.1.7
Move the negative in front of the fraction.
Step 7.3.1.8
Factor using the perfect square rule.
Tap for more steps...
Step 7.3.1.8.1
Rewrite as .
Step 7.3.1.8.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 7.3.1.8.3
Rewrite the polynomial.
Step 7.3.1.8.4
Factor using the perfect square trinomial rule , where and .
Step 7.3.1.9
Factor using the perfect square rule.
Tap for more steps...
Step 7.3.1.9.1
Rewrite as .
Step 7.3.1.9.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 7.3.1.9.3
Rewrite the polynomial.
Step 7.3.1.9.4
Factor using the perfect square trinomial rule , where and .
Step 7.3.1.10
Move the negative in front of the fraction.
Step 7.3.1.11
Factor using the perfect square rule.
Tap for more steps...
Step 7.3.1.11.1
Rewrite as .
Step 7.3.1.11.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 7.3.1.11.3
Rewrite the polynomial.
Step 7.3.1.11.4
Factor using the perfect square trinomial rule , where and .
Step 7.3.1.12
Factor using the perfect square rule.
Tap for more steps...
Step 7.3.1.12.1
Rewrite as .
Step 7.3.1.12.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 7.3.1.12.3
Rewrite the polynomial.
Step 7.3.1.12.4
Factor using the perfect square trinomial rule , where and .