If stationary points and minima are equivalent, then is the function convex?Counterexample to show that the set of global minima of a function $f$ is a strict subset of the set of minima of the convex envelope of $f$Is every monotone map the gradient of a convex function?A convex function is differentiable at all but countably many pointsAre the stationary points of a strongly convex function unique in each dimension?Strictly increasing, strictly convex function: is the second derivative positive?What does it mean for the Hessian of a convex function to be positive semidefinite?Question on equivalent definitions of a convex functionGeneralization of properties of the subgradient of a convex function $f$Showing a function is convex by looking at the hessian.How to show two different definitions of $alpha$-strongly convex are equivalent?

Why can't RGB or bicolour LEDs produce a decent yellow?

Why in a Ethernet LAN, a packet sniffer can obtain all packets sent over the LAN?

How to slow yourself down (for playing nice with others)

Why was castling bad for white in this game, and engine strongly prefered trading queens?

How to select certain lines (n, n+4, n+8, n+12...) from the file?

Exception propagation: When should I catch exceptions?

use the oversamplling followed by '' decimation method ''to increasee the ADC resolution and not normal averaging

Run script for 10 times until meets the condition, but break the loop if it meets the condition during iteration

What does a comma mean inside an 'if' statement?

Why doesn't Rocket Lab use a solid stage?

How to Access data returned from Apex class in JS controller using Lightning web component

How did Thanos not realise this had happened at the end of Endgame?

How can this triangle figure be modeled/drawn with TikZ?

What is Plautus’s pun about frustum and frustrum?

How does Howard Stark know this?

What are the implications of the new alleged key recovery attack preprint on SIMON?

Can 'sudo apt-get remove [write]' destroy my Ubuntu?

Size of a folder with du

51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily?

Why was the Ancient One so hesitant to teach Dr. Strange the art of sorcery?

Why was Thor doubtful about his worthiness to Mjolnir?

Does Lawful Interception of 4G / the proposed 5G provide a back door for hackers as well?

When a land becomes a creature, is it untapped?

Was this character’s old age look CGI or make-up?



If stationary points and minima are equivalent, then is the function convex?


Counterexample to show that the set of global minima of a function $f$ is a strict subset of the set of minima of the convex envelope of $f$Is every monotone map the gradient of a convex function?A convex function is differentiable at all but countably many pointsAre the stationary points of a strongly convex function unique in each dimension?Strictly increasing, strictly convex function: is the second derivative positive?What does it mean for the Hessian of a convex function to be positive semidefinite?Question on equivalent definitions of a convex functionGeneralization of properties of the subgradient of a convex function $f$Showing a function is convex by looking at the hessian.How to show two different definitions of $alpha$-strongly convex are equivalent?













4












$begingroup$


Let $f : mathbb R^n to mathbb R$ be a differentiable function for which a minimum exists. If $f$ is convex, then



$$x in mathbb R^n : nabla f(x) = 0 = x in mathbb R^n : f(x) leq f(y), ; forall y in mathbb R^n.$$



However, is the converse statement true? That is, if the above equation holds (and the two sets are non-empty), then is $f$ necessarily convex? Furthermore, would compactness of these sets be relevant?










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    Take $n=1$ and $f(x)=-e^x$. The sets in your question are equal because both are empty.
    $endgroup$
    – Andreas Blass
    May 2 at 1:28










  • $begingroup$
    @AndreasBlass Thank you for the observation. I edited the question.
    $endgroup$
    – Justin Le
    May 2 at 1:33






  • 1




    $begingroup$
    To get the sets nonempty, try letting (still with $n=1$) $f(x)=x^2-1$ for $xleq1$ and $f(x)=2ln x$ for $xgeq 1$. (I hope I did the arithmetic right so that the values and derivatives match up at $x=1$ which makes $f$ differentiable. With more work, you could make an infinitely differentiable $f$ with the same general shape.) Both sets in your question are $0$, so they're equal, nonempty, and compact. But $f$ isn't convex to the right of $x=1$.
    $endgroup$
    – Andreas Blass
    May 2 at 1:42






  • 1




    $begingroup$
    This question reminds me of a paper by Saint Raymond. He shows that that in a general Banach space $X$, a lower-semicontinuous function $f$ is convex if, given any $l in X^*$, the function $f + l$ achieves its minimum on a non-empty, convex set.
    $endgroup$
    – Theo Bendit
    May 2 at 2:29















