1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Differential Equation arising from Anharmonic Oscillator

  1. Oct 29, 2013 #1
    1. The problem statement, all variables and given/known data
    Okay, I am trying to solve this Anharmonic Oscillator equation. Now I am given with the potential
    and Kinetic energy
    T=(1/2)x' ^2

    So the Lagrangian becomes
    [itex]\mathcal L[/itex][tex]=T-U[/tex]

    Now I have taken all the [tex]k[/tex]'s and [tex]m[/tex] to be 1
    2. Relevant equations
    After solving the Lagrangian Equation I got

    3. The attempt at a solution
    And when I used the solution [tex]x(t)=tanh(t/\sqrt{2}) [/tex] it seems to be satisfying. But my problem is to find a general solution in where I can express my total energy as initial value condition by mentioning my energy and there by controlling how the system behaves e.g how it's position and velocity depends on total enegy sort of like SHO problem where [tex]x(t)=\sqrt{2E}sin (t)[/tex] and [tex]v(t)=\sqrt{2E}cos (t)[/tex]

    I want my Anharmonic Oscillator position and velocity to be represented like this where [tex]E[/tex] and [tex]t[/tex] clearly providing the initial conditions.

    Thank you for the time.
  2. jcsd
  3. Oct 29, 2013 #2


    User Avatar
    Science Advisor
    Gold Member

    The general solution of the nonlinear DE ##\frac{d^{2}x}{dt^{2}}=-x+x^{3}## is rather complicated and has to be written in terms of elliptic functions. Are you really being asked to find it in your homework?
  4. Oct 29, 2013 #3
    Yes this is my homework and I know it involves Elliptic Functions. I've tried it putting that equation In Wolfarm Alpha. It gave me back a huge solution .
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted