Number of Subsets of $n$ Elements of Size $n-1$












0












$begingroup$


I am trying to understand why given a set of $n$ elements, there are $2^{n-1}$ subsets of size $n-1$.



Below I have written out a proof that I figured out, however I was wondering if there was a simpler way of showing the result that might be a little more intuitive. Or, perhaps, a method that made use of combinatorics.



There are $2^n$ subsets of $n$ elements, $2^n -1 $ of which contain less than $n$ elements. Additionally, there are $2^{n-1} - 1$ subsets of n elements in which each set contains less than $n-1$ elements. Thus, the number of subsets of $n$ elements of size $n-1$ is: $(2^n -1) - (2^{n-1} -1) = 2^{n-1} $













share|cite|improve this question











$endgroup$












  • $begingroup$
    There are $2^n-n-1$ subsets which contain strictly fewer than $n−1$ elements
    $endgroup$
    – Henry
    Jan 21 at 1:51
















0












$begingroup$


I am trying to understand why given a set of $n$ elements, there are $2^{n-1}$ subsets of size $n-1$.



Below I have written out a proof that I figured out, however I was wondering if there was a simpler way of showing the result that might be a little more intuitive. Or, perhaps, a method that made use of combinatorics.



There are $2^n$ subsets of $n$ elements, $2^n -1 $ of which contain less than $n$ elements. Additionally, there are $2^{n-1} - 1$ subsets of n elements in which each set contains less than $n-1$ elements. Thus, the number of subsets of $n$ elements of size $n-1$ is: $(2^n -1) - (2^{n-1} -1) = 2^{n-1} $













share|cite|improve this question











$endgroup$












  • $begingroup$
    There are $2^n-n-1$ subsets which contain strictly fewer than $n−1$ elements
    $endgroup$
    – Henry
    Jan 21 at 1:51














0












0








0





$begingroup$


I am trying to understand why given a set of $n$ elements, there are $2^{n-1}$ subsets of size $n-1$.



Below I have written out a proof that I figured out, however I was wondering if there was a simpler way of showing the result that might be a little more intuitive. Or, perhaps, a method that made use of combinatorics.



There are $2^n$ subsets of $n$ elements, $2^n -1 $ of which contain less than $n$ elements. Additionally, there are $2^{n-1} - 1$ subsets of n elements in which each set contains less than $n-1$ elements. Thus, the number of subsets of $n$ elements of size $n-1$ is: $(2^n -1) - (2^{n-1} -1) = 2^{n-1} $













share|cite|improve this question











$endgroup$




I am trying to understand why given a set of $n$ elements, there are $2^{n-1}$ subsets of size $n-1$.



Below I have written out a proof that I figured out, however I was wondering if there was a simpler way of showing the result that might be a little more intuitive. Or, perhaps, a method that made use of combinatorics.



There are $2^n$ subsets of $n$ elements, $2^n -1 $ of which contain less than $n$ elements. Additionally, there are $2^{n-1} - 1$ subsets of n elements in which each set contains less than $n-1$ elements. Thus, the number of subsets of $n$ elements of size $n-1$ is: $(2^n -1) - (2^{n-1} -1) = 2^{n-1} $










probability combinatorics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 21 at 1:31







Is12Prime

















asked Jan 21 at 0:38









Is12PrimeIs12Prime

130110




130110












  • $begingroup$
    There are $2^n-n-1$ subsets which contain strictly fewer than $n−1$ elements
    $endgroup$
    – Henry
    Jan 21 at 1:51


















  • $begingroup$
    There are $2^n-n-1$ subsets which contain strictly fewer than $n−1$ elements
    $endgroup$
    – Henry
    Jan 21 at 1:51
















$begingroup$
There are $2^n-n-1$ subsets which contain strictly fewer than $n−1$ elements
$endgroup$
– Henry
Jan 21 at 1:51




$begingroup$
There are $2^n-n-1$ subsets which contain strictly fewer than $n−1$ elements
$endgroup$
– Henry
Jan 21 at 1:51










1 Answer
1






active

oldest

votes


















3












$begingroup$

