1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Lagrange multipliers

  1. Apr 10, 2010 #1
    1. The problem statement, all variables and given/known data

    Why is
    [tex] \nabla f = \lambda \nabla g [/tex]

    where f is the function you want to find the extrema of and g is the contraint?

    Also how would you identify the above in the following

    Determine the least real number M such that the inequality
    |ab(a^2-b^2) + bc(b^2-c^2) + ca(c^2-a^2)|\le M(a^2 + b^2 + c^2)^2[/tex]

    holds for all real numbers a, b and c.

    3. The attempt at a solution

    It is the first part of the problem which I cannot do so there is no working to show

    You have to minimise M but subject to what? Also, there is no explicit definition for M, only the inequality.
    Last edited: Apr 10, 2010
  2. jcsd
  3. Apr 10, 2010 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    I will answer your first question.

    This example might help you see that. Suppose you have a circular wire in the shape of the unit circle x2+y2=1. Suppose the temperature at a point (x,y) in the plane is given by T = f(x,y) = y + 2x, and you want to know what is the warmest point on the wire. Now make a sketch showing the circle and several of the level curves where

    T = y + 2x = c

    for various values of c. Plot them for at least c = 0, 1/2, 1, 3/2, 2. They will be parallel lines cutting through or near your wire, each of on which the temperature is constant. With this picture you will be able to estimate the max temperature on the wire although the level curve giving it may not have been drawn. But you should be able to see that the level curve that does the trick will be tangent to the circle. It has to at least touch the circle, and if it crosses the circle you can back away some to get a higher temperature. This means that the normal to the circle and the level curve must be parallel at the point giving max temperature, so their normals are proportional. That gives the gradient condition. The same idea works in 3D. Your text likely gives a mathematical argument to buttress this hueristic argument.
  4. Apr 10, 2010 #3
    That's really clear, thanks. Without getting involved in the second part of my question is there anything you can say about using Lagrange multipliers in inequalities?
  5. Apr 11, 2010 #4
    Well you aren't actually minimizing M, since M is a constant. Instead, notice that M is really the supremum of

    [tex]\frac{|ab(a^2-b^2) + bc(b^2-c^2) + ca(c^2-a^2)|}{(a^2 + b^2 + c^2)^2}[/tex]

    over reals a,b,c.

    Note maximizing/minimizing the above quantity is the same as maximizing/minimizing the expression inside the absolute values of the numerator. The other thing you need is a constraint, and one way to get a constraint in any inequality problem is to check if your function is homogeneous.
  6. Apr 11, 2010 #5
    f(ka,kb,kc)=f(a,b,c) so it is homogenous of degree 1? If it is just the numerator we want to maximise or minimise then it is of degree 4. I don't understand why the denominator is not needed, though.
  7. Apr 11, 2010 #6
    Also I found this [tex] ab(a^2-b^2)+bc(b^2-c^2)+ac(c^2-a^2) = \left|
    1 & 1 & -1 \\
    -a^2 & -b^2 & c^2 \\
    -\text{bc} & -\text{ac} & \text{ab}
    \right| = (a - b) (a - c) (b - c) (a + b + c) [/tex]
  8. Apr 11, 2010 #7
    Hmm I see the logical connection I didn't make now. The ratio is homogeneous of degree 1, so we may assume that a^2 + b^2 + c^2 = 1. This reduces the problem to finding the maximum of just the numerator over the unit sphere, which is compact.
  9. Apr 11, 2010 #8
    [tex] \nabla f(a,b,c) - \lambda \nabla g(a,b,c) = 0 [/tex]

    [tex] \frac{\partial f(a,b,c)}{\partial a} - \lamba\frac{\partial g(a,b,c)}{\partial a}=0 [/tex]

    [tex] \frac{\partial f(a,b,c)}{\partial b} - \lamba\frac{\partial g(a,b,c)}{\partial b}=0 [/tex]

    [tex] \frac{\partial f(a,b,c)}{\partial c} - \lamba\frac{\partial g(a,b,c)}{\partial c}=0 [/tex]

    [tex] f(a,b,c) = (a-b)(a-c)(b-c)(a+b+c) [/tex]

    [tex] g(a,b,c)= a^2 + b^2 + c^2 = 1 [/tex]

    I find it difficult solving for a,b,c without getting a=b=c which would make M = 0. Is this the correct approach?
  10. Apr 11, 2010 #9
    It should be obvious that M is not zero right? It's not hard to think of a, b, c for which the ratio of the absolute value expression to the squared expression in the original inequality is positive, implying that M is > 0. The very condition [itex]\nabla f = \lambda \nabla [/itex] should give you the following equality between vectors:

    [tex] (3a^{2}b-b^{3}+c^{3}-3ca^{2},3b^{2}c-c^{3}+a^{3}-3ab^{2},b^{2}-3bc^{2}+3ca^{2}-a^{3})=\lambda(2a,2b,2c) .[/tex]

    This is not a particularly nice set of equations to solve, but doing the algebra is typically the bulk of any lagrange multipliers problem.
  11. Apr 11, 2010 #10
    Yeah that's what I did to start the problem and the algebra is as you said
  12. Apr 12, 2010 #11
    The set of equations are inpenetrable for me. I find a quadratic in a,b and c and I have the constraint also. So I have 4 equations and 4 unknowns. But I just can't seem to reduce it.

    I get

    [tex] a = \frac{\lambda\pm\sqrt{\lambda^2-3(b-c)(c^3-b^3)}}{3(b-c)} [/tex]

    [tex] b = \frac{\lambda\pm\sqrt{\lambda^2-3(a+c)(a^3-c^3)}}{3(a+c)} [/tex]

    [tex] c = \frac{\lambda\pm\sqrt{\lambda^2-3(a-b)(b^3-a^3)}}{3(a-b)} [/tex]


    [tex] \nabla f = \lambda \nabla g [/tex]
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook