Calculus Examples

Solve the Differential Equation (dy)/(dx)+2/(20-x)y=4
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 , so . Rewrite using and .
Tap for more steps...
Step 1.2.2.1
Let . Find .
Tap for more steps...
Step 1.2.2.1.1
Rewrite.
Step 1.2.2.1.2
Divide by .
Step 1.2.2.2
Rewrite the problem using and .
Step 1.2.3
Move the negative in front of the fraction.
Step 1.2.4
Since is constant with respect to , move out of the integral.
Step 1.2.5
Multiply by .
Step 1.2.6
The integral of with respect to is .
Step 1.2.7
Simplify.
Step 1.2.8
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 the expression using the negative exponent rule .
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
Combine and .
Step 2.2.2
Combine and .
Step 2.2.3
Multiply .
Tap for more steps...
Step 2.2.3.1
Multiply by .
Step 2.2.3.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.2.3.2.1
Multiply by .
Tap for more steps...
Step 2.2.3.2.1.1
Raise to the power of .
Step 2.2.3.2.1.2
Use the power rule to combine exponents.
Step 2.2.3.2.2
Add and .
Step 2.3
Combine and .
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
Since is constant with respect to , move out of the integral.
Step 6.2
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 6.2.1
Let . Find .
Tap for more steps...
Step 6.2.1.1
Rewrite.
Step 6.2.1.2
Divide by .
Step 6.2.2
Rewrite the problem using and .
Step 6.3
Move the negative in front of the fraction.
Step 6.4
Since is constant with respect to , move out of the integral.
Step 6.5
Simplify the expression.
Tap for more steps...
Step 6.5.1
Multiply by .
Step 6.5.2
Move out of the denominator by raising it to the power.
Step 6.5.3
Multiply the exponents in .
Tap for more steps...
Step 6.5.3.1
Apply the power rule and multiply exponents, .
Step 6.5.3.2
Multiply by .
Step 6.6
By the Power Rule, the integral of with respect to is .
Step 6.7
Simplify.
Tap for more steps...
Step 6.7.1
Rewrite as .
Step 6.7.2
Simplify.
Tap for more steps...
Step 6.7.2.1
Multiply by .
Step 6.7.2.2
Combine and .
Step 6.8
Replace all occurrences of with .
Step 7
Solve for .
Tap for more steps...
Step 7.1
Move all terms containing variables to the left side of the equation.
Tap for more steps...
Step 7.1.1
Subtract from both sides of the equation.
Step 7.1.2
Subtract from both sides of the equation.
Step 7.1.3
Combine and .
Step 7.1.4
To write as a fraction with a common denominator, multiply by .
Step 7.1.5
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 7.1.5.1
Multiply by .
Step 7.1.5.2
Raise to the power of .
Step 7.1.5.3
Raise to the power of .
Step 7.1.5.4
Use the power rule to combine exponents.
Step 7.1.5.5
Add and .
Step 7.1.6
Combine the numerators over the common denominator.
Step 7.1.7
Simplify the numerator.
Tap for more steps...
Step 7.1.7.1
Apply the distributive property.
Step 7.1.7.2
Multiply by .
Step 7.1.7.3
Multiply by .
Step 7.1.8
To write as a fraction with a common denominator, multiply by .
Step 7.1.9
Combine and .
Step 7.1.10
Combine the numerators over the common denominator.
Step 7.1.11
Simplify the numerator.
Tap for more steps...
Step 7.1.11.1
Rewrite as .
Step 7.1.11.2
Expand using the FOIL Method.
Tap for more steps...
Step 7.1.11.2.1
Apply the distributive property.
Step 7.1.11.2.2
Apply the distributive property.
Step 7.1.11.2.3
Apply the distributive property.
Step 7.1.11.3
Simplify and combine like terms.
Tap for more steps...
Step 7.1.11.3.1
Simplify each term.
Tap for more steps...
Step 7.1.11.3.1.1
Multiply by .
Step 7.1.11.3.1.2
Multiply by .
Step 7.1.11.3.1.3
Multiply by .
Step 7.1.11.3.1.4
Rewrite using the commutative property of multiplication.
Step 7.1.11.3.1.5
Multiply by by adding the exponents.
Tap for more steps...
Step 7.1.11.3.1.5.1
Move .
Step 7.1.11.3.1.5.2
Multiply by .
Step 7.1.11.3.1.6
Multiply by .
Step 7.1.11.3.1.7
Multiply by .
Step 7.1.11.3.2
Subtract from .
Step 7.1.11.4
Apply the distributive property.
Step 7.1.11.5
Simplify.
Tap for more steps...
Step 7.1.11.5.1
Multiply by .
Step 7.1.11.5.2
Rewrite using the commutative property of multiplication.
Step 7.1.11.6
Multiply by .
Step 7.2
Set the numerator equal to zero.
Step 7.3
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 7.3.1
Add to both sides of the equation.
Step 7.3.2
Subtract from both sides of the equation.
Step 7.3.3
Add to both sides of the equation.
Step 7.3.4
Subtract from both sides of the equation.
Step 7.3.5
Add to both sides of the equation.