Linear particle accelerators consist of a series of tubes of increasing length, with the particle being accelerated by the potential difference (p.d) between a pair of tubes.
The potential difference alternates, causing the particle to reverse its polarity, changing from positive to negative or negative to positive, to ensure the particle keeps accelerating.
The tubes in a linear particle accelerator get longer as the speed of the particles increase, meaning the frequency of the alternating p.d is constant.
In a synchrotron, particles are accelerated, and their path kept circular, by increasing the strength of the magnetic field as the speed of the particles increases.
As the speed of the particles increases, the time it takes the particle to travel through each tube decreases, meaning the frequency of the alternating p.d must also increase.