4












$begingroup$


Let $f : mathbb R^n to mathbb R$ be a differentiable function for which a minimum exists. If $f$ is convex, then



$$x in mathbb R^n : nabla f(x) = 0 = x in mathbb R^n : f(x) leq f(y), ; forall y in mathbb R^n.$$



However, is the converse statement true? That is, if the above equation holds (and the two sets are non-empty), then is $f$ necessarily convex? Furthermore, would compactness of these sets be relevant?










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    Take $n=1$ and $f(x)=-e^x$. The sets in your question are equal because both are empty.
    $endgroup$
    – Andreas Blass
    May 2 at 1:28










  • $begingroup$
    @AndreasBlass Thank you for the observation. I edited the question.
    $endgroup$
    – Justin Le
    May 2 at 1:33






  • 1




    $begingroup$
    To get the sets nonempty, try letting (still with $n=1$) $f(x)=x^2-1$ for $xleq1$ and $f(x)=2ln x$ for $xgeq 1$. (I hope I did the arithmetic right so that the values and derivatives match up at $x=1$ which makes $f$ differentiable. With more work, you could make an infinitely differentiable $f$ with the same general shape.) Both sets in your question are $0$, so they're equal, nonempty, and compact. But $f$ isn't convex to the right of $x=1$.
    $endgroup$
    – Andreas Blass
    May 2 at 1:42






  • 1




    $begingroup$
    This question reminds me of a paper by Saint Raymond. He shows that that in a general Banach space $X$, a lower-semicontinuous function $f$ is convex if, given any $l in X^*$, the function $f + l$ achieves its minimum on a non-empty, convex set.
    $endgroup$
    – Theo Bendit
    May 2 at 2:29













4












4








4


1



$begingroup$


Let $f : mathbb R^n to mathbb R$ be a differentiable function for which a minimum exists. If $f$ is convex, then



$$x in mathbb R^n : nabla f(x) = 0 = x in mathbb R^n : f(x) leq f(y), ; forall y in mathbb R^n.$$



However, is the converse statement true? That is, if the above equation holds (and the two sets are non-empty), then is $f$ necessarily convex? Furthermore, would compactness of these sets be relevant?










share|cite|improve this question











$endgroup$




Let $f : mathbb R^n to mathbb R$ be a differentiable function for which a minimum exists. If $f$ is convex, then



$$x in mathbb R^n : nabla f(x) = 0 = x in mathbb R^n : f(x) leq f(y), ; forall y in mathbb R^n.$$



However, is the converse statement true? That is, if the above equation holds (and the two sets are non-empty), then is $f$ necessarily convex? Furthermore, would compactness of these sets be relevant?







convex-analysis convex-optimization maxima-minima






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 3 at 7:19









Rodrigo de Azevedo

13.3k41964




13.3k41964










asked May 2 at 0:53









Justin LeJustin Le

1378




