Why does the Lagrange multiplier $lambda$ change when the equality constraint is scaled? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)$f$ does not have extrema at the Lagrange multiplier valueSimple Lagrange Multiplier Problem, not working outCan lagrange multiplier(Kuhn tucker multipliers?) change in corner solution?Why is the lagrange multiplier a constant?How to solve the following optimzation use lagrange multiplier method?LASSO relationship between Lagrange multiplier and constraint and why it doesn't matterMaximizing a bivariate quadratic form with Lagrange's methodWhen is there a symmetry between constraint and objective function in Lagrange multipliers?Computing the Lagrange multiplier in constrained optimization problemWhy is the Lagrange multiplier considered to be a variable?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Huge performance difference of the command find with and without using %M option to show permissions

Match Roman Numerals

What's the point in a preamp?

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Drawing arrows from one table cell reference to another

Variable with quotation marks "$()"

Are there continuous functions who are the same in an interval but differ in at least one other point?

Can a flute soloist sit?

Loose spokes after only a few rides

Do warforged have souls?

"... to apply for a visa" or "... and applied for a visa"?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Separating matrix elements by lines

Can the DM override racial traits?

What is the role of 'For' here?

Simulating Exploding Dice

Why can't devices on different VLANs, but on the same subnet, communicate?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

US Healthcare consultation for visitors

How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?

Does Parliament hold absolute power in the UK?

University's motivation for having tenure-track positions



Why does the Lagrange multiplier $lambda$ change when the equality constraint is scaled?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)$f$ does not have extrema at the Lagrange multiplier valueSimple Lagrange Multiplier Problem, not working outCan lagrange multiplier(Kuhn tucker multipliers?) change in corner solution?Why is the lagrange multiplier a constant?How to solve the following optimzation use lagrange multiplier method?LASSO relationship between Lagrange multiplier and constraint and why it doesn't matterMaximizing a bivariate quadratic form with Lagrange's methodWhen is there a symmetry between constraint and objective function in Lagrange multipliers?Computing the Lagrange multiplier in constrained optimization problemWhy is the Lagrange multiplier considered to be a variable?










2












$begingroup$


Consider the problem



$$beginarrayll textmaximize & x^2+y^2 \ textsubject to & dfracx^225 + dfracy^29 = 1endarray$$



Solving this using the Lagrange multiplier method, I get



$$x = pm5, qquad y = 0, qquad lambda = 25$$



However, if I rewrite the constraint as $9x^2+25y^2=225$, I get a different value of $lambda$, namely, $lambda = frac 19$. I am unclear about why this should happen: the constraint is exactly the same, only rewritten after cross multiplication — why should that affect the value of the multiplier? What am I missing?










share|cite|improve this question











$endgroup$











  • $begingroup$
    That shouldn't be the case - maybe check for an arithmetic error?
    $endgroup$
    – Vasting
    Apr 7 at 6:34










  • $begingroup$
    Double checked, doesn't seem to be an error.
    $endgroup$
    – PGupta
    Apr 7 at 6:58






  • 1




    $begingroup$
    Why wouldn't the multiplier's value change? There's no reason that it shouldn't.
    $endgroup$
    – littleO
    Apr 7 at 7:14










  • $begingroup$
    Because the constrained is the same. Relaxing the constraint by a small unit should still have the same effect on the value function, shouldn't it?
    $endgroup$
    – PGupta
    Apr 7 at 7:17















2












$begingroup$


Consider the problem



$$beginarrayll textmaximize & x^2+y^2 \ textsubject to & dfracx^225 + dfracy^29 = 1endarray$$



Solving this using the Lagrange multiplier method, I get



$$x = pm5, qquad y = 0, qquad lambda = 25$$



However, if I rewrite the constraint as $9x^2+25y^2=225$, I get a different value of $lambda$, namely, $lambda = frac 19$. I am unclear about why this should happen: the constraint is exactly the same, only rewritten after cross multiplication — why should that affect the value of the multiplier? What am I missing?










share|cite|improve this question











