I am trying to understand and remember the conditions here but I cannot yet understand them. You could take any example like here to explain or more theretical slant with proper references. My lecturer is just stating that they are the necessary conditions but I cannot understand why, please, explain. I can see that when $m=0$, it is the Lagrange -multiplier case.
From the Wikipedia:
where you can see the $m$.