Optimization : is it possible to replace 2 Lagrange multipliers by a single one. Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Number of Lagrange MultipliersTwo Lagrange multipliers with one equationLagrange multipliers split LagrangiansLagrange multipliers…what is my constraint?Lagrange Multipliers for linear functionalsMultiple equations Lagrange multipliers.Method of Lagrange multipliers for multiple constraintsLagrange multipliers and Jacobian rankLagrange Multipliers: “What is a Critical Point?”When is there a symmetry between constraint and objective function in Lagrange multipliers?

Do working physicists consider Newtonian mechanics to be "falsified"?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

Active filter with series inductor and resistor - do these exist?

90's book, teen horror

Strange behaviour of Check

When is phishing education going too far?

Why is "Captain Marvel" translated as male in Portugal?

Direct Experience of Meditation

Jazz greats knew nothing of modes. Why are they used to improvise on standards?

What loss function to use when labels are probabilities?

What would be Julian Assange's expected punishment, on the current English criminal law?

How is simplicity better than precision and clarity in prose?

What to do with post with dry rot?

Can I add database to AWS RDS MySQL without creating new instance?

Why does this iterative way of solving of equation work?

Are my PIs rude or am I just being too sensitive?

If A makes B more likely then B makes A more likely"

Antler Helmet: Can it work?

grandmas drink with lemon juice

How should I respond to a player wanting to catch a sword between their hands?

Fishing simulator

Mortgage adviser recommends a longer term than necessary combined with overpayments



Optimization : is it possible to replace 2 Lagrange multipliers by a single one.



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Number of Lagrange MultipliersTwo Lagrange multipliers with one equationLagrange multipliers split LagrangiansLagrange multipliers…what is my constraint?Lagrange Multipliers for linear functionalsMultiple equations Lagrange multipliers.Method of Lagrange multipliers for multiple constraintsLagrange multipliers and Jacobian rankLagrange Multipliers: “What is a Critical Point?”When is there a symmetry between constraint and objective function in Lagrange multipliers?










3












$begingroup$


The question is simple: "find the point closest to the origin that is on the intersection line of $y+2z=12$ and $x+y=6$."



Normal method would use two Lagrange multipliers and get the point $(2,4,4)$. I get that. BUT I used the following method and failed to get the same result:



I designed an equivalent constraint from the 2 constraints given above:



$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 = 0$



And then I tried to use only one Lagrange multiplier since we only have one constraint now. However, I cannot seem to get $(2,4,4)$ So my question is: what went wrong? Did I miss something?










share|cite|improve this question









New contributor




Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$











  • $begingroup$
    Please show us your work that doesn't work. It should.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:18










  • $begingroup$
    @Yves Daoust I did it the same way you showed in your answer. If you try plugging (2,4,4) back into your equations, you will see that it is not a solution. I think jawheele may have pointed out where the problem lies.
    $endgroup$
    – Barblog
    Apr 9 at 14:42










  • $begingroup$
    Two things : 1) I have taken the liberty to change your title in order to attract more people on this issue (ctd)...
    $endgroup$
    – Jean Marie
    Apr 9 at 17:16










  • $begingroup$
    2) I will wite a second edit to my answer that parallels the answer by jawheele.
    $endgroup$
    – Jean Marie
    Apr 9 at 17:17










  • $begingroup$
    Looks good. Thanks!
    $endgroup$
    – Barblog
    Apr 9 at 17:21















3












$begingroup$


The question is simple: "find the point closest to the origin that is on the intersection line of $y+2z=12$ and $x+y=6$."



Normal method would use two Lagrange multipliers and get the point $(2,4,4)$. I get that. BUT I used the following method and failed to get the same result:



I designed an equivalent constraint from the 2 constraints given above:



$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 = 0$



And then I tried to use only one Lagrange multiplier since we only have one constraint now. However, I cannot seem to get $(2,4,4)$ So my question is: what went wrong? Did I miss something?










share|cite|improve this question









New contributor




Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$











  • $begingroup$
    Please show us your work that doesn't work. It should.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:18










  • $begingroup$
    @Yves Daoust I did it the same way you showed in your answer. If you try plugging (2,4,4) back into your equations, you will see that it is not a solution. I think jawheele may have pointed out where the problem lies.
    $endgroup$
    – Barblog
    Apr 9 at 14:42










  • $begingroup$
    Two things : 1) I have taken the liberty to change your title in order to attract more people on this issue (ctd)...
    $endgroup$
    – Jean Marie
    Apr 9 at 17:16










  • $begingroup$
    2) I will wite a second edit to my answer that parallels the answer by jawheele.
    $endgroup$
    – Jean Marie
    Apr 9 at 17:17










  • $begingroup$
    Looks good. Thanks!
    $endgroup$
    – Barblog
    Apr 9 at 17:21













3












3








3


3



$begingroup$


The question is simple: "find the point closest to the origin that is on the intersection line of $y+2z=12$ and $x+y=6$."



Normal method would use two Lagrange multipliers and get the point $(2,4,4)$. I get that. BUT I used the following method and failed to get the same result:



I designed an equivalent constraint from the 2 constraints given above:



$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 = 0$



And then I tried to use only one Lagrange multiplier since we only have one constraint now. However, I cannot seem to get $(2,4,4)$ So my question is: what went wrong? Did I miss something?










share|cite|improve this question









New contributor




Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




The question is simple: "find the point closest to the origin that is on the intersection line of $y+2z=12$ and $x+y=6$."



Normal method would use two Lagrange multipliers and get the point $(2,4,4)$. I get that. BUT I used the following method and failed to get the same result:



I designed an equivalent constraint from the 2 constraints given above:



$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 = 0$



And then I tried to use only one Lagrange multiplier since we only have one constraint now. However, I cannot seem to get $(2,4,4)$ So my question is: what went wrong? Did I miss something?







calculus optimization lagrange-multiplier






share|cite|improve this question









New contributor




Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited Apr 9 at 17:14









Jean Marie

31.5k42355




31.5k42355






New contributor




Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 8 at 20:48









