I’ll be honest. There is a lot of stuff to talk about when we are talking about the Lagrangian. It’s not super simple — but it is super powerful.
Before jumping into Lagrangian mechanics, let’s think about Newtonian mechanics. At the most basic level, this uses the momentum principle and the work-energy principle: