Calculus Examples

Solve the Differential Equation (dy)/(dx)=(x+2)^2e^y , y(1)=0
,
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Multiply both sides by .
Step 1.2
Simplify.
Tap for more steps...
Step 1.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.2.1.1
Factor out of .
Step 1.2.1.2
Cancel the common factor.
Step 1.2.1.3
Rewrite the expression.
Step 1.2.2
Rewrite as .
Step 1.2.3
Expand using the FOIL Method.
Tap for more steps...
Step 1.2.3.1
Apply the distributive property.
Step 1.2.3.2
Apply the distributive property.
Step 1.2.3.3
Apply the distributive property.
Step 1.2.4
Simplify and combine like terms.
Tap for more steps...
Step 1.2.4.1
Simplify each term.
Tap for more steps...
Step 1.2.4.1.1
Multiply by .
Step 1.2.4.1.2
Move to the left of .
Step 1.2.4.1.3
Multiply by .
Step 1.2.4.2
Add and .
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
Simplify the expression.
Tap for more steps...
Step 2.2.1.1
Negate the exponent of and move it out of the denominator.
Step 2.2.1.2
Simplify.
Tap for more steps...
Step 2.2.1.2.1
Multiply the exponents in .
Tap for more steps...
Step 2.2.1.2.1.1
Apply the power rule and multiply exponents, .
Step 2.2.1.2.1.2
Move to the left of .
Step 2.2.1.2.1.3
Rewrite as .
Step 2.2.1.2.2
Multiply by .
Step 2.2.2
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.2.2.1
Let . Find .
Tap for more steps...
Step 2.2.2.1.1
Differentiate .
Step 2.2.2.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.2.1.3
Differentiate using the Power Rule which states that is where .
Step 2.2.2.1.4
Multiply by .
Step 2.2.2.2
Rewrite the problem using and .
Step 2.2.3
Since is constant with respect to , move out of the integral.
Step 2.2.4
The integral of with respect to is .
Step 2.2.5
Simplify.
Step 2.2.6
Replace all occurrences of with .
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Split the single integral into multiple integrals.
Step 2.3.2
By the Power Rule, the integral of with respect to is .
Step 2.3.3
Since is constant with respect to , move out of the integral.
Step 2.3.4
By the Power Rule, the integral of with respect to is .
Step 2.3.5
Apply the constant rule.
Step 2.3.6
Simplify.
Tap for more steps...
Step 2.3.6.1
Combine and .
Step 2.3.6.2
Simplify.
Step 2.3.6.3
Reorder terms.
Step 2.3.7
Reorder terms.
Step 2.4
Group the constant of integration on the right side as .
Step 3
Solve for .
Tap for more steps...
Step 3.1
Divide each term in by and simplify.
Tap for more steps...
Step 3.1.1
Divide each term in by .
Step 3.1.2
Simplify the left side.
Tap for more steps...
Step 3.1.2.1
Dividing two negative values results in a positive value.
Step 3.1.2.2
Divide by .
Step 3.1.3
Simplify the right side.
Tap for more steps...
Step 3.1.3.1
Simplify each term.
Tap for more steps...
Step 3.1.3.1.1
Move the negative one from the denominator of .
Step 3.1.3.1.2
Rewrite as .
Step 3.1.3.1.3
Multiply by .
Step 3.1.3.1.4
Move the negative one from the denominator of .
Step 3.1.3.1.5
Rewrite as .
Step 3.1.3.1.6
Combine and .
Step 3.1.3.1.7
Move the negative one from the denominator of .
Step 3.1.3.1.8
Rewrite as .
Step 3.1.3.1.9
Multiply by .
Step 3.1.3.1.10
Move the negative one from the denominator of .
Step 3.1.3.1.11
Rewrite as .
Step 3.2
Take the natural logarithm of both sides of the equation to remove the variable from the exponent.
Step 3.3
Expand the left side.
Tap for more steps...
Step 3.3.1
Expand by moving outside the logarithm.
Step 3.3.2
The natural logarithm of is .
Step 3.3.3
Multiply by .
Step 3.4
Divide each term in by and simplify.
Tap for more steps...
Step 3.4.1
Divide each term in by .
Step 3.4.2
Simplify the left side.
Tap for more steps...
Step 3.4.2.1
Dividing two negative values results in a positive value.
Step 3.4.2.2
Divide by .
Step 3.4.3
Simplify the right side.
Tap for more steps...
Step 3.4.3.1
Move the negative one from the denominator of .
Step 3.4.3.2
Rewrite as .
Step 4
Simplify the constant of integration.
Step 5
Use the initial condition to find the value of by substituting for and for in .
Step 6
Solve for .
Tap for more steps...
Step 6.1
Rewrite the equation as .
Step 6.2
Divide each term in by and simplify.
Tap for more steps...
Step 6.2.1
Divide each term in by .
Step 6.2.2
Simplify the left side.
Tap for more steps...
Step 6.2.2.1
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 6.2.2.1.1
Dividing two negative values results in a positive value.
Step 6.2.2.1.2
Divide by .
Step 6.2.2.2
Simplify each term.
Tap for more steps...
Step 6.2.2.2.1
One to any power is one.
Step 6.2.2.2.2
Multiply by .
Step 6.2.2.2.3
One to any power is one.
Step 6.2.2.3
To write as a fraction with a common denominator, multiply by .
Step 6.2.2.4
Combine and .
Step 6.2.2.5
Combine the numerators over the common denominator.
Step 6.2.2.6
Simplify the numerator.
Tap for more steps...
Step 6.2.2.6.1
Multiply by .
Step 6.2.2.6.2
Subtract from .
Step 6.2.2.7
Move the negative in front of the fraction.
Step 6.2.2.8
To write as a fraction with a common denominator, multiply by .
Step 6.2.2.9
Combine and .
Step 6.2.2.10
Combine the numerators over the common denominator.
Step 6.2.2.11
Simplify the numerator.
Tap for more steps...
Step 6.2.2.11.1
Multiply by .
Step 6.2.2.11.2
Subtract from .
Step 6.2.2.12
Move the negative in front of the fraction.
Step 6.2.3
Simplify the right side.
Tap for more steps...
Step 6.2.3.1
Divide by .
Step 6.3
To solve for , rewrite the equation using properties of logarithms.
Step 6.4
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 6.5
Solve for .
Tap for more steps...
Step 6.5.1
Rewrite the equation as .
Step 6.5.2
Anything raised to is .
Step 6.5.3
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 6.5.3.1
Add to both sides of the equation.
Step 6.5.3.2
Write as a fraction with a common denominator.
Step 6.5.3.3
Combine the numerators over the common denominator.
Step 6.5.3.4
Add and .
Step 7
Substitute for in and simplify.
Tap for more steps...
Step 7.1
Substitute for .