Calculus Examples

Solve the Differential Equation xcos(y)^2dx+tan(y)dy=0
Step 1
Find where .
Tap for more steps...
Step 1.1
Differentiate with respect to .
Step 1.2
Since is constant with respect to , the derivative of with respect to is .
Step 1.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.3.1
To apply the Chain Rule, set as .
Step 1.3.2
Differentiate using the Power Rule which states that is where .
Step 1.3.3
Replace all occurrences of with .
Step 1.4
Move to the left of .
Step 1.5
The derivative of with respect to is .
Step 1.6
Multiply by .
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 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
Multiply by .
Step 4.3.2.2
Reorder and .
Step 4.3.2.3
Add parentheses.
Step 4.3.2.4
Add parentheses.
Step 4.3.2.5
Reorder and .
Step 4.3.2.6
Reorder and .
Step 4.3.2.7
Apply the sine double-angle identity.
Step 4.3.2.8
Add and .
Step 4.3.3
Cancel the common factor of .
Tap for more steps...
Step 4.3.3.1
Cancel the common factor.
Step 4.3.3.2
Rewrite the expression.
Step 4.3.4
Apply the sine double-angle identity.
Step 4.3.5
Cancel the common factor of and .
Tap for more steps...
Step 4.3.5.1
Factor out of .
Step 4.3.5.2
Cancel the common factors.
Tap for more steps...
Step 4.3.5.2.1
Factor out of .
Step 4.3.5.2.2
Cancel the common factor.
Step 4.3.5.2.3
Rewrite the expression.
Step 4.3.6
Separate fractions.
Step 4.3.7
Convert from to .
Step 4.3.8
Substitute for .
Step 4.4
Find the integration factor .
Step 5
Evaluate the integral .
Tap for more steps...
Step 5.1
Since is constant with respect to , move out of the integral.
Step 5.2
The integral of with respect to is .
Step 5.3
Simplify.
Step 5.4
Simplify each term.
Tap for more steps...
Step 5.4.1
Simplify by moving inside the logarithm.
Step 5.4.2
Exponentiation and log are inverse functions.
Step 5.4.3
Remove the absolute value in because exponentiations with even powers are always positive.
Step 6
Multiply both sides of by the integration factor .
Tap for more steps...
Step 6.1
Multiply by .
Step 6.2
Rewrite in terms of sines and cosines.
Step 6.3
Apply the product rule to .
Step 6.4
Cancel the common factor of .
Tap for more steps...
Step 6.4.1
Factor out of .
Step 6.4.2
Cancel the common factor.
Step 6.4.3
Rewrite the expression.
Step 6.5
One to any power is one.
Step 6.6
Multiply by .
Step 6.7
Multiply by .
Step 7
Set equal to the integral of .
Step 8
Integrate to find .
Tap for more steps...
Step 8.1
By the Power Rule, the integral of with respect to is .
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
Since is constant with respect to , the derivative of with respect to is .
Step 11.4
Differentiate using the function rule which states that the derivative of is .
Step 11.5
Add and .
Step 12
Find the antiderivative of to find .
Tap for more steps...
Step 12.1
Integrate both sides of .
Step 12.2
Evaluate .
Step 12.3
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 12.3.1
Let . Find .
Tap for more steps...
Step 12.3.1.1
Differentiate .
Step 12.3.1.2
The derivative of with respect to is .
Step 12.3.2
Rewrite the problem using and .
Step 12.4
By the Power Rule, the integral of with respect to is .
Step 12.5
Replace all occurrences of with .
Step 13
Substitute for in .
Step 14
Simplify each term.
Tap for more steps...
Step 14.1
Combine and .
Step 14.2
Combine and .