Abstract
In this paper we compute first integrals of nonlinear ordinary differential equations using the extended Prelle-Singer method, as formulated by Chandrasekar et al in J. Math. Phys. 47 (2), 023508, (2006). We find a new first integral for the Painlevé-Gambier XXII equation. We also derive the first integrals of generalized two-dimensional Kepler system and the Liénard type oscillators.