$endgroup$











  • $begingroup$
    That shouldn't be the case - maybe check for an arithmetic error?
    $endgroup$
    – Vasting
    Apr 7 at 6:34










  • $begingroup$
    Double checked, doesn't seem to be an error.
    $endgroup$
    – PGupta
    Apr 7 at 6:58






  • 1




    $begingroup$
    Why wouldn't the multiplier's value change? There's no reason that it shouldn't.
    $endgroup$
    – littleO
    Apr 7 at 7:14










  • $begingroup$
    Because the constrained is the same. Relaxing the constraint by a small unit should still have the same effect on the value function, shouldn't it?
    $endgroup$
    – PGupta
    Apr 7 at 7:17













2












2








2


1



$begingroup$


Consider the problem



$$beginarrayll textmaximize & x^2+y^2 \ textsubject to & dfracx^225 + dfracy^29 = 1endarray$$



Solving this using the Lagrange multiplier method, I get



$$x = pm5, qquad y = 0, qquad lambda = 25$$



However, if I rewrite the constraint as $9x^2+25y^2=225$, I get a different value of $lambda$, namely, $lambda = frac 19$. I am unclear about why this should happen: the constraint is exactly the same, only rewritten after cross multiplication — why should that affect the value of the multiplier? What am I missing?










share|cite|improve this question











$endgroup$




Consider the problem



$$beginarrayll textmaximize & x^2+y^2 \ textsubject to & dfracx^225 + dfracy^29 = 1endarray$$



Solving this using the Lagrange multiplier method, I get



$$x = pm5, qquad y = 0, qquad lambda = 25$$



However, if I rewrite the constraint as $9x^2+25y^2=225$, I get a different value of $lambda$, namely, $lambda = frac 19$. I am unclear about why this should happen: the constraint is exactly the same, only rewritten after cross multiplication — why should that affect the value of the multiplier? What am I missing?







optimization lagrange-multiplier constraints qcqp






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Apr 7 at 20:10









Rodrigo de Azevedo

13.2k41962




13.2k41962










asked Apr 7 at 6:29









PGuptaPGupta

1746




1746











  • $begingroup$
    That shouldn't be the case - maybe check for an arithmetic error?
    $endgroup$
    – Vasting
    Apr 7 at 6:34










  • $begingroup$
    Double checked, doesn't seem to be an error.
    $endgroup$
    – PGupta
    Apr 7 at 6:58






  • 1




    $begingroup$
    Why wouldn't the multiplier's value change? There's no reason that it shouldn't.
    $endgroup$
    – littleO
    Apr 7 at 7:14










  • $begingroup$
    Because the constrained is the same. Relaxing the constraint by a small unit should still have the same effect on the value function, shouldn't it?
    $endgroup$
    – PGupta
    Apr 7 at 7:17
















  • $begingroup$
    That shouldn't be the case - maybe check for an arithmetic error?
    $endgroup$
    – Vasting
    Apr 7 at 6:34










  • $begingroup$
    Double checked, doesn't seem to be an error.
    $endgroup$
    – PGupta
    Apr 7 at 6:58






  • 1




    $begingroup$
    Why wouldn't the multiplier's value change? There's no reason that it shouldn't.
    $endgroup$
    – littleO
    Apr 7 at 7:14










  • $begingroup$
    Because the constrained is the same. Relaxing the constraint by a small unit should still have the same effect on the value function, shouldn't it?
    $endgroup$
    – PGupta
    Apr 7 at 7:17















$begingroup$
That shouldn't be the case - maybe check for an arithmetic error?
$endgroup$
– Vasting
Apr 7 at 6:34




$begingroup$
That shouldn't be the case - maybe check for an arithmetic error?
$endgroup$
– Vasting
Apr 7 at 6:34












$begingroup$
Double checked, doesn't seem to be an error.
$endgroup$
– PGupta
Apr 7 at 6:58




$begingroup$
Double checked, doesn't seem to be an error.
$endgroup$
– PGupta
Apr 7 at 6:58




1




1




$begingroup$
Why wouldn't the multiplier's value change? There's no reason that it shouldn't.
$endgroup$
– littleO
Apr 7 at 7:14




$begingroup$
Why wouldn't the multiplier's value change? There's no reason that it shouldn't.
$endgroup$
– littleO
Apr 7 at 7:14