BarblogBarblog

165




165




New contributor




Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Barblog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • $begingroup$
    Please show us your work that doesn't work. It should.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:18










  • $begingroup$
    @Yves Daoust I did it the same way you showed in your answer. If you try plugging (2,4,4) back into your equations, you will see that it is not a solution. I think jawheele may have pointed out where the problem lies.
    $endgroup$
    – Barblog
    Apr 9 at 14:42










  • $begingroup$
    Two things : 1) I have taken the liberty to change your title in order to attract more people on this issue (ctd)...
    $endgroup$
    – Jean Marie
    Apr 9 at 17:16










  • $begingroup$
    2) I will wite a second edit to my answer that parallels the answer by jawheele.
    $endgroup$
    – Jean Marie
    Apr 9 at 17:17










  • $begingroup$
    Looks good. Thanks!
    $endgroup$
    – Barblog
    Apr 9 at 17:21
















  • $begingroup$
    Please show us your work that doesn't work. It should.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:18










  • $begingroup$
    @Yves Daoust I did it the same way you showed in your answer. If you try plugging (2,4,4) back into your equations, you will see that it is not a solution. I think jawheele may have pointed out where the problem lies.
    $endgroup$
    – Barblog
    Apr 9 at 14:42










  • $begingroup$
    Two things : 1) I have taken the liberty to change your title in order to attract more people on this issue (ctd)...
    $endgroup$
    – Jean Marie
    Apr 9 at 17:16










  • $begingroup$
    2) I will wite a second edit to my answer that parallels the answer by jawheele.
    $endgroup$
    – Jean Marie
    Apr 9 at 17:17










  • $begingroup$
    Looks good. Thanks!
    $endgroup$
    – Barblog
    Apr 9 at 17:21















$begingroup$
Please show us your work that doesn't work. It should.
$endgroup$
– Yves Daoust
Apr 9 at 10:18




$begingroup$
Please show us your work that doesn't work. It should.
$endgroup$
– Yves Daoust
Apr 9 at 10:18












$begingroup$
@Yves Daoust I did it the same way you showed in your answer. If you try plugging (2,4,4) back into your equations, you will see that it is not a solution. I think jawheele may have pointed out where the problem lies.
$endgroup$
– Barblog
Apr 9 at 14:42




$begingroup$
@Yves Daoust I did it the same way you showed in your answer. If you try plugging (2,4,4) back into your equations, you will see that it is not a solution. I think jawheele may have pointed out where the problem lies.
$endgroup$
– Barblog
Apr 9 at 14:42












$begingroup$
Two things : 1) I have taken the liberty to change your title in order to attract more people on this issue (ctd)...
$endgroup$
– Jean Marie
Apr 9 at 17:16




$begingroup$
Two things : 1) I have taken the liberty to change your title in order to attract more people on this issue (ctd)...
$endgroup$
– Jean Marie
Apr 9 at 17:16












$begingroup$
2) I will wite a second edit to my answer that parallels the answer by jawheele.
$endgroup$
– Jean Marie
Apr 9 at 17:17




$begingroup$
2) I will wite a second edit to my answer that parallels the answer by jawheele.
$endgroup$
– Jean Marie
Apr 9 at 17:17












$begingroup$
Looks good. Thanks!
$endgroup$
– Barblog
Apr 9 at 17:21




$begingroup$
Looks good. Thanks!
$endgroup$
– Barblog
Apr 9 at 17:21










2 Answers
2






active

oldest

votes


















3












$begingroup$

$mathbfEDIT$: I previously posted a "solution" agreeing that the OP's method works, but I was incorrect; this is a correct (to the best of my knowledge) revision.



The method of Lagrange multipliers for a single constraint seeks to extremize a real-valued function $f(vecx)$ subject to the constraint $g(vecx)=0$. That is, the solution $vecx_0$ must extremize the restriction of $f$ to $S equiv g(vecx)=0 $. The method makes use of the fact that, if $nabla g(vecx_0) neq 0$, then $S$ is a differentiable surface in a neighborhood of $x_0$ with normal vector $nabla g(vecx_0)$, and since the restriction $f|_S$ is extremized at $x_0$, we must then have that $nabla f(vecx_0)$ is normal to the surface (or else $f$ would be increasing along a curve through $S$ with tangent at $vecx_0$ equal to the projection of $nabla f(vecx_0)$ onto the tangent space $T_vecx_0S$). That is, $nabla f(vecx_0) = lambda_0 nabla g(vecx_0)$ for some $lambda_0 in mathbbR$. So, if one defines the function
$$L(vecx,lambda) equiv f(vecx)-lambda g(vecx) $$
Then $nabla L(vecx_0,lambda_0)=0$ ($nabla$ here is the gradient in $n+1$ dimensions). The above logic and therefore this conclusion, however, were contingent on the statement that $nabla g(vecx_0) neq 0$. If this is not satisfied, the extremizer $vecx_0$ of $f|_S$ need not satisfy $nabla L(vecx_0,lambda) = 0$ for any $lambda in mathbbR$, and we may not be able to recover the solution $vecx_0$ by finding stationary points of $L$, and this is the precisely the problem in your approach.



