Calculus Examples

Solve the Differential Equation x(dy)/(dx)+(2x+1)/(x+1)y=x-1
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
Cancel the common factor of .
Tap for more steps...
Step 1.3.1
Cancel the common factor.
Step 1.3.2
Rewrite the expression.
Step 1.4
Combine and .
Step 1.5
Factor out of .
Step 1.6
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
Simplify.
Tap for more steps...
Step 2.2.1.1
Multiply the numerator by the reciprocal of the denominator.
Step 2.2.1.2
Multiply by .
Step 2.2.2
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.2.2.1
Let . Find .
Tap for more steps...
Step 2.2.2.1.1
Differentiate .
Step 2.2.2.1.2
Differentiate using the Product Rule which states that is where and .
Step 2.2.2.1.3
Differentiate.
Tap for more steps...
Step 2.2.2.1.3.1
Differentiate using the Power Rule which states that is where .
Step 2.2.2.1.3.2
Multiply by .
Step 2.2.2.1.3.3
By the Sum Rule, the derivative of with respect to is .
Step 2.2.2.1.3.4
Differentiate using the Power Rule which states that is where .
Step 2.2.2.1.3.5
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.2.1.3.6
Simplify by adding terms.
Tap for more steps...
Step 2.2.2.1.3.6.1
Add and .
Step 2.2.2.1.3.6.2
Multiply by .
Step 2.2.2.1.3.6.3
Add and .
Step 2.2.2.2
Rewrite the problem using and .
Step 2.2.3
The integral of with respect to is .
Step 2.2.4
Replace all occurrences of with .
Step 2.3
Remove the constant of integration.
Step 2.4
Exponentiation and log are inverse functions.
Step 2.5
Apply the distributive property.
Step 2.6
Multiply by .
Step 2.7
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
Apply the distributive property.
Step 3.2.2
Multiply the numerator by the reciprocal of the denominator.
Step 3.2.3
Multiply by .
Step 3.2.4
Combine and .
Step 3.2.5
Multiply by .
Step 3.2.6
Factor out of .
Tap for more steps...
Step 3.2.6.1
Factor out of .
Step 3.2.6.2
Raise to the power of .
Step 3.2.6.3
Factor out of .
Step 3.2.6.4
Factor out of .
Step 3.2.7
Cancel the common factor of .
Tap for more steps...
Step 3.2.7.1
Cancel the common factor.
Step 3.2.7.2
Rewrite the expression.
Step 3.2.8
Cancel the common factor of .
Tap for more steps...
Step 3.2.8.1
Cancel the common factor.
Step 3.2.8.2
Divide by .
Step 3.2.9
Apply the distributive property.
Step 3.2.10
Multiply by .
Step 3.3
Simplify each term.
Tap for more steps...
Step 3.3.1
Multiply by .
Step 3.3.2
Move the negative in front of the fraction.
Step 3.3.3
Apply the distributive property.
Step 3.3.4
Rewrite using the commutative property of multiplication.
Step 3.3.5
Rewrite using the commutative property of multiplication.
Step 3.3.6
Simplify each term.
Tap for more steps...
Step 3.3.6.1
Cancel the common factor of .
Tap for more steps...
Step 3.3.6.1.1
Factor out of .
Step 3.3.6.1.2
Cancel the common factor.
Step 3.3.6.1.3
Rewrite the expression.
Step 3.3.6.2
Cancel the common factor of .
Tap for more steps...
Step 3.3.6.2.1
Factor out of .
Step 3.3.6.2.2
Cancel the common factor.
Step 3.3.6.2.3
Rewrite the expression.
Step 3.4
Combine the opposite terms in .
Tap for more steps...
Step 3.4.1
Subtract from .
Step 3.4.2
Add and .
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
Integrate the right side.
Tap for more steps...
Step 7.1
Split the single integral into multiple integrals.
Step 7.2
By the Power Rule, the integral of with respect to is .
Step 7.3
Apply the constant rule.
Step 7.4
Simplify.
Step 8
Divide each term in by and simplify.
Tap for more steps...
Step 8.1
Divide each term in by .
Step 8.2
Simplify the left side.
Tap for more steps...
Step 8.2.1
Cancel the common factor of .
Tap for more steps...
Step 8.2.1.1
Cancel the common factor.
Step 8.2.1.2
Divide by .
Step 8.3
Simplify the right side.
Tap for more steps...
Step 8.3.1
Simplify each term.
Tap for more steps...
Step 8.3.1.1
Combine and .
Step 8.3.1.2
Factor out of .
Tap for more steps...
Step 8.3.1.2.1
Factor out of .
Step 8.3.1.2.2
Raise to the power of .
Step 8.3.1.2.3
Factor out of .
Step 8.3.1.2.4
Factor out of .
Step 8.3.1.3
Multiply the numerator by the reciprocal of the denominator.
Step 8.3.1.4
Combine.
Step 8.3.1.5
Cancel the common factor of and .
Tap for more steps...
Step 8.3.1.5.1
Factor out of .
Step 8.3.1.5.2
Cancel the common factors.
Tap for more steps...
Step 8.3.1.5.2.1
Factor out of .
Step 8.3.1.5.2.2
Cancel the common factor.
Step 8.3.1.5.2.3
Rewrite the expression.
Step 8.3.1.6
Multiply by .
Step 8.3.1.7
Factor out of .
Tap for more steps...
Step 8.3.1.7.1
Factor out of .
Step 8.3.1.7.2
Raise to the power of .
Step 8.3.1.7.3
Factor out of .
Step 8.3.1.7.4
Factor out of .
Step 8.3.1.8
Cancel the common factor of .
Tap for more steps...
Step 8.3.1.8.1
Cancel the common factor.
Step 8.3.1.8.2
Rewrite the expression.
Step 8.3.1.9
Move the negative in front of the fraction.
Step 8.3.1.10
Factor out of .
Tap for more steps...
Step 8.3.1.10.1
Factor out of .
Step 8.3.1.10.2
Raise to the power of .
Step 8.3.1.10.3
Factor out of .
Step 8.3.1.10.4
Factor out of .
Step 8.3.2
To write as a fraction with a common denominator, multiply by .
Step 8.3.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 8.3.3.1
Multiply by .
Step 8.3.3.2
Reorder the factors of .
Step 8.3.4
Combine the numerators over the common denominator.
Step 8.3.5
To write as a fraction with a common denominator, multiply by .
Step 8.3.6
To write as a fraction with a common denominator, multiply by .
Step 8.3.7
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 8.3.7.1
Multiply by .
Step 8.3.7.2
Multiply by .
Step 8.3.7.3
Reorder the factors of .
Step 8.3.7.4
Reorder the factors of .
Step 8.3.8
Combine the numerators over the common denominator.
Step 8.3.9
Simplify the numerator.
Tap for more steps...
Step 8.3.9.1
Apply the distributive property.
Step 8.3.9.2
Multiply by by adding the exponents.
Tap for more steps...
Step 8.3.9.2.1
Multiply by .
Tap for more steps...
Step 8.3.9.2.1.1
Raise to the power of .
Step 8.3.9.2.1.2
Use the power rule to combine exponents.
Step 8.3.9.2.2
Add and .
Step 8.3.9.3
Move to the left of .