I have also written this up as an [answer](https://www.quora.com/Why-is-Lagrangian-defined-as-Kinetic-energy-minus-potential-energy/answer/Daniel-Mahler?prompt_topic_bio=1#) to the Quora question.