Indeed, if $g$ is a sum of squares of functions, $g(vecx)=sum_k (g_k(vecx))^2$, then $g(vecx)=0 iff g_k(vecx)=0$ for each $k$, so for every $vecx_0 in S$
$$nabla g(vecx_0) = sum_k 2g_k(vecx_0) nabla g_k(vecx_0) = 0$$
So no point in $S$ satisfies the hypotheses necessary to rely on the Lagrange method.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Thanks a ton. Defining $tildeα≡2α(y+2z−12)$ and $tildeβ≡2α(x+y−6)$ seems to perfectly solve the set of equations. However, the bizarre thing is that when you plug in $(x,y,z) = (2,4,4)$ back into $∂tildef/∂x=2x−2α(x+y−6)=0$ for example, the equation does not hold. Isn't this weird? Please enlighten me on why this should happen.
    $endgroup$
    – Barblog
    Apr 8 at 22:32











  • $begingroup$
    I am not accustomed to see partial differentiation with respect to parameters $fracpartial fpartial alpha = fracpartial fpartial beta=0$ in Lagrange's method...
    $endgroup$
    – Jean Marie
    Apr 8 at 23:14






  • 1




    $begingroup$
    @jawheele I think it's better to edit your previous answer. You can remove the old text and replace it by some few sentences like "Edit : I had a first answer which was erroneous because such and such ; here is a new version"
    $endgroup$
    – Jean Marie
    Apr 9 at 0:25






  • 1




    $begingroup$
    About my remark : I understand now that what is called derivation with respect to parameter say $alpha$ is just expressing that the first constraint, say $x+2z-12=0$ is verified.
    $endgroup$
    – Jean Marie
    Apr 9 at 0:33






  • 2




    $begingroup$
    Thanks jawheele and @JeanMarie for the help! Really appreciate it.
    $endgroup$
    – Barblog
    Apr 9 at 14:45



















0












$begingroup$

A main reason is that, for the method of Lagrange multipliers, setting :



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= 0tag1$$



(I understand that you want it to be zero for the equivalence with your two linear equations)



or setting



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= ktag2$$



for any constant $k$ is the same. (constant $k$ disappears in differentiation).



Equation (2) describes a family of "russian dolls" cylinders $C_k$.




Edit 1 : in fact, encountering cylinders could be a good thing, because your problem could have been turned into this one ; take increasing radii circular cylinders $Gamma_R$ with common axis the intersection line $(L)$ of $y+2z=12$ and $x+y=6$ and radius $R$. Stop when $R$ is such that $Gamma_R$ passes through the origin. And this $R$ is the looked-for distance.



But the issue is that, cylinders $C_k$ described in the first part do not grow in the good way (in fact they are elliptical cylinders) : the value of $k$ such that $C_k$ passes through the origin cannot be related to a distance...



But, we could remedy to this situation by defining $L$ otherwise, as the intersection of planes



$$P_1=u_1x+v_1y+w_1z-h_1=0, textand P_2=u_2x+v_2y+w_2z-h_2=0,$$



  • perpendicular one to the other ($u_1u_2+v_1v_2+w_1w_2=0$),


  • with normalized coefficients ($u_k^2+v_k^2+w_k^2=1$, $k=1,2$).


Then, by replacing $(y+2z−12)^2+(x+y−6)^2$ by $P_1^2+P_2^2$ we have now an expression which is the square of the distance to axis $(L)$, and we can use what we have said before.




Edit 2 : in fact one cannot rigorouly speak of $vecgrad(g)$ on $g(x,y,z)=0$ because this expression is equivalent to the equation of the straight line $(L)$ and a straight line in 3D has no gradient.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Please, see the edit to my initial answer.
    $endgroup$
    – Jean Marie
    Apr 9 at 10:01






  • 1




    $begingroup$
    Not at all, the constant $k$ makes a difference, it doesn't disappear.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:14











  • $begingroup$
    Being downvoted although I have attempted in my Edit to provide a geometrical understanding in terms of growing radius cylinders is not very encouraging...
    $endgroup$
    – Jean Marie
    Apr 9 at 11:15











  • $begingroup$
    Errare humanum est. Perseverare diabolicum.
    $endgroup$
    – Yves Daoust
    Apr 9 at 11:49






  • 1




    $begingroup$
    @JeanMarie Regarding your second edit, note that the condition $nabla g(vecx_0) neq 0$ refers to the gradient of $g$ as a function on $mathbbR^n$ (but evaluated at a point in $S$, in the notation of my answer)-- I'm not trying to invoke a metric or connection on $S$ to somehow define $nabla (g|_S)$.
    $endgroup$
    – jawheele
    Apr 9 at 20:11












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Barblog is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3180179%2foptimization-is-it-possible-to-replace-2-lagrange-multipliers-by-a-single-one%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









3












$begingroup$

$mathbfEDIT$: I previously posted a "solution" agreeing that the OP's method works, but I was incorrect; this is a correct (to the best of my knowledge) revision.



The method of Lagrange multipliers for a single constraint seeks to extremize a real-valued function $f(vecx)$ subject to the constraint $g(vecx)=0$. That is, the solution $vecx_0$ must extremize the restriction of $f$ to $S equiv g(vecx)=0 $. The method makes use of the fact that, if $nabla g(vecx_0) neq 0$, then $S$ is a differentiable surface in a neighborhood of $x_0$ with normal vector $nabla g(vecx_0)$, and since the restriction $f|_S$ is extremized at $x_0$, we must then have that $nabla f(vecx_0)$ is normal to the surface (or else $f$ would be increasing along a curve through $S$ with tangent at $vecx_0$ equal to the projection of $nabla f(vecx_0)$ onto the tangent space $T_vecx_0S$). That is, $nabla f(vecx_0) = lambda_0 nabla g(vecx_0)$ for some $lambda_0 in mathbbR$. So, if one defines the function
$$L(vecx,lambda) equiv f(vecx)-lambda g(vecx) $$
Then $nabla L(vecx_0,lambda_0)=0$ ($nabla$ here is the gradient in $n+1$ dimensions). The above logic and therefore this conclusion, however, were contingent on the statement that $nabla g(vecx_0) neq 0$. If this is not satisfied, the extremizer $vecx_0$ of $f|_S$ need not satisfy $nabla L(vecx_0,lambda) = 0$ for any $lambda in mathbbR$, and we may not be able to recover the solution $vecx_0$ by finding stationary points of $L$, and this is the precisely the problem in your approach.



