An Introduction to Lagrange Multipliers
slimy.com
slimy.com
I have every intention of keeping it online indefinitely, as long as my friends doing the hosting don't get sick of me mooching off their web space.
This is the case with many combinatorics and optimization problems. The specifics of the problems may differ, but the underlying math tends to be very similar.
These can be used to simulate physical systems like magnets and particle fields.
The Lagrange Constraints are used to constrain things like probability, energy, and particle numbers. What is constrained accounts for the difference between the ensembles listed above.
The derivation of the Support Vector Machine also involves Lagrange Constraints as well!
https://abel.math.harvard.edu/~knill/teaching/summer2014/exh...