Calculus Examples

Solve the Differential Equation (dy)/(dx)=a(b-y)
Step 1
Let . Substitute for all occurrences of .
Step 2
Find by differentiating .
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of with respect to is .
Step 2.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.3
Evaluate .
Tap for more steps...
Step 2.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.2
Rewrite as .
Step 2.4
Subtract from .
Step 3
Substitute the derivative back in to the differential equation.
Step 4
Separate the variables.
Tap for more steps...
Step 4.1
Multiply both sides by .
Step 4.2
Cancel the common factor of .
Tap for more steps...
Step 4.2.1
Factor out of .
Step 4.2.2
Cancel the common factor.
Step 4.2.3
Rewrite the expression.
Step 4.3
Remove unnecessary parentheses.
Step 4.4
Rewrite the equation.
Step 5
Integrate both sides.
Tap for more steps...
Step 5.1
Set up an integral on each side.
Step 5.2
Integrate the left side.
Tap for more steps...
Step 5.2.1
Simplify.
Tap for more steps...
Step 5.2.1.1
Combine and .
Step 5.2.1.2
Move the negative in front of the fraction.
Step 5.2.2
Since is constant with respect to , move out of the integral.
Step 5.2.3
The integral of with respect to is .
Step 5.2.4
Simplify.
Step 5.3
Apply the constant rule.
Step 5.4
Group the constant of integration on the right side as .
Step 6
Solve for .
Tap for more steps...
Step 6.1
Divide each term in by and simplify.
Tap for more steps...
Step 6.1.1
Divide each term in by .
Step 6.1.2
Simplify the left side.
Tap for more steps...
Step 6.1.2.1
Dividing two negative values results in a positive value.
Step 6.1.2.2
Divide by .
Step 6.1.3
Simplify the right side.
Tap for more steps...
Step 6.1.3.1
Simplify each term.
Tap for more steps...
Step 6.1.3.1.1
Move the negative one from the denominator of .
Step 6.1.3.1.2
Rewrite as .
Step 6.1.3.1.3
Move the negative one from the denominator of .
Step 6.1.3.1.4
Rewrite as .
Step 6.2
To solve for , rewrite the equation using properties of logarithms.
Step 6.3
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 6.4
Solve for .
Tap for more steps...
Step 6.4.1
Rewrite the equation as .
Step 6.4.2
Remove the absolute value term. This creates a on the right side of the equation because .
Step 7
Group the constant terms together.
Tap for more steps...
Step 7.1
Simplify the constant of integration.
Step 7.2
Rewrite as .
Step 7.3
Reorder and .
Step 7.4
Combine constants with the plus or minus.
Step 8
Replace all occurrences of with .
Step 9
Solve for .
Tap for more steps...
Step 9.1
Subtract from both sides of the equation.
Step 9.2
Divide each term in by and simplify.
Tap for more steps...
Step 9.2.1
Divide each term in by .
Step 9.2.2
Simplify the left side.
Tap for more steps...
Step 9.2.2.1
Dividing two negative values results in a positive value.
Step 9.2.2.2
Divide by .
Step 9.2.3
Simplify the right side.
Tap for more steps...
Step 9.2.3.1
Simplify each term.
Tap for more steps...
Step 9.2.3.1.1
Move the negative one from the denominator of .
Step 9.2.3.1.2
Rewrite as .
Step 9.2.3.1.3
Dividing two negative values results in a positive value.
Step 9.2.3.1.4
Divide by .
Step 10
Simplify the constant of integration.