Indeed, if $g$ is a sum of squares of functions, $g(vecx)=sum_k (g_k(vecx))^2$, then $g(vecx)=0 iff g_k(vecx)=0$ for each $k$, so for every $vecx_0 in S$
$$nabla g(vecx_0) = sum_k 2g_k(vecx_0) nabla g_k(vecx_0) = 0$$
So no point in $S$ satisfies the hypotheses necessary to rely on the Lagrange method.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Thanks a ton. Defining $tildeα≡2α(y+2z−12)$ and $tildeβ≡2α(x+y−6)$ seems to perfectly solve the set of equations. However, the bizarre thing is that when you plug in $(x,y,z) = (2,4,4)$ back into $∂tildef/∂x=2x−2α(x+y−6)=0$ for example, the equation does not hold. Isn't this weird? Please enlighten me on why this should happen.
    $endgroup$
    – Barblog
    Apr 8 at 22:32











  • $begingroup$
    I am not accustomed to see partial differentiation with respect to parameters $fracpartial fpartial alpha = fracpartial fpartial beta=0$ in Lagrange's method...
    $endgroup$
    – Jean Marie
    Apr 8 at 23:14






  • 1




    $begingroup$
    @jawheele I think it's better to edit your previous answer. You can remove the old text and replace it by some few sentences like "Edit : I had a first answer which was erroneous because such and such ; here is a new version"
    $endgroup$
    – Jean Marie
    Apr 9 at 0:25






  • 1




    $begingroup$
    About my remark : I understand now that what is called derivation with respect to parameter say $alpha$ is just expressing that the first constraint, say $x+2z-12=0$ is verified.
    $endgroup$
    – Jean Marie
    Apr 9 at 0:33






  • 2




    $begingroup$
    Thanks jawheele and @JeanMarie for the help! Really appreciate it.
    $endgroup$
    – Barblog
    Apr 9 at 14:45
















3












$begingroup$

$mathbfEDIT$: I previously posted a "solution" agreeing that the OP's method works, but I was incorrect; this is a correct (to the best of my knowledge) revision.



The method of Lagrange multipliers for a single constraint seeks to extremize a real-valued function $f(vecx)$ subject to the constraint $g(vecx)=0$. That is, the solution $vecx_0$ must extremize the restriction of $f$ to $S equiv g(vecx)=0 $. The method makes use of the fact that, if $nabla g(vecx_0) neq 0$, then $S$ is a differentiable surface in a neighborhood of $x_0$ with normal vector $nabla g(vecx_0)$, and since the restriction $f|_S$ is extremized at $x_0$, we must then have that $nabla f(vecx_0)$ is normal to the surface (or else $f$ would be increasing along a curve through $S$ with tangent at $vecx_0$ equal to the projection of $nabla f(vecx_0)$ onto the tangent space $T_vecx_0S$). That is, $nabla f(vecx_0) = lambda_0 nabla g(vecx_0)$ for some $lambda_0 in mathbbR$. So, if one defines the function
$$L(vecx,lambda) equiv f(vecx)-lambda g(vecx) $$
Then $nabla L(vecx_0,lambda_0)=0$ ($nabla$ here is the gradient in $n+1$ dimensions). The above logic and therefore this conclusion, however, were contingent on the statement that $nabla g(vecx_0) neq 0$. If this is not satisfied, the extremizer $vecx_0$ of $f|_S$ need not satisfy $nabla L(vecx_0,lambda) = 0$ for any $lambda in mathbbR$, and we may not be able to recover the solution $vecx_0$ by finding stationary points of $L$, and this is the precisely the problem in your approach.



Indeed, if $g$ is a sum of squares of functions, $g(vecx)=sum_k (g_k(vecx))^2$, then $g(vecx)=0 iff g_k(vecx)=0$ for each $k$, so for every $vecx_0 in S$
$$nabla g(vecx_0) = sum_k 2g_k(vecx_0) nabla g_k(vecx_0) = 0$$
So no point in $S$ satisfies the hypotheses necessary to rely on the Lagrange method.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Thanks a ton. Defining $tildeα≡2α(y+2z−12)$ and $tildeβ≡2α(x+y−6)$ seems to perfectly solve the set of equations. However, the bizarre thing is that when you plug in $(x,y,z) = (2,4,4)$ back into $∂tildef/∂x=2x−2α(x+y−6)=0$ for example, the equation does not hold. Isn't this weird? Please enlighten me on why this should happen.
    $endgroup$
    – Barblog
    Apr 8 at 22:32











  • $begingroup$
    I am not accustomed to see partial differentiation with respect to parameters $fracpartial fpartial alpha = fracpartial fpartial beta=0$ in Lagrange's method...
    $endgroup$
    – Jean Marie
    Apr 8 at 23:14






  • 1




    $begingroup$
    @jawheele I think it's better to edit your previous answer. You can remove the old text and replace it by some few sentences like "Edit : I had a first answer which was erroneous because such and such ; here is a new version"
    $endgroup$
    – Jean Marie
    Apr 9 at 0:25






  • 1




    $begingroup$
    About my remark : I understand now that what is called derivation with respect to parameter say $alpha$ is just expressing that the first constraint, say $x+2z-12=0$ is verified.
    $endgroup$
    – Jean Marie
    Apr 9 at 0:33






  • 2




    $begingroup$
    Thanks jawheele and @JeanMarie for the help! Really appreciate it.
    $endgroup$
    – Barblog
    Apr 9 at 14:45














3












3








3





$begingroup$

$mathbfEDIT$: I previously posted a "solution" agreeing that the OP's method works, but I was incorrect; this is a correct (to the best of my knowledge) revision.



The method of Lagrange multipliers for a single constraint seeks to extremize a real-valued function $f(vecx)$ subject to the constraint $g(vecx)=0$. That is, the solution $vecx_0$ must extremize the restriction of $f$ to $S equiv g(vecx)=0 $. The method makes use of the fact that, if $nabla g(vecx_0) neq 0$, then $S$ is a differentiable surface in a neighborhood of $x_0$ with normal vector $nabla g(vecx_0)$, and since the restriction $f|_S$ is extremized at $x_0$, we must then have that $nabla f(vecx_0)$ is normal to the surface (or else $f$ would be increasing along a curve through $S$ with tangent at $vecx_0$ equal to the projection of $nabla f(vecx_0)$ onto the tangent space $T_vecx_0S$). That is, $nabla f(vecx_0) = lambda_0 nabla g(vecx_0)$ for some $lambda_0 in mathbbR$. So, if one defines the function
$$L(vecx,lambda) equiv f(vecx)-lambda g(vecx) $$
Then $nabla L(vecx_0,lambda_0)=0$ ($nabla$ here is the gradient in $n+1$ dimensions). The above logic and therefore this conclusion, however, were contingent on the statement that $nabla g(vecx_0) neq 0$. If this is not satisfied, the extremizer $vecx_0$ of $f|_S$ need not satisfy $nabla L(vecx_0,lambda) = 0$ for any $lambda in mathbbR$, and we may not be able to recover the solution $vecx_0$ by finding stationary points of $L$, and this is the precisely the problem in your approach.