It is not true. Given $n$ elements, you can select $n-1$ of them in ${n choose n-1}={n choose 1}=n$ ways, so there are $n$ subsets of size $n-1$. You can choose any element to leave out and you are done.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    This makes sense. However, I'm not sure what the error is in my false "proof" above.
    $endgroup$
    – Is12Prime
    Jan 21 at 1:30






  • 1




    $begingroup$
    @kelvinhong方 I would have thought there were $2^n-1$ (almost double $2^{n-1}$) subsets of size at most $n-1$
    $endgroup$
    – Henry
    Jan 21 at 1:48








  • 2




    $begingroup$
    @kelvinhong方: No, there are $2^n-n-1$ subsets of size at most $n-1$. There are $2^n$ total subsets, one is of size $n$, and $n$ are of size exactly $n-1$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:53






  • 1




    $begingroup$
    @Is12Prime: The error in your proof is that for a given subset of $n-1$ elements there are $2^{n-1}-1$ subsets of size less than $n-1$, but there are $n$ subsets of size $n-1$. You then multiply count the smaller subsets because they can come from different subsets of size $n-1$
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:55






  • 1




    $begingroup$
    @kelvinhong方: the last comment should have been there are $2^n-n-1$ subsets of size at most $n-2$. Yes, there are $2^n-1$ of size at most $n-1$ because only one is of size $n$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 2:03













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%2f3081340%2fnumber-of-subsets-of-n-elements-of-size-n-1%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









3












$begingroup$

It is not true. Given $n$ elements, you can select $n-1$ of them in ${n choose n-1}={n choose 1}=n$ ways, so there are $n$ subsets of size $n-1$. You can choose any element to leave out and you are done.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    This makes sense. However, I'm not sure what the error is in my false "proof" above.
    $endgroup$
    – Is12Prime
    Jan 21 at 1:30






  • 1




    $begingroup$
    @kelvinhong方 I would have thought there were $2^n-1$ (almost double $2^{n-1}$) subsets of size at most $n-1$
    $endgroup$
    – Henry
    Jan 21 at 1:48








  • 2




    $begingroup$
    @kelvinhong方: No, there are $2^n-n-1$ subsets of size at most $n-1$. There are $2^n$ total subsets, one is of size $n$, and $n$ are of size exactly $n-1$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:53






  • 1




    $begingroup$
    @Is12Prime: The error in your proof is that for a given subset of $n-1$ elements there are $2^{n-1}-1$ subsets of size less than $n-1$, but there are $n$ subsets of size $n-1$. You then multiply count the smaller subsets because they can come from different subsets of size $n-1$
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:55






  • 1




    $begingroup$
    @kelvinhong方: the last comment should have been there are $2^n-n-1$ subsets of size at most $n-2$. Yes, there are $2^n-1$ of size at most $n-1$ because only one is of size $n$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 2:03


















3












$begingroup$

It is not true. Given $n$ elements, you can select $n-1$ of them in ${n choose n-1}={n choose 1}=n$ ways, so there are $n$ subsets of size $n-1$. You can choose any element to leave out and you are done.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    This makes sense. However, I'm not sure what the error is in my false "proof" above.
    $endgroup$
    – Is12Prime
    Jan 21 at 1:30






  • 1




    $begingroup$
    @kelvinhong方 I would have thought there were $2^n-1$ (almost double $2^{n-1}$) subsets of size at most $n-1$
    $endgroup$
    – Henry
    Jan 21 at 1:48








  • 2




    $begingroup$
    @kelvinhong方: No, there are $2^n-n-1$ subsets of size at most $n-1$. There are $2^n$ total subsets, one is of size $n$, and $n$ are of size exactly $n-1$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:53






  • 1




    $begingroup$
    @Is12Prime: The error in your proof is that for a given subset of $n-1$ elements there are $2^{n-1}-1$ subsets of size less than $n-1$, but there are $n$ subsets of size $n-1$. You then multiply count the smaller subsets because they can come from different subsets of size $n-1$
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:55






  • 1




    $begingroup$
    @kelvinhong方: the last comment should have been there are $2^n-n-1$ subsets of size at most $n-2$. Yes, there are $2^n-1$ of size at most $n-1$ because only one is of size $n$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 2:03
















3












3








3





$begingroup$

It is not true. Given $n$ elements, you can select $n-1$ of them in ${n choose n-1}={n choose 1}=n$ ways, so there are $n$ subsets of size $n-1$. You can choose any element to leave out and you are done.






share|cite|improve this answer









$endgroup$



It is not true. Given $n$ elements, you can select $n-1$ of them in ${n choose n-1}={n choose 1}=n$ ways, so there are $n$ subsets of size $n-1$. You can choose any element to leave out and you are done.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 21 at 0:45









Ross MillikanRoss Millikan

297k23198371




