Calculus Examples

Solve the Differential Equation (dy)/(dx)=1+6xe^(x-y)
Step 1
Let . Substitute for all occurrences of .
Step 2
Find by differentiating .
Tap for more steps...
Step 2.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.1.1
To apply the Chain Rule, set as .
Step 2.1.2
Differentiate using the Exponential Rule which states that is where =.
Step 2.1.3
Replace all occurrences of with .
Step 2.2
By the Sum Rule, the derivative of with respect to is .
Step 2.3
Differentiate using the Power Rule which states that is where .
Step 2.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.5
Rewrite as .
Step 3
Substitute for .
Step 4
Substitute the derivative back in to the differential equation.
Step 5
Separate the variables.
Tap for more steps...
Step 5.1
Solve for .
Tap for more steps...
Step 5.1.1
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 5.1.1.1
Subtract from both sides of the equation.
Step 5.1.1.2
Combine the opposite terms in .
Tap for more steps...
Step 5.1.1.2.1
Subtract from .
Step 5.1.1.2.2
Add and .
Step 5.1.2
Divide each term in by and simplify.
Tap for more steps...
Step 5.1.2.1
Divide each term in by .
Step 5.1.2.2
Simplify the left side.
Tap for more steps...
Step 5.1.2.2.1
Dividing two negative values results in a positive value.
Step 5.1.2.2.2
Divide by .
Step 5.1.2.3
Simplify the right side.
Tap for more steps...
Step 5.1.2.3.1
Move the negative one from the denominator of .
Step 5.1.2.3.2
Rewrite as .
Step 5.1.2.3.3
Multiply by .
Step 5.1.3
Multiply both sides by .
Step 5.1.4
Simplify.
Tap for more steps...
Step 5.1.4.1
Simplify the left side.
Tap for more steps...
Step 5.1.4.1.1
Cancel the common factor of .
Tap for more steps...
Step 5.1.4.1.1.1
Cancel the common factor.
Step 5.1.4.1.1.2
Rewrite the expression.
Step 5.1.4.2
Simplify the right side.
Tap for more steps...
Step 5.1.4.2.1
Multiply by by adding the exponents.
Tap for more steps...
Step 5.1.4.2.1.1
Move .
Step 5.1.4.2.1.2
Multiply by .
Step 5.2
Multiply both sides by .
Step 5.3
Simplify.
Tap for more steps...
Step 5.3.1
Rewrite using the commutative property of multiplication.
Step 5.3.2
Combine and .
Step 5.3.3
Cancel the common factor of .
Tap for more steps...
Step 5.3.3.1
Factor out of .
Step 5.3.3.2
Cancel the common factor.
Step 5.3.3.3
Rewrite the expression.
Step 5.4
Rewrite the equation.
Step 6
Integrate both sides.
Tap for more steps...
Step 6.1
Set up an integral on each side.
Step 6.2
Integrate the left side.
Tap for more steps...
Step 6.2.1
Apply basic rules of exponents.
Tap for more steps...
Step 6.2.1.1
Move out of the denominator by raising it to the power.
Step 6.2.1.2
Multiply the exponents in .
Tap for more steps...
Step 6.2.1.2.1
Apply the power rule and multiply exponents, .
Step 6.2.1.2.2
Multiply by .
Step 6.2.2
By the Power Rule, the integral of with respect to is .
Step 6.2.3
Rewrite as .
Step 6.3
Integrate the right side.
Tap for more steps...
Step 6.3.1
Since is constant with respect to , move out of the integral.
Step 6.3.2
By the Power Rule, the integral of with respect to is .
Step 6.3.3
Simplify the answer.
Tap for more steps...
Step 6.3.3.1
Rewrite as .
Step 6.3.3.2
Simplify.
Tap for more steps...
Step 6.3.3.2.1
Combine and .
Step 6.3.3.2.2
Cancel the common factor of and .
Tap for more steps...
Step 6.3.3.2.2.1
Factor out of .
Step 6.3.3.2.2.2
Cancel the common factors.
Tap for more steps...
Step 6.3.3.2.2.2.1
Factor out of .
Step 6.3.3.2.2.2.2
Cancel the common factor.
Step 6.3.3.2.2.2.3
Rewrite the expression.
Step 6.3.3.2.2.2.4
Divide by .
Step 6.4
Group the constant of integration on the right side as .
Step 7
Solve for .
Tap for more steps...
Step 7.1
Find the LCD of the terms in the equation.
Tap for more steps...
Step 7.1.1
Finding the LCD of a list of values is the same as finding the LCM of the denominators of those values.
Step 7.1.2
The LCM of one and any expression is the expression.
Step 7.2
Multiply each term in by to eliminate the fractions.
Tap for more steps...
Step 7.2.1
Multiply each term in by .
Step 7.2.2
Simplify the left side.
Tap for more steps...
Step 7.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 7.2.2.1.1
Move the leading negative in into the numerator.
Step 7.2.2.1.2
Cancel the common factor.
Step 7.2.2.1.3
Rewrite the expression.
Step 7.3
Solve the equation.
Tap for more steps...
Step 7.3.1
Rewrite the equation as .
Step 7.3.2
Factor out of .
Tap for more steps...
Step 7.3.2.1
Factor out of .
Step 7.3.2.2
Factor out of .
Step 7.3.2.3
Factor out of .
Step 7.3.3
Divide each term in by and simplify.
Tap for more steps...
Step 7.3.3.1
Divide each term in by .
Step 7.3.3.2
Simplify the left side.
Tap for more steps...
Step 7.3.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 7.3.3.2.1.1
Cancel the common factor.
Step 7.3.3.2.1.2
Divide by .
Step 7.3.3.3
Simplify the right side.
Tap for more steps...
Step 7.3.3.3.1
Move the negative in front of the fraction.
Step 7.3.3.3.2
Factor out of .
Step 7.3.3.3.3
Factor out of .
Step 7.3.3.3.4
Factor out of .
Step 7.3.3.3.5
Simplify the expression.
Tap for more steps...
Step 7.3.3.3.5.1
Rewrite as .
Step 7.3.3.3.5.2
Move the negative in front of the fraction.
Step 7.3.3.3.5.3
Multiply by .
Step 7.3.3.3.5.4
Multiply by .
Step 8
Simplify the constant of integration.
Step 9
Replace all occurrences of with .
Step 10
Solve for .
Tap for more steps...
Step 10.1
Take the natural logarithm of both sides of the equation to remove the variable from the exponent.
Step 10.2
Expand the left side.
Tap for more steps...
Step 10.2.1
Expand by moving outside the logarithm.
Step 10.2.2
The natural logarithm of is .
Step 10.2.3
Multiply by .
Step 10.3
Subtract from both sides of the equation.
Step 10.4
Divide each term in by and simplify.
Tap for more steps...
Step 10.4.1
Divide each term in by .
Step 10.4.2
Simplify the left side.
Tap for more steps...
Step 10.4.2.1
Dividing two negative values results in a positive value.
Step 10.4.2.2
Divide by .
Step 10.4.3
Simplify the right side.
Tap for more steps...
Step 10.4.3.1
Simplify each term.
Tap for more steps...
Step 10.4.3.1.1
Move the negative one from the denominator of .
Step 10.4.3.1.2
Rewrite as .
Step 10.4.3.1.3
Dividing two negative values results in a positive value.
Step 10.4.3.1.4
Divide by .