Indeed, if $g$ is a sum of squares of functions, $g(vecx)=sum_k (g_k(vecx))^2$, then $g(vecx)=0 iff g_k(vecx)=0$ for each $k$, so for every $vecx_0 in S$
$$nabla g(vecx_0) = sum_k 2g_k(vecx_0) nabla g_k(vecx_0) = 0$$
So no point in $S$ satisfies the hypotheses necessary to rely on the Lagrange method.






share|cite|improve this answer











$endgroup$



$mathbfEDIT$: I previously posted a "solution" agreeing that the OP's method works, but I was incorrect; this is a correct (to the best of my knowledge) revision.



The method of Lagrange multipliers for a single constraint seeks to extremize a real-valued function $f(vecx)$ subject to the constraint $g(vecx)=0$. That is, the solution $vecx_0$ must extremize the restriction of $f$ to $S equiv g(vecx)=0 $. The method makes use of the fact that, if $nabla g(vecx_0) neq 0$, then $S$ is a differentiable surface in a neighborhood of $x_0$ with normal vector $nabla g(vecx_0)$, and since the restriction $f|_S$ is extremized at $x_0$, we must then have that $nabla f(vecx_0)$ is normal to the surface (or else $f$ would be increasing along a curve through $S$ with tangent at $vecx_0$ equal to the projection of $nabla f(vecx_0)$ onto the tangent space $T_vecx_0S$). That is, $nabla f(vecx_0) = lambda_0 nabla g(vecx_0)$ for some $lambda_0 in mathbbR$. So, if one defines the function
$$L(vecx,lambda) equiv f(vecx)-lambda g(vecx) $$
Then $nabla L(vecx_0,lambda_0)=0$ ($nabla$ here is the gradient in $n+1$ dimensions). The above logic and therefore this conclusion, however, were contingent on the statement that $nabla g(vecx_0) neq 0$. If this is not satisfied, the extremizer $vecx_0$ of $f|_S$ need not satisfy $nabla L(vecx_0,lambda) = 0$ for any $lambda in mathbbR$, and we may not be able to recover the solution $vecx_0$ by finding stationary points of $L$, and this is the precisely the problem in your approach.



Indeed, if $g$ is a sum of squares of functions, $g(vecx)=sum_k (g_k(vecx))^2$, then $g(vecx)=0 iff g_k(vecx)=0$ for each $k$, so for every $vecx_0 in S$
$$nabla g(vecx_0) = sum_k 2g_k(vecx_0) nabla g_k(vecx_0) = 0$$
So no point in $S$ satisfies the hypotheses necessary to rely on the Lagrange method.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Apr 9 at 0:53

























answered Apr 8 at 21:49









jawheelejawheele

51639




51639











  • $begingroup$
    Thanks a ton. Defining $tildeα≡2α(y+2z−12)$ and $tildeβ≡2α(x+y−6)$ seems to perfectly solve the set of equations. However, the bizarre thing is that when you plug in $(x,y,z) = (2,4,4)$ back into $∂tildef/∂x=2x−2α(x+y−6)=0$ for example, the equation does not hold. Isn't this weird? Please enlighten me on why this should happen.
    $endgroup$
    – Barblog
    Apr 8 at 22:32











  • $begingroup$
    I am not accustomed to see partial differentiation with respect to parameters $fracpartial fpartial alpha = fracpartial fpartial beta=0$ in Lagrange's method...
    $endgroup$
    – Jean Marie
    Apr 8 at 23:14






  • 1




    $begingroup$
    @jawheele I think it's better to edit your previous answer. You can remove the old text and replace it by some few sentences like "Edit : I had a first answer which was erroneous because such and such ; here is a new version"
    $endgroup$
    – Jean Marie
    Apr 9 at 0:25






  • 1




    $begingroup$
    About my remark : I understand now that what is called derivation with respect to parameter say $alpha$ is just expressing that the first constraint, say $x+2z-12=0$ is verified.
    $endgroup$
    – Jean Marie
    Apr 9 at 0:33






  • 2




    $begingroup$
    Thanks jawheele and @JeanMarie for the help! Really appreciate it.
    $endgroup$
    – Barblog
    Apr 9 at 14:45

















  • $begingroup$
    Thanks a ton. Defining $tildeα≡2α(y+2z−12)$ and $tildeβ≡2α(x+y−6)$ seems to perfectly solve the set of equations. However, the bizarre thing is that when you plug in $(x,y,z) = (2,4,4)$ back into $∂tildef/∂x=2x−2α(x+y−6)=0$ for example, the equation does not hold. Isn't this weird? Please enlighten me on why this should happen.
    $endgroup$
    – Barblog
    Apr 8 at 22:32











  • $begingroup$
    I am not accustomed to see partial differentiation with respect to parameters $fracpartial fpartial alpha = fracpartial fpartial beta=0$ in Lagrange's method...
    $endgroup$
    – Jean Marie
    Apr 8 at 23:14






  • 1




    $begingroup$
    @jawheele I think it's better to edit your previous answer. You can remove the old text and replace it by some few sentences like "Edit : I had a first answer which was erroneous because such and such ; here is a new version"
    $endgroup$
    – Jean Marie
    Apr 9 at 0:25






  • 1




    $begingroup$
    About my remark : I understand now that what is called derivation with respect to parameter say $alpha$ is just expressing that the first constraint, say $x+2z-12=0$ is verified.
    $endgroup$
    – Jean Marie
    Apr 9 at 0:33






  • 2




    $begingroup$
    Thanks jawheele and @JeanMarie for the help! Really appreciate it.
    $endgroup$
    – Barblog
    Apr 9 at 14:45
















