Calculus Examples

Solve the Differential Equation (dy)/(dx)-y=-y^2
Step 1
To solve the differential equation, let where is the exponent of .
Step 2
Solve the equation for .
Step 3
Take the derivative of with respect to .
Step 4
Take the derivative of with respect to .
Tap for more steps...
Step 4.1
Take the derivative of .
Step 4.2
Rewrite the expression using the negative exponent rule .
Step 4.3
Differentiate using the Quotient Rule which states that is where and .
Step 4.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 4.4.1
Multiply by .
Step 4.4.2
Since is constant with respect to , the derivative of with respect to is .
Step 4.4.3
Simplify the expression.
Tap for more steps...
Step 4.4.3.1
Multiply by .
Step 4.4.3.2
Subtract from .
Step 4.4.3.3
Move the negative in front of the fraction.
Step 4.5
Rewrite as .
Step 5
Substitute for and for in the original equation .
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
Simplify .
Tap for more steps...
Step 6.1.1.2.1
Multiply the exponents in .
Tap for more steps...
Step 6.1.1.2.1.1
Apply the power rule and multiply exponents, .
Step 6.1.1.2.1.2
Multiply by .
Step 6.1.1.2.2
Rewrite the expression using the negative exponent rule .
Step 6.1.1.3
Add to both sides of the equation.
Step 6.1.1.4
Divide each term in by and simplify.
Tap for more steps...
Step 6.1.1.4.1
Divide each term in by .
Step 6.1.1.4.2
Simplify the left side.
Tap for more steps...
Step 6.1.1.4.2.1
Dividing two negative values results in a positive value.
Step 6.1.1.4.2.2
Divide by .
Step 6.1.1.4.3
Simplify the right side.
Tap for more steps...
Step 6.1.1.4.3.1
Simplify each term.
Tap for more steps...
Step 6.1.1.4.3.1.1
Dividing two negative values results in a positive value.
Step 6.1.1.4.3.1.2
Divide by .
Step 6.1.1.4.3.1.3
Move the negative one from the denominator of .
Step 6.1.1.4.3.1.4
Rewrite as .
Step 6.1.1.5
Multiply both sides by .
Step 6.1.1.6
Simplify.
Tap for more steps...
Step 6.1.1.6.1
Simplify the left side.
Tap for more steps...
Step 6.1.1.6.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.1.1.6.1.1.1
Cancel the common factor.
Step 6.1.1.6.1.1.2
Rewrite the expression.
Step 6.1.1.6.2
Simplify the right side.
Tap for more steps...
Step 6.1.1.6.2.1
Simplify .
Tap for more steps...
Step 6.1.1.6.2.1.1
Apply the distributive property.
Step 6.1.1.6.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 6.1.1.6.2.1.2.1
Cancel the common factor.
Step 6.1.1.6.2.1.2.2
Rewrite the expression.
Step 6.1.1.6.2.1.3
Cancel the common factor of .
Tap for more steps...
Step 6.1.1.6.2.1.3.1
Move the leading negative in into the numerator.
Step 6.1.1.6.2.1.3.2
Factor out of .
Step 6.1.1.6.2.1.3.3
Cancel the common factor.
Step 6.1.1.6.2.1.3.4
Rewrite the expression.
Step 6.1.1.6.2.1.4
Simplify the expression.
Tap for more steps...
Step 6.1.1.6.2.1.4.1
Rewrite as .
Step 6.1.1.6.2.1.4.2
Reorder and .
Step 6.1.2
Multiply both sides by .
Step 6.1.3
Simplify.
Tap for more steps...
Step 6.1.3.1
Multiply by .
Step 6.1.3.2
Cancel the common factor of .
Tap for more steps...
Step 6.1.3.2.1
Cancel the common factor.
Step 6.1.3.2.2
Rewrite the expression.
Step 6.1.4
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
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 6.2.2.1.1
Let . Find .
Tap for more steps...
Step 6.2.2.1.1.1
Rewrite.
Step 6.2.2.1.1.2
Divide by .
Step 6.2.2.1.2
Rewrite the problem using and .
Step 6.2.2.2
Split the fraction into multiple fractions.
Step 6.2.2.3
Since is constant with respect to , move out of the integral.
Step 6.2.2.4
The integral of with respect to is .
Step 6.2.2.5
Simplify.
Step 6.2.2.6
Replace all occurrences of with .
Step 6.2.3
Apply the constant rule.
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
Divide each term in by and simplify.
Tap for more steps...
Step 6.3.1.1
Divide each term in by .
Step 6.3.1.2
Simplify the left side.
Tap for more steps...
Step 6.3.1.2.1
Dividing two negative values results in a positive value.
Step 6.3.1.2.2
Divide by .
Step 6.3.1.3
Simplify the right side.
Tap for more steps...
Step 6.3.1.3.1
Simplify each term.
Tap for more steps...
Step 6.3.1.3.1.1
Move the negative one from the denominator of .
Step 6.3.1.3.1.2
Rewrite as .
Step 6.3.1.3.1.3
Move the negative one from the denominator of .
Step 6.3.1.3.1.4
Rewrite as .
Step 6.3.2
To solve for , rewrite the equation using properties of logarithms.
Step 6.3.3
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 6.3.4
Solve for .
Tap for more steps...
Step 6.3.4.1
Rewrite the equation as .
Step 6.3.4.2
Remove the absolute value term. This creates a on the right side of the equation because .
Step 6.3.4.3
Subtract from both sides of the equation.
Step 6.3.4.4
Divide each term in by and simplify.
Tap for more steps...
Step 6.3.4.4.1
Divide each term in by .
Step 6.3.4.4.2
Simplify the left side.
Tap for more steps...
Step 6.3.4.4.2.1
Dividing two negative values results in a positive value.
Step 6.3.4.4.2.2
Divide by .
Step 6.3.4.4.3
Simplify the right side.
Tap for more steps...
Step 6.3.4.4.3.1
Simplify each term.
Tap for more steps...
Step 6.3.4.4.3.1.1
Move the negative one from the denominator of .
Step 6.3.4.4.3.1.2
Rewrite as .
Step 6.3.4.4.3.1.3
Divide by .
Step 6.4
Group the constant terms together.
Tap for more steps...
Step 6.4.1
Simplify the constant of integration.
Step 6.4.2
Rewrite as .
Step 6.4.3
Reorder and .
Step 6.4.4
Combine constants with the plus or minus.
Step 7
Substitute for .