It is given that
x1=Asinωt
x2=Asin(ωt+ϕ)
x2−x1=A[sin(ωt+ϕ)+sinωt]
=2Acos[2ωt+ϕ2]sin[ϕ2]..............(1)
sinϕ2=constant
So the maximum value of x2−x1 occurs when cos[2ωt+ϕ2]=1
Now equation (1) becomes
√3A=2Asin[ϕ2]
sin60=sin[ϕ2]
ϕ=120
So, the phase difference between two waves is ϕ=120