$begingroup$
Thanks a ton. Defining $tildeα≡2α(y+2z−12)$ and $tildeβ≡2α(x+y−6)$ seems to perfectly solve the set of equations. However, the bizarre thing is that when you plug in $(x,y,z) = (2,4,4)$ back into $∂tildef/∂x=2x−2α(x+y−6)=0$ for example, the equation does not hold. Isn't this weird? Please enlighten me on why this should happen.
$endgroup$
– Barblog
Apr 8 at 22:32





$begingroup$
Thanks a ton. Defining $tildeα≡2α(y+2z−12)$ and $tildeβ≡2α(x+y−6)$ seems to perfectly solve the set of equations. However, the bizarre thing is that when you plug in $(x,y,z) = (2,4,4)$ back into $∂tildef/∂x=2x−2α(x+y−6)=0$ for example, the equation does not hold. Isn't this weird? Please enlighten me on why this should happen.
$endgroup$
– Barblog
Apr 8 at 22:32













$begingroup$
I am not accustomed to see partial differentiation with respect to parameters $fracpartial fpartial alpha = fracpartial fpartial beta=0$ in Lagrange's method...
$endgroup$
– Jean Marie
Apr 8 at 23:14




$begingroup$
I am not accustomed to see partial differentiation with respect to parameters $fracpartial fpartial alpha = fracpartial fpartial beta=0$ in Lagrange's method...
$endgroup$
– Jean Marie
Apr 8 at 23:14




1




1




$begingroup$
@jawheele I think it's better to edit your previous answer. You can remove the old text and replace it by some few sentences like "Edit : I had a first answer which was erroneous because such and such ; here is a new version"
$endgroup$
– Jean Marie
Apr 9 at 0:25




$begingroup$
@jawheele I think it's better to edit your previous answer. You can remove the old text and replace it by some few sentences like "Edit : I had a first answer which was erroneous because such and such ; here is a new version"
$endgroup$
– Jean Marie
Apr 9 at 0:25




1




1




$begingroup$
About my remark : I understand now that what is called derivation with respect to parameter say $alpha$ is just expressing that the first constraint, say $x+2z-12=0$ is verified.
$endgroup$
– Jean Marie
Apr 9 at 0:33




$begingroup$
About my remark : I understand now that what is called derivation with respect to parameter say $alpha$ is just expressing that the first constraint, say $x+2z-12=0$ is verified.
$endgroup$
– Jean Marie
Apr 9 at 0:33




2




2




$begingroup$
Thanks jawheele and @JeanMarie for the help! Really appreciate it.
$endgroup$
– Barblog
Apr 9 at 14:45





$begingroup$
Thanks jawheele and @JeanMarie for the help! Really appreciate it.
$endgroup$
– Barblog
Apr 9 at 14:45












0












$begingroup$

A main reason is that, for the method of Lagrange multipliers, setting :



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= 0tag1$$



(I understand that you want it to be zero for the equivalence with your two linear equations)



or setting



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= ktag2$$



for any constant $k$ is the same. (constant $k$ disappears in differentiation).



Equation (2) describes a family of "russian dolls" cylinders $C_k$.




Edit 1 : in fact, encountering cylinders could be a good thing, because your problem could have been turned into this one ; take increasing radii circular cylinders $Gamma_R$ with common axis the intersection line $(L)$ of $y+2z=12$ and $x+y=6$ and radius $R$. Stop when $R$ is such that $Gamma_R$ passes through the origin. And this $R$ is the looked-for distance.



But the issue is that, cylinders $C_k$ described in the first part do not grow in the good way (in fact they are elliptical cylinders) : the value of $k$ such that $C_k$ passes through the origin cannot be related to a distance...



But, we could remedy to this situation by defining $L$ otherwise, as the intersection of planes



$$P_1=u_1x+v_1y+w_1z-h_1=0, textand P_2=u_2x+v_2y+w_2z-h_2=0,$$



  • perpendicular one to the other ($u_1u_2+v_1v_2+w_1w_2=0$),


  • with normalized coefficients ($u_k^2+v_k^2+w_k^2=1$, $k=1,2$).


Then, by replacing $(y+2z−12)^2+(x+y−6)^2$ by $P_1^2+P_2^2$ we have now an expression which is the square of the distance to axis $(L)$, and we can use what we have said before.




Edit 2 : in fact one cannot rigorouly speak of $vecgrad(g)$ on $g(x,y,z)=0$ because this expression is equivalent to the equation of the straight line $(L)$ and a straight line in 3D has no gradient.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Please, see the edit to my initial answer.
    $endgroup$
    – Jean Marie
    Apr 9 at 10:01






  • 1




    $begingroup$
    Not at all, the constant $k$ makes a difference, it doesn't disappear.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:14











  • $begingroup$
    Being downvoted although I have attempted in my Edit to provide a geometrical understanding in terms of growing radius cylinders is not very encouraging...
    $endgroup$
    – Jean Marie
    Apr 9 at 11:15











  • $begingroup$
    Errare humanum est. Perseverare diabolicum.
    $endgroup$
    – Yves Daoust
    Apr 9 at 11:49






  • 1




    $begingroup$
    @JeanMarie Regarding your second edit, note that the condition $nabla g(vecx_0) neq 0$ refers to the gradient of $g$ as a function on $mathbbR^n$ (but evaluated at a point in $S$, in the notation of my answer)-- I'm not trying to invoke a metric or connection on $S$ to somehow define $nabla (g|_S)$.
    $endgroup$
    – jawheele
    Apr 9 at 20:11
















0












$begingroup$

A main reason is that, for the method of Lagrange multipliers, setting :



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= 0tag1$$



(I understand that you want it to be zero for the equivalence with your two linear equations)



or setting



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= ktag2$$



for any constant $k$ is the same. (constant $k$ disappears in differentiation).



