I will add to your problems. Suppose you want to solve a problem with certain conditions ( constraints), then you use the method Lagrange multiplier. For example perimeter is fixed and you want to know which is the that has a maximum area, you follow this method. It gives both the maximum and minimum. You have to select the one you want. Example. A rectangle has side x and y. The perimeter is fixed to be a. Then you have condition
Area = g(x,y) =xy and perimeter 2x+2y=a
Now you have to find x and y. So define a new function
h(x,y) = g(x,y) - L ( 2x+2y-a)
L is the Lagrange undetermined multiplier.
Now take partial derivative of h(x,y) wrt x and y and equate them to 0, separately. You get
y- 2L=0, x- 2L=0
Use this in 2x+ 2y= a= 4L+4L=8L
x= a/4, y=a/4. This shows that a square has a maximum area. This method is extensively in Theoretical Physics. The word used is the extremum. But in Physics it is assumed to be a minimum. Whole classical and quantum mechanical analysis are based on this principle.