297k23198371












  • $begingroup$
    This makes sense. However, I'm not sure what the error is in my false "proof" above.
    $endgroup$
    – Is12Prime
    Jan 21 at 1:30






  • 1




    $begingroup$
    @kelvinhong方 I would have thought there were $2^n-1$ (almost double $2^{n-1}$) subsets of size at most $n-1$
    $endgroup$
    – Henry
    Jan 21 at 1:48








  • 2




    $begingroup$
    @kelvinhong方: No, there are $2^n-n-1$ subsets of size at most $n-1$. There are $2^n$ total subsets, one is of size $n$, and $n$ are of size exactly $n-1$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:53






  • 1




    $begingroup$
    @Is12Prime: The error in your proof is that for a given subset of $n-1$ elements there are $2^{n-1}-1$ subsets of size less than $n-1$, but there are $n$ subsets of size $n-1$. You then multiply count the smaller subsets because they can come from different subsets of size $n-1$
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:55






  • 1




    $begingroup$
    @kelvinhong方: the last comment should have been there are $2^n-n-1$ subsets of size at most $n-2$. Yes, there are $2^n-1$ of size at most $n-1$ because only one is of size $n$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 2:03




















  • $begingroup$
    This makes sense. However, I'm not sure what the error is in my false "proof" above.
    $endgroup$
    – Is12Prime
    Jan 21 at 1:30






  • 1




    $begingroup$
    @kelvinhong方 I would have thought there were $2^n-1$ (almost double $2^{n-1}$) subsets of size at most $n-1$
    $endgroup$
    – Henry
    Jan 21 at 1:48








  • 2




    $begingroup$
    @kelvinhong方: No, there are $2^n-n-1$ subsets of size at most $n-1$. There are $2^n$ total subsets, one is of size $n$, and $n$ are of size exactly $n-1$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:53






  • 1




    $begingroup$
    @Is12Prime: The error in your proof is that for a given subset of $n-1$ elements there are $2^{n-1}-1$ subsets of size less than $n-1$, but there are $n$ subsets of size $n-1$. You then multiply count the smaller subsets because they can come from different subsets of size $n-1$
    $endgroup$
    – Ross Millikan
    Jan 21 at 1:55






  • 1




    $begingroup$
    @kelvinhong方: the last comment should have been there are $2^n-n-1$ subsets of size at most $n-2$. Yes, there are $2^n-1$ of size at most $n-1$ because only one is of size $n$.
    $endgroup$
    – Ross Millikan
    Jan 21 at 2:03


















$begingroup$
This makes sense. However, I'm not sure what the error is in my false "proof" above.
$endgroup$
– Is12Prime
Jan 21 at 1:30




$begingroup$
This makes sense. However, I'm not sure what the error is in my false "proof" above.
$endgroup$
– Is12Prime
Jan 21 at 1:30




1




1




$begingroup$
@kelvinhong方 I would have thought there were $2^n-1$ (almost double $2^{n-1}$) subsets of size at most $n-1$
$endgroup$
– Henry
Jan 21 at 1:48






$begingroup$
@kelvinhong方 I would have thought there were $2^n-1$ (almost double $2^{n-1}$) subsets of size at most $n-1$
$endgroup$
– Henry
Jan 21 at 1:48






2




2




$begingroup$
@kelvinhong方: No, there are $2^n-n-1$ subsets of size at most $n-1$. There are $2^n$ total subsets, one is of size $n$, and $n$ are of size exactly $n-1$.
$endgroup$
– Ross Millikan
Jan 21 at 1:53




$begingroup$
@kelvinhong方: No, there are $2^n-n-1$ subsets of size at most $n-1$. There are $2^n$ total subsets, one is of size $n$, and $n$ are of size exactly $n-1$.
$endgroup$
– Ross Millikan
Jan 21 at 1:53




1




1




$begingroup$
@Is12Prime: The error in your proof is that for a given subset of $n-1$ elements there are $2^{n-1}-1$ subsets of size less than $n-1$, but there are $n$ subsets of size $n-1$. You then multiply count the smaller subsets because they can come from different subsets of size $n-1$
$endgroup$
– Ross Millikan
Jan 21 at 1:55




$begingroup$
@Is12Prime: The error in your proof is that for a given subset of $n-1$ elements there are $2^{n-1}-1$ subsets of size less than $n-1$, but there are $n$ subsets of size $n-1$. You then multiply count the smaller subsets because they can come from different subsets of size $n-1$
$endgroup$
– Ross Millikan
Jan 21 at 1:55




1




1




$begingroup$
@kelvinhong方: the last comment should have been there are $2^n-n-1$ subsets of size at most $n-2$. Yes, there are $2^n-1$ of size at most $n-1$ because only one is of size $n$.
$endgroup$
– Ross Millikan
Jan 21 at 2:03






$begingroup$
@kelvinhong方: the last comment should have been there are $2^n-n-1$ subsets of size at most $n-2$. Yes, there are $2^n-1$ of size at most $n-1$ because only one is of size $n$.
$endgroup$
– Ross Millikan
Jan 21 at 2:03




















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%2f3081340%2fnumber-of-subsets-of-n-elements-of-size-n-1%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

Mario Kart Wii

What does “Dominus providebit” mean?

Antonio Litta Visconti Arese