The particles move up & down along s axis between points
s = [+/-]1
But s2 has a lead 'pi/3' over s1.
Their difference in position is s2-s1. Call it 'a'
a =s2 -s1
=sin(t+pi/3) - sin t
= (cos t)(sin pi/3) - (sin t)(1 - cos pi/3).
So
a = (sqrt3 /2 )(cos t) - (sin t)/2 .
If it is to change the fastest, its derivative a'=0.
cos t /2 + (sqrt3 /2)sin t =0
=> tan t = - 1/sqrt3. (recall tan [pi/6] = 1/sqrt3)
tan t has negative values in II & IV quadrants; that is
tan [-t ] = tan[pi - t] = -tan t.
So
t = pi-pi/6 = 5pi/6,
OR
-pi/6 =(2pi-pi/6) =11pi/6.
Putting these results in 'a'
a =sin(5pi/6 +pi/3) -sin(5pi/6)
=sin(pi+pi/6) + sin(pi-pi/6)
=2 (sin pi)(cos pi/6) = 0; &
a =sin(11pi/6 +pi/3) -sin(11pi/6)
=sin(pi/6) + sin(-pi/6)
=sin(pi/6) - sin(pi/6) = 0.
That is
a = (sin t)/2 - (sqrt3 /2 )(cos t) =0
=> tan t =sqrt3
=> t = pi/3.
At this point {t = pi/3; s =sqrt3 /2 }, when one point is moving up and the other moving down they meet but their velocity difference is maximum.