We have developed and carefully tested a new computer code to follow t
he long-term dynamical evolution of a swarm of test particles in the s
olar system. This new integrator is approximately an order of magnitud
e faster than previously existing codes. The technique efficiently and
accurately handles close approaches between test particles and planet
s while retaining the powerful features of recently developed mixed va
riable symplectic integrators. We use the new code to numerically inte
grate the orbits of the known short-period comets (those with periods
P < 200 years) under the influence of the Sun and all the planets exce
pt Mercury and Pluto, for times up to 10(7) years. It is found under a
classification based on period that most comets move between Jupiter-
family (P < 20 yr) and Halley-family (P > 20 yr) orbits many times in
their dynamical lifetimes. However, it is found that the Tisserand par
ameter, T, does not vary substantially for most comets. Therefore, we
adopt a classification originally suggested by Carusi et al. (1987) th
at defines Jupiter-family comets (JFCs) as comets with T > 2 and Halle
y-family comets (HFCs) as those with T < 2. In this scheme, less than
8% of comets change families during the integration and most of those
that change tend to remain near the Tisserand dividing line throughout
. Thus, the JFCs (as defined by the Tisserand parameter) are dynamical
ly distinct from the HFCs. We find that in our forward integration, 92
% of comets are ejected from the solar system, and that -6% are destro
yed by becoming sun-grazers. The number of sun-grazers is far more tha
n would be expected from the existing analytic theories. The median li
fetime of all known short-period comets from the current time to ultim
ate destruction or ejection is approximately 4.5 x 10(5) years. The ve
ry flat inclination distribution of Jupiter-family comets is found to
become more distended as it ages. Since JFCs are dynamically distinct
from HFCs, they must have an inclination distribution, when they first
become visible, that is even flatter than that currently observed. Fo
r reasonable values of the physical lifetime before fading, we calcula
te that there should be roughly 5-20 times as many extinct JFCs as cur
rently known JFCs. Our prediction for the mean cos (i) of the extinct
JFCs is consistent with the existing data on these objects. (C) 1994 A
cademic Press, Inc.