Calculus Examples

Solve the Differential Equation (d^2y)/(dx^2)+y=cos(x)
Step 1
Assume all solutions are of the form .
Step 2
Find the characteristic equation for .
Tap for more steps...
Step 2.1
Find the first derivative.
Step 2.2
Find the second derivative.
Step 2.3
Substitute into the differential equation.
Step 2.4
Factor out .
Tap for more steps...
Step 2.4.1
Factor out of .
Step 2.4.2
Multiply by .
Step 2.4.3
Factor out of .
Step 2.5
Since exponentials can never be zero, divide both sides by .
Step 3
Solve for .
Tap for more steps...
Step 3.1
Subtract from both sides of the equation.
Step 3.2
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 3.3
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 3.3.1
First, use the positive value of the to find the first solution.
Step 3.3.2
Next, use the negative value of the to find the second solution.
Step 3.3.3
The complete solution is the result of both the positive and negative portions of the solution.
Step 4
With the two found values of , two solutions can be constructed.
Step 5
By the principle of superposition, the general solution is a linear combination of the two solutions for a second order homogeneous linear differential equation.