What's the intuition behind the definition of the Lagrangian?

No.14423203 ViewReplyOriginalReport
>L=K-U

Why is it defined this way? What's the intuition behind it? How could Lagrange come up with it? Why K-U and not U-K or does that make no fundamental difference and is simply a convention?