Calculus Examples

Solve the Differential Equation (xy)dx-(x+2)dy=0
Step 1
Subtract from both sides of the equation.
Step 2
Multiply both sides by .
Step 3
Simplify.
Tap for more steps...
Step 3.1
Rewrite using the commutative property of multiplication.
Step 3.2
Cancel the common factor of .
Tap for more steps...
Step 3.2.1
Move the leading negative in into the numerator.
Step 3.2.2
Factor out of .
Step 3.2.3
Cancel the common factor.
Step 3.2.4
Rewrite the expression.
Step 3.3
Move the negative in front of the fraction.
Step 3.4
Rewrite using the commutative property of multiplication.
Step 3.5
Cancel the common factor of .
Tap for more steps...
Step 3.5.1
Move the leading negative in into the numerator.
Step 3.5.2
Factor out of .
Step 3.5.3
Factor out of .
Step 3.5.4
Cancel the common factor.
Step 3.5.5
Rewrite the expression.
Step 3.6
Combine and .
Step 3.7
Move the negative in front of the fraction.
Step 4
Integrate both sides.
Tap for more steps...
Step 4.1
Set up an integral on each side.
Step 4.2
Integrate the left side.
Tap for more steps...
Step 4.2.1
Since is constant with respect to , move out of the integral.
Step 4.2.2
The integral of with respect to is .
Step 4.2.3
Simplify.
Step 4.3
Integrate the right side.
Tap for more steps...
Step 4.3.1
Since is constant with respect to , move out of the integral.
Step 4.3.2
Divide by .
Tap for more steps...
Step 4.3.2.1
Set up the polynomials to be divided. If there is not a term for every exponent, insert one with a value of .
++
Step 4.3.2.2
Divide the highest order term in the dividend by the highest order term in divisor .
++
Step 4.3.2.3
Multiply the new quotient term by the divisor.
++
++
Step 4.3.2.4
The expression needs to be subtracted from the dividend, so change all the signs in
++
--
Step 4.3.2.5
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
++
--
-
Step 4.3.2.6
The final answer is the quotient plus the remainder over the divisor.
Step 4.3.3
Split the single integral into multiple integrals.
Step 4.3.4
Apply the constant rule.
Step 4.3.5
Since is constant with respect to , move out of the integral.
Step 4.3.6
Since is constant with respect to , move out of the integral.
Step 4.3.7
Multiply by .
Step 4.3.8
Let . Then . Rewrite using and .
Tap for more steps...
Step 4.3.8.1
Let . Find .
Tap for more steps...
Step 4.3.8.1.1
Differentiate .
Step 4.3.8.1.2
By the Sum Rule, the derivative of with respect to is .
Step 4.3.8.1.3
Differentiate using the Power Rule which states that is where .
Step 4.3.8.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 4.3.8.1.5
Add and .
Step 4.3.8.2
Rewrite the problem using and .
Step 4.3.9
The integral of with respect to is .
Step 4.3.10
Simplify.
Step 4.3.11
Replace all occurrences of with .
Step 4.3.12
Simplify.
Tap for more steps...
Step 4.3.12.1
Apply the distributive property.
Step 4.3.12.2
Multiply by .
Step 4.4
Group the constant of integration on the right side as .
Step 5
Solve for .
Tap for more steps...
Step 5.1
Move all the terms containing a logarithm to the left side of the equation.
Step 5.2
Simplify the left side.
Tap for more steps...
Step 5.2.1
Simplify each term.
Tap for more steps...
Step 5.2.1.1
Simplify by moving inside the logarithm.
Step 5.2.1.2
Remove the absolute value in because exponentiations with even powers are always positive.
Step 5.3
Add to both sides of the equation.
Step 5.4
Divide each term in by and simplify.
Tap for more steps...
Step 5.4.1
Divide each term in by .
Step 5.4.2
Simplify the left side.
Tap for more steps...
Step 5.4.2.1
Dividing two negative values results in a positive value.
Step 5.4.2.2
Divide by .
Step 5.4.3
Simplify the right side.
Tap for more steps...
Step 5.4.3.1
Simplify each term.
Tap for more steps...
Step 5.4.3.1.1
Dividing two negative values results in a positive value.
Step 5.4.3.1.2
Divide by .
Step 5.4.3.1.3
Move the negative one from the denominator of .
Step 5.4.3.1.4
Rewrite as .
Step 5.4.3.1.5
Move the negative one from the denominator of .
Step 5.4.3.1.6
Rewrite as .
Step 5.5
Move all the terms containing a logarithm to the left side of the equation.
Step 5.6
Use the product property of logarithms, .
Step 5.7
To solve for , rewrite the equation using properties of logarithms.
Step 5.8
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 5.9
Solve for .
Tap for more steps...
Step 5.9.1
Rewrite the equation as .
Step 5.9.2
Divide each term in by and simplify.
Tap for more steps...
Step 5.9.2.1
Divide each term in by .
Step 5.9.2.2
Simplify the left side.
Tap for more steps...
Step 5.9.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.9.2.2.1.1
Cancel the common factor.
Step 5.9.2.2.1.2
Divide by .
Step 5.9.3
Remove the absolute value term. This creates a on the right side of the equation because .
Step 6
Group the constant terms together.
Tap for more steps...
Step 6.1
Simplify the constant of integration.
Step 6.2
Rewrite as .
Step 6.3
Reorder and .
Step 6.4
Combine constants with the plus or minus.