Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I do not fully understand the 'definition' of the Lagrange multipliers. I do understand that a maximum occurs when the constraint and the objective function are tangent to eachother. However, I do not understand why this implies that the $\nabla{f}=\lambda\times\nabla{g}$. Why is it not true that the gradient of $f$ IS EQUAL to the gradient of $g$? Doesn't the fact that the level curves are parallel imply that the derivatives are equal and thus that the gradients are equal (and not a multiple of eachother)?

share|cite|improve this question
For example, optimizing under the constraint $x^2+y^2 = 1$ is the same as optimizing under the constraint $2x^2+2y^2 = 2$, but $x^2+y^2$ and $2x^2+2y^2$ have different gradients. The direction of the level curves determine the direction of the gradient, but not the magnitude. (It is the spacing that determines magnitude, as Nick answered.) – Jonas Meyer Nov 5 '12 at 17:03
Thank you for the clarification :). – dreamer Nov 5 '12 at 18:19

Even though the level curves are locally parallel, one set of curves is more widely spaced than the other. In other words, even though both functions increase the fastest in the same direction, one function still increases faster than the other so their gradients have the same direction but different lengths.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.