On the relation between the original and difference trajectories of beam in linear accelerators