I'm simulating the restricted three body problem. But I don't know how to found the initial conditions of the object located at the Lagrange points analytically or computationally. I mean my problem is that the object located at the Lagrange points as initial position have to remain at the same distance relative to the second object.
I've already look the derivation of the Lagrange points, but when deriving it, people look at the system as if were stopped in a moment in time and find the saddle points when $\vec{F}_{\Omega}=\vec{0}$. My problem is the following:
Problem: Given three objects with masses, $m_1,m_2,m_3$, such that $m_3<<m_1,m_2$. Find the initial conditions of the third object, such that it's initial position is one of the Lagrange points and that it remains orbiting always in the Lagrange point for a long period of time.
I can use all the initial conditions of the first, second, and third object. I also know the solution to the first,second and third objects position velocity for any time. I just have to know the initial conditions such as the constraint above is satisfied.
I managed to find a initial velocity by putting numbers, in following picture(but that's not the idea):
Initial Conditions for this picture:
$x_1=1.0 $cm ,
$y_1=6.0 \cdot 10^3$ cm ,
$vx_1=0$cm/s
$vy_1=1.0 \cdot 10^6$ cm/s
$m_1=8.0 \cdot 10^{22}$g
$x_2=4.0 \cdot 10^3 $cm ,
$y_2=6.0 \cdot 10^3$ cm ,
$vx_2=0$cm/s
$vy_2=2.0 \cdot 10^6$ cm/s
$m_2=2.0 \cdot 10^{21}$g
$x_3=3.194 \cdot 10^3 $cm ,$L_1$ $x$ component
$y_3=6.0 \cdot 10^3$ cm , $L_1$ $y$ component
$vx_3=0$cm/s ???
$vy_3=1.080680314 \cdot 10^6$ cm/s ???
$m_3 =0$g