Equation (2) describes a family of "russian dolls" cylinders $C_k$.




Edit 1 : in fact, encountering cylinders could be a good thing, because your problem could have been turned into this one ; take increasing radii circular cylinders $Gamma_R$ with common axis the intersection line $(L)$ of $y+2z=12$ and $x+y=6$ and radius $R$. Stop when $R$ is such that $Gamma_R$ passes through the origin. And this $R$ is the looked-for distance.



But the issue is that, cylinders $C_k$ described in the first part do not grow in the good way (in fact they are elliptical cylinders) : the value of $k$ such that $C_k$ passes through the origin cannot be related to a distance...



But, we could remedy to this situation by defining $L$ otherwise, as the intersection of planes



$$P_1=u_1x+v_1y+w_1z-h_1=0, textand P_2=u_2x+v_2y+w_2z-h_2=0,$$



  • perpendicular one to the other ($u_1u_2+v_1v_2+w_1w_2=0$),


  • with normalized coefficients ($u_k^2+v_k^2+w_k^2=1$, $k=1,2$).


Then, by replacing $(y+2z−12)^2+(x+y−6)^2$ by $P_1^2+P_2^2$ we have now an expression which is the square of the distance to axis $(L)$, and we can use what we have said before.




Edit 2 : in fact one cannot rigorouly speak of $vecgrad(g)$ on $g(x,y,z)=0$ because this expression is equivalent to the equation of the straight line $(L)$ and a straight line in 3D has no gradient.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Please, see the edit to my initial answer.
    $endgroup$
    – Jean Marie
    Apr 9 at 10:01






  • 1




    $begingroup$
    Not at all, the constant $k$ makes a difference, it doesn't disappear.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:14











  • $begingroup$
    Being downvoted although I have attempted in my Edit to provide a geometrical understanding in terms of growing radius cylinders is not very encouraging...
    $endgroup$
    – Jean Marie
    Apr 9 at 11:15











  • $begingroup$
    Errare humanum est. Perseverare diabolicum.
    $endgroup$
    – Yves Daoust
    Apr 9 at 11:49






  • 1




    $begingroup$
    @JeanMarie Regarding your second edit, note that the condition $nabla g(vecx_0) neq 0$ refers to the gradient of $g$ as a function on $mathbbR^n$ (but evaluated at a point in $S$, in the notation of my answer)-- I'm not trying to invoke a metric or connection on $S$ to somehow define $nabla (g|_S)$.
    $endgroup$
    – jawheele
    Apr 9 at 20:11














0












0








0





$begingroup$

A main reason is that, for the method of Lagrange multipliers, setting :



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= 0tag1$$



(I understand that you want it to be zero for the equivalence with your two linear equations)



or setting



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= ktag2$$



for any constant $k$ is the same. (constant $k$ disappears in differentiation).



Equation (2) describes a family of "russian dolls" cylinders $C_k$.




Edit 1 : in fact, encountering cylinders could be a good thing, because your problem could have been turned into this one ; take increasing radii circular cylinders $Gamma_R$ with common axis the intersection line $(L)$ of $y+2z=12$ and $x+y=6$ and radius $R$. Stop when $R$ is such that $Gamma_R$ passes through the origin. And this $R$ is the looked-for distance.



But the issue is that, cylinders $C_k$ described in the first part do not grow in the good way (in fact they are elliptical cylinders) : the value of $k$ such that $C_k$ passes through the origin cannot be related to a distance...



But, we could remedy to this situation by defining $L$ otherwise, as the intersection of planes



$$P_1=u_1x+v_1y+w_1z-h_1=0, textand P_2=u_2x+v_2y+w_2z-h_2=0,$$



  • perpendicular one to the other ($u_1u_2+v_1v_2+w_1w_2=0$),


  • with normalized coefficients ($u_k^2+v_k^2+w_k^2=1$, $k=1,2$).


Then, by replacing $(y+2z−12)^2+(x+y−6)^2$ by $P_1^2+P_2^2$ we have now an expression which is the square of the distance to axis $(L)$, and we can use what we have said before.




Edit 2 : in fact one cannot rigorouly speak of $vecgrad(g)$ on $g(x,y,z)=0$ because this expression is equivalent to the equation of the straight line $(L)$ and a straight line in 3D has no gradient.






share|cite|improve this answer











$endgroup$



A main reason is that, for the method of Lagrange multipliers, setting :



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= 0tag1$$



(I understand that you want it to be zero for the equivalence with your two linear equations)



or setting



$$g(x,y,z) = (y+2z-12)^2 + (x+y-6)^2 colorred= ktag2$$



for any constant $k$ is the same. (constant $k$ disappears in differentiation).



Equation (2) describes a family of "russian dolls" cylinders $C_k$.




Edit 1 : in fact, encountering cylinders could be a good thing, because your problem could have been turned into this one ; take increasing radii circular cylinders $Gamma_R$ with common axis the intersection line $(L)$ of $y+2z=12$ and $x+y=6$ and radius $R$. Stop when $R$ is such that $Gamma_R$ passes through the origin. And this $R$ is the looked-for distance.



But the issue is that, cylinders $C_k$ described in the first part do not grow in the good way (in fact they are elliptical cylinders) : the value of $k$ such that $C_k$ passes through the origin cannot be related to a distance...



But, we could remedy to this situation by defining $L$ otherwise, as the intersection of planes



$$P_1=u_1x+v_1y+w_1z-h_1=0, textand P_2=u_2x+v_2y+w_2z-h_2=0,$$



  • perpendicular one to the other ($u_1u_2+v_1v_2+w_1w_2=0$),


  • with normalized coefficients ($u_k^2+v_k^2+w_k^2=1$, $k=1,2$).


Then, by replacing $(y+2z−12)^2+(x+y−6)^2$ by $P_1^2+P_2^2$ we have now an expression which is the square of the distance to axis $(L)$, and we can use what we have said before.




