We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
For our case, we have the lagrange equation of frist kind given by
As we call the lagrande operator L like
L
We have the equation
As we have n variables and m contraint functions, we have that
n
m
And the gradient:
So, our equation become
Now, we get a case where we can write the energy like
The lagrangian with these matrix are so
With the matrix constants we get only