Calculus Examples

Solve the Differential Equation ydx=(e^y+2xy-2x)dy
Step 1
Rewrite the differential equation to fit the Exact differential equation technique.
Tap for more steps...
Step 1.1
Subtract from both sides of the equation.
Step 2
Find where .
Tap for more steps...
Step 2.1
Differentiate with respect to .
Step 2.2
Differentiate using the Power Rule which states that is where .
Step 3
Find where .
Tap for more steps...
Step 3.1
Differentiate with respect to .
Step 3.2
Since is constant with respect to , the derivative of with respect to is .
Step 3.3
By the Sum Rule, the derivative of with respect to is .
Step 3.4
Since is constant with respect to , the derivative of with respect to is .
Step 3.5
Add and .
Step 3.6
Since is constant with respect to , the derivative of with respect to is .
Step 3.7
Differentiate using the Power Rule which states that is where .
Step 3.8
Multiply by .
Step 3.9
Since is constant with respect to , the derivative of with respect to is .
Step 3.10
Differentiate using the Power Rule which states that is where .
Step 3.11
Multiply by .
Step 3.12
Simplify.
Tap for more steps...
Step 3.12.1
Apply the distributive property.
Step 3.12.2
Combine terms.
Tap for more steps...
Step 3.12.2.1
Multiply by .
Step 3.12.2.2
Multiply by .
Step 4
Check that .
Tap for more steps...
Step 4.1
Substitute for and for .
Step 4.2
Since the left side does not equal the right side, the equation is not an identity.
is not an identity.
is not an identity.
Step 5
Find the integration factor .
Tap for more steps...
Step 5.1
Substitute for .
Step 5.2
Substitute for .
Step 5.3
Substitute for .
Tap for more steps...
Step 5.3.1
Substitute for .
Step 5.3.2
Subtract from .
Step 5.3.3
Factor out of .
Step 5.3.4
Rewrite as .
Step 5.3.5
Factor out of .
Step 5.3.6
Rewrite as .
Step 5.3.7
Substitute for .
Step 5.4
Find the integration factor .
Step 6
Evaluate the integral .
Tap for more steps...
Step 6.1
Since is constant with respect to , move out of the integral.
Step 6.2
Divide by .
Tap for more steps...
Step 6.2.1
Set up the polynomials to be divided. If there is not a term for every exponent, insert one with a value of .
+-
Step 6.2.2
Divide the highest order term in the dividend by the highest order term in divisor .
+-
Step 6.2.3
Multiply the new quotient term by the divisor.
+-
++
Step 6.2.4
The expression needs to be subtracted from the dividend, so change all the signs in
+-
--
Step 6.2.5
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
+-
--
-
Step 6.2.6
The final answer is the quotient plus the remainder over the divisor.
Step 6.3
Split the single integral into multiple integrals.
Step 6.4
Apply the constant rule.
Step 6.5
Since is constant with respect to , move out of the integral.
Step 6.6
The integral of with respect to is .
Step 6.7
Simplify.
Step 7
Multiply both sides of by the integration factor .
Tap for more steps...
Step 7.1
Multiply by .
Step 7.2
Multiply 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.5
Apply the distributive property.
Step 7.6
Multiply by by adding the exponents.
Tap for more steps...
Step 7.6.1
Move .
Step 7.6.2
Use the power rule to combine exponents.
Step 7.6.3
Add and .
Step 8
Set equal to the integral of .
Step 9
Integrate to find .
Tap for more steps...
Step 9.1
Apply the constant rule.
Step 10
Since the integral of will contain an integration constant, we can replace with .
Step 11
Set .
Step 12
Find .
Tap for more steps...
Step 12.1
Differentiate with respect to .
Step 12.2
By the Sum Rule, the derivative of with respect to is .
Step 12.3
Evaluate .
Tap for more steps...
Step 12.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 12.3.2
Differentiate using the Product Rule which states that is where and .
Step 12.3.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 12.3.3.1
To apply the Chain Rule, set as .
Step 12.3.3.2
Differentiate using the Exponential Rule which states that is where =.
Step 12.3.3.3
Replace all occurrences of with .
Step 12.3.4
By the Sum Rule, the derivative of with respect to is .
Step 12.3.5
Since is constant with respect to , the derivative of with respect to is .
Step 12.3.6
Differentiate using the Power Rule which states that is where .
Step 12.3.7
The derivative of with respect to is .
Step 12.3.8
Differentiate using the Power Rule which states that is where .
Step 12.3.9
Multiply by .
Step 12.3.10
Multiply by .
Step 12.4
Differentiate using the function rule which states that the derivative of is .
Step 12.5
Simplify.
Tap for more steps...
Step 12.5.1
Apply the distributive property.
Step 12.5.2
Reorder terms.
Step 12.5.3
Simplify each term.
Tap for more steps...
Step 12.5.3.1
Apply the distributive property.
Step 12.5.3.2
Move to the left of .
Step 12.5.3.3
Cancel the common factor of .
Tap for more steps...
Step 12.5.3.3.1
Factor out of .
Step 12.5.3.3.2
Cancel the common factor.
Step 12.5.3.3.3
Rewrite the expression.
Step 12.5.3.4
Remove parentheses.
Step 12.5.4
Add and .
Step 12.5.5
Reorder factors in .
Step 13
Solve for .
Tap for more steps...
Step 13.1
Solve for .
Tap for more steps...
Step 13.1.1
Move all the terms containing a logarithm to the left side of the equation.
Step 13.1.2
Combine the opposite terms in .
Tap for more steps...
Step 13.1.2.1
Add and .
Step 13.1.2.2
Add and .
Step 13.1.2.3
Subtract from .
Step 13.1.2.4
Add and .
Step 13.1.3
Since is on the right side of the equation, switch the sides so it is on the left side of the equation.
Step 13.1.4
Divide each term in by and simplify.
Tap for more steps...
Step 13.1.4.1
Divide each term in by .
Step 13.1.4.2
Simplify the left side.
Tap for more steps...
Step 13.1.4.2.1
Dividing two negative values results in a positive value.
Step 13.1.4.2.2
Divide by .
Step 13.1.4.3
Simplify the right side.
Tap for more steps...
Step 13.1.4.3.1
Move the negative one from the denominator of .
Step 13.1.4.3.2
Rewrite as .
Step 14
Find the antiderivative of to find .
Tap for more steps...
Step 14.1
Integrate both sides of .
Step 14.2
Evaluate .
Step 14.3
Since is constant with respect to , move out of the integral.
Step 14.4
Rewrite as .
Step 14.5
Rewrite as .
Step 14.6
Integrate by parts using the formula , where and .
Step 14.7
Since is constant with respect to , move out of the integral.
Step 14.8
Simplify.
Tap for more steps...
Step 14.8.1
Multiply by .
Step 14.8.2
Multiply by .
Step 14.9
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 14.9.1
Let . Find .
Tap for more steps...
Step 14.9.1.1
Differentiate .
Step 14.9.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 14.9.1.3
Differentiate using the Power Rule which states that is where .
Step 14.9.1.4
Multiply by .
Step 14.9.2
Rewrite the problem using and .
Step 14.10
Since is constant with respect to , move out of the integral.
Step 14.11
The integral of with respect to is .
Step 14.12
Rewrite as .
Step 14.13
Replace all occurrences of with .
Step 14.14
Simplify.
Tap for more steps...
Step 14.14.1
Apply the distributive property.
Step 14.14.2
Multiply .
Tap for more steps...
Step 14.14.2.1
Multiply by .
Step 14.14.2.2
Multiply by .
Step 14.14.3
Multiply .
Tap for more steps...
Step 14.14.3.1
Multiply by .
Step 14.14.3.2
Multiply by .
Step 15
Substitute for in .
Step 16
Reorder factors in .