Calculus Examples

Solve the Differential Equation (1+cos(2x))(dy)/(dx)=2 , y(pi/4)=1
,
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Divide each term in by and simplify.
Tap for more steps...
Step 1.1.1
Divide each term in by .
Step 1.1.2
Simplify the left side.
Tap for more steps...
Step 1.1.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.1.2.1.1
Cancel the common factor.
Step 1.1.2.1.2
Divide by .
Step 1.2
Rewrite the equation.
Step 2
Integrate both sides.
Tap for more steps...
Step 2.1
Set up an integral on each side.
Step 2.2
Apply the constant rule.
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Since is constant with respect to , move out of the integral.
Step 2.3.2
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.3.2.1
Let . Find .
Tap for more steps...
Step 2.3.2.1.1
Differentiate .
Step 2.3.2.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.2.1.3
Differentiate using the Power Rule which states that is where .
Step 2.3.2.1.4
Multiply by .
Step 2.3.2.2
Rewrite the problem using and .
Step 2.3.3
Simplify.
Tap for more steps...
Step 2.3.3.1
Multiply by .
Step 2.3.3.2
Move to the left of .
Step 2.3.4
Since is constant with respect to , move out of the integral.
Step 2.3.5
Simplify.
Tap for more steps...
Step 2.3.5.1
Combine and .
Step 2.3.5.2
Cancel the common factor of .
Tap for more steps...
Step 2.3.5.2.1
Cancel the common factor.
Step 2.3.5.2.2
Rewrite the expression.
Step 2.3.5.3
Multiply by .
Step 2.3.6
Use the double-angle identity to transform to .
Step 2.3.7
Use the pythagorean identity to transform to .
Step 2.3.8
Simplify.
Tap for more steps...
Step 2.3.8.1
Subtract from .
Step 2.3.8.2
Add and .
Step 2.3.8.3
Add and .
Step 2.3.9
Multiply the argument by
Step 2.3.10
Combine.
Step 2.3.11
Multiply by .
Step 2.3.12
Rewrite in terms of sines and cosines.
Step 2.3.13
Apply the product rule to .
Step 2.3.14
One to any power is one.
Step 2.3.15
Multiply .
Tap for more steps...
Step 2.3.15.1
Combine and .
Step 2.3.15.2
Combine and .
Step 2.3.16
Multiply the numerator by the reciprocal of the denominator.
Step 2.3.17
Rewrite in terms of sines and cosines.
Step 2.3.18
Apply the product rule to .
Step 2.3.19
Combine.
Step 2.3.20
Cancel the common factor of .
Tap for more steps...
Step 2.3.20.1
Cancel the common factor.
Step 2.3.20.2
Rewrite the expression.
Step 2.3.21
One to any power is one.
Step 2.3.22
Multiply by .
Step 2.3.23
Separate fractions.
Step 2.3.24
Convert from to .
Step 2.3.25
Combine fractions.
Tap for more steps...
Step 2.3.25.1
Multiply by .
Step 2.3.25.2
Combine and .
Step 2.3.26
Since is constant with respect to , move out of the integral.
Step 2.3.27
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.3.27.1
Let . Find .
Tap for more steps...
Step 2.3.27.1.1
Differentiate .
Step 2.3.27.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.27.1.3
Differentiate using the Power Rule which states that is where .
Step 2.3.27.1.4
Multiply by .
Step 2.3.27.2
Rewrite the problem using and .
Step 2.3.28
Simplify.
Tap for more steps...
Step 2.3.28.1
Multiply by the reciprocal of the fraction to divide by .
Step 2.3.28.2
Multiply by .
Step 2.3.28.3
Move to the left of .
Step 2.3.29
Since is constant with respect to , move out of the integral.
Step 2.3.30
Simplify.
Tap for more steps...
Step 2.3.30.1
Combine and .
Step 2.3.30.2
Cancel the common factor of .
Tap for more steps...
Step 2.3.30.2.1
Cancel the common factor.
Step 2.3.30.2.2
Rewrite the expression.
Step 2.3.30.3
Multiply by .
Step 2.3.31
Since the derivative of is , the integral of is .
Step 2.3.32
Substitute back in for each integration substitution variable.
Tap for more steps...
Step 2.3.32.1
Replace all occurrences of with .
Step 2.3.32.2
Replace all occurrences of with .
Step 2.3.33
Simplify.
Tap for more steps...
Step 2.3.33.1
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 2.3.33.1.1
Cancel the common factor.
Step 2.3.33.1.2
Rewrite the expression.
Step 2.3.33.2
Divide by .
Step 2.4
Group the constant of integration on the right side as .
Step 3
Use the initial condition to find the value of by substituting for and for in .
Step 4
Solve for .
Tap for more steps...
Step 4.1
Rewrite the equation as .
Step 4.2
Simplify the left side.
Tap for more steps...
Step 4.2.1
The exact value of is .
Step 4.3
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 4.3.1
Subtract from both sides of the equation.
Step 4.3.2
Subtract from .
Step 5
Substitute for in and simplify.
Tap for more steps...
Step 5.1
Substitute for .
Step 5.2
Add and .