Calculus Examples

Solve the Differential Equation ydx+(x-xy+2)dy=0
Step 1
Find where .
Tap for more steps...
Step 1.1
Differentiate with respect to .
Step 1.2
Differentiate using the Power Rule which states that is where .
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
By the Sum Rule, the derivative of with respect to is .
Step 2.2.2
Differentiate using the Power Rule which states that is where .
Step 2.3
Evaluate .
Tap for more steps...
Step 2.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.2
Differentiate using the Power Rule which states that is where .
Step 2.3.3
Multiply by .
Step 2.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.5
Simplify.
Tap for more steps...
Step 2.5.1
Add and .
Step 2.5.2
Reorder terms.
Step 3
Check that .
Tap for more steps...
Step 3.1
Substitute for and for .
Step 3.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 4
Find the integration factor .
Tap for more steps...
Step 4.1
Substitute for .
Step 4.2
Substitute for .
Step 4.3
Substitute for .
Tap for more steps...
Step 4.3.1
Substitute for .
Step 4.3.2
Simplify the numerator.
Tap for more steps...
Step 4.3.2.1
Subtract from .
Step 4.3.2.2
Add and .
Step 4.3.3
Substitute for .
Tap for more steps...
Step 4.3.3.1
Cancel the common factor.
Step 4.3.3.2
Divide by .
Step 4.4
Find the integration factor .
Step 5
Evaluate the integral .
Tap for more steps...
Step 5.1
Apply the constant rule.
Step 5.2
Simplify.
Step 6
Multiply both sides of by the integration factor .
Tap for more steps...
Step 6.1
Multiply by .
Step 6.2
Multiply by .
Step 6.3
Apply the distributive property.
Step 7
Set equal to the integral of .
Step 8
Integrate to find .
Tap for more steps...
Step 8.1
Apply the constant rule.
Step 9
Since the integral of will contain an integration constant, we can replace with .
Step 10
Set .
Step 11
Find .
Tap for more steps...
Step 11.1
Differentiate with respect to .
Step 11.2
By the Sum Rule, the derivative of with respect to is .
Step 11.3
Evaluate .
Tap for more steps...
Step 11.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 11.3.2
Differentiate using the Product Rule which states that is where and .
Step 11.3.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 11.3.3.1
To apply the Chain Rule, set as .
Step 11.3.3.2
Differentiate using the Exponential Rule which states that is where =.
Step 11.3.3.3
Replace all occurrences of with .
Step 11.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 11.3.5
Differentiate using the Power Rule which states that is where .
Step 11.3.6
Differentiate using the Power Rule which states that is where .
Step 11.3.7
Multiply by .
Step 11.3.8
Move to the left of .
Step 11.3.9
Rewrite as .
Step 11.3.10
Multiply by .
Step 11.4
Differentiate using the function rule which states that the derivative of is .
Step 11.5
Simplify.
Tap for more steps...
Step 11.5.1
Apply the distributive property.
Step 11.5.2
Reorder terms.
Step 11.5.3
Reorder factors in .
Step 12
Solve for .
Tap for more steps...
Step 12.1
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 12.1.1
Add to both sides of the equation.
Step 12.1.2
Subtract from both sides of the equation.
Step 12.1.3
Combine the opposite terms in .
Tap for more steps...
Step 12.1.3.1
Add and .
Step 12.1.3.2
Add and .
Step 12.1.3.3
Subtract from .
Step 12.1.3.4
Add and .
Step 13
Find the antiderivative of to find .
Tap for more steps...
Step 13.1
Integrate both sides of .
Step 13.2
Evaluate .
Step 13.3
Since is constant with respect to , move out of the integral.
Step 13.4
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 13.4.1
Let . Find .
Tap for more steps...
Step 13.4.1.1
Differentiate .
Step 13.4.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 13.4.1.3
Differentiate using the Power Rule which states that is where .
Step 13.4.1.4
Multiply by .
Step 13.4.2
Rewrite the problem using and .
Step 13.5
Since is constant with respect to , move out of the integral.
Step 13.6
Multiply by .
Step 13.7
The integral of with respect to is .
Step 13.8
Simplify.
Step 13.9
Replace all occurrences of with .
Step 14
Substitute for in .
Step 15
Reorder factors in .