Calculus Examples

Solve the Differential Equation 2(dy)/(dx)=4xe^(-x) , y(0)=5
,
Step 1
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
Apply the constant rule.
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Since is constant with respect to , move out of the integral.
Step 2.3.2
Integrate by parts using the formula , where and .
Step 2.3.3
Since is constant with respect to , move out of the integral.
Step 2.3.4
Simplify.
Tap for more steps...
Step 2.3.4.1
Multiply by .
Step 2.3.4.2
Multiply by .
Step 2.3.5
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.3.5.1
Let . Find .
Tap for more steps...
Step 2.3.5.1.1
Differentiate .
Step 2.3.5.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.5.1.3
Differentiate using the Power Rule which states that is where .
Step 2.3.5.1.4
Multiply by .
Step 2.3.5.2
Rewrite the problem using and .
Step 2.3.6
Since is constant with respect to , move out of the integral.
Step 2.3.7
The integral of with respect to is .
Step 2.3.8
Rewrite as .
Step 2.3.9
Replace all occurrences of with .
Step 2.4
Group the constant of integration on the right side as .
Step 3
Divide each term in by and simplify.
Tap for more steps...
Step 3.1
Divide each term in by .
Step 3.2
Simplify the left side.
Tap for more steps...
Step 3.2.1
Cancel the common factor of .
Tap for more steps...
Step 3.2.1.1
Cancel the common factor.
Step 3.2.1.2
Divide by .
Step 3.3
Simplify the right side.
Tap for more steps...
Step 3.3.1
Combine the numerators over the common denominator.
Step 3.3.2
Simplify the numerator.
Tap for more steps...
Step 3.3.2.1
Apply the distributive property.
Step 3.3.2.2
Multiply by .
Step 3.3.2.3
Multiply by .
Step 3.3.3
Simplify with factoring out.
Tap for more steps...
Step 3.3.3.1
Factor out of .
Step 3.3.3.2
Factor out of .
Step 3.3.3.3
Factor out of .
Step 3.3.3.4
Factor out of .
Step 3.3.3.5
Factor out of .
Step 3.3.3.6
Simplify the expression.
Tap for more steps...
Step 3.3.3.6.1
Rewrite as .
Step 3.3.3.6.2
Move the negative in front of the fraction.
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
Multiply both sides of the equation by .
Step 6.3
Simplify both sides of the equation.
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
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 6.3.1.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.1.1.1.1.1
Move the leading negative in into the numerator.
Step 6.3.1.1.1.1.2
Factor out of .
Step 6.3.1.1.1.1.3
Cancel the common factor.
Step 6.3.1.1.1.1.4
Rewrite the expression.
Step 6.3.1.1.1.2
Simplify the expression.
Tap for more steps...
Step 6.3.1.1.1.2.1
Multiply by .
Step 6.3.1.1.1.2.2
Multiply by zero.
Tap for more steps...
Step 6.3.1.1.1.2.2.1
Multiply by .
Step 6.3.1.1.1.2.2.2
Multiply by .
Step 6.3.1.1.1.2.3
Multiply by .
Step 6.3.1.1.1.2.4
Multiply by .
Step 6.3.1.1.1.2.5
Add and .
Step 6.3.1.1.2
Simplify each term.
Tap for more steps...
Step 6.3.1.1.2.1
Anything raised to is .
Step 6.3.1.1.2.2
Multiply by .
Step 6.3.2
Simplify the right side.
Tap for more steps...
Step 6.3.2.1
Multiply by .
Step 6.4
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 6.4.1
Subtract from both sides of the equation.
Step 6.4.2
Subtract from .
Step 7
Substitute for in and simplify.
Tap for more steps...
Step 7.1
Substitute for .
Step 7.2
Cancel the common factor of and .
Tap for more steps...
Step 7.2.1
Factor out of .
Step 7.2.2
Factor out of .
Step 7.2.3
Factor out of .
Step 7.2.4
Factor out of .
Step 7.2.5
Factor out of .
Step 7.2.6
Cancel the common factors.
Tap for more steps...
Step 7.2.6.1
Factor out of .
Step 7.2.6.2
Cancel the common factor.
Step 7.2.6.3
Rewrite the expression.
Step 7.2.6.4
Divide by .
Step 7.3
Apply the distributive property.
Step 7.4
Simplify.
Tap for more steps...
Step 7.4.1
Multiply by .
Step 7.4.2
Multiply by .
Step 7.4.3
Multiply by .