Calculus Examples

Solve the Differential Equation (xy+y^2)(dy)/(dx)=y^2
Step 1
Rewrite the differential equation as a function of .
Tap for more steps...
Step 1.1
Divide each term in by and simplify.
Tap for more steps...
Step 1.1.1
Divide each term in by .
Step 1.1.2
Simplify the left side.
Tap for more steps...
Step 1.1.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.1.2.1.1
Cancel the common factor.
Step 1.1.2.1.2
Divide by .
Step 1.1.3
Simplify the right side.
Tap for more steps...
Step 1.1.3.1
Factor out of .
Tap for more steps...
Step 1.1.3.1.1
Factor out of .
Step 1.1.3.1.2
Factor out of .
Step 1.1.3.1.3
Factor out of .
Step 1.1.3.2
Cancel the common factor of and .
Tap for more steps...
Step 1.1.3.2.1
Factor out of .
Step 1.1.3.2.2
Cancel the common factors.
Tap for more steps...
Step 1.1.3.2.2.1
Cancel the common factor.
Step 1.1.3.2.2.2
Rewrite the expression.
Step 1.2
Multiply by .
Step 1.3
Multiply by .
Step 1.4
Apply the distributive property.
Step 1.5
Simplify.
Step 1.6
Simplify.
Step 1.7
Simplify.
Step 1.8
Combine and .
Step 1.9
Simplify each term.
Tap for more steps...
Step 1.9.1
Cancel the common factor of .
Tap for more steps...
Step 1.9.1.1
Cancel the common factor.
Step 1.9.1.2
Rewrite the expression.
Step 1.9.2
Combine and .
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
Subtract from both sides of the equation.
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
To write as a fraction with a common denominator, multiply by .
Step 6.1.1.2.3.3
Simplify terms.
Tap for more steps...
Step 6.1.1.2.3.3.1
Combine and .
Step 6.1.1.2.3.3.2
Combine the numerators over the common denominator.
Step 6.1.1.2.3.4
Simplify the numerator.
Tap for more steps...
Step 6.1.1.2.3.4.1
Factor out of .
Tap for more steps...
Step 6.1.1.2.3.4.1.1
Raise to the power of .
Step 6.1.1.2.3.4.1.2
Factor out of .
Step 6.1.1.2.3.4.1.3
Factor out of .
Step 6.1.1.2.3.4.1.4
Factor out of .
Step 6.1.1.2.3.4.2
Apply the distributive property.
Step 6.1.1.2.3.4.3
Multiply by .
Step 6.1.1.2.3.4.4
Subtract from .
Step 6.1.1.2.3.4.5
Subtract from .
Step 6.1.1.2.3.4.6
Combine exponents.
Tap for more steps...
Step 6.1.1.2.3.4.6.1
Factor out negative.
Step 6.1.1.2.3.4.6.2
Raise to the power of .
Step 6.1.1.2.3.4.6.3
Raise to the power of .
Step 6.1.1.2.3.4.6.4
Use the power rule to combine exponents.
Step 6.1.1.2.3.4.6.5
Add and .
Step 6.1.1.2.3.5
Move the negative in front of the fraction.
Step 6.1.1.2.3.6
Multiply the numerator by the reciprocal of the denominator.
Step 6.1.1.2.3.7
Multiply by .
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
Rewrite using the commutative property of multiplication.
Step 6.1.4.2
Multiply by .
Step 6.1.4.3
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.3.1
Move the leading negative in into the numerator.
Step 6.1.4.3.2
Factor out of .
Step 6.1.4.3.3
Factor out of .
Step 6.1.4.3.4
Cancel the common factor.
Step 6.1.4.3.5
Rewrite the expression.
Step 6.1.4.4
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.4.1
Cancel the common factor.
Step 6.1.4.4.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
Apply basic rules of exponents.
Tap for more steps...
Step 6.2.2.1.1
Move out of the denominator by raising it to the power.
Step 6.2.2.1.2
Multiply the exponents in .
Tap for more steps...
Step 6.2.2.1.2.1
Apply the power rule and multiply exponents, .
Step 6.2.2.1.2.2
Multiply by .
Step 6.2.2.2
Multiply .
Step 6.2.2.3
Simplify.
Tap for more steps...
Step 6.2.2.3.1
Multiply by .
Step 6.2.2.3.2
Multiply by by adding the exponents.
Tap for more steps...
Step 6.2.2.3.2.1
Multiply by .
Tap for more steps...
Step 6.2.2.3.2.1.1
Raise to the power of .
Step 6.2.2.3.2.1.2
Use the power rule to combine exponents.
Step 6.2.2.3.2.2
Subtract from .
Step 6.2.2.4
Split the single integral into multiple integrals.
Step 6.2.2.5
By the Power Rule, the integral of with respect to is .
Step 6.2.2.6
The integral of with respect to is .
Step 6.2.2.7
Simplify.
Step 6.2.3
Integrate the right side.
Tap for more steps...
Step 6.2.3.1
Since is constant with respect to , move out of the integral.
Step 6.2.3.2
The integral of with respect to is .
Step 6.2.3.3
Simplify.
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
Use the product property of logarithms, .
Step 8.3
Multiply .
Tap for more steps...
Step 8.3.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 8.3.2
Combine and .
Step 8.4
Cancel the common factor of .
Tap for more steps...
Step 8.4.1
Cancel the common factor.
Step 8.4.2
Divide by .
Step 8.5
Simplify each term.
Tap for more steps...
Step 8.5.1
Multiply the numerator by the reciprocal of the denominator.
Step 8.5.2
Multiply by .