Calculus Examples

Solve the Differential Equation (dy)/(dx)=(x^2-xy+y^2)/(xy)
Step 1
Rewrite the differential equation as a function of .
Tap for more steps...
Step 1.1
Split and simplify.
Tap for more steps...
Step 1.1.1
Split the fraction into two fractions.
Step 1.1.2
Simplify each term.
Tap for more steps...
Step 1.1.2.1
Simplify the numerator.
Tap for more steps...
Step 1.1.2.1.1
Factor out of .
Tap for more steps...
Step 1.1.2.1.1.1
Factor out of .
Step 1.1.2.1.1.2
Factor out of .
Step 1.1.2.1.1.3
Factor out of .
Step 1.1.2.1.2
Rewrite as .
Step 1.1.2.2
Cancel the common factor of .
Tap for more steps...
Step 1.1.2.2.1
Cancel the common factor.
Step 1.1.2.2.2
Rewrite the expression.
Step 1.1.2.3
Split the fraction into two fractions.
Step 1.1.2.4
Cancel the common factor of .
Tap for more steps...
Step 1.1.2.4.1
Cancel the common factor.
Step 1.1.2.4.2
Divide by .
Step 1.1.2.5
Cancel the common factor of and .
Tap for more steps...
Step 1.1.2.5.1
Factor out of .
Step 1.1.2.5.2
Cancel the common factors.
Tap for more steps...
Step 1.1.2.5.2.1
Factor out of .
Step 1.1.2.5.2.2
Cancel the common factor.
Step 1.1.2.5.2.3
Rewrite the expression.
Step 1.2
Rewrite as .
Step 2
Let . Substitute for .
Step 3
Solve for .
Step 4
Use the product rule to find the derivative of with respect to .
Step 5
Substitute for .
Step 6
Solve the substituted differential equation.
Tap for more steps...
Step 6.1
Separate the variables.
Tap for more steps...
Step 6.1.1
Solve for .
Tap for more steps...
Step 6.1.1.1
Rewrite the expression using the negative exponent rule .
Step 6.1.1.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 6.1.1.2.1
Subtract from both sides of the equation.
Step 6.1.1.2.2
Combine the opposite terms in .
Tap for more steps...
Step 6.1.1.2.2.1
Subtract from .
Step 6.1.1.2.2.2
Add and .
Step 6.1.1.3
Divide each term in by and simplify.
Tap for more steps...
Step 6.1.1.3.1
Divide each term in by .
Step 6.1.1.3.2
Simplify the left side.
Tap for more steps...
Step 6.1.1.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.1.1.3.2.1.1
Cancel the common factor.
Step 6.1.1.3.2.1.2
Divide by .
Step 6.1.1.3.3
Simplify the right side.
Tap for more steps...
Step 6.1.1.3.3.1
Simplify each term.
Tap for more steps...
Step 6.1.1.3.3.1.1
Multiply the numerator by the reciprocal of the denominator.
Step 6.1.1.3.3.1.2
Multiply by .
Step 6.1.1.3.3.1.3
Move the negative in front of the fraction.
Step 6.1.2
Factor.
Tap for more steps...
Step 6.1.2.1
To write as a fraction with a common denominator, multiply by .
Step 6.1.2.2
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 6.1.2.2.1
Multiply by .
Step 6.1.2.2.2
Reorder the factors of .
Step 6.1.2.3
Combine the numerators over the common denominator.
Step 6.1.3
Regroup factors.
Step 6.1.4
Multiply both sides by .
Step 6.1.5
Simplify.
Tap for more steps...
Step 6.1.5.1
Multiply by .
Step 6.1.5.2
Cancel the common factor of .
Tap for more steps...
Step 6.1.5.2.1
Factor out of .
Step 6.1.5.2.2
Cancel the common factor.
Step 6.1.5.2.3
Rewrite the expression.
Step 6.1.5.3
Cancel the common factor of .
Tap for more steps...
Step 6.1.5.3.1
Cancel the common factor.
Step 6.1.5.3.2
Rewrite the expression.
Step 6.1.6
Rewrite the equation.
Step 6.2
Integrate both sides.
Tap for more steps...
Step 6.2.1
Set up an integral on each side.
Step 6.2.2
Integrate the left side.
Tap for more steps...
Step 6.2.2.1
Reorder and .
Step 6.2.2.2
Divide by .
Tap for more steps...
Step 6.2.2.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 6.2.2.2.2
Divide the highest order term in the dividend by the highest order term in divisor .
-
-++
Step 6.2.2.2.3
Multiply the new quotient term by the divisor.
-
-++
+-
Step 6.2.2.2.4
The expression needs to be subtracted from the dividend, so change all the signs in
-
-++
-+
Step 6.2.2.2.5
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
-
-++
-+
+
Step 6.2.2.2.6
The final answer is the quotient plus the remainder over the divisor.
Step 6.2.2.3
Split the single integral into multiple integrals.
Step 6.2.2.4
Apply the constant rule.
Step 6.2.2.5
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 6.2.2.5.1
Let . Find .
Tap for more steps...
Step 6.2.2.5.1.1
Rewrite.
Step 6.2.2.5.1.2
Divide by .
Step 6.2.2.5.2
Rewrite the problem using and .
Step 6.2.2.6
Move the negative in front of the fraction.
Step 6.2.2.7
Since is constant with respect to , move out of the integral.
Step 6.2.2.8
The integral of with respect to is .
Step 6.2.2.9
Simplify.
Step 6.2.2.10
Replace all occurrences of with .
Step 6.2.3
The integral of with respect to is .
Step 6.2.4
Group the constant of integration on the right side as .
Step 7
Substitute for .
Step 8
Solve for .
Tap for more steps...
Step 8.1
Move all the terms containing a logarithm to the left side of the equation.
Step 8.2
Add to both sides of the equation.
Step 8.3
Divide each term in by and simplify.
Tap for more steps...
Step 8.3.1
Divide each term in by .
Step 8.3.2
Simplify the left side.
Tap for more steps...
Step 8.3.2.1
Dividing two negative values results in a positive value.
Step 8.3.2.2
Divide by .
Step 8.3.3
Simplify the right side.
Tap for more steps...
Step 8.3.3.1
Simplify each term.
Tap for more steps...
Step 8.3.3.1.1
Move the negative one from the denominator of .
Step 8.3.3.1.2
Rewrite as .
Step 8.3.3.1.3
Move the negative one from the denominator of .
Step 8.3.3.1.4
Rewrite as .
Step 8.3.3.1.5
Move the negative one from the denominator of .
Step 8.3.3.1.6
Rewrite as .
Step 8.4
Move all the terms containing a logarithm to the left side of the equation.
Step 8.5
Use the product property of logarithms, .
Step 8.6
To multiply absolute values, multiply the terms inside each absolute value.
Step 8.7
Apply the distributive property.
Step 8.8
Cancel the common factor of .
Tap for more steps...
Step 8.8.1
Move the leading negative in into the numerator.
Step 8.8.2
Cancel the common factor.
Step 8.8.3
Rewrite the expression.
Step 8.9
Multiply by .