$begingroup$
Because the constrained is the same. Relaxing the constraint by a small unit should still have the same effect on the value function, shouldn't it?
$endgroup$
– PGupta
Apr 7 at 7:17




$begingroup$
Because the constrained is the same. Relaxing the constraint by a small unit should still have the same effect on the value function, shouldn't it?
$endgroup$
– PGupta
Apr 7 at 7:17










3 Answers
3






active

oldest

votes


















2












$begingroup$

Let $f(x,y)=x^2+y^2+lambda(9x^2+25y^2-225).$



Thus, from $$fracpartial fpartial x=2x+18lambda x=0$$ and
$$fracpartial fpartial y=2y+50lambda y=0$$ we obtain two possibilities: $lambda=-frac19$ or $lambda=-frac125.$



The second gives a minimal value, wile the first gives a maximal value:
$$f(x,y)=x^2+y^2-frac19(9x^2+25y^2-225)=25-frac169y^2leq25,$$ where the equality occurs for $y=0.$



If we consider $f(x,y)=x^2+y^2+lambdaleft(fracx^225+fracy^29-1right)$ so we'll get $lambda=-25$



and we'll get the same answer of course.



It happens because $-frac19cdot225=-25$ and
$$x^2+y^2-frac19(9x^2+25y^2-225)=x^2+y^2-25left(fracx^225+fracy^29-1right).$$






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Yes, this is what I am doing. My question is, why does the multiplier's value change when I just divide the constraint by 225.
    $endgroup$
    – PGupta
    Apr 7 at 7:05










  • $begingroup$
    @PGupta I added something. See now.
    $endgroup$
    – Michael Rozenberg
    Apr 7 at 7:13










  • $begingroup$
    This makes sense, thank you.
    $endgroup$
    – PGupta
    Apr 7 at 7:19


















5












$begingroup$

If $x^star$ minimizes $f(x)$ subject to the constraint that $g(x)=0$, then under mild assumptions there exists a Lagrange multiplier $lambda$ that satisfies
$$
tag1 nabla f(x^star) = lambda nabla g(x^star).
$$

If $g$ is replaced with $c g$, then $x^star$ is still a minimizer, but of course $lambda$ no longer satisfies (1). We must correspondingly multiply $lambda$ by $1/c$ in order for (1) to remain true.



Different but equivalent constraints have different Lagrange multipliers. The way you write the constraint matters.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Right, this makes it clear. Could you also shed some light on how to interpret this? The multiplier tells us how the value function changes with respect to a small change in the constraint. The maximised value remains the same no matter how we write the constraint. So, relaxing the constraint should change the maximixed value by the same amount--how is rescaling affecting this?
    $endgroup$
    – PGupta
    Apr 7 at 7:36






  • 1




    $begingroup$
    @PGupta Perturbing the constraint $g(x) = 0$ by a small amount $delta$ is equivalent to perturbing the constraint $cg(x) =0$ by $cdelta$. The change in the optimal value is the same amount $epsilon$ in either case. But the rate of change is $lambda = epsilon/delta$ in the first case, and $lambda/c = epsilon/(c delta)$ in the second case.
    $endgroup$
    – littleO
    Apr 7 at 8:05










  • $begingroup$
    Great, got it. Thanks a lot!
    $endgroup$
    – PGupta
    Apr 7 at 9:00


















0












$begingroup$

Writing the equation $$fracx^225+fracy^29=1$$ in the form
$$y^2=9-frac925x^2$$ you will have the objective function
$$f(x)=frac1625x^2+9$$






share|cite|improve this answer











