Calculus Examples

Solve the Differential Equation (dP)/(dt)=P^2-7P+12 , P(0)=1
,
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Multiply both sides by .
Step 1.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.1
Cancel the common factor.
Step 1.2.2
Rewrite the expression.
Step 1.3
Rewrite the equation.
Step 2
Integrate both sides.
Tap for more steps...
Step 2.1
Set up an integral on each side.
Step 2.2
Integrate the left side.
Tap for more steps...
Step 2.2.1
Write the fraction using partial fraction decomposition.
Tap for more steps...
Step 2.2.1.1
Decompose the fraction and multiply through by the common denominator.
Tap for more steps...
Step 2.2.1.1.1
Factor using the AC method.
Tap for more steps...
Step 2.2.1.1.1.1
Consider the form . Find a pair of integers whose product is and whose sum is . In this case, whose product is and whose sum is .
Step 2.2.1.1.1.2
Write the factored form using these integers.
Step 2.2.1.1.2
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 2.2.1.1.3
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 2.2.1.1.4
Multiply each fraction in the equation by the denominator of the original expression. In this case, the denominator is .
Step 2.2.1.1.5
Cancel the common factor of .
Tap for more steps...
Step 2.2.1.1.5.1
Cancel the common factor.
Step 2.2.1.1.5.2
Rewrite the expression.
Step 2.2.1.1.6
Cancel the common factor of .
Tap for more steps...
Step 2.2.1.1.6.1
Cancel the common factor.
Step 2.2.1.1.6.2
Rewrite the expression.
Step 2.2.1.1.7
Simplify each term.
Tap for more steps...
Step 2.2.1.1.7.1
Cancel the common factor of .
Tap for more steps...
Step 2.2.1.1.7.1.1
Cancel the common factor.
Step 2.2.1.1.7.1.2
Divide by .
Step 2.2.1.1.7.2
Apply the distributive property.
Step 2.2.1.1.7.3
Move to the left of .
Step 2.2.1.1.7.4
Cancel the common factor of .
Tap for more steps...
Step 2.2.1.1.7.4.1
Cancel the common factor.
Step 2.2.1.1.7.4.2
Divide by .
Step 2.2.1.1.7.5
Apply the distributive property.
Step 2.2.1.1.7.6
Move to the left of .
Step 2.2.1.1.8
Move .
Step 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 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 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 2.2.1.2.3
Set up the system of equations to find the coefficients of the partial fractions.
Step 2.2.1.3
Solve the system of equations.
Tap for more steps...
Step 2.2.1.3.1
Solve for in .
Tap for more steps...
Step 2.2.1.3.1.1
Rewrite the equation as .
Step 2.2.1.3.1.2
Subtract from both sides of the equation.
Step 2.2.1.3.2
Replace all occurrences of with in each equation.
Tap for more steps...
Step 2.2.1.3.2.1
Replace all occurrences of in with .
Step 2.2.1.3.2.2
Simplify the right side.
Tap for more steps...
Step 2.2.1.3.2.2.1
Simplify .
Tap for more steps...
Step 2.2.1.3.2.2.1.1
Multiply by .
Step 2.2.1.3.2.2.1.2
Subtract from .
Step 2.2.1.3.3
Solve for in .
Tap for more steps...
Step 2.2.1.3.3.1
Rewrite the equation as .
Step 2.2.1.3.3.2
Divide each term in by and simplify.
Tap for more steps...
Step 2.2.1.3.3.2.1
Divide each term in by .
Step 2.2.1.3.3.2.2
Simplify the left side.
Tap for more steps...
Step 2.2.1.3.3.2.2.1
Dividing two negative values results in a positive value.
Step 2.2.1.3.3.2.2.2
Divide by .
Step 2.2.1.3.3.2.3
Simplify the right side.
Tap for more steps...
Step 2.2.1.3.3.2.3.1
Divide by .
Step 2.2.1.3.4
Replace all occurrences of with in each equation.
Tap for more steps...
Step 2.2.1.3.4.1
Replace all occurrences of in with .
Step 2.2.1.3.4.2
Simplify the right side.
Tap for more steps...
Step 2.2.1.3.4.2.1
Multiply by .
Step 2.2.1.3.5
List all of the solutions.
Step 2.2.1.4
Replace each of the partial fraction coefficients in with the values found for and .
Step 2.2.1.5
Move the negative in front of the fraction.
Step 2.2.2
Split the single integral into multiple integrals.
Step 2.2.3
Let . Then . Rewrite using and .
Tap for more steps...
Step 2.2.3.1
Let . Find .
Tap for more steps...
Step 2.2.3.1.1
Differentiate .
Step 2.2.3.1.2
By the Sum Rule, the derivative of with respect to is .
Step 2.2.3.1.3
Differentiate using the Power Rule which states that is where .
Step 2.2.3.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.3.1.5
Add and .
Step 2.2.3.2
Rewrite the problem using and .
Step 2.2.4
The integral of with respect to is .
Step 2.2.5
Since is constant with respect to , move out of the integral.
Step 2.2.6
Let . Then . Rewrite using and .
Tap for more steps...
Step 2.2.6.1
Let . Find .
Tap for more steps...
Step 2.2.6.1.1
Differentiate .
Step 2.2.6.1.2
By the Sum Rule, the derivative of with respect to is .
Step 2.2.6.1.3
Differentiate using the Power Rule which states that is where .
Step 2.2.6.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.6.1.5
Add and .
Step 2.2.6.2
Rewrite the problem using and .
Step 2.2.7
The integral of with respect to is .
Step 2.2.8
Simplify.
Step 2.2.9
Use the quotient property of logarithms, .
Step 2.2.10
Substitute back in for each integration substitution variable.
Tap for more steps...
Step 2.2.10.1
Replace all occurrences of with .
Step 2.2.10.2
Replace all occurrences of with .
Step 2.3
Apply the constant rule.
Step 2.4
Group the constant of integration on the right side as .
Step 3
Solve for .
Tap for more steps...
Step 3.1
To solve for , rewrite the equation using properties of logarithms.
Step 3.2
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 3.3
Solve for .
Tap for more steps...
Step 3.3.1
Rewrite the equation as .
Step 3.3.2
Multiply both sides by .
Step 3.3.3
Simplify the left side.
Tap for more steps...
Step 3.3.3.1
Cancel the common factor of .
Tap for more steps...
Step 3.3.3.1.1
Cancel the common factor.
Step 3.3.3.1.2
Rewrite the expression.
Step 3.3.4
Solve for .
Tap for more steps...
Step 3.3.4.1
Rewrite the equation as .
Step 3.3.4.2
Divide each term in by and simplify.
Tap for more steps...
Step 3.3.4.2.1
Divide each term in by .
Step 3.3.4.2.2
Simplify the left side.
Tap for more steps...
Step 3.3.4.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 3.3.4.2.2.1.1
Cancel the common factor.
Step 3.3.4.2.2.1.2
Divide by .
Step 3.3.4.3
Rewrite the absolute value equation as four equations without absolute value bars.
Step 3.3.4.4
After simplifying, there are only two unique equations to be solved.
Step 3.3.4.5
Solve for .
Tap for more steps...
Step 3.3.4.5.1
Multiply both sides by .
Step 3.3.4.5.2
Simplify.
Tap for more steps...
Step 3.3.4.5.2.1
Simplify the left side.
Tap for more steps...
Step 3.3.4.5.2.1.1
Simplify .
Tap for more steps...
Step 3.3.4.5.2.1.1.1
Apply the distributive property.
Step 3.3.4.5.2.1.1.2
Simplify with commuting.
Tap for more steps...
Step 3.3.4.5.2.1.1.2.1
Reorder and .
Step 3.3.4.5.2.1.1.2.2
Reorder and .
Step 3.3.4.5.2.2
Simplify the right side.
Tap for more steps...
Step 3.3.4.5.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 3.3.4.5.2.2.1.1
Cancel the common factor.
Step 3.3.4.5.2.2.1.2
Rewrite the expression.
Step 3.3.4.5.3
Solve for .
Tap for more steps...
Step 3.3.4.5.3.1
Subtract from both sides of the equation.
Step 3.3.4.5.3.2
Add to both sides of the equation.
Step 3.3.4.5.3.3
Factor out of .
Tap for more steps...
Step 3.3.4.5.3.3.1
Factor out of .
Step 3.3.4.5.3.3.2
Factor out of .
Step 3.3.4.5.3.3.3
Factor out of .
Step 3.3.4.5.3.4
Divide each term in by and simplify.
Tap for more steps...
Step 3.3.4.5.3.4.1
Divide each term in by .
Step 3.3.4.5.3.4.2
Simplify the left side.
Tap for more steps...
Step 3.3.4.5.3.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 3.3.4.5.3.4.2.1.1
Cancel the common factor.
Step 3.3.4.5.3.4.2.1.2
Divide by .
Step 3.3.4.5.3.4.3
Simplify the right side.
Tap for more steps...
Step 3.3.4.5.3.4.3.1
Combine the numerators over the common denominator.
Step 3.3.4.5.3.4.3.2
Rewrite as .
Step 3.3.4.5.3.4.3.3
Factor out of .
Step 3.3.4.5.3.4.3.4
Factor out of .
Step 3.3.4.5.3.4.3.5
Move the negative in front of the fraction.
Step 3.3.4.6
Solve for .
Tap for more steps...
Step 3.3.4.6.1
Multiply both sides by .
Step 3.3.4.6.2
Simplify.
Tap for more steps...
Step 3.3.4.6.2.1
Simplify the left side.
Tap for more steps...
Step 3.3.4.6.2.1.1
Simplify .
Tap for more steps...
Step 3.3.4.6.2.1.1.1
Apply the distributive property.
Step 3.3.4.6.2.1.1.2
Simplify with commuting.
Tap for more steps...
Step 3.3.4.6.2.1.1.2.1
Reorder and .
Step 3.3.4.6.2.1.1.2.2
Reorder and .
Step 3.3.4.6.2.2
Simplify the right side.
Tap for more steps...
Step 3.3.4.6.2.2.1
Simplify .
Tap for more steps...
Step 3.3.4.6.2.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 3.3.4.6.2.2.1.1.1
Move the leading negative in into the numerator.
Step 3.3.4.6.2.2.1.1.2
Cancel the common factor.
Step 3.3.4.6.2.2.1.1.3
Rewrite the expression.
Step 3.3.4.6.2.2.1.2
Apply the distributive property.
Step 3.3.4.6.2.2.1.3
Multiply by .
Step 3.3.4.6.3
Solve for .
Tap for more steps...
Step 3.3.4.6.3.1
Add to both sides of the equation.
Step 3.3.4.6.3.2
Add to both sides of the equation.
Step 3.3.4.6.3.3
Factor out of .
Tap for more steps...
Step 3.3.4.6.3.3.1
Factor out of .
Step 3.3.4.6.3.3.2
Raise to the power of .
Step 3.3.4.6.3.3.3
Factor out of .
Step 3.3.4.6.3.3.4
Factor out of .
Step 3.3.4.6.3.4
Divide each term in by and simplify.
Tap for more steps...
Step 3.3.4.6.3.4.1
Divide each term in by .
Step 3.3.4.6.3.4.2
Simplify the left side.
Tap for more steps...
Step 3.3.4.6.3.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 3.3.4.6.3.4.2.1.1
Cancel the common factor.
Step 3.3.4.6.3.4.2.1.2
Divide by .
Step 3.3.4.6.3.4.3
Simplify the right side.
Tap for more steps...
Step 3.3.4.6.3.4.3.1
Combine the numerators over the common denominator.
Step 3.3.4.7
List all of the solutions.
Step 4
Group the constant terms together.
Tap for more steps...
Step 4.1
Reorder terms.
Step 4.2
Rewrite as .
Step 4.3
Reorder and .
Step 4.4
Reorder terms.
Step 4.5
Rewrite as .
Step 4.6
Reorder and .
Step 4.7
Reorder terms.
Step 4.8
Rewrite as .
Step 4.9
Reorder and .
Step 4.10
Reorder terms.
Step 4.11
Rewrite as .
Step 4.12
Reorder and .
Step 5
Since is positive in the initial condition , only consider to find the . Substitute for and for .
Step 6
Solve for .
Tap for more steps...
Step 6.1
Rewrite the equation as .
Step 6.2
Multiply both sides by .
Step 6.3
Simplify.
Tap for more steps...
Step 6.3.1
Simplify the left side.
Tap for more steps...
Step 6.3.1.1
Simplify .
Tap for more steps...
Step 6.3.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.1.1.1.1
Move the leading negative in into the numerator.
Step 6.3.1.1.1.2
Cancel the common factor.
Step 6.3.1.1.1.3
Rewrite the expression.
Step 6.3.1.1.2
Multiply by by adding the exponents.
Tap for more steps...
Step 6.3.1.1.2.1
Move .
Step 6.3.1.1.2.2
Use the power rule to combine exponents.
Step 6.3.1.1.2.3
Add and .
Step 6.3.1.1.3
Apply the distributive property.
Step 6.3.1.1.4
Multiply.
Tap for more steps...
Step 6.3.1.1.4.1
Multiply by .
Step 6.3.1.1.4.2
Multiply by .
Step 6.3.2
Simplify the right side.
Tap for more steps...
Step 6.3.2.1
Simplify .
Tap for more steps...
Step 6.3.2.1.1
Multiply by .
Step 6.3.2.1.2
Multiply by by adding the exponents.
Tap for more steps...
Step 6.3.2.1.2.1
Use the power rule to combine exponents.
Step 6.3.2.1.2.2
Add and .
Step 6.4
Solve for .
Tap for more steps...
Step 6.4.1
Move all terms containing to the left side of the equation.
Tap for more steps...
Step 6.4.1.1
Subtract from both sides of the equation.
Step 6.4.1.2
Subtract from .
Step 6.4.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 6.4.2.1
Add to both sides of the equation.
Step 6.4.2.2
Add and .
Step 6.4.3
Divide each term in by and simplify.
Tap for more steps...
Step 6.4.3.1
Divide each term in by .
Step 6.4.3.2
Simplify the left side.
Tap for more steps...
Step 6.4.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.4.3.2.1.1
Cancel the common factor.
Step 6.4.3.2.1.2
Divide by .
Step 6.4.4
Take the natural logarithm of both sides of the equation to remove the variable from the exponent.
Step 6.4.5
Expand the left side.
Tap for more steps...
Step 6.4.5.1
Expand by moving outside the logarithm.
Step 6.4.5.2
The natural logarithm of is .
Step 6.4.5.3
Multiply by .
Step 7
Substitute for in and simplify.
Tap for more steps...
Step 7.1
Substitute for .
Step 7.2
Multiply by by adding the exponents.
Tap for more steps...
Step 7.2.1
Move .
Step 7.2.2
Use the power rule to combine exponents.
Step 7.3
Use the power rule to combine exponents.