Solving 2nd order differential equation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
Pushoam
Messages
961
Reaction score
53

Homework Statement


upload_2017-12-27_23-44-42.png


Homework Equations

The Attempt at a Solution



For the homogeneous equation, I have got the the root of the characteristic equation as ## e^{ix}, e^{-ix} ## .

So, the corresponding solution is ## B \sin{ x} + A \cos{ x} ## .

Then, I took the particular solution as C.

Putting C in the differential equation , I get C = -1.

So, the inhomogeneous solution is ## A \cos{ x} + B \sin{ x} – 1 ## , i.e. option(e).

Is this correct?
 

Attachments

  • upload_2017-12-27_23-44-42.png
    upload_2017-12-27_23-44-42.png
    7 KB · Views: 1,055
  • Like
Likes   Reactions: scottdave
Physics news on Phys.org
Looks great. You can plug it into the original differential equation to make sure that your solution satisfies it.
 
  • Like
Likes   Reactions: Pushoam
Pushoam said:
So, the inhomogeneous solution is ## A \cos{ x} + B \sin{ x} – 1 ## , i.e. option(e).
Is this correct?
You shouldn't need to ask this. Along the lines of @scottdave's advice, whenever you get a solution to a diff. equation, you should get in the habit of checking. That way you'll know whether your answer is correct. For an initial value problem, check that 1) your solution satisfies the initial condition, and 2) your solution satisifies the differential equation.
 
  • Like
Likes   Reactions: Pushoam