This paper discusses in detail the conformal invariance by infinitesimal transformations of a dynamical system of relative motion. The necessary and sufficient conditions of conformal invariance and Lie symmetry are given simultaneously by the action of infinitesimal transformations. Then it obtains the conserved quantities of conformal invariance by the infinitesimal transformations. Finally an example is given to illustrate the application of the results.