Time reversibility of velocity verlet easy

Click For Summary
SUMMARY

The discussion focuses on proving the time reversibility of the Velocity Verlet integration scheme used in computational physics. The key equations involved are r(t+dt) = r(t) + v(t)dt + 1/2a(t)dt^2 and v(t+dt) = v(t) + 1/2a(t)dt + 1/2a(t+dt)dt. The proof demonstrates that substituting -dt in the equations leads to the original position and velocity, confirming the scheme's time reversibility. The calculations show that both position and velocity return to their initial values, validating the concept.

PREREQUISITES
  • Understanding of classical mechanics and kinematics
  • Familiarity with numerical integration methods, specifically the Velocity Verlet algorithm
  • Basic knowledge of calculus, particularly derivatives and Taylor series expansions
  • Experience with programming in a language suitable for simulations, such as Python or C++
NEXT STEPS
  • Study the mathematical foundations of the Velocity Verlet algorithm in detail
  • Explore the implications of time reversibility in numerical simulations
  • Learn about error analysis in numerical integration methods
  • Investigate alternative integration methods, such as the Leapfrog method
USEFUL FOR

This discussion is beneficial for students and professionals in physics, computational science, and engineering who are interested in numerical methods for simulating dynamical systems.

dikmikkel
Messages
160
Reaction score
0

Homework Statement


Prove that the velocity verlet scheme is time reversible.

Homework Equations


r(t+dt) = r(t) + v(t)dt + 1/2a dt^2
v(t+dt) = v(t) + 1/2 a(t)dt + 1/2a(t+dt)dt

The Attempt at a Solution


I substitute -dt in at dt and get:
r(t-dt) = r(t) - v(t)dt +1/2a dt^2
v(t-dt) = v(t) -1/2a(t)dt -1/2a(t-dt)dt

the squared factor of time in the acceleration term is annoying me, can it be done easier?
 
Physics news on Phys.org
what exactly do you see is wrong with the squared factor?
 
Well, the acceleration should(my opinion) lead to move the position back again if it is time reversible(as it is). Can you help?
 
do the calculations for t''=t'+dt, then do them again for t'=t-dt, everything should simplify back to t''=t.
 
Last edited:
When i do that it still does not make sense to me.
Would you do the first half part, maybe with substitutions.
 
Okay, now i found out i think.

r(t+dt) = r(t)+v(t)dt + 1/2a(t)dt^2
v(t+dt) = v(t)+1/2a(t)dt + 1/2a(t+dt)dt
Now we are at r(t+dt) and want to reverse it:
r(t-dt) = r(t+dt) - v(t+dt)dt + 1/2a(t+dt)dt^2 =
r(t)+v(t)dt + 1/2a(t)dt^2 -(v(t)+1/2a(t)dt + 1/2a(t+dt)dt)dt +1/2a(t+dt)dt^2 =
r(t) . Q.e.d
v(t-dt) = v(t+dt) - 1/2a(t+dt)dt-1/2a(t+dt-dt)dt =
v(t)+1/2a(t)dt + 1/2a(t+dt)dt -1/2a(t+dt)dt-1/2a(t)dt =
v(t), q.e.d
Is that right?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
4
Views
4K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K