Calculus Examples

Solve the Differential Equation Solve (x+y)dy=(x-y)dx
Solve
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
Since is constant with respect to , the derivative of with respect to is .
Step 2.3
By the Sum Rule, the derivative of with respect to is .
Step 2.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.5
Add and .
Step 2.6
Since is constant with respect to , the derivative of with respect to is .
Step 2.7
Multiply.
Tap for more steps...
Step 2.7.1
Multiply by .
Step 2.7.2
Multiply by .
Step 2.8
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
By the Sum Rule, the derivative of with respect to is .
Step 3.3
Differentiate using the Power Rule which states that is where .
Step 3.4
Since is constant with respect to , the derivative of with respect to is .
Step 3.5
Add and .
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
Since is constant with respect to , move out of the integral.
Step 6.2
Split the single integral into multiple integrals.
Step 6.3
By the Power Rule, the integral of with respect to is .
Step 6.4
Apply the constant rule.
Step 6.5
Combine and .
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
Differentiate using the Sum Rule.
Tap for more steps...
Step 9.2.1
Combine and .
Step 9.2.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
By the Sum Rule, the derivative of with respect to is .
Step 9.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 9.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 9.3.5
Differentiate using the Power Rule which states that is where .
Step 9.3.6
Multiply by .
Step 9.3.7
Subtract from .
Step 9.3.8
Multiply by .
Step 9.3.9
Multiply by .
Step 9.4
Differentiate using the function rule which states that the derivative of is .
Step 9.5
Reorder terms.
Step 10
Solve for .
Tap for more steps...
Step 10.1
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 10.1.1
Subtract from both sides of the equation.
Step 10.1.2
Combine the opposite terms in .
Tap for more steps...
Step 10.1.2.1
Subtract from .
Step 10.1.2.2
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
Apply the distributive property.
Step 13.3
Multiply .
Tap for more steps...
Step 13.3.1
Multiply by .
Step 13.3.2
Multiply by .
Step 13.4
Combine and .