Two particles A and B execute simple harmonic motion according to the equations ) and The phase difference between them is
Representing a quantity with phase along x-axis any quantity with a phase can be represented by a vector making an angle with X-axis in the anticlockwise sense and any quantity with a phase can be represented by a vector making an angle with X-axis in the clockwise sense.
From (i) and (ii), the result follows.