Calculus Examples

Solve the Differential Equation (dy)/(dx)=sin(3x+pi) , y(0)=4
,
Step 1
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
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.3.1.1
Let . Find .
Tap for more steps...
Step 2.3.1.1.1
Differentiate .
Step 2.3.1.1.2
By the Sum Rule, the derivative of with respect to is .
Step 2.3.1.1.3
Evaluate .
Tap for more steps...
Step 2.3.1.1.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.1.1.3.2
Differentiate using the Power Rule which states that is where .
Step 2.3.1.1.3.3
Multiply by .
Step 2.3.1.1.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.3.1.1.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.1.1.4.2
Add and .
Step 2.3.1.2
Rewrite the problem using and .
Step 2.3.2
Combine and .
Step 2.3.3
Since is constant with respect to , move out of the integral.
Step 2.3.4
The integral of with respect to is .
Step 2.3.5
Simplify.
Tap for more steps...
Step 2.3.5.1
Simplify.
Step 2.3.5.2
Combine and .
Step 2.3.6
Replace all occurrences of with .
Step 2.3.7
Reorder terms.
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
Simplify each term.
Tap for more steps...
Step 4.2.1.1
Multiply by .
Step 4.2.1.2
Add and .
Step 4.2.1.3
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
Step 4.2.1.4
The exact value of is .
Step 4.2.1.5
Multiply by .
Step 4.2.1.6
Multiply .
Tap for more steps...
Step 4.2.1.6.1
Multiply by .
Step 4.2.1.6.2
Multiply by .
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
To write as a fraction with a common denominator, multiply by .
Step 4.3.3
Combine and .
Step 4.3.4
Combine the numerators over the common denominator.
Step 4.3.5
Simplify the numerator.
Tap for more steps...
Step 4.3.5.1
Multiply by .
Step 4.3.5.2
Subtract from .
Step 5
Substitute for in and simplify.
Tap for more steps...
Step 5.1
Substitute for .
Step 5.2
Combine and .