A recurrent method of solving the formal integrals of symplectic integ
rators is given. The special examples show that there are no long-term
variations in all integrals of the Hamiltonian system in addition to
the energy one when symplectic integrators are used in the numerical s
tudies of the system. As an application of the formal integrals, the r
elation between them and the linear stability of symplectic integrator
s is discussed.