$endgroup$













    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
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3177834%2fwhy-does-the-lagrange-multiplier-lambda-change-when-the-equality-constraint-i%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    Let $f(x,y)=x^2+y^2+lambda(9x^2+25y^2-225).$



    Thus, from $$fracpartial fpartial x=2x+18lambda x=0$$ and
    $$fracpartial fpartial y=2y+50lambda y=0$$ we obtain two possibilities: $lambda=-frac19$ or $lambda=-frac125.$



    The second gives a minimal value, wile the first gives a maximal value:
    $$f(x,y)=x^2+y^2-frac19(9x^2+25y^2-225)=25-frac169y^2leq25,$$ where the equality occurs for $y=0.$



    If we consider $f(x,y)=x^2+y^2+lambdaleft(fracx^225+fracy^29-1right)$ so we'll get $lambda=-25$



    and we'll get the same answer of course.



    It happens because $-frac19cdot225=-25$ and
    $$x^2+y^2-frac19(9x^2+25y^2-225)=x^2+y^2-25left(fracx^225+fracy^29-1right).$$






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Yes, this is what I am doing. My question is, why does the multiplier's value change when I just divide the constraint by 225.
      $endgroup$
      – PGupta
      Apr 7 at 7:05










    • $begingroup$
      @PGupta I added something. See now.
      $endgroup$
      – Michael Rozenberg
      Apr 7 at 7:13










    • $begingroup$
      This makes sense, thank you.
      $endgroup$
      – PGupta
      Apr 7 at 7:19















    2












    $begingroup$

    Let $f(x,y)=x^2+y^2+lambda(9x^2+25y^2-225).$



    Thus, from $$fracpartial fpartial x=2x+18lambda x=0$$ and
    $$fracpartial fpartial y=2y+50lambda y=0$$ we obtain two possibilities: $lambda=-frac19$ or $lambda=-frac125.$



    The second gives a minimal value, wile the first gives a maximal value:
    $$f(x,y)=x^2+y^2-frac19(9x^2+25y^2-225)=25-frac169y^2leq25,$$ where the equality occurs for $y=0.$



    If we consider $f(x,y)=x^2+y^2+lambdaleft(fracx^225+fracy^29-1right)$ so we'll get $lambda=-25$



    and we'll get the same answer of course.



    It happens because $-frac19cdot225=-25$ and
    $$x^2+y^2-frac19(9x^2+25y^2-225)=x^2+y^2-25left(fracx^225+fracy^29-1right).$$






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Yes, this is what I am doing. My question is, why does the multiplier's value change when I just divide the constraint by 225.
      $endgroup$
      – PGupta
      Apr 7 at 7:05










    • $begingroup$
      @PGupta I added something. See now.
      $endgroup$
      – Michael Rozenberg
      Apr 7 at 7:13










    • $begingroup$
      This makes sense, thank you.
      $endgroup$
      – PGupta
      Apr 7 at 7:19













    2












    2








    2





    $begingroup$

    Let $f(x,y)=x^2+y^2+lambda(9x^2+25y^2-225).$



    Thus, from $$fracpartial fpartial x=2x+18lambda x=0$$ and
    $$fracpartial fpartial y=2y+50lambda y=0$$ we obtain two possibilities: $lambda=-frac19$ or $lambda=-frac125.$



    The second gives a minimal value, wile the first gives a maximal value:
    $$f(x,y)=x^2+y^2-frac19(9x^2+25y^2-225)=25-frac169y^2leq25,$$ where the equality occurs for $y=0.$



    If we consider $f(x,y)=x^2+y^2+lambdaleft(fracx^225+fracy^29-1right)$ so we'll get $lambda=-25$



    and we'll get the same answer of course.



    It happens because $-frac19cdot225=-25$ and
    $$x^2+y^2-frac19(9x^2+25y^2-225)=x^2+y^2-25left(fracx^225+fracy^29-1right).$$






    share|cite|improve this answer











    $endgroup$



    Let $f(x,y)=x^2+y^2+lambda(9x^2+25y^2-225).$



    Thus, from $$fracpartial fpartial x=2x+18lambda x=0$$ and
    $$fracpartial fpartial y=2y+50lambda y=0$$ we obtain two possibilities: $lambda=-frac19$ or $lambda=-frac125.$



    The second gives a minimal value, wile the first gives a maximal value:
    $$f(x,y)=x^2+y^2-frac19(9x^2+25y^2-225)=25-frac169y^2leq25,$$ where the equality occurs for $y=0.$



    If we consider $f(x,y)=x^2+y^2+lambdaleft(fracx^225+fracy^29-1right)$ so we'll get $lambda=-25$



    and we'll get the same answer of course.



    It happens because $-frac19cdot225=-25$ and
    $$x^2+y^2-frac19(9x^2+25y^2-225)=x^2+y^2-25left(fracx^225+fracy^29-1right).$$







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Apr 7 at 7:11

























    answered Apr 7 at 7:00









    Michael RozenbergMichael Rozenberg

    110k1896201




    110k1896201











    • $begingroup$
      Yes, this is what I am doing. My question is, why does the multiplier's value change when I just divide the constraint by 225.
      $endgroup$
      – PGupta
      Apr 7 at 7:05










    • $begingroup$
      @PGupta I added something. See now.
      $endgroup$
      – Michael Rozenberg
      Apr 7 at 7:13










    • $begingroup$
      This makes sense, thank you.
      $endgroup$
      – PGupta
      Apr 7 at 7:19
















    • $begingroup$
      Yes, this is what I am doing. My question is, why does the multiplier's value change when I just divide the constraint by 225.
      $endgroup$
      – PGupta
      Apr 7 at 7:05










    • $begingroup$
      @PGupta I added something. See now.
      $endgroup$
      – Michael Rozenberg
      Apr 7 at 7:13










    • $begingroup$
      This makes sense, thank you.
      $endgroup$
      – PGupta
      Apr 7 at 7:19















    $begingroup$
    Yes, this is what I am doing. My question is, why does the multiplier's value change when I just divide the constraint by 225.
    $endgroup$
    – PGupta
    Apr 7 at 7:05




    $begingroup$
    Yes, this is what I am doing. My question is, why does the multiplier's value change when I just divide the constraint by 225.
    $endgroup$
    – PGupta
    Apr 7 at 7:05












    $begingroup$
    @PGupta I added something. See now.
    $endgroup$
    – Michael Rozenberg
    Apr 7 at 7:13




    $begingroup$
    @PGupta I added something. See now.
    $endgroup$
    – Michael Rozenberg
    Apr 7 at 7:13












    $begingroup$
    This makes sense, thank you.
    $endgroup$
    – PGupta
    Apr 7 at 7:19




    $begingroup$
    This makes sense, thank you.
    $endgroup$
    – PGupta
    Apr 7 at 7:19











    5












    $begingroup$

    If $x^star$ minimizes $f(x)$ subject to the constraint that $g(x)=0$, then under mild assumptions there exists a Lagrange multiplier $lambda$ that satisfies
    $$
    tag1 nabla f(x^star) = lambda nabla g(x^star).
    $$

    If $g$ is replaced with $c g$, then $x^star$ is still a minimizer, but of course $lambda$ no longer satisfies (1). We must correspondingly multiply $lambda$ by $1/c$ in order for (1) to remain true.



    Different but equivalent constraints have different Lagrange multipliers. The way you write the constraint matters.






    share|cite|improve this answer









    $endgroup$












    • $begingroup$
      Right, this makes it clear. Could you also shed some light on how to interpret this? The multiplier tells us how the value function changes with respect to a small change in the constraint. The maximised value remains the same no matter how we write the constraint. So, relaxing the constraint should change the maximixed value by the same amount--how is rescaling affecting this?
      $endgroup$
      – PGupta
      Apr 7 at 7:36






    • 1




      $begingroup$
      @PGupta Perturbing the constraint $g(x) = 0$ by a small amount $delta$ is equivalent to perturbing the constraint $cg(x) =0$ by $cdelta$. The change in the optimal value is the same amount $epsilon$ in either case. But the rate of change is $lambda = epsilon/delta$ in the first case, and $lambda/c = epsilon/(c delta)$ in the second case.
      $endgroup$
      – littleO
      Apr 7 at 8:05










    • $begingroup$
      Great, got it. Thanks a lot!
      $endgroup$
      – PGupta
      Apr 7 at 9:00















    5












    $begingroup$

    If $x^star$ minimizes $f(x)$ subject to the constraint that $g(x)=0$, then under mild assumptions there exists a Lagrange multiplier $lambda$ that satisfies
    $$
    tag1 nabla f(x^star) = lambda nabla g(x^star).
    $$

    If $g$ is replaced with $c g$, then $x^star$ is still a minimizer, but of course $lambda$ no longer satisfies (1). We must correspondingly multiply $lambda$ by $1/c$ in order for (1) to remain true.



    Different but equivalent constraints have different Lagrange multipliers. The way you write the constraint matters.






    share|cite|improve this answer









    $endgroup$












    • $begingroup$
      Right, this makes it clear. Could you also shed some light on how to interpret this? The multiplier tells us how the value function changes with respect to a small change in the constraint. The maximised value remains the same no matter how we write the constraint. So, relaxing the constraint should change the maximixed value by the same amount--how is rescaling affecting this?
      $endgroup$
      – PGupta
      Apr 7 at 7:36






    • 1




      $begingroup$
      @PGupta Perturbing the constraint $g(x) = 0$ by a small amount $delta$ is equivalent to perturbing the constraint $cg(x) =0$ by $cdelta$. The change in the optimal value is the same amount $epsilon$ in either case. But the rate of change is $lambda = epsilon/delta$ in the first case, and $lambda/c = epsilon/(c delta)$ in the second case.
      $endgroup$
      – littleO
      Apr 7 at 8:05










    • $begingroup$
      Great, got it. Thanks a lot!
      $endgroup$
      – PGupta
      Apr 7 at 9:00













    5












    5








    5





    $begingroup$

    If $x^star$ minimizes $f(x)$ subject to the constraint that $g(x)=0$, then under mild assumptions there exists a Lagrange multiplier $lambda$ that satisfies
    $$
    tag1 nabla f(x^star) = lambda nabla g(x^star).
    $$

    If $g$ is replaced with $c g$, then $x^star$ is still a minimizer, but of course $lambda$ no longer satisfies (1). We must correspondingly multiply $lambda$ by $1/c$ in order for (1) to remain true.



    Different but equivalent constraints have different Lagrange multipliers. The way you write the constraint matters.






    share|cite|improve this answer









    $endgroup$



    If $x^star$ minimizes $f(x)$ subject to the constraint that $g(x)=0$, then under mild assumptions there exists a Lagrange multiplier $lambda$ that satisfies
    $$
    tag1 nabla f(x^star) = lambda nabla g(x^star).
    $$

    If $g$ is replaced with $c g$, then $x^star$ is still a minimizer, but of course $lambda$ no longer satisfies (1). We must correspondingly multiply $lambda$ by $1/c$ in order for (1) to remain true.



    Different but equivalent constraints have different Lagrange multipliers. The way you write the constraint matters.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Apr 7 at 7:26









    littleOlittleO

    30.5k649111




    30.5k649111











    • $begingroup$
      Right, this makes it clear. Could you also shed some light on how to interpret this? The multiplier tells us how the value function changes with respect to a small change in the constraint. The maximised value remains the same no matter how we write the constraint. So, relaxing the constraint should change the maximixed value by the same amount--how is rescaling affecting this?
      $endgroup$
      – PGupta
      Apr 7 at 7:36






    • 1




      $begingroup$
      @PGupta Perturbing the constraint $g(x) = 0$ by a small amount $delta$ is equivalent to perturbing the constraint $cg(x) =0$ by $cdelta$. The change in the optimal value is the same amount $epsilon$ in either case. But the rate of change is $lambda = epsilon/delta$ in the first case, and $lambda/c = epsilon/(c delta)$ in the second case.
      $endgroup$
      – littleO
      Apr 7 at 8:05










    • $begingroup$
      Great, got it. Thanks a lot!
      $endgroup$
      – PGupta
      Apr 7 at 9:00
















    • $begingroup$
      Right, this makes it clear. Could you also shed some light on how to interpret this? The multiplier tells us how the value function changes with respect to a small change in the constraint. The maximised value remains the same no matter how we write the constraint. So, relaxing the constraint should change the maximixed value by the same amount--how is rescaling affecting this?
      $endgroup$
      – PGupta
      Apr 7 at 7:36






    • 1




      $begingroup$
      @PGupta Perturbing the constraint $g(x) = 0$ by a small amount $delta$ is equivalent to perturbing the constraint $cg(x) =0$ by $cdelta$. The change in the optimal value is the same amount $epsilon$ in either case. But the rate of change is $lambda = epsilon/delta$ in the first case, and $lambda/c = epsilon/(c delta)$ in the second case.
      $endgroup$
      – littleO
      Apr 7 at 8:05










    • $begingroup$
      Great, got it. Thanks a lot!
      $endgroup$
      – PGupta
      Apr 7 at 9:00















    $begingroup$
    Right, this makes it clear. Could you also shed some light on how to interpret this? The multiplier tells us how the value function changes with respect to a small change in the constraint. The maximised value remains the same no matter how we write the constraint. So, relaxing the constraint should change the maximixed value by the same amount--how is rescaling affecting this?
    $endgroup$
    – PGupta
    Apr 7 at 7:36




    $begingroup$
    Right, this makes it clear. Could you also shed some light on how to interpret this? The multiplier tells us how the value function changes with respect to a small change in the constraint. The maximised value remains the same no matter how we write the constraint. So, relaxing the constraint should change the maximixed value by the same amount--how is rescaling affecting this?
    $endgroup$
    – PGupta
    Apr 7 at 7:36




    1




    1




    $begingroup$
    @PGupta Perturbing the constraint $g(x) = 0$ by a small amount $delta$ is equivalent to perturbing the constraint $cg(x) =0$ by $cdelta$. The change in the optimal value is the same amount $epsilon$ in either case. But the rate of change is $lambda = epsilon/delta$ in the first case, and $lambda/c = epsilon/(c delta)$ in the second case.
    $endgroup$
    – littleO
    Apr 7 at 8:05




    $begingroup$
    @PGupta Perturbing the constraint $g(x) = 0$ by a small amount $delta$ is equivalent to perturbing the constraint $cg(x) =0$ by $cdelta$. The change in the optimal value is the same amount $epsilon$ in either case. But the rate of change is $lambda = epsilon/delta$ in the first case, and $lambda/c = epsilon/(c delta)$ in the second case.
    $endgroup$
    – littleO
    Apr 7 at 8:05












    $begingroup$
    Great, got it. Thanks a lot!
    $endgroup$
    – PGupta
    Apr 7 at 9:00




    $begingroup$
    Great, got it. Thanks a lot!
    $endgroup$
    – PGupta
    Apr 7 at 9:00











    0












    $begingroup$

    Writing the equation $$fracx^225+fracy^29=1$$ in the form
    $$y^2=9-frac925x^2$$ you will have the objective function
    $$f(x)=frac1625x^2+9$$






    share|cite|improve this answer











    $endgroup$

















      0












      $begingroup$

      Writing the equation $$fracx^225+fracy^29=1$$ in the form
      $$y^2=9-frac925x^2$$ you will have the objective function
      $$f(x)=frac1625x^2+9$$






      share|cite|improve this answer











      $endgroup$















        0












        0








        0





        $begingroup$

        Writing the equation $$fracx^225+fracy^29=1$$ in the form
        $$y^2=9-frac925x^2$$ you will have the objective function
        $$f(x)=frac1625x^2+9$$






        share|cite|improve this answer











        $endgroup$



        Writing the equation $$fracx^225+fracy^29=1$$ in the form
        $$y^2=9-frac925x^2$$ you will have the objective function
        $$f(x)=frac1625x^2+9$$







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Apr 7 at 7:18

























        answered Apr 7 at 6:37









        Dr. Sonnhard GraubnerDr. Sonnhard Graubner

        79k42867




        79k42867



























            draft saved

            draft discarded
















































            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%2f3177834%2fwhy-does-the-lagrange-multiplier-lambda-change-when-the-equality-constraint-i%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

            Crop image to path created in TikZ? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Crop an inserted image?TikZ pictures does not appear in posterImage behind and beyond crop marks?Tikz picture as large as possible on A4 PageTransparency vs image compression dilemmaHow to crop background from image automatically?Image does not cropTikzexternal capturing crop marks when externalizing pgfplots?How to include image path that contains a dollar signCrop image with left size given

            Ромео және Джульетта Мазмұны Қысқаша сипаттамасы Кейіпкерлері Кино Дереккөздер Бағыттау мәзірі

            Википедия:Патрулирование Содержание Процедура патрулирования Версия, показываемая по умолчанию Флаг патрулирующего Флаг автопатрулируемого Техническая реализация Примечания См. также НавигацияАктуальный список патрулирующихэтим инструментомрейтинг патрулирующихпоказывал лишь 63 позицииРекурсивный поиск непатрулированных страниц по категорииРекурсивный поиск устаревших патрулированных страниц по категории