The quantity T – V is called the Lagrangian of the system, and it’s denoted by the symbol L. The things you need to know to specify L are the mass of the particle (for the kinetic energy) and the potential V(x). It is, of course, no accident that these are the same things you need to know to write Newton’s equation of motion.