Lagrange Multipliers: Understand Why \nabla f = \lambda \nabla g

In summary, the gradient of the function f with respect to the variables a,b,c can be found by taking the partial derivatives with respect to a,b,c and then multiplying them together.
  • #1
Gregg
459
0

Homework Statement



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
[tex]
|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.

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:
Physics news on Phys.org
  • #2
Gregg said:
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?
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.
 
  • #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?
 
  • #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.
 
  • #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.
 
  • #6
Also I found this [tex] ab(a^2-b^2)+bc(b^2-c^2)+ac(c^2-a^2) = \left|
\begin{array}{ccc}
1 & 1 & -1 \\
-a^2 & -b^2 & c^2 \\
-\text{bc} & -\text{ac} & \text{ab}
\end{array}
\right| = (a - b) (a - c) (b - c) (a + b + c) [/tex]
 
  • #7
Gregg said:
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.

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.
 
  • #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?
 
  • #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.
 
  • #10
snipez90 said:
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.

Yeah that's what I did to start the problem and the algebra is as you said
 
  • #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]

From

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

Related to Lagrange Multipliers: Understand Why \nabla f = \lambda \nabla g

What are Lagrange multipliers?

Lagrange multipliers are a mathematical method used to find extrema (maximum or minimum) of a function subject to constraints.

How do Lagrange multipliers work?

Lagrange multipliers work by introducing a new variable, lambda, which represents the gradient of the constraint function. This allows for solving the system of equations that gives the maximum or minimum value of the original function.

Why is the gradient of the constraint function multiplied by lambda?

The gradient of the constraint function is multiplied by lambda in order to satisfy the necessary condition for the extrema of the original function. This ensures that the constraint is not violated and that the maximum or minimum value is found.

What is the geometric interpretation of Lagrange multipliers?

The geometric interpretation of Lagrange multipliers is that the gradient of the original function is orthogonal to the constraint surface at the point where the extrema occurs. This is because the gradient of a function gives the direction of steepest ascent, and since the constraint function is constant, its gradient is perpendicular to its level curves.

What are some applications of Lagrange multipliers?

Lagrange multipliers have various applications in mathematics, physics, economics, and other fields. Some examples include finding optimal solutions in optimization problems, determining equilibrium points in physics, and solving constrained optimization problems in economics.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
725
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
6K
  • Calculus and Beyond Homework Help
Replies
14
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
3K
  • Advanced Physics Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
962
Back
Top