Edit: As AlexR points out in this comment, there is no mathematical reason behind defining the Lagrangian, except because it makes the Lagrange Multiplier Method easier to memorize. I find this confusing; for me, it is easier to find the critical values of the system of equations.
I still haven't found an explanation why is the Lagrange function defined as:
$$\Lambda(x,y,\lambda) = f(x,y)+\lambda \cdot g(x,y)$$
Every author doesn't explain the procedure and I don't think is necessary to learn Lagrangian Mechanics to understand the formula, some examples:
To incorporate these conditions into one equation, we introduce an auxiliary function
Now, if we're clever we can write a single equation that will capture this idea. This is where the familiar Lagrangian equation comes in:
$L=f-\lambda(g-c)$
Lagrange Multipliers Without Permanent Scarring by Dan Kein:
We can compactly represent both equations at once by writing the Lagrangian:
$\Lambda(x,\lambda)=f(x)-\lambda g(x)$
The list goes on, the thing is that "Lagrangian" seems to have different meanings depending on the context: https://en.wikipedia.org/wiki/Lagrangian_%28disambiguation%29
So in this context, What does "Lagrangian function" means, and what are the steps to get to that function?
Thanks in advance.