1378







  • 2




    $begingroup$
    Take $n=1$ and $f(x)=-e^x$. The sets in your question are equal because both are empty.
    $endgroup$
    – Andreas Blass
    May 2 at 1:28










  • $begingroup$
    @AndreasBlass Thank you for the observation. I edited the question.
    $endgroup$
    – Justin Le
    May 2 at 1:33






  • 1




    $begingroup$
    To get the sets nonempty, try letting (still with $n=1$) $f(x)=x^2-1$ for $xleq1$ and $f(x)=2ln x$ for $xgeq 1$. (I hope I did the arithmetic right so that the values and derivatives match up at $x=1$ which makes $f$ differentiable. With more work, you could make an infinitely differentiable $f$ with the same general shape.) Both sets in your question are $0$, so they're equal, nonempty, and compact. But $f$ isn't convex to the right of $x=1$.
    $endgroup$
    – Andreas Blass
    May 2 at 1:42






  • 1




    $begingroup$
    This question reminds me of a paper by Saint Raymond. He shows that that in a general Banach space $X$, a lower-semicontinuous function $f$ is convex if, given any $l in X^*$, the function $f + l$ achieves its minimum on a non-empty, convex set.
    $endgroup$
    – Theo Bendit
    May 2 at 2:29












  • 2




    $begingroup$
    Take $n=1$ and $f(x)=-e^x$. The sets in your question are equal because both are empty.
    $endgroup$
    – Andreas Blass
    May 2 at 1:28










  • $begingroup$
    @AndreasBlass Thank you for the observation. I edited the question.
    $endgroup$
    – Justin Le
    May 2 at 1:33






  • 1




    $begingroup$
    To get the sets nonempty, try letting (still with $n=1$) $f(x)=x^2-1$ for $xleq1$ and $f(x)=2ln x$ for $xgeq 1$. (I hope I did the arithmetic right so that the values and derivatives match up at $x=1$ which makes $f$ differentiable. With more work, you could make an infinitely differentiable $f$ with the same general shape.) Both sets in your question are $0$, so they're equal, nonempty, and compact. But $f$ isn't convex to the right of $x=1$.
    $endgroup$
    – Andreas Blass
    May 2 at 1:42






  • 1




    $begingroup$
    This question reminds me of a paper by Saint Raymond. He shows that that in a general Banach space $X$, a lower-semicontinuous function $f$ is convex if, given any $l in X^*$, the function $f + l$ achieves its minimum on a non-empty, convex set.
    $endgroup$
    – Theo Bendit
    May 2 at 2:29







2




2




$begingroup$
Take $n=1$ and $f(x)=-e^x$. The sets in your question are equal because both are empty.
$endgroup$
– Andreas Blass
May 2 at 1:28




$begingroup$
Take $n=1$ and $f(x)=-e^x$. The sets in your question are equal because both are empty.
$endgroup$
– Andreas Blass
May 2 at 1:28












$begingroup$
@AndreasBlass Thank you for the observation. I edited the question.
$endgroup$
– Justin Le
May 2 at 1:33




$begingroup$
@AndreasBlass Thank you for the observation. I edited the question.
$endgroup$
– Justin Le
May 2 at 1:33




1




1




$begingroup$
To get the sets nonempty, try letting (still with $n=1$) $f(x)=x^2-1$ for $xleq1$ and $f(x)=2ln x$ for $xgeq 1$. (I hope I did the arithmetic right so that the values and derivatives match up at $x=1$ which makes $f$ differentiable. With more work, you could make an infinitely differentiable $f$ with the same general shape.) Both sets in your question are $0$, so they're equal, nonempty, and compact. But $f$ isn't convex to the right of $x=1$.
$endgroup$
– Andreas Blass
May 2 at 1:42




$begingroup$
To get the sets nonempty, try letting (still with $n=1$) $f(x)=x^2-1$ for $xleq1$ and $f(x)=2ln x$ for $xgeq 1$. (I hope I did the arithmetic right so that the values and derivatives match up at $x=1$ which makes $f$ differentiable. With more work, you could make an infinitely differentiable $f$ with the same general shape.) Both sets in your question are $0$, so they're equal, nonempty, and compact. But $f$ isn't convex to the right of $x=1$.
$endgroup$
– Andreas Blass
May 2 at 1:42




1




1




$begingroup$
This question reminds me of a paper by Saint Raymond. He shows that that in a general Banach space $X$, a lower-semicontinuous function $f$ is convex if, given any $l in X^*$, the function $f + l$ achieves its minimum on a non-empty, convex set.
$endgroup$
– Theo Bendit
May 2 at 2:29




$begingroup$
This question reminds me of a paper by Saint Raymond. He shows that that in a general Banach space $X$, a lower-semicontinuous function $f$ is convex if, given any $l in X^*$, the function $f + l$ achieves its minimum on a non-empty, convex set.
$endgroup$
– Theo Bendit
May 2 at 2:29










1 Answer
1






active

oldest

votes


















9












$begingroup$

No, the converse is not correct. Here is a counterexample:



nonconvex counter-example



This function is smooth, nonconvex, yet it has a unique global minimiser which satisfies Fermat's condition.



By the way, a convex function does not necessarily satisfy the condition you mentioned - you need additional conditions. Take for example $f(x) = e^x$.



