Calculating number of times a given element appears in powerset subsets of a particular size.












0












$begingroup$


Let $X$ be a finite set, and $P(X)$ the power set of $X$. I understand from here how to calculate the number of subsets of a particular size in $P(X)$. For a given member of $X$ (call it $n$) how can I calculate the number of times $n$ appears in a set of subsets of a given size?



For example, suppose $X = {1, 2, 3}$ and $n = 2$. Then the subsets of $P(X)$ with two members are ${1, 2}, {1, 3}$ and ${2, 3}$. $n$ is in two thirds of these. But is there a more general way for determining the number of times $n$ appears in a subset of $P(X)$ containing only sets of identical size?










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    Let $X$ be a finite set, and $P(X)$ the power set of $X$. I understand from here how to calculate the number of subsets of a particular size in $P(X)$. For a given member of $X$ (call it $n$) how can I calculate the number of times $n$ appears in a set of subsets of a given size?



    For example, suppose $X = {1, 2, 3}$ and $n = 2$. Then the subsets of $P(X)$ with two members are ${1, 2}, {1, 3}$ and ${2, 3}$. $n$ is in two thirds of these. But is there a more general way for determining the number of times $n$ appears in a subset of $P(X)$ containing only sets of identical size?










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      Let $X$ be a finite set, and $P(X)$ the power set of $X$. I understand from here how to calculate the number of subsets of a particular size in $P(X)$. For a given member of $X$ (call it $n$) how can I calculate the number of times $n$ appears in a set of subsets of a given size?



      For example, suppose $X = {1, 2, 3}$ and $n = 2$. Then the subsets of $P(X)$ with two members are ${1, 2}, {1, 3}$ and ${2, 3}$. $n$ is in two thirds of these. But is there a more general way for determining the number of times $n$ appears in a subset of $P(X)$ containing only sets of identical size?










      share|cite|improve this question









      $endgroup$




      Let $X$ be a finite set, and $P(X)$ the power set of $X$. I understand from here how to calculate the number of subsets of a particular size in $P(X)$. For a given member of $X$ (call it $n$) how can I calculate the number of times $n$ appears in a set of subsets of a given size?



      For example, suppose $X = {1, 2, 3}$ and $n = 2$. Then the subsets of $P(X)$ with two members are ${1, 2}, {1, 3}$ and ${2, 3}$. $n$ is in two thirds of these. But is there a more general way for determining the number of times $n$ appears in a subset of $P(X)$ containing only sets of identical size?







      combinatorics elementary-set-theory binomial-theorem






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 7 at 14:52









      burt_gellorbsenburt_gellorbsen

      61




      61






















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          Suppose $X$ has $N$ elements. The probability that a particular element (you call it $n$) is in a randomly chosen
          subset of size $k$ is just $k/N$.



          So if there are $M$ subsets of size $k$ the number of them that contain $n$ is $(k/N)M$.



          Since you say you know how to calculate $M$ you're done.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thanks so much, really appreciate this. I've just realised that I slightly misstated my question, which was in fact: If $n subseteq X$, how many members of the set of k-sized subsets (e.g. the set ${k_1, k_2 ...}$ are such that $n subseteq$ those members? You seem like a much more experienced stack user than me -- should I edit my existing question or am I supposed to add a new one fresh?
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:15












          • $begingroup$
            @burt_gellorbsen Normally I'd suggest accepting an answer to this one and asking a new correct one. In this case you might be able to work out the probability in the first paragraph of my answer for your modified question, then continue as in the rest of the answer.
            $endgroup$
            – Ethan Bolker
            Jan 7 at 15:22



















          0












          $begingroup$

          HINT- Let the size of the desired subsets be $k$ and the total size of the set $N$. So you want the number of $k$-subsets of the set which have a particular element $n$. Now let's assume element $n$ is present in a subset. That leaves $k-1$ elements inside the subset that have to be filled from the remaining $N-1$. The number of ways to select $k-1$ elements from a group of $N-1$ is ....



          EDIT- Since the OP insisted, I'm giving out the answer



          $$binom{N-1}{k-1}$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            I really appreciate your response. I'm afraid you will have to spell out the answer for me though --- sorry!
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:06













          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%2f3065085%2fcalculating-number-of-times-a-given-element-appears-in-powerset-subsets-of-a-par%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









          0












          $begingroup$

          Suppose $X$ has $N$ elements. The probability that a particular element (you call it $n$) is in a randomly chosen
          subset of size $k$ is just $k/N$.



          So if there are $M$ subsets of size $k$ the number of them that contain $n$ is $(k/N)M$.



          Since you say you know how to calculate $M$ you're done.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thanks so much, really appreciate this. I've just realised that I slightly misstated my question, which was in fact: If $n subseteq X$, how many members of the set of k-sized subsets (e.g. the set ${k_1, k_2 ...}$ are such that $n subseteq$ those members? You seem like a much more experienced stack user than me -- should I edit my existing question or am I supposed to add a new one fresh?
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:15












          • $begingroup$
            @burt_gellorbsen Normally I'd suggest accepting an answer to this one and asking a new correct one. In this case you might be able to work out the probability in the first paragraph of my answer for your modified question, then continue as in the rest of the answer.
            $endgroup$
            – Ethan Bolker
            Jan 7 at 15:22
















          0












          $begingroup$

          Suppose $X$ has $N$ elements. The probability that a particular element (you call it $n$) is in a randomly chosen
          subset of size $k$ is just $k/N$.



          So if there are $M$ subsets of size $k$ the number of them that contain $n$ is $(k/N)M$.



          Since you say you know how to calculate $M$ you're done.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thanks so much, really appreciate this. I've just realised that I slightly misstated my question, which was in fact: If $n subseteq X$, how many members of the set of k-sized subsets (e.g. the set ${k_1, k_2 ...}$ are such that $n subseteq$ those members? You seem like a much more experienced stack user than me -- should I edit my existing question or am I supposed to add a new one fresh?
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:15












          • $begingroup$
            @burt_gellorbsen Normally I'd suggest accepting an answer to this one and asking a new correct one. In this case you might be able to work out the probability in the first paragraph of my answer for your modified question, then continue as in the rest of the answer.
            $endgroup$
            – Ethan Bolker
            Jan 7 at 15:22














          0












          0








          0





          $begingroup$

          Suppose $X$ has $N$ elements. The probability that a particular element (you call it $n$) is in a randomly chosen
          subset of size $k$ is just $k/N$.



          So if there are $M$ subsets of size $k$ the number of them that contain $n$ is $(k/N)M$.



          Since you say you know how to calculate $M$ you're done.






          share|cite|improve this answer









          $endgroup$



          Suppose $X$ has $N$ elements. The probability that a particular element (you call it $n$) is in a randomly chosen
          subset of size $k$ is just $k/N$.



          So if there are $M$ subsets of size $k$ the number of them that contain $n$ is $(k/N)M$.



          Since you say you know how to calculate $M$ you're done.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 7 at 15:08









          Ethan BolkerEthan Bolker

          42.4k549112




          42.4k549112












          • $begingroup$
            Thanks so much, really appreciate this. I've just realised that I slightly misstated my question, which was in fact: If $n subseteq X$, how many members of the set of k-sized subsets (e.g. the set ${k_1, k_2 ...}$ are such that $n subseteq$ those members? You seem like a much more experienced stack user than me -- should I edit my existing question or am I supposed to add a new one fresh?
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:15












          • $begingroup$
            @burt_gellorbsen Normally I'd suggest accepting an answer to this one and asking a new correct one. In this case you might be able to work out the probability in the first paragraph of my answer for your modified question, then continue as in the rest of the answer.
            $endgroup$
            – Ethan Bolker
            Jan 7 at 15:22


















          • $begingroup$
            Thanks so much, really appreciate this. I've just realised that I slightly misstated my question, which was in fact: If $n subseteq X$, how many members of the set of k-sized subsets (e.g. the set ${k_1, k_2 ...}$ are such that $n subseteq$ those members? You seem like a much more experienced stack user than me -- should I edit my existing question or am I supposed to add a new one fresh?
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:15












          • $begingroup$
            @burt_gellorbsen Normally I'd suggest accepting an answer to this one and asking a new correct one. In this case you might be able to work out the probability in the first paragraph of my answer for your modified question, then continue as in the rest of the answer.
            $endgroup$
            – Ethan Bolker
            Jan 7 at 15:22
















          $begingroup$
          Thanks so much, really appreciate this. I've just realised that I slightly misstated my question, which was in fact: If $n subseteq X$, how many members of the set of k-sized subsets (e.g. the set ${k_1, k_2 ...}$ are such that $n subseteq$ those members? You seem like a much more experienced stack user than me -- should I edit my existing question or am I supposed to add a new one fresh?
          $endgroup$
          – burt_gellorbsen
          Jan 7 at 15:15






          $begingroup$
          Thanks so much, really appreciate this. I've just realised that I slightly misstated my question, which was in fact: If $n subseteq X$, how many members of the set of k-sized subsets (e.g. the set ${k_1, k_2 ...}$ are such that $n subseteq$ those members? You seem like a much more experienced stack user than me -- should I edit my existing question or am I supposed to add a new one fresh?
          $endgroup$
          – burt_gellorbsen
          Jan 7 at 15:15














          $begingroup$
          @burt_gellorbsen Normally I'd suggest accepting an answer to this one and asking a new correct one. In this case you might be able to work out the probability in the first paragraph of my answer for your modified question, then continue as in the rest of the answer.
          $endgroup$
          – Ethan Bolker
          Jan 7 at 15:22




          $begingroup$
          @burt_gellorbsen Normally I'd suggest accepting an answer to this one and asking a new correct one. In this case you might be able to work out the probability in the first paragraph of my answer for your modified question, then continue as in the rest of the answer.
          $endgroup$
          – Ethan Bolker
          Jan 7 at 15:22











          0












          $begingroup$

          HINT- Let the size of the desired subsets be $k$ and the total size of the set $N$. So you want the number of $k$-subsets of the set which have a particular element $n$. Now let's assume element $n$ is present in a subset. That leaves $k-1$ elements inside the subset that have to be filled from the remaining $N-1$. The number of ways to select $k-1$ elements from a group of $N-1$ is ....



          EDIT- Since the OP insisted, I'm giving out the answer



          $$binom{N-1}{k-1}$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            I really appreciate your response. I'm afraid you will have to spell out the answer for me though --- sorry!
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:06


















          0












          $begingroup$

          HINT- Let the size of the desired subsets be $k$ and the total size of the set $N$. So you want the number of $k$-subsets of the set which have a particular element $n$. Now let's assume element $n$ is present in a subset. That leaves $k-1$ elements inside the subset that have to be filled from the remaining $N-1$. The number of ways to select $k-1$ elements from a group of $N-1$ is ....



          EDIT- Since the OP insisted, I'm giving out the answer



          $$binom{N-1}{k-1}$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            I really appreciate your response. I'm afraid you will have to spell out the answer for me though --- sorry!
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:06
















          0












          0








          0





          $begingroup$

          HINT- Let the size of the desired subsets be $k$ and the total size of the set $N$. So you want the number of $k$-subsets of the set which have a particular element $n$. Now let's assume element $n$ is present in a subset. That leaves $k-1$ elements inside the subset that have to be filled from the remaining $N-1$. The number of ways to select $k-1$ elements from a group of $N-1$ is ....



          EDIT- Since the OP insisted, I'm giving out the answer



          $$binom{N-1}{k-1}$$






          share|cite|improve this answer











          $endgroup$



          HINT- Let the size of the desired subsets be $k$ and the total size of the set $N$. So you want the number of $k$-subsets of the set which have a particular element $n$. Now let's assume element $n$ is present in a subset. That leaves $k-1$ elements inside the subset that have to be filled from the remaining $N-1$. The number of ways to select $k-1$ elements from a group of $N-1$ is ....



          EDIT- Since the OP insisted, I'm giving out the answer



          $$binom{N-1}{k-1}$$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 7 at 15:09

























          answered Jan 7 at 15:05









          Sauhard SharmaSauhard Sharma

          953318




          953318












          • $begingroup$
            I really appreciate your response. I'm afraid you will have to spell out the answer for me though --- sorry!
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:06




















          • $begingroup$
            I really appreciate your response. I'm afraid you will have to spell out the answer for me though --- sorry!
            $endgroup$
            – burt_gellorbsen
            Jan 7 at 15:06


















          $begingroup$
          I really appreciate your response. I'm afraid you will have to spell out the answer for me though --- sorry!
          $endgroup$
          – burt_gellorbsen
          Jan 7 at 15:06






          $begingroup$
          I really appreciate your response. I'm afraid you will have to spell out the answer for me though --- sorry!
          $endgroup$
          – burt_gellorbsen
          Jan 7 at 15:06




















          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%2f3065085%2fcalculating-number-of-times-a-given-element-appears-in-powerset-subsets-of-a-par%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

          'app-layout' is not a known element: how to share Component with different Modules

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          WPF add header to Image with URL pettitions [duplicate]