Calculus Examples

Solve the Differential Equation (x+1)dy+(2y+1-2cos(x))dx=0
Step 1
Rewrite the differential equation to fit the Exact differential equation technique.
Tap for more steps...
Step 1.1
Rewrite.
Step 2
Find where .
Tap for more steps...
Step 2.1
Differentiate with respect to .
Step 2.2
By the Sum Rule, the derivative of with respect to is .
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
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
Since is constant with respect to , the derivative of with respect to is .
Step 2.5
Combine terms.
Tap for more steps...
Step 2.5.1
Add and .
Step 2.5.2
Add and .
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 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.4
Find the integration factor .
Step 6
Evaluate the integral .
Tap for more steps...
Step 6.1
Let . Then . Rewrite using and .
Tap for more steps...
Step 6.1.1
Let . Find .
Tap for more steps...
Step 6.1.1.1
Differentiate .
Step 6.1.1.2
By the Sum Rule, the derivative of with respect to is .
Step 6.1.1.3
Differentiate using the Power Rule which states that is where .
Step 6.1.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 6.1.1.5
Add and .
Step 6.1.2
Rewrite the problem using and .
Step 6.2
The integral of with respect to is .
Step 6.3
Simplify.
Step 6.4
Exponentiation and log are inverse functions.
Step 6.5
Replace all occurrences of with .
Step 7
Multiply both sides of by the integration factor .
Tap for more steps...
Step 7.1
Multiply by .
Step 7.2
Expand by multiplying each term in the first expression by each term in the second expression.
Step 7.3
Simplify each term.
Tap for more steps...
Step 7.3.1
Multiply by .
Step 7.3.2
Multiply by .
Step 7.3.3
Multiply by .
Step 7.3.4
Multiply by .
Step 7.4
Reorder factors in .
Step 7.5
Multiply by .
Step 7.6
Expand using the FOIL Method.
Tap for more steps...
Step 7.6.1
Apply the distributive property.
Step 7.6.2
Apply the distributive property.
Step 7.6.3
Apply the distributive property.
Step 7.7
Simplify and combine like terms.
Tap for more steps...
Step 7.7.1
Simplify each term.
Tap for more steps...
Step 7.7.1.1
Multiply by .
Step 7.7.1.2
Multiply by .
Step 7.7.1.3
Multiply by .
Step 7.7.1.4
Multiply by .
Step 7.7.2
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
By the Sum Rule, the derivative of with respect to is .
Step 12.3.3
Differentiate using the Power Rule which states that is where .
Step 12.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 12.3.5
Differentiate using the Power Rule which states that is where .
Step 12.3.6
Since is constant with respect to , the derivative of with respect to is .
Step 12.3.7
Multiply by .
Step 12.3.8
Add and .
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
Combine terms.
Tap for more steps...
Step 12.5.2.1
Move to the left of .
Step 12.5.2.2
Move to the left of .
Step 12.5.3
Reorder terms.
Step 13
Solve for .
Tap for more steps...
Step 13.1
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 13.1.1
Subtract from both sides of the equation.
Step 13.1.2
Subtract from both sides of the equation.
Step 13.1.3
Combine the opposite terms in .
Tap for more steps...
Step 13.1.3.1
Reorder the factors in the terms and .
Step 13.1.3.2
Subtract from .
Step 13.1.3.3
Add and .
Step 13.1.3.4
Subtract from .
Step 13.1.3.5
Add and .
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
Split the single integral into multiple integrals.
Step 14.4
By the Power Rule, the integral of with respect to is .
Step 14.5
Apply the constant rule.
Step 14.6
Since is constant with respect to , move out of the integral.
Step 14.7
Integrate by parts using the formula , where and .
Step 14.8
The integral of with respect to is .
Step 14.9
Since is constant with respect to , move out of the integral.
Step 14.10
The integral of with respect to is .
Step 14.11
Simplify.
Step 14.12
Reorder terms.
Step 15
Substitute for in .
Step 16
Simplify each term.
Tap for more steps...
Step 16.1
Apply the distributive property.
Step 16.2
Multiply by .
Step 16.3
Combine and .