A particle of mass 1 in the x y plane has the following coordinates:
x = r cos θ y = r sin θ
The potential energy distribution is:
V ( r ) = − r − 1 + r − 3
At time t = 0 , the initial conditions are ( θ is in radians):
r = 2 θ = 0 r ˙ = 0 . 2 θ ˙ = 0 . 1
At time t = 6 0 , how far away is the particle from its starting position?
Bonus: Visualize the trajectory as an x y scatter plot, and comment on why the form of the potential causes that shape. Also try running and plotting the simulation to t = 1 2 0 .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I use Mathcad.
Next fine problems -
1 . find initial data for choreograph trajectories (examples here) 2 . find orbit for initial data
t = 0 r = 2 5 2 + 1 8 7 9 θ ˙ = ( 2 + 1 8 7 9 ) 2 2 5 0
3 . find the analitic equation for r m i n and r m a x (for this problem r varies between r m i n = 1 . 5 0 1 and r m a x = 2 . 3 3 5 6 ).
As some background, I initially had two attractive potentials, but the particle kept spiraling in toward the origin and causing numerical problems. So I then made it so that the potential is attractive for "large" radius and repulsive for "small" radius. That dual nature of the potential is what creates the starfish pattern.
@Karan Chatrath has already provided an excellent solution based on Lagrangian mechanics, which is how I initially did it. I also did it the Newtonian way, just for fun. Initialize the ( x ˙ , y ˙ ) values based on the ( r ˙ , θ ˙ ) at the beginning:
At time t = 0 :
x ˙ = r ˙ cos θ − r sin θ θ ˙ y ˙ = r ˙ sin θ + r cos θ θ ˙
Then we can derive the net force on the particle as follows:
v = ( x , y ) u = ∣ v ∣ v = r v F = − d r d V = − r − 2 + 3 r − 4 F = F u
And then we can numerically integrate as usual, and the result is identical to the one derived using Lagrange, as expected. The Newton solution code is attached.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
Problem Loading...
Note Loading...
Set Loading...
This was fun! Presenting my numerical solution.
Consider the system at a general instant of time. The position of the particle is:
x = r cos θ y = r sin θ
x ˙ = r ˙ cos θ − r θ ˙ sin θ y ˙ = r ˙ sin θ + r θ ˙ cos θ
The kinetic energy of the system is:
T = 2 1 ( x ˙ 2 + y ˙ 2 ) = 2 1 ( r ˙ 2 + r 2 θ ˙ 2 ) V = − r − 1 + r − 3
Applying Lagrange's equation for the θ coordinate gives:
d t d ( ∂ θ ˙ ∂ T ) − ∂ θ ∂ T + ∂ θ ∂ V = 0 ⟹ d t d ( r 2 θ ˙ ) = 0 ⟹ r 2 θ ˙ = K … ( 1 )
Where K is some constant. This constant can be found by applying the initial conditions which gives:
θ ˙ = 5 r 2 2 … ( 2 )
Applying Lagrange's equation for the r coordinate gives: d t d ( ∂ r ˙ ∂ T ) − ∂ r ∂ T + ∂ r ∂ V = 0 r ¨ = r θ ˙ 2 − r 2 1 + r 4 3
Replacing (2) in the equation above leads to a differential equation:
r ¨ = 2 5 r 3 4 − r 2 1 + r 4 3 … ( 3 )
So finally, the system is governed by the differential equations:
θ ˙ = 5 r 2 2 r ¨ = 2 5 r 3 4 − r 2 1 + r 4 3
Using the given initial conditions, the above equations are solved numerically. First, the system is simulated until t = 6 0 . The resulting trajectory is:
The trajectory above indeed looks like a ruptured starfish.
Simulating till t = 1 2 0 yields:
One sees that the trajectory looks like two ruptured starfish one atop another. It gets really interesting when the system is simulated until t = 1 0 0 0
So, what one observes here is that the values of r which the system solution obtains, are confined to a lower and upper bound. r varies between 1 . 5 0 1 and 2 . 3 3 5 6 . If one were to look at the plot of time vs. the x or y coordinate, it can be seen that the motion shows a semblance of periodic repeatability, but not exact periodicity. I think that the technical term for this is quasi-periodicity.
A very well known quasi-periodic dynamic system to us is the earth's climate and how it exhibits yearly repeatability which we understand as seasons, but the periodicity is not exact. There are always slight variations in the time of onset and intensity of various seasons.
If one were to simulate the given system for a significantly longer duration (say t = 2 0 0 0 0 ), it is seen that every point within the bounded area would be reached by the system. The trajectory would look like a perfect blue doughnut as shown below:
As for why this system exhibits such behaviour, I have an explanation, which I am not sure is correct. Consider the equation of motion:
r ¨ = 2 5 r 3 4 − r 2 1 + r 4 3
Here r ¨ = 0 when r ≈ 1 . 8 1 3 . So about this equilibrium, which happens to be a stable equilibrium state for the r ( t ) solution, the system oscillates in an almost periodic manner, or a quasi-periodic manner.