Show that the union of convex sets does not have to be convex.












2












$begingroup$


The following is an example that I've come up with:



Suppose that $pin A$ and $qin B$ so that $p,q in Acup B$, where $A$ and $B$ are two mutually disjoint, convex, unit circles centered at $x=0,2$ in $mathbb{R^2}$, respectively. Also let $p:=(frac{1}{2},0)$ and $q:= (frac{3}{2},0)$. The set of points satisfying $lambda p + (1-lambda)q$ for $0 < lambda < 1$ forms a line between $p$ and $q$. But for $lambda = frac{1}{2}$, we have that $z = frac{1}{2}p + (1-frac{1}{2})q = frac{1}{2}(p+q)=(1,0)$, which is not in $Acup B$.



I was wondering if there's a simpler example that shows that the union of two convex sets does not have to be convex?










share|cite|improve this question











$endgroup$

















    2












    $begingroup$


    The following is an example that I've come up with:



    Suppose that $pin A$ and $qin B$ so that $p,q in Acup B$, where $A$ and $B$ are two mutually disjoint, convex, unit circles centered at $x=0,2$ in $mathbb{R^2}$, respectively. Also let $p:=(frac{1}{2},0)$ and $q:= (frac{3}{2},0)$. The set of points satisfying $lambda p + (1-lambda)q$ for $0 < lambda < 1$ forms a line between $p$ and $q$. But for $lambda = frac{1}{2}$, we have that $z = frac{1}{2}p + (1-frac{1}{2})q = frac{1}{2}(p+q)=(1,0)$, which is not in $Acup B$.



    I was wondering if there's a simpler example that shows that the union of two convex sets does not have to be convex?










    share|cite|improve this question











    $endgroup$















      2












      2








      2





      $begingroup$


      The following is an example that I've come up with:



      Suppose that $pin A$ and $qin B$ so that $p,q in Acup B$, where $A$ and $B$ are two mutually disjoint, convex, unit circles centered at $x=0,2$ in $mathbb{R^2}$, respectively. Also let $p:=(frac{1}{2},0)$ and $q:= (frac{3}{2},0)$. The set of points satisfying $lambda p + (1-lambda)q$ for $0 < lambda < 1$ forms a line between $p$ and $q$. But for $lambda = frac{1}{2}$, we have that $z = frac{1}{2}p + (1-frac{1}{2})q = frac{1}{2}(p+q)=(1,0)$, which is not in $Acup B$.



      I was wondering if there's a simpler example that shows that the union of two convex sets does not have to be convex?










      share|cite|improve this question











      $endgroup$




      The following is an example that I've come up with:



      Suppose that $pin A$ and $qin B$ so that $p,q in Acup B$, where $A$ and $B$ are two mutually disjoint, convex, unit circles centered at $x=0,2$ in $mathbb{R^2}$, respectively. Also let $p:=(frac{1}{2},0)$ and $q:= (frac{3}{2},0)$. The set of points satisfying $lambda p + (1-lambda)q$ for $0 < lambda < 1$ forms a line between $p$ and $q$. But for $lambda = frac{1}{2}$, we have that $z = frac{1}{2}p + (1-frac{1}{2})q = frac{1}{2}(p+q)=(1,0)$, which is not in $Acup B$.



      I was wondering if there's a simpler example that shows that the union of two convex sets does not have to be convex?







      analysis convex-analysis






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 8 '18 at 14:28









      Rodrigo de Azevedo

      12.9k41857




      12.9k41857










      asked Dec 8 '18 at 0:09









      K.MK.M

      693412




      693412






















          2 Answers
          2






          active

          oldest

          votes


















          7












          $begingroup$

          $(0,1) cup (2,3)$ is a simpler example. $frac {0.5+2.5} 2$ does not belong to this union.






          share|cite|improve this answer









          $endgroup$





















            11












            $begingroup$

            Even easier: two points in the plane.






            share|cite|improve this answer









            $endgroup$









            • 1




              $begingroup$
              Or in the line.
              $endgroup$
              – Martin Argerami
              Dec 8 '18 at 0:30










            • $begingroup$
              They "puncture" this conjecture oh-so-prettily.
              $endgroup$
              – ncmathsadist
              Dec 8 '18 at 0:38










            • $begingroup$
              when you say two points in the plane, do you mean that each point is a trivial convex set?
              $endgroup$
              – K.M
              Dec 8 '18 at 0:38










            • $begingroup$
              Verily. A point is about as convex as you can get.
              $endgroup$
              – ncmathsadist
              Dec 8 '18 at 0:38










            • $begingroup$
              @ncmathsadist: wouldn't this be considered more of a counterexample?
              $endgroup$
              – K.M
              Dec 8 '18 at 0:42











            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            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%2f3030536%2fshow-that-the-union-of-convex-sets-does-not-have-to-be-convex%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









            7












            $begingroup$

            $(0,1) cup (2,3)$ is a simpler example. $frac {0.5+2.5} 2$ does not belong to this union.






            share|cite|improve this answer









            $endgroup$


















              7












              $begingroup$

              $(0,1) cup (2,3)$ is a simpler example. $frac {0.5+2.5} 2$ does not belong to this union.






              share|cite|improve this answer









              $endgroup$
















                7












                7








                7





                $begingroup$

                $(0,1) cup (2,3)$ is a simpler example. $frac {0.5+2.5} 2$ does not belong to this union.






                share|cite|improve this answer









                $endgroup$



                $(0,1) cup (2,3)$ is a simpler example. $frac {0.5+2.5} 2$ does not belong to this union.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 8 '18 at 0:13









                Kavi Rama MurthyKavi Rama Murthy

                57k42159




                57k42159























                    11












                    $begingroup$

                    Even easier: two points in the plane.






                    share|cite|improve this answer









                    $endgroup$









                    • 1




                      $begingroup$
                      Or in the line.
                      $endgroup$
                      – Martin Argerami
                      Dec 8 '18 at 0:30










                    • $begingroup$
                      They "puncture" this conjecture oh-so-prettily.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      when you say two points in the plane, do you mean that each point is a trivial convex set?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      Verily. A point is about as convex as you can get.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      @ncmathsadist: wouldn't this be considered more of a counterexample?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:42
















                    11












                    $begingroup$

                    Even easier: two points in the plane.






                    share|cite|improve this answer









                    $endgroup$









                    • 1




                      $begingroup$
                      Or in the line.
                      $endgroup$
                      – Martin Argerami
                      Dec 8 '18 at 0:30










                    • $begingroup$
                      They "puncture" this conjecture oh-so-prettily.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      when you say two points in the plane, do you mean that each point is a trivial convex set?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      Verily. A point is about as convex as you can get.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      @ncmathsadist: wouldn't this be considered more of a counterexample?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:42














                    11












                    11








                    11





                    $begingroup$

                    Even easier: two points in the plane.






                    share|cite|improve this answer









                    $endgroup$



                    Even easier: two points in the plane.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Dec 8 '18 at 0:15









                    ncmathsadistncmathsadist

                    42.7k260103




                    42.7k260103








                    • 1




                      $begingroup$
                      Or in the line.
                      $endgroup$
                      – Martin Argerami
                      Dec 8 '18 at 0:30










                    • $begingroup$
                      They "puncture" this conjecture oh-so-prettily.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      when you say two points in the plane, do you mean that each point is a trivial convex set?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      Verily. A point is about as convex as you can get.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      @ncmathsadist: wouldn't this be considered more of a counterexample?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:42














                    • 1




                      $begingroup$
                      Or in the line.
                      $endgroup$
                      – Martin Argerami
                      Dec 8 '18 at 0:30










                    • $begingroup$
                      They "puncture" this conjecture oh-so-prettily.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      when you say two points in the plane, do you mean that each point is a trivial convex set?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      Verily. A point is about as convex as you can get.
                      $endgroup$
                      – ncmathsadist
                      Dec 8 '18 at 0:38










                    • $begingroup$
                      @ncmathsadist: wouldn't this be considered more of a counterexample?
                      $endgroup$
                      – K.M
                      Dec 8 '18 at 0:42








                    1




                    1




                    $begingroup$
                    Or in the line.
                    $endgroup$
                    – Martin Argerami
                    Dec 8 '18 at 0:30




                    $begingroup$
                    Or in the line.
                    $endgroup$
                    – Martin Argerami
                    Dec 8 '18 at 0:30












                    $begingroup$
                    They "puncture" this conjecture oh-so-prettily.
                    $endgroup$
                    – ncmathsadist
                    Dec 8 '18 at 0:38




                    $begingroup$
                    They "puncture" this conjecture oh-so-prettily.
                    $endgroup$
                    – ncmathsadist
                    Dec 8 '18 at 0:38












                    $begingroup$
                    when you say two points in the plane, do you mean that each point is a trivial convex set?
                    $endgroup$
                    – K.M
                    Dec 8 '18 at 0:38




                    $begingroup$
                    when you say two points in the plane, do you mean that each point is a trivial convex set?
                    $endgroup$
                    – K.M
                    Dec 8 '18 at 0:38












                    $begingroup$
                    Verily. A point is about as convex as you can get.
                    $endgroup$
                    – ncmathsadist
                    Dec 8 '18 at 0:38




                    $begingroup$
                    Verily. A point is about as convex as you can get.
                    $endgroup$
                    – ncmathsadist
                    Dec 8 '18 at 0:38












                    $begingroup$
                    @ncmathsadist: wouldn't this be considered more of a counterexample?
                    $endgroup$
                    – K.M
                    Dec 8 '18 at 0:42




                    $begingroup$
                    @ncmathsadist: wouldn't this be considered more of a counterexample?
                    $endgroup$
                    – K.M
                    Dec 8 '18 at 0:42


















                    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%2f3030536%2fshow-that-the-union-of-convex-sets-does-not-have-to-be-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

                    How do I know what Microsoft account the skydrive app is syncing to?

                    When does type information flow backwards in C++?

                    Grease: Live!