Calculus Examples

Solve the Differential Equation (y^2-y)dx+xdy=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
Cancel the common factor of .
Tap for more steps...
Step 3.1.1
Cancel the common factor.
Step 3.1.2
Rewrite the expression.
Step 3.2
Factor out of .
Tap for more steps...
Step 3.2.1
Factor out of .
Step 3.2.2
Factor out of .
Step 3.2.3
Factor out of .
Step 3.3
Rewrite using the commutative property of multiplication.
Step 3.4
Cancel the common factor of .
Tap for more steps...
Step 3.4.1
Move the leading negative in into the numerator.
Step 3.4.2
Factor out of .
Step 3.4.3
Cancel the common factor.
Step 3.4.4
Rewrite the expression.
Step 3.5
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
Write the fraction using partial fraction decomposition.
Tap for more steps...
Step 4.2.1.1
Decompose the fraction and multiply through by the common denominator.
Tap for more steps...
Step 4.2.1.1.1
For each factor in the denominator, create a new fraction using the factor as the denominator, and an unknown value as the numerator. Since the factor in the denominator is linear, put a single variable in its place .
Step 4.2.1.1.2
Multiply each fraction in the equation by the denominator of the original expression. In this case, the denominator is .
Step 4.2.1.1.3
Cancel the common factor of .
Tap for more steps...
Step 4.2.1.1.3.1
Cancel the common factor.
Step 4.2.1.1.3.2
Rewrite the expression.
Step 4.2.1.1.4
Cancel the common factor of .
Tap for more steps...
Step 4.2.1.1.4.1
Cancel the common factor.
Step 4.2.1.1.4.2
Rewrite the expression.
Step 4.2.1.1.5
Simplify each term.
Tap for more steps...
Step 4.2.1.1.5.1
Cancel the common factor of .
Tap for more steps...
Step 4.2.1.1.5.1.1
Cancel the common factor.
Step 4.2.1.1.5.1.2
Divide by .
Step 4.2.1.1.5.2
Apply the distributive property.
Step 4.2.1.1.5.3
Move to the left of .
Step 4.2.1.1.5.4
Rewrite as .
Step 4.2.1.1.5.5
Cancel the common factor of .
Tap for more steps...
Step 4.2.1.1.5.5.1
Cancel the common factor.
Step 4.2.1.1.5.5.2
Divide by .
Step 4.2.1.1.6
Move .
Step 4.2.1.2
Create equations for the partial fraction variables and use them to set up a system of equations.
Tap for more steps...
Step 4.2.1.2.1
Create an equation for the partial fraction variables by equating the coefficients of from each side of the equation. For the equation to be equal, the equivalent coefficients on each side of the equation must be equal.
Step 4.2.1.2.2
Create an equation for the partial fraction variables by equating the coefficients of the terms not containing . For the equation to be equal, the equivalent coefficients on each side of the equation must be equal.
Step 4.2.1.2.3
Set up the system of equations to find the coefficients of the partial fractions.
Step 4.2.1.3
Solve the system of equations.
Tap for more steps...
Step 4.2.1.3.1
Solve for in .
Tap for more steps...
Step 4.2.1.3.1.1
Rewrite the equation as .
Step 4.2.1.3.1.2
Divide each term in by and simplify.
Tap for more steps...
Step 4.2.1.3.1.2.1
Divide each term in by .
Step 4.2.1.3.1.2.2
Simplify the left side.
Tap for more steps...
Step 4.2.1.3.1.2.2.1
Dividing two negative values results in a positive value.
Step 4.2.1.3.1.2.2.2
Divide by .
Step 4.2.1.3.1.2.3
Simplify the right side.
Tap for more steps...
Step 4.2.1.3.1.2.3.1
Divide by .
Step 4.2.1.3.2
Replace all occurrences of with in each equation.
Tap for more steps...
Step 4.2.1.3.2.1
Replace all occurrences of in with .
Step 4.2.1.3.2.2
Simplify the right side.
Tap for more steps...
Step 4.2.1.3.2.2.1
Remove parentheses.
Step 4.2.1.3.3
Solve for in .
Tap for more steps...
Step 4.2.1.3.3.1
Rewrite the equation as .
Step 4.2.1.3.3.2
Add to both sides of the equation.
Step 4.2.1.3.4
Solve the system of equations.
Step 4.2.1.3.5
List all of the solutions.
Step 4.2.1.4
Replace each of the partial fraction coefficients in with the values found for and .
Step 4.2.1.5
Move the negative in front of the fraction.
Step 4.2.2
Split the single integral into multiple integrals.
Step 4.2.3
Since is constant with respect to , move out of the integral.
Step 4.2.4
The integral of with respect to is .
Step 4.2.5
Let . Then . Rewrite using and .
Tap for more steps...
Step 4.2.5.1
Let . Find .
Tap for more steps...
Step 4.2.5.1.1
Differentiate .
Step 4.2.5.1.2
By the Sum Rule, the derivative of with respect to is .
Step 4.2.5.1.3
Differentiate using the Power Rule which states that is where .
Step 4.2.5.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 4.2.5.1.5
Add and .
Step 4.2.5.2
Rewrite the problem using and .
Step 4.2.6
The integral of with respect to is .
Step 4.2.7
Simplify.
Step 4.2.8
Replace all occurrences of with .
Step 4.2.9
Reorder terms.
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
The integral of with respect to is .
Step 4.3.3
Simplify.
Step 4.4
Group the constant of integration on the right side as .
Step 5
Solve for .
Tap for more steps...
Step 5.1
Use the quotient property of logarithms, .
Step 5.2
Reorder and .
Step 5.3
Move all the terms containing a logarithm to the left side of the equation.
Step 5.4
Use the product property of logarithms, .
Step 5.5
Multiply .
Tap for more steps...
Step 5.5.1
Combine and .
Step 5.5.2
To multiply absolute values, multiply the terms inside each absolute value.
Step 5.6
Simplify the numerator.
Tap for more steps...
Step 5.6.1
Apply the distributive property.
Step 5.6.2
Rewrite as .
Step 5.6.3
Factor out of .
Tap for more steps...
Step 5.6.3.1
Factor out of .
Step 5.6.3.2
Factor out of .
Step 5.6.3.3
Factor out of .
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
Multiply both sides by .
Step 5.9.3
Simplify the left side.
Tap for more steps...
Step 5.9.3.1
Simplify .
Tap for more steps...
Step 5.9.3.1.1
Simplify terms.
Tap for more steps...
Step 5.9.3.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 5.9.3.1.1.1.1
Cancel the common factor.
Step 5.9.3.1.1.1.2
Rewrite the expression.
Step 5.9.3.1.1.2
Apply the distributive property.
Step 5.9.3.1.1.3
Move to the left of .
Step 5.9.3.1.2
Rewrite as .
Step 5.9.4
Solve for .
Tap for more steps...
Step 5.9.4.1
Rewrite the equation as .
Step 5.9.4.2
Divide each term in by and simplify.
Tap for more steps...
Step 5.9.4.2.1
Divide each term in by .
Step 5.9.4.2.2
Simplify the left side.
Tap for more steps...
Step 5.9.4.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.9.4.2.2.1.1
Cancel the common factor.
Step 5.9.4.2.2.1.2
Divide by .
Step 5.9.4.3
Rewrite the absolute value equation as four equations without absolute value bars.
Step 5.9.4.4
After simplifying, there are only two unique equations to be solved.
Step 5.9.4.5
Solve for .
Tap for more steps...
Step 5.9.4.5.1
Multiply both sides by .
Step 5.9.4.5.2
Simplify the right side.
Tap for more steps...
Step 5.9.4.5.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.9.4.5.2.1.1
Cancel the common factor.
Step 5.9.4.5.2.1.2
Rewrite the expression.
Step 5.9.4.5.3
Solve for .
Tap for more steps...
Step 5.9.4.5.3.1
Subtract from both sides of the equation.
Step 5.9.4.5.3.2
Factor out of .
Tap for more steps...
Step 5.9.4.5.3.2.1
Factor out of .
Step 5.9.4.5.3.2.2
Factor out of .
Step 5.9.4.5.3.2.3
Factor out of .
Step 5.9.4.5.3.3
Divide each term in by and simplify.
Tap for more steps...
Step 5.9.4.5.3.3.1
Divide each term in by .
Step 5.9.4.5.3.3.2
Simplify the left side.
Tap for more steps...
Step 5.9.4.5.3.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.9.4.5.3.3.2.1.1
Cancel the common factor.
Step 5.9.4.5.3.3.2.1.2
Divide by .
Step 5.9.4.5.3.3.3
Simplify the right side.
Tap for more steps...
Step 5.9.4.5.3.3.3.1
Move the negative in front of the fraction.
Step 5.9.4.6
Solve for .
Tap for more steps...
Step 5.9.4.6.1
Multiply both sides by .
Step 5.9.4.6.2
Simplify the right side.
Tap for more steps...
Step 5.9.4.6.2.1
Simplify .
Tap for more steps...
Step 5.9.4.6.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 5.9.4.6.2.1.1.1
Move the leading negative in into the numerator.
Step 5.9.4.6.2.1.1.2
Cancel the common factor.
Step 5.9.4.6.2.1.1.3
Rewrite the expression.
Step 5.9.4.6.2.1.2
Apply the distributive property.
Step 5.9.4.6.2.1.3
Multiply .
Tap for more steps...
Step 5.9.4.6.2.1.3.1
Multiply by .
Step 5.9.4.6.2.1.3.2
Multiply by .
Step 5.9.4.6.3
Solve for .
Tap for more steps...
Step 5.9.4.6.3.1
Add to both sides of the equation.
Step 5.9.4.6.3.2
Factor out of .
Tap for more steps...
Step 5.9.4.6.3.2.1
Factor out of .
Step 5.9.4.6.3.2.2
Factor out of .
Step 5.9.4.6.3.2.3
Factor out of .
Step 5.9.4.6.3.3
Divide each term in by and simplify.
Tap for more steps...
Step 5.9.4.6.3.3.1
Divide each term in by .
Step 5.9.4.6.3.3.2
Simplify the left side.
Tap for more steps...
Step 5.9.4.6.3.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.9.4.6.3.3.2.1.1
Cancel the common factor.
Step 5.9.4.6.3.3.2.1.2
Divide by .
Step 5.9.4.7
List all of the solutions.
Step 6
Simplify the constant of integration.