Calculus Examples

Solve the Differential Equation (dy)/(dx)=(2xy+y^2)/(x^2)
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
Cancel the common factor of and .
Tap for more steps...
Step 1.1.2.1
Factor out of .
Step 1.1.2.2
Cancel the common factors.
Tap for more steps...
Step 1.1.2.2.1
Factor out of .
Step 1.1.2.2.2
Cancel the common factor.
Step 1.1.2.2.3
Rewrite the expression.
Step 1.2
Factor out from .
Tap for more steps...
Step 1.2.1
Factor out of .
Step 1.2.2
Reorder and .
Step 1.3
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
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
Subtract from .
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.2
Factor.
Tap for more steps...
Step 6.1.2.1
Combine the numerators over the common denominator.
Step 6.1.2.2
Factor out of .
Tap for more steps...
Step 6.1.2.2.1
Factor out of .
Step 6.1.2.2.2
Raise to the power of .
Step 6.1.2.2.3
Factor out of .
Step 6.1.2.2.4
Factor out of .
Step 6.1.3
Multiply both sides by .
Step 6.1.4
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.1
Cancel the common factor.
Step 6.1.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
Write the fraction using partial fraction decomposition.
Tap for more steps...
Step 6.2.2.1.1
Decompose the fraction and multiply through by the common denominator.
Tap for more steps...
Step 6.2.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 6.2.2.1.1.2
Multiply each fraction in the equation by the denominator of the original expression. In this case, the denominator is .
Step 6.2.2.1.1.3
Cancel the common factor of .
Tap for more steps...
Step 6.2.2.1.1.3.1
Cancel the common factor.
Step 6.2.2.1.1.3.2
Rewrite the expression.
Step 6.2.2.1.1.4
Cancel the common factor of .
Tap for more steps...
Step 6.2.2.1.1.4.1
Cancel the common factor.
Step 6.2.2.1.1.4.2
Rewrite the expression.
Step 6.2.2.1.1.5
Simplify each term.
Tap for more steps...
Step 6.2.2.1.1.5.1
Cancel the common factor of .
Tap for more steps...
Step 6.2.2.1.1.5.1.1
Cancel the common factor.
Step 6.2.2.1.1.5.1.2
Divide by .
Step 6.2.2.1.1.5.2
Apply the distributive property.
Step 6.2.2.1.1.5.3
Multiply by .
Step 6.2.2.1.1.5.4
Cancel the common factor of .
Tap for more steps...
Step 6.2.2.1.1.5.4.1
Cancel the common factor.
Step 6.2.2.1.1.5.4.2
Divide by .
Step 6.2.2.1.1.6
Move .
Step 6.2.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 6.2.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 6.2.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 6.2.2.1.2.3
Set up the system of equations to find the coefficients of the partial fractions.
Step 6.2.2.1.3
Solve the system of equations.
Tap for more steps...
Step 6.2.2.1.3.1
Rewrite the equation as .
Step 6.2.2.1.3.2
Replace all occurrences of with in each equation.
Tap for more steps...
Step 6.2.2.1.3.2.1
Replace all occurrences of in with .
Step 6.2.2.1.3.2.2
Simplify the right side.
Tap for more steps...
Step 6.2.2.1.3.2.2.1
Remove parentheses.
Step 6.2.2.1.3.3
Solve for in .
Tap for more steps...
Step 6.2.2.1.3.3.1
Rewrite the equation as .
Step 6.2.2.1.3.3.2
Subtract from both sides of the equation.
Step 6.2.2.1.3.4
Solve the system of equations.
Step 6.2.2.1.3.5
List all of the solutions.
Step 6.2.2.1.4
Replace each of the partial fraction coefficients in with the values found for and .
Step 6.2.2.1.5
Move the negative in front of the fraction.
Step 6.2.2.2
Split the single integral into multiple integrals.
Step 6.2.2.3
The integral of with respect to is .
Step 6.2.2.4
Since is constant with respect to , move out of the integral.
Step 6.2.2.5
Let . Then . 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
Differentiate .
Step 6.2.2.5.1.2
By the Sum Rule, the derivative of with respect to is .
Step 6.2.2.5.1.3
Differentiate using the Power Rule which states that is where .
Step 6.2.2.5.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 6.2.2.5.1.5
Add and .
Step 6.2.2.5.2
Rewrite the problem using and .
Step 6.2.2.6
The integral of with respect to is .
Step 6.2.2.7
Simplify.
Step 6.2.2.8
Use the quotient property of logarithms, .
Step 6.2.2.9
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 6.3
Solve for .
Tap for more steps...
Step 6.3.1
Move all the terms containing a logarithm to the left side of the equation.
Step 6.3.2
Use the quotient property of logarithms, .
Step 6.3.3
Multiply the numerator by the reciprocal of the denominator.
Step 6.3.4
Multiply .
Tap for more steps...
Step 6.3.4.1
Multiply by .
Step 6.3.4.2
To multiply absolute values, multiply the terms inside each absolute value.
Step 6.3.5
Simplify the denominator.
Tap for more steps...
Step 6.3.5.1
Apply the distributive property.
Step 6.3.5.2
Multiply by .
Step 6.3.5.3
Factor out of .
Tap for more steps...
Step 6.3.5.3.1
Factor out of .
Step 6.3.5.3.2
Raise to the power of .
Step 6.3.5.3.3
Factor out of .
Step 6.3.5.3.4
Factor out of .
Step 6.3.6
To solve for , rewrite the equation using properties of logarithms.
Step 6.3.7
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 6.3.8
Solve for .
Tap for more steps...
Step 6.3.8.1
Rewrite the equation as .
Step 6.3.8.2
Multiply both sides by .
Step 6.3.8.3
Simplify.
Tap for more steps...
Step 6.3.8.3.1
Simplify the left side.
Tap for more steps...
Step 6.3.8.3.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.8.3.1.1.1
Cancel the common factor.
Step 6.3.8.3.1.1.2
Rewrite the expression.
Step 6.3.8.3.2
Simplify the right side.
Tap for more steps...
Step 6.3.8.3.2.1
Simplify .
Tap for more steps...
Step 6.3.8.3.2.1.1
Apply the distributive property.
Step 6.3.8.3.2.1.2
Multiply by .
Step 6.3.8.4
Solve for .
Tap for more steps...
Step 6.3.8.4.1
Rewrite the equation as .
Step 6.3.8.4.2
Divide each term in by and simplify.
Tap for more steps...
Step 6.3.8.4.2.1
Divide each term in by .
Step 6.3.8.4.2.2
Simplify the left side.
Tap for more steps...
Step 6.3.8.4.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.8.4.2.2.1.1
Cancel the common factor.
Step 6.3.8.4.2.2.1.2
Divide by .
Step 6.3.8.4.3
Rewrite the absolute value equation as four equations without absolute value bars.
Step 6.3.8.4.4
After simplifying, there are only two unique equations to be solved.
Step 6.3.8.4.5
Solve for .
Tap for more steps...
Step 6.3.8.4.5.1
Multiply both sides by .
Step 6.3.8.4.5.2
Simplify.
Tap for more steps...
Step 6.3.8.4.5.2.1
Simplify the left side.
Tap for more steps...
Step 6.3.8.4.5.2.1.1
Apply the distributive property.
Step 6.3.8.4.5.2.2
Simplify the right side.
Tap for more steps...
Step 6.3.8.4.5.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.8.4.5.2.2.1.1
Cancel the common factor.
Step 6.3.8.4.5.2.2.1.2
Rewrite the expression.
Step 6.3.8.4.5.3
Solve for .
Tap for more steps...
Step 6.3.8.4.5.3.1
Subtract from both sides of the equation.
Step 6.3.8.4.5.3.2
Subtract from both sides of the equation.
Step 6.3.8.4.5.3.3
Factor out of .
Tap for more steps...
Step 6.3.8.4.5.3.3.1
Factor out of .
Step 6.3.8.4.5.3.3.2
Factor out of .
Step 6.3.8.4.5.3.3.3
Factor out of .
Step 6.3.8.4.5.3.4
Divide each term in by and simplify.
Tap for more steps...
Step 6.3.8.4.5.3.4.1
Divide each term in by .
Step 6.3.8.4.5.3.4.2
Simplify the left side.
Tap for more steps...
Step 6.3.8.4.5.3.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.8.4.5.3.4.2.1.1
Cancel the common factor.
Step 6.3.8.4.5.3.4.2.1.2
Divide by .
Step 6.3.8.4.5.3.4.3
Simplify the right side.
Tap for more steps...
Step 6.3.8.4.5.3.4.3.1
Move the negative in front of the fraction.
Step 6.3.8.4.6
Solve for .
Tap for more steps...
Step 6.3.8.4.6.1
Multiply both sides by .
Step 6.3.8.4.6.2
Simplify.
Tap for more steps...
Step 6.3.8.4.6.2.1
Simplify the left side.
Tap for more steps...
Step 6.3.8.4.6.2.1.1
Apply the distributive property.
Step 6.3.8.4.6.2.2
Simplify the right side.
Tap for more steps...
Step 6.3.8.4.6.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.8.4.6.2.2.1.1
Move the leading negative in into the numerator.
Step 6.3.8.4.6.2.2.1.2
Cancel the common factor.
Step 6.3.8.4.6.2.2.1.3
Rewrite the expression.
Step 6.3.8.4.6.3
Solve for .
Tap for more steps...
Step 6.3.8.4.6.3.1
Add to both sides of the equation.
Step 6.3.8.4.6.3.2
Subtract from both sides of the equation.
Step 6.3.8.4.6.3.3
Factor out of .
Tap for more steps...
Step 6.3.8.4.6.3.3.1
Factor out of .
Step 6.3.8.4.6.3.3.2
Raise to the power of .
Step 6.3.8.4.6.3.3.3
Factor out of .
Step 6.3.8.4.6.3.3.4
Factor out of .
Step 6.3.8.4.6.3.4
Divide each term in by and simplify.
Tap for more steps...
Step 6.3.8.4.6.3.4.1
Divide each term in by .
Step 6.3.8.4.6.3.4.2
Simplify the left side.
Tap for more steps...
Step 6.3.8.4.6.3.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.8.4.6.3.4.2.1.1
Cancel the common factor.
Step 6.3.8.4.6.3.4.2.1.2
Divide by .
Step 6.3.8.4.6.3.4.3
Simplify the right side.
Tap for more steps...
Step 6.3.8.4.6.3.4.3.1
Move the negative in front of the fraction.
Step 6.3.8.4.7
List all of the solutions.
Step 6.4
Simplify the constant of integration.
Step 7
Substitute for .
Step 8
Solve for .
Tap for more steps...
Step 8.1
Rewrite.
Step 8.2
Multiply the numerator of the first fraction by the denominator of the second fraction. Set this equal to the product of the denominator of the first fraction and the numerator of the second fraction.
Step 8.3
Solve the equation for .
Tap for more steps...
Step 8.3.1
Simplify.
Tap for more steps...
Step 8.3.1.1
Raise to the power of .
Step 8.3.1.2
Raise to the power of .
Step 8.3.1.3
Use the power rule to combine exponents.
Step 8.3.1.4
Add and .
Step 8.3.2
Divide each term in by and simplify.
Tap for more steps...
Step 8.3.2.1
Divide each term in by .
Step 8.3.2.2
Simplify the left side.
Tap for more steps...
Step 8.3.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 8.3.2.2.1.1
Cancel the common factor.
Step 8.3.2.2.1.2
Divide by .
Step 8.3.2.3
Simplify the right side.
Tap for more steps...
Step 8.3.2.3.1
Move the negative in front of the fraction.
Step 9
Solve for .
Tap for more steps...
Step 9.1
Rewrite.
Step 9.2
Multiply the numerator of the first fraction by the denominator of the second fraction. Set this equal to the product of the denominator of the first fraction and the numerator of the second fraction.
Step 9.3
Solve the equation for .
Tap for more steps...
Step 9.3.1
Simplify.
Tap for more steps...
Step 9.3.1.1
Raise to the power of .
Step 9.3.1.2
Raise to the power of .
Step 9.3.1.3
Use the power rule to combine exponents.
Step 9.3.1.4
Add and .
Step 9.3.2
Divide each term in by and simplify.
Tap for more steps...
Step 9.3.2.1
Divide each term in by .
Step 9.3.2.2
Simplify the left side.
Tap for more steps...
Step 9.3.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 9.3.2.2.1.1
Cancel the common factor.
Step 9.3.2.2.1.2
Divide by .
Step 9.3.2.3
Simplify the right side.
Tap for more steps...
Step 9.3.2.3.1
Move the negative in front of the fraction.
Step 10
List the solutions.