How to define the subset with the two smallest elements











up vote
0
down vote

favorite












I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.










share|cite|improve this question






















  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    yesterday






  • 1




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    yesterday










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    yesterday










  • What is the context ? Programming or maths ?
    – Yves Daoust
    17 hours ago










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    17 hours ago















up vote
0
down vote

favorite












I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.










share|cite|improve this question






















  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    yesterday






  • 1




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    yesterday










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    yesterday










  • What is the context ? Programming or maths ?
    – Yves Daoust
    17 hours ago










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    17 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.










share|cite|improve this question













I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.







notation






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked yesterday









oldmansaur

274




274












  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    yesterday






  • 1




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    yesterday










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    yesterday










  • What is the context ? Programming or maths ?
    – Yves Daoust
    17 hours ago










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    17 hours ago


















  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    yesterday






  • 1




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    yesterday










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    yesterday










  • What is the context ? Programming or maths ?
    – Yves Daoust
    17 hours ago










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    17 hours ago
















What is the context ? Programming or maths. Why do yo want a specific notation ?
– Yves Daoust
yesterday




What is the context ? Programming or maths. Why do yo want a specific notation ?
– Yves Daoust
yesterday




1




1




Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
– JMoravitz
yesterday




Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
– JMoravitz
yesterday












@YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
– oldmansaur
yesterday




@YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
– oldmansaur
yesterday












What is the context ? Programming or maths ?
– Yves Daoust
17 hours ago




What is the context ? Programming or maths ?
– Yves Daoust
17 hours ago












Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
– Yves Daoust
17 hours ago




Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
– Yves Daoust
17 hours ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













$S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



Whew. I wonder why you need this, tho.
Note that this set must exist by the axiom of specification.






share|cite|improve this answer





















    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',
    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%2f3007003%2fhow-to-define-the-subset-with-the-two-smallest-elements%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








    up vote
    0
    down vote













    $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



    Whew. I wonder why you need this, tho.
    Note that this set must exist by the axiom of specification.






    share|cite|improve this answer

























      up vote
      0
      down vote













      $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



      Whew. I wonder why you need this, tho.
      Note that this set must exist by the axiom of specification.






      share|cite|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



        Whew. I wonder why you need this, tho.
        Note that this set must exist by the axiom of specification.






        share|cite|improve this answer












        $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



        Whew. I wonder why you need this, tho.
        Note that this set must exist by the axiom of specification.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered yesterday









        Lucas Henrique

        362111




        362111






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3007003%2fhow-to-define-the-subset-with-the-two-smallest-elements%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

            Berounka

            Sphinx de Gizeh

            Different font size/position of beamer's navigation symbols template's content depending on regular/plain...