If a (convex or nonconvex) function $f:mathbbR^ntomathbbR$ is lower semicontinuous and level bounded, then $inf f$ is finite and its set of minimisers is nonempty and compact. A function $f$ is said to be level bounded if its level sets (the sets $xinmathbbR^n: f(x) leq a$) are bounded for every $ain mathbbR$ (they might be empty for some $a$).



Update: Another counter-example is the following function



$$
f(x) = fracxe^-2x + 1
$$



Its graph looks a little like the one above.






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%2f3210392%2fif-stationary-points-and-minima-are-equivalent-then-is-the-function-convex%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    9












    $begingroup$

    No, the converse is not correct. Here is a counterexample:



    nonconvex counter-example



    This function is smooth, nonconvex, yet it has a unique global minimiser which satisfies Fermat's condition.



    By the way, a convex function does not necessarily satisfy the condition you mentioned - you need additional conditions. Take for example $f(x) = e^x$.



    If a (convex or nonconvex) function $f:mathbbR^ntomathbbR$ is lower semicontinuous and level bounded, then $inf f$ is finite and its set of minimisers is nonempty and compact. A function $f$ is said to be level bounded if its level sets (the sets $xinmathbbR^n: f(x) leq a$) are bounded for every $ain mathbbR$ (they might be empty for some $a$).



    Update: Another counter-example is the following function



    $$
    f(x) = fracxe^-2x + 1
    $$



    Its graph looks a little like the one above.






    share|cite|improve this answer











    $endgroup$

















      9












      $begingroup$

      No, the converse is not correct. Here is a counterexample:



      nonconvex counter-example



      This function is smooth, nonconvex, yet it has a unique global minimiser which satisfies Fermat's condition.



      By the way, a convex function does not necessarily satisfy the condition you mentioned - you need additional conditions. Take for example $f(x) = e^x$.



      If a (convex or nonconvex) function $f:mathbbR^ntomathbbR$ is lower semicontinuous and level bounded, then $inf f$ is finite and its set of minimisers is nonempty and compact. A function $f$ is said to be level bounded if its level sets (the sets $xinmathbbR^n: f(x) leq a$) are bounded for every $ain mathbbR$ (they might be empty for some $a$).



      Update: Another counter-example is the following function



      $$
      f(x) = fracxe^-2x + 1
      $$



      Its graph looks a little like the one above.






      share|cite|improve this answer











      $endgroup$















        9












        9








        9





        $begingroup$

        No, the converse is not correct. Here is a counterexample:



        nonconvex counter-example



        This function is smooth, nonconvex, yet it has a unique global minimiser which satisfies Fermat's condition.



        By the way, a convex function does not necessarily satisfy the condition you mentioned - you need additional conditions. Take for example $f(x) = e^x$.



        If a (convex or nonconvex) function $f:mathbbR^ntomathbbR$ is lower semicontinuous and level bounded, then $inf f$ is finite and its set of minimisers is nonempty and compact. A function $f$ is said to be level bounded if its level sets (the sets $xinmathbbR^n: f(x) leq a$) are bounded for every $ain mathbbR$ (they might be empty for some $a$).



        Update: Another counter-example is the following function



        $$
        f(x) = fracxe^-2x + 1
        $$



        Its graph looks a little like the one above.






        share|cite|improve this answer











        $endgroup$



        No, the converse is not correct. Here is a counterexample:



        nonconvex counter-example



        This function is smooth, nonconvex, yet it has a unique global minimiser which satisfies Fermat's condition.



        By the way, a convex function does not necessarily satisfy the condition you mentioned - you need additional conditions. Take for example $f(x) = e^x$.



        If a (convex or nonconvex) function $f:mathbbR^ntomathbbR$ is lower semicontinuous and level bounded, then $inf f$ is finite and its set of minimisers is nonempty and compact. A function $f$ is said to be level bounded if its level sets (the sets $xinmathbbR^n: f(x) leq a$) are bounded for every $ain mathbbR$ (they might be empty for some $a$).



        Update: Another counter-example is the following function



        $$
        f(x) = fracxe^-2x + 1
        $$



        Its graph looks a little like the one above.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited May 2 at 2:01

























        answered May 2 at 1:37









        Pantelis SopasakisPantelis Sopasakis

        2,5221040




        2,5221040



























            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%2f3210392%2fif-stationary-points-and-minima-are-equivalent-then-is-the-function-convex%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

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company