Calculus Examples

Solve the Differential Equation (dy)/(dx)=(x^2+y^2)/(xy-x^2)
Step 1
Rewrite the differential equation as a function of .
Tap for more steps...
Step 1.1
Multiply by .
Step 1.2
Multiply by .
Step 1.3
Apply the distributive property.
Step 1.4
Cancel the common factor of .
Tap for more steps...
Step 1.4.1
Cancel the common factor.
Step 1.4.2
Rewrite the expression.
Step 1.5
Combine and .
Step 1.6
Apply the distributive property.
Step 1.7
Cancel the common factor of .
Tap for more steps...
Step 1.7.1
Factor out of .
Step 1.7.2
Factor out of .
Step 1.7.3
Cancel the common factor.
Step 1.7.4
Rewrite the expression.
Step 1.8
Combine and .
Step 1.9
Cancel the common factor of .
Tap for more steps...
Step 1.9.1
Factor out of .
Step 1.9.2
Cancel the common factor.
Step 1.9.3
Rewrite the expression.
Step 1.10
Use the power of quotient rule .
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
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 6.1.1.1.1
Subtract from both sides of the equation.
Step 6.1.1.1.2
Split the fraction into two fractions.
Step 6.1.1.1.3
Find the common denominator.
Tap for more steps...
Step 6.1.1.1.3.1
Write as a fraction with denominator .
Step 6.1.1.1.3.2
Multiply by .
Step 6.1.1.1.3.3
Multiply by .
Step 6.1.1.1.4
Combine the numerators over the common denominator.
Step 6.1.1.1.5
Simplify each term.
Tap for more steps...
Step 6.1.1.1.5.1
Apply the distributive property.
Step 6.1.1.1.5.2
Multiply by by adding the exponents.
Tap for more steps...
Step 6.1.1.1.5.2.1
Move .
Step 6.1.1.1.5.2.2
Multiply by .
Step 6.1.1.1.5.3
Multiply .
Tap for more steps...
Step 6.1.1.1.5.3.1
Multiply by .
Step 6.1.1.1.5.3.2
Multiply by .
Step 6.1.1.1.6
Combine the opposite terms in .
Tap for more steps...
Step 6.1.1.1.6.1
Subtract from .
Step 6.1.1.1.6.2
Add and .
Step 6.1.1.1.7
Split the fraction into two fractions.
Step 6.1.1.2
Divide each term in by and simplify.
Tap for more steps...
Step 6.1.1.2.1
Divide each term in by .
Step 6.1.1.2.2
Simplify the left side.
Tap for more steps...
Step 6.1.1.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.1.1.2.2.1.1
Cancel the common factor.
Step 6.1.1.2.2.1.2
Divide by .
Step 6.1.1.2.3
Simplify the right side.
Tap for more steps...
Step 6.1.1.2.3.1
Combine the numerators over the common denominator.
Step 6.1.1.2.3.2
Combine the numerators over the common denominator.
Step 6.1.1.2.3.3
Multiply the numerator by the reciprocal of the denominator.
Step 6.1.1.2.3.4
Multiply by .
Step 6.1.1.2.3.5
Reorder factors in .
Step 6.1.2
Regroup factors.
Step 6.1.3
Multiply both sides by .
Step 6.1.4
Simplify.
Tap for more steps...
Step 6.1.4.1
Multiply by .
Step 6.1.4.2
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.2.1
Factor out of .
Step 6.1.4.2.2
Cancel the common factor.
Step 6.1.4.2.3
Rewrite the expression.
Step 6.1.4.3
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.3.1
Cancel the common factor.
Step 6.1.4.3.2
Rewrite the expression.
Step 6.1.5
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
Since is constant with respect to , move out of the integral.
Step 6.2.2.6
Since is constant with respect to , move out of the integral.
Step 6.2.2.7
Multiply by .
Step 6.2.2.8
Let . Then . Rewrite using and .
Tap for more steps...
Step 6.2.2.8.1
Let . Find .
Tap for more steps...
Step 6.2.2.8.1.1
Differentiate .
Step 6.2.2.8.1.2
By the Sum Rule, the derivative of with respect to is .
Step 6.2.2.8.1.3
Differentiate using the Power Rule which states that is where .
Step 6.2.2.8.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 6.2.2.8.1.5
Add and .
Step 6.2.2.8.2
Rewrite the problem using and .
Step 6.2.2.9
The integral of with respect to is .
Step 6.2.2.10
Simplify.
Step 6.2.2.11
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
Simplify the left side.
Tap for more steps...
Step 8.2.1
Simplify each term.
Tap for more steps...
Step 8.2.1.1
Simplify by moving inside the logarithm.
Step 8.2.1.2
Remove the absolute value in because exponentiations with even powers are always positive.
Step 8.3
Reorder and .
Step 8.4
Move all terms containing to the left side of the equation.
Tap for more steps...
Step 8.4.1
Add to both sides of the equation.
Step 8.4.2
To write as a fraction with a common denominator, multiply by .
Step 8.4.3
Combine and .
Step 8.4.4
Combine the numerators over the common denominator.
Step 8.4.5
Simplify each term.
Tap for more steps...
Step 8.4.5.1
Write as a fraction with a common denominator.
Step 8.4.5.2
Combine the numerators over the common denominator.
Step 8.4.5.3
Apply the product rule to .
Step 8.4.6
To write as a fraction with a common denominator, multiply by .
Step 8.4.7
Combine and .
Step 8.4.8
Combine the numerators over the common denominator.
Step 8.4.9
Factor out of .
Step 8.4.10
Factor out of .
Step 8.4.11
Factor out of .
Step 8.4.12
Factor out of .
Step 8.4.13
Factor out of .
Step 8.4.14
Rewrite as .
Step 8.4.15
Move the negative in front of the fraction.
Step 8.4.16
Reorder factors in .