Edit 2 : in fact one cannot rigorouly speak of $vecgrad(g)$ on $g(x,y,z)=0$ because this expression is equivalent to the equation of the straight line $(L)$ and a straight line in 3D has no gradient.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Apr 9 at 20:42

























answered Apr 8 at 21:42









Jean MarieJean Marie

31.5k42355




31.5k42355











  • $begingroup$
    Please, see the edit to my initial answer.
    $endgroup$
    – Jean Marie
    Apr 9 at 10:01






  • 1




    $begingroup$
    Not at all, the constant $k$ makes a difference, it doesn't disappear.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:14











  • $begingroup$
    Being downvoted although I have attempted in my Edit to provide a geometrical understanding in terms of growing radius cylinders is not very encouraging...
    $endgroup$
    – Jean Marie
    Apr 9 at 11:15











  • $begingroup$
    Errare humanum est. Perseverare diabolicum.
    $endgroup$
    – Yves Daoust
    Apr 9 at 11:49






  • 1




    $begingroup$
    @JeanMarie Regarding your second edit, note that the condition $nabla g(vecx_0) neq 0$ refers to the gradient of $g$ as a function on $mathbbR^n$ (but evaluated at a point in $S$, in the notation of my answer)-- I'm not trying to invoke a metric or connection on $S$ to somehow define $nabla (g|_S)$.
    $endgroup$
    – jawheele
    Apr 9 at 20:11

















  • $begingroup$
    Please, see the edit to my initial answer.
    $endgroup$
    – Jean Marie
    Apr 9 at 10:01






  • 1




    $begingroup$
    Not at all, the constant $k$ makes a difference, it doesn't disappear.
    $endgroup$
    – Yves Daoust
    Apr 9 at 10:14











  • $begingroup$
    Being downvoted although I have attempted in my Edit to provide a geometrical understanding in terms of growing radius cylinders is not very encouraging...
    $endgroup$
    – Jean Marie
    Apr 9 at 11:15











  • $begingroup$
    Errare humanum est. Perseverare diabolicum.
    $endgroup$
    – Yves Daoust
    Apr 9 at 11:49






  • 1




    $begingroup$
    @JeanMarie Regarding your second edit, note that the condition $nabla g(vecx_0) neq 0$ refers to the gradient of $g$ as a function on $mathbbR^n$ (but evaluated at a point in $S$, in the notation of my answer)-- I'm not trying to invoke a metric or connection on $S$ to somehow define $nabla (g|_S)$.
    $endgroup$
    – jawheele
    Apr 9 at 20:11
















$begingroup$
Please, see the edit to my initial answer.
$endgroup$
– Jean Marie
Apr 9 at 10:01




$begingroup$
Please, see the edit to my initial answer.
$endgroup$
– Jean Marie
Apr 9 at 10:01




1




1




$begingroup$
Not at all, the constant $k$ makes a difference, it doesn't disappear.
$endgroup$
– Yves Daoust
Apr 9 at 10:14





$begingroup$
Not at all, the constant $k$ makes a difference, it doesn't disappear.
$endgroup$
– Yves Daoust
Apr 9 at 10:14













$begingroup$
Being downvoted although I have attempted in my Edit to provide a geometrical understanding in terms of growing radius cylinders is not very encouraging...
$endgroup$
– Jean Marie
Apr 9 at 11:15





$begingroup$
Being downvoted although I have attempted in my Edit to provide a geometrical understanding in terms of growing radius cylinders is not very encouraging...
$endgroup$
– Jean Marie
Apr 9 at 11:15













$begingroup$
Errare humanum est. Perseverare diabolicum.
$endgroup$
– Yves Daoust
Apr 9 at 11:49




$begingroup$
Errare humanum est. Perseverare diabolicum.
$endgroup$
– Yves Daoust
Apr 9 at 11:49




1




1




$begingroup$
@JeanMarie Regarding your second edit, note that the condition $nabla g(vecx_0) neq 0$ refers to the gradient of $g$ as a function on $mathbbR^n$ (but evaluated at a point in $S$, in the notation of my answer)-- I'm not trying to invoke a metric or connection on $S$ to somehow define $nabla (g|_S)$.
$endgroup$
– jawheele
Apr 9 at 20:11





$begingroup$
@JeanMarie Regarding your second edit, note that the condition $nabla g(vecx_0) neq 0$ refers to the gradient of $g$ as a function on $mathbbR^n$ (but evaluated at a point in $S$, in the notation of my answer)-- I'm not trying to invoke a metric or connection on $S$ to somehow define $nabla (g|_S)$.
$endgroup$
– jawheele
Apr 9 at 20:11











Barblog is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Barblog is a new contributor. Be nice, and check out our Code of Conduct.












Barblog is a new contributor. Be nice, and check out our Code of Conduct.











Barblog is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3180179%2foptimization-is-it-possible-to-replace-2-lagrange-multipliers-by-a-single-one%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Hidroelektrana Sadržaj Povijest | Podjela hidroelektrana | Snaga dobivena u hidroelektranama | Dijelovi hidroelektrane | Uloga hidroelektrana u suvremenom svijetu | Prednosti hidroelektrana | Nedostaci hidroelektrana | Države s najvećom proizvodnjom hidro-električne energije | Deset najvećih hidroelektrana u svijetu | Hidroelektrane u Hrvatskoj | Izvori | Poveznice | Vanjske poveznice | Navigacijski izbornikTechnical Report, Version 2Zajedničkom poslužiteljuHidroelektranaHEP Proizvodnja d.o.o. - Hidroelektrane u Hrvatskoj

Oconto (Nebraska) Índice Demografia | Geografia | Localidades na vizinhança | Referências Ligações externas | Menu de navegação41° 8' 29" N 99° 45' 41" O41° 8' 29" N 99° 45' 41" OU.S. Census Bureau. Census 2000 Summary File 1U.S. Census Bureau. Estimativa da população (julho de 2006)U.S. Board on Geographic Names. Topical Gazetteers Populated Places. Gráficos do banco de dados de altitudes dos Estados Unidos da AméricaEstatísticas, mapas e outras informações sobre Oconto em city-data.com

WordPress Information needed