Calculus Examples

Solve the Differential Equation (xe^y+y-x^2)dy=(2xy-e^y-x)dx
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 1.2
Rewrite.
Step 2
Find where .
Tap for more steps...
Step 2.1
Differentiate with respect to .
Step 2.2
Differentiate.
Tap for more steps...
Step 2.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.2
By the Sum Rule, the derivative of with respect to is .
Step 2.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.4
Differentiate using the Power Rule which states that is where .
Step 2.2.5
Multiply by .
Step 2.2.6
Since is constant with respect to , the derivative of with respect to is .
Step 2.3
Differentiate using the Exponential Rule which states that is where =.
Step 2.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.2
Add and .
Step 2.5
Simplify.
Tap for more steps...
Step 2.5.1
Apply the distributive property.
Step 2.5.2
Combine terms.
Tap for more steps...
Step 2.5.2.1
Multiply by .
Step 2.5.2.2
Multiply by .
Step 2.5.2.3
Multiply by .
Step 3
Find where .
Tap for more steps...
Step 3.1
Differentiate with respect to .
Step 3.2
By the Sum Rule, the derivative of with respect to is .
Step 3.3
Evaluate .
Tap for more steps...
Step 3.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.3.2
Differentiate using the Power Rule which states that is where .
Step 3.3.3
Multiply by .
Step 3.4
Since is constant with respect to , the derivative of with respect to is .
Step 3.5
Evaluate .
Tap for more steps...
Step 3.5.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.5.2
Differentiate using the Power Rule which states that is where .
Step 3.5.3
Multiply by .
Step 3.6
Simplify.
Tap for more steps...
Step 3.6.1
Add and .
Step 3.6.2
Reorder terms.
Step 4
Check that .
Tap for more steps...
Step 4.1
Substitute for and for .
Step 4.2
Since the two sides have been shown to be equivalent, the equation is an identity.
is an identity.
is an identity.
Step 5
Set equal to the integral of .
Step 6
Integrate to find .
Tap for more steps...
Step 6.1
Split the single integral into multiple integrals.
Step 6.2
Since is constant with respect to , move out of the integral.
Step 6.3
The integral of with respect to is .
Step 6.4
By the Power Rule, the integral of with respect to is .
Step 6.5
Apply the constant rule.
Step 6.6
Simplify.
Step 7
Since the integral of will contain an integration constant, we can replace with .
Step 8
Set .
Step 9
Find .
Tap for more steps...
Step 9.1
Differentiate with respect to .
Step 9.2
By the Sum Rule, the derivative of with respect to is .
Step 9.3
Evaluate .
Tap for more steps...
Step 9.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 9.3.2
Differentiate using the Power Rule which states that is where .
Step 9.3.3
Multiply by .
Step 9.4
Since is constant with respect to , the derivative of with respect to is .
Step 9.5
Evaluate .
Tap for more steps...
Step 9.5.1
Since is constant with respect to , the derivative of with respect to is .
Step 9.5.2
Differentiate using the Power Rule which states that is where .
Step 9.5.3
Multiply by .
Step 9.6
Differentiate using the function rule which states that the derivative of is .
Step 9.7
Simplify.
Tap for more steps...
Step 9.7.1
Add and .
Step 9.7.2
Reorder terms.
Step 10
Solve for .
Tap for more steps...
Step 10.1
Solve for .
Tap for more steps...
Step 10.1.1
Simplify .
Tap for more steps...
Step 10.1.1.1
Rewrite.
Step 10.1.1.2
Simplify by adding zeros.
Step 10.1.1.3
Apply the distributive property.
Step 10.1.1.4
Simplify.
Tap for more steps...
Step 10.1.1.4.1
Multiply by .
Step 10.1.1.4.2
Multiply .
Tap for more steps...
Step 10.1.1.4.2.1
Multiply by .
Step 10.1.1.4.2.2
Multiply by .
Step 10.1.1.4.3
Multiply .
Tap for more steps...
Step 10.1.1.4.3.1
Multiply by .
Step 10.1.1.4.3.2
Multiply by .
Step 10.1.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 10.1.2.1
Add to both sides of the equation.
Step 10.1.2.2
Subtract from both sides of the equation.
Step 10.1.2.3
Combine the opposite terms in .
Tap for more steps...
Step 10.1.2.3.1
Add and .
Step 10.1.2.3.2
Add and .
Step 10.1.2.3.3
Subtract from .
Step 10.1.2.3.4
Add and .
Step 11
Find the antiderivative of to find .
Tap for more steps...
Step 11.1
Integrate both sides of .
Step 11.2
Evaluate .
Step 11.3
By the Power Rule, the integral of with respect to is .
Step 12
Substitute for in .
Step 13
Simplify each term.
Tap for more steps...
Step 13.1
Combine and .
Step 13.2
Combine and .