Counting Logic for Subsets, Password Combination, etc. Need clarification if my understanding is correct to...
$begingroup$
I have a few different types of counting problems where I feel I don't understand the approach to specific counting questions. I will list down the different scenarios with how I logically see it.
Scenario 1
For $Q1$:
To find the total number of subsets would be $70choose30$.
Exactly 12 Beer, so exactly 18 Cider for a 30 bottle subset.
So, total count: $20choose12$ $50choose18$
Ok, that was simple. However, what if the questions asked me:
1) 30 bottle subsets where there were at least 3 beer bottles? How many such subsets exist?
My thinking is whenever I see the words "at least x", I have to look at what is below x. So, in this case it's 3. I will then look at beer bottles for 0, 1, 2.
$20choose0$ $50choose30$ + $20choose1$ $50choose29$ + $20choose2$ $50choose28$. Is this correct way to look at it?
Now, what if it was:
2) 30 bottle subsets where there were at most 3 beer bottles? How many such subsets exist?
Do I look at subsets for beer bottles from 4-20 for this case? That would take me forever to do if I approached it like how I did for the previous case.
3) 30 bottle subsets where there were at least 3 beer bottles and/or at most 12 cider? How many such subsets exist?
In this case, I have a limit now. How would I approach this for the case of and & the case for or?
Also, for Question 2)
Does any number of beer/cider bottles mean I have to count it in the form of $2^x$. Or is it $choices^{number of bottles}$
I am confused on when to use the choose function, when to use the exponential function in these counting scenarios.
Like for 2, the answer is option d. Do we subtract $20choose12$ $50choose12$ because they are double counted? How would I ever know whats double counted?
Like for this question, the answer is c) but I don't get the subtracted part.
Scenario 2
For these password questions, again when I see at least and at most what should I be doing?
Answer: (Q1-b, Q2)-c)
When should I use exponentials to count and choose functions to count? I need some clarification on how to break down these problems. I've been struggling to conceptualize it so far from my attempts.
combinatorics discrete-mathematics permutations combinations
$endgroup$
add a comment |
$begingroup$
I have a few different types of counting problems where I feel I don't understand the approach to specific counting questions. I will list down the different scenarios with how I logically see it.
Scenario 1
For $Q1$:
To find the total number of subsets would be $70choose30$.
Exactly 12 Beer, so exactly 18 Cider for a 30 bottle subset.
So, total count: $20choose12$ $50choose18$
Ok, that was simple. However, what if the questions asked me:
1) 30 bottle subsets where there were at least 3 beer bottles? How many such subsets exist?
My thinking is whenever I see the words "at least x", I have to look at what is below x. So, in this case it's 3. I will then look at beer bottles for 0, 1, 2.
$20choose0$ $50choose30$ + $20choose1$ $50choose29$ + $20choose2$ $50choose28$. Is this correct way to look at it?
Now, what if it was:
2) 30 bottle subsets where there were at most 3 beer bottles? How many such subsets exist?
Do I look at subsets for beer bottles from 4-20 for this case? That would take me forever to do if I approached it like how I did for the previous case.
3) 30 bottle subsets where there were at least 3 beer bottles and/or at most 12 cider? How many such subsets exist?
In this case, I have a limit now. How would I approach this for the case of and & the case for or?
Also, for Question 2)
Does any number of beer/cider bottles mean I have to count it in the form of $2^x$. Or is it $choices^{number of bottles}$
I am confused on when to use the choose function, when to use the exponential function in these counting scenarios.
Like for 2, the answer is option d. Do we subtract $20choose12$ $50choose12$ because they are double counted? How would I ever know whats double counted?
Like for this question, the answer is c) but I don't get the subtracted part.
Scenario 2
For these password questions, again when I see at least and at most what should I be doing?
Answer: (Q1-b, Q2)-c)
When should I use exponentials to count and choose functions to count? I need some clarification on how to break down these problems. I've been struggling to conceptualize it so far from my attempts.
combinatorics discrete-mathematics permutations combinations
$endgroup$
$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– quid♦
Dec 23 '18 at 15:34
add a comment |
$begingroup$
I have a few different types of counting problems where I feel I don't understand the approach to specific counting questions. I will list down the different scenarios with how I logically see it.
Scenario 1
For $Q1$:
To find the total number of subsets would be $70choose30$.
Exactly 12 Beer, so exactly 18 Cider for a 30 bottle subset.
So, total count: $20choose12$ $50choose18$
Ok, that was simple. However, what if the questions asked me:
1) 30 bottle subsets where there were at least 3 beer bottles? How many such subsets exist?
My thinking is whenever I see the words "at least x", I have to look at what is below x. So, in this case it's 3. I will then look at beer bottles for 0, 1, 2.
$20choose0$ $50choose30$ + $20choose1$ $50choose29$ + $20choose2$ $50choose28$. Is this correct way to look at it?
Now, what if it was:
2) 30 bottle subsets where there were at most 3 beer bottles? How many such subsets exist?
Do I look at subsets for beer bottles from 4-20 for this case? That would take me forever to do if I approached it like how I did for the previous case.
3) 30 bottle subsets where there were at least 3 beer bottles and/or at most 12 cider? How many such subsets exist?
In this case, I have a limit now. How would I approach this for the case of and & the case for or?
Also, for Question 2)
Does any number of beer/cider bottles mean I have to count it in the form of $2^x$. Or is it $choices^{number of bottles}$
I am confused on when to use the choose function, when to use the exponential function in these counting scenarios.
Like for 2, the answer is option d. Do we subtract $20choose12$ $50choose12$ because they are double counted? How would I ever know whats double counted?
Like for this question, the answer is c) but I don't get the subtracted part.
Scenario 2
For these password questions, again when I see at least and at most what should I be doing?
Answer: (Q1-b, Q2)-c)
When should I use exponentials to count and choose functions to count? I need some clarification on how to break down these problems. I've been struggling to conceptualize it so far from my attempts.
combinatorics discrete-mathematics permutations combinations
$endgroup$
I have a few different types of counting problems where I feel I don't understand the approach to specific counting questions. I will list down the different scenarios with how I logically see it.
Scenario 1
For $Q1$:
To find the total number of subsets would be $70choose30$.
Exactly 12 Beer, so exactly 18 Cider for a 30 bottle subset.
So, total count: $20choose12$ $50choose18$
Ok, that was simple. However, what if the questions asked me:
1) 30 bottle subsets where there were at least 3 beer bottles? How many such subsets exist?
My thinking is whenever I see the words "at least x", I have to look at what is below x. So, in this case it's 3. I will then look at beer bottles for 0, 1, 2.
$20choose0$ $50choose30$ + $20choose1$ $50choose29$ + $20choose2$ $50choose28$. Is this correct way to look at it?
Now, what if it was:
2) 30 bottle subsets where there were at most 3 beer bottles? How many such subsets exist?
Do I look at subsets for beer bottles from 4-20 for this case? That would take me forever to do if I approached it like how I did for the previous case.
3) 30 bottle subsets where there were at least 3 beer bottles and/or at most 12 cider? How many such subsets exist?
In this case, I have a limit now. How would I approach this for the case of and & the case for or?
Also, for Question 2)
Does any number of beer/cider bottles mean I have to count it in the form of $2^x$. Or is it $choices^{number of bottles}$
I am confused on when to use the choose function, when to use the exponential function in these counting scenarios.
Like for 2, the answer is option d. Do we subtract $20choose12$ $50choose12$ because they are double counted? How would I ever know whats double counted?
Like for this question, the answer is c) but I don't get the subtracted part.
Scenario 2
For these password questions, again when I see at least and at most what should I be doing?
Answer: (Q1-b, Q2)-c)
When should I use exponentials to count and choose functions to count? I need some clarification on how to break down these problems. I've been struggling to conceptualize it so far from my attempts.
combinatorics discrete-mathematics permutations combinations
combinatorics discrete-mathematics permutations combinations
edited Dec 7 '18 at 0:57
N. F. Taussig
44.1k93356
44.1k93356
asked Dec 7 '18 at 0:23
TobyToby
1577
1577
$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– quid♦
Dec 23 '18 at 15:34
add a comment |
$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– quid♦
Dec 23 '18 at 15:34
$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– quid♦
Dec 23 '18 at 15:34
$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– quid♦
Dec 23 '18 at 15:34
add a comment |
0
active
oldest
votes
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3029270%2fcounting-logic-for-subsets-password-combination-etc-need-clarification-if-my%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3029270%2fcounting-logic-for-subsets-password-combination-etc-need-clarification-if-my%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– quid♦
Dec 23 '18 at 15:34