Permutations vs Combinations: Probability & Statistics
$begingroup$
I need help with the following exercise as I am preparing for my exams on my own and never had the chance to visit any workshops or lectures as they were not offered, so here it goes.
A lock can be opened using a code with 3 digits.
a) (i) How many codes are possible?
(ii) How many codes when there's at least a number 5 in the code?
(iii) How many codes when there's exactly a number 5 in the code?
(iv) How many codes with their last digit being an even number?
(b)Now the 3 digits will be different from one another.
(i) How many codes are possible?
(ii) How many codes with their last digit being an odd number?
(iii) How many codes when there is at least a number 1 in the code?
Thank you in advance for anyone able to explain me!
probability statistics permutations combinations
$endgroup$
add a comment |
$begingroup$
I need help with the following exercise as I am preparing for my exams on my own and never had the chance to visit any workshops or lectures as they were not offered, so here it goes.
A lock can be opened using a code with 3 digits.
a) (i) How many codes are possible?
(ii) How many codes when there's at least a number 5 in the code?
(iii) How many codes when there's exactly a number 5 in the code?
(iv) How many codes with their last digit being an even number?
(b)Now the 3 digits will be different from one another.
(i) How many codes are possible?
(ii) How many codes with their last digit being an odd number?
(iii) How many codes when there is at least a number 1 in the code?
Thank you in advance for anyone able to explain me!
probability statistics permutations combinations
$endgroup$
add a comment |
$begingroup$
I need help with the following exercise as I am preparing for my exams on my own and never had the chance to visit any workshops or lectures as they were not offered, so here it goes.
A lock can be opened using a code with 3 digits.
a) (i) How many codes are possible?
(ii) How many codes when there's at least a number 5 in the code?
(iii) How many codes when there's exactly a number 5 in the code?
(iv) How many codes with their last digit being an even number?
(b)Now the 3 digits will be different from one another.
(i) How many codes are possible?
(ii) How many codes with their last digit being an odd number?
(iii) How many codes when there is at least a number 1 in the code?
Thank you in advance for anyone able to explain me!
probability statistics permutations combinations
$endgroup$
I need help with the following exercise as I am preparing for my exams on my own and never had the chance to visit any workshops or lectures as they were not offered, so here it goes.
A lock can be opened using a code with 3 digits.
a) (i) How many codes are possible?
(ii) How many codes when there's at least a number 5 in the code?
(iii) How many codes when there's exactly a number 5 in the code?
(iv) How many codes with their last digit being an even number?
(b)Now the 3 digits will be different from one another.
(i) How many codes are possible?
(ii) How many codes with their last digit being an odd number?
(iii) How many codes when there is at least a number 1 in the code?
Thank you in advance for anyone able to explain me!
probability statistics permutations combinations
probability statistics permutations combinations
asked Dec 9 '18 at 18:34
user624631user624631
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
a) Denote with $P(i)$ the number of possibilities there is for the event $i$.
i) For the units, the tens and the hundreds, you have respectively 10 different digits $(0,1,2,3,4,5,6,7,8,9)$ you can choose.
Thus
$$P(i)=10times10times10=10^3=1000$$
ii) We now know, that at least one of the digits is a 5, which implies that in fact, one of them is a 5 and the others can be any digit:
$$P(ii)=1times10times10=10^2=100$$
You can alternatively think this: From the thousand possibilities in $P(i)$, how many of them contain one five or more, i.e. how many of them start, for instance, with a 5?
iii) If there is exactly one 5, the other two digits can't be a 5, which implies that they can only be 9 digits $(0,1,2,3,4,6,7,8,9)$. Hence
$$P(iii)=1times 9times9=9^2=81$$
iv) There are exactly 5 even digits $(0,2,4,6,8)$. Since the tens and the hundreds have no restriction
$$P(iv)=10times 10times 5=10^2times 5=500$$
Hint for the part b)
If the three digits can be the same, once you've chosen one digit from the ten you have for the units (for instance), you'll only have nine left to choose for the tens. And once you've chosen the digit for the tens (different from the units), you'll only have 8 digits left to choose for the hundreds.
You can see the solutions here. I recommend you, however, to try to do it yourself first ;)
$$P(i)=10times 9times 8=720$$ $$P(ii)=5times 9times 8=360$$ $$P(iii)=1times 9times 8=72$$
$endgroup$
$begingroup$
Thank you so so much! For a) (i) vs b) (i) - I somehow thought that the order matters for both since, let's say as it is a lock: 321 will be different than 123. And with the solution provided for a) (i) - n on the kth, does this disregard order (as in, order doesn't matter)? I hope I made sense haha.
$endgroup$
– user624631
Dec 9 '18 at 20:57
add a comment |
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%2f3032757%2fpermutations-vs-combinations-probability-statistics%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
$begingroup$
a) Denote with $P(i)$ the number of possibilities there is for the event $i$.
i) For the units, the tens and the hundreds, you have respectively 10 different digits $(0,1,2,3,4,5,6,7,8,9)$ you can choose.
Thus
$$P(i)=10times10times10=10^3=1000$$
ii) We now know, that at least one of the digits is a 5, which implies that in fact, one of them is a 5 and the others can be any digit:
$$P(ii)=1times10times10=10^2=100$$
You can alternatively think this: From the thousand possibilities in $P(i)$, how many of them contain one five or more, i.e. how many of them start, for instance, with a 5?
iii) If there is exactly one 5, the other two digits can't be a 5, which implies that they can only be 9 digits $(0,1,2,3,4,6,7,8,9)$. Hence
$$P(iii)=1times 9times9=9^2=81$$
iv) There are exactly 5 even digits $(0,2,4,6,8)$. Since the tens and the hundreds have no restriction
$$P(iv)=10times 10times 5=10^2times 5=500$$
Hint for the part b)
If the three digits can be the same, once you've chosen one digit from the ten you have for the units (for instance), you'll only have nine left to choose for the tens. And once you've chosen the digit for the tens (different from the units), you'll only have 8 digits left to choose for the hundreds.
You can see the solutions here. I recommend you, however, to try to do it yourself first ;)
$$P(i)=10times 9times 8=720$$ $$P(ii)=5times 9times 8=360$$ $$P(iii)=1times 9times 8=72$$
$endgroup$
$begingroup$
Thank you so so much! For a) (i) vs b) (i) - I somehow thought that the order matters for both since, let's say as it is a lock: 321 will be different than 123. And with the solution provided for a) (i) - n on the kth, does this disregard order (as in, order doesn't matter)? I hope I made sense haha.
$endgroup$
– user624631
Dec 9 '18 at 20:57
add a comment |
$begingroup$
a) Denote with $P(i)$ the number of possibilities there is for the event $i$.
i) For the units, the tens and the hundreds, you have respectively 10 different digits $(0,1,2,3,4,5,6,7,8,9)$ you can choose.
Thus
$$P(i)=10times10times10=10^3=1000$$
ii) We now know, that at least one of the digits is a 5, which implies that in fact, one of them is a 5 and the others can be any digit:
$$P(ii)=1times10times10=10^2=100$$
You can alternatively think this: From the thousand possibilities in $P(i)$, how many of them contain one five or more, i.e. how many of them start, for instance, with a 5?
iii) If there is exactly one 5, the other two digits can't be a 5, which implies that they can only be 9 digits $(0,1,2,3,4,6,7,8,9)$. Hence
$$P(iii)=1times 9times9=9^2=81$$
iv) There are exactly 5 even digits $(0,2,4,6,8)$. Since the tens and the hundreds have no restriction
$$P(iv)=10times 10times 5=10^2times 5=500$$
Hint for the part b)
If the three digits can be the same, once you've chosen one digit from the ten you have for the units (for instance), you'll only have nine left to choose for the tens. And once you've chosen the digit for the tens (different from the units), you'll only have 8 digits left to choose for the hundreds.
You can see the solutions here. I recommend you, however, to try to do it yourself first ;)
$$P(i)=10times 9times 8=720$$ $$P(ii)=5times 9times 8=360$$ $$P(iii)=1times 9times 8=72$$
$endgroup$
$begingroup$
Thank you so so much! For a) (i) vs b) (i) - I somehow thought that the order matters for both since, let's say as it is a lock: 321 will be different than 123. And with the solution provided for a) (i) - n on the kth, does this disregard order (as in, order doesn't matter)? I hope I made sense haha.
$endgroup$
– user624631
Dec 9 '18 at 20:57
add a comment |
$begingroup$
a) Denote with $P(i)$ the number of possibilities there is for the event $i$.
i) For the units, the tens and the hundreds, you have respectively 10 different digits $(0,1,2,3,4,5,6,7,8,9)$ you can choose.
Thus
$$P(i)=10times10times10=10^3=1000$$
ii) We now know, that at least one of the digits is a 5, which implies that in fact, one of them is a 5 and the others can be any digit:
$$P(ii)=1times10times10=10^2=100$$
You can alternatively think this: From the thousand possibilities in $P(i)$, how many of them contain one five or more, i.e. how many of them start, for instance, with a 5?
iii) If there is exactly one 5, the other two digits can't be a 5, which implies that they can only be 9 digits $(0,1,2,3,4,6,7,8,9)$. Hence
$$P(iii)=1times 9times9=9^2=81$$
iv) There are exactly 5 even digits $(0,2,4,6,8)$. Since the tens and the hundreds have no restriction
$$P(iv)=10times 10times 5=10^2times 5=500$$
Hint for the part b)
If the three digits can be the same, once you've chosen one digit from the ten you have for the units (for instance), you'll only have nine left to choose for the tens. And once you've chosen the digit for the tens (different from the units), you'll only have 8 digits left to choose for the hundreds.
You can see the solutions here. I recommend you, however, to try to do it yourself first ;)
$$P(i)=10times 9times 8=720$$ $$P(ii)=5times 9times 8=360$$ $$P(iii)=1times 9times 8=72$$
$endgroup$
a) Denote with $P(i)$ the number of possibilities there is for the event $i$.
i) For the units, the tens and the hundreds, you have respectively 10 different digits $(0,1,2,3,4,5,6,7,8,9)$ you can choose.
Thus
$$P(i)=10times10times10=10^3=1000$$
ii) We now know, that at least one of the digits is a 5, which implies that in fact, one of them is a 5 and the others can be any digit:
$$P(ii)=1times10times10=10^2=100$$
You can alternatively think this: From the thousand possibilities in $P(i)$, how many of them contain one five or more, i.e. how many of them start, for instance, with a 5?
iii) If there is exactly one 5, the other two digits can't be a 5, which implies that they can only be 9 digits $(0,1,2,3,4,6,7,8,9)$. Hence
$$P(iii)=1times 9times9=9^2=81$$
iv) There are exactly 5 even digits $(0,2,4,6,8)$. Since the tens and the hundreds have no restriction
$$P(iv)=10times 10times 5=10^2times 5=500$$
Hint for the part b)
If the three digits can be the same, once you've chosen one digit from the ten you have for the units (for instance), you'll only have nine left to choose for the tens. And once you've chosen the digit for the tens (different from the units), you'll only have 8 digits left to choose for the hundreds.
You can see the solutions here. I recommend you, however, to try to do it yourself first ;)
$$P(i)=10times 9times 8=720$$ $$P(ii)=5times 9times 8=360$$ $$P(iii)=1times 9times 8=72$$
answered Dec 9 '18 at 20:07
Dr. MathvaDr. Mathva
1,082316
1,082316
$begingroup$
Thank you so so much! For a) (i) vs b) (i) - I somehow thought that the order matters for both since, let's say as it is a lock: 321 will be different than 123. And with the solution provided for a) (i) - n on the kth, does this disregard order (as in, order doesn't matter)? I hope I made sense haha.
$endgroup$
– user624631
Dec 9 '18 at 20:57
add a comment |
$begingroup$
Thank you so so much! For a) (i) vs b) (i) - I somehow thought that the order matters for both since, let's say as it is a lock: 321 will be different than 123. And with the solution provided for a) (i) - n on the kth, does this disregard order (as in, order doesn't matter)? I hope I made sense haha.
$endgroup$
– user624631
Dec 9 '18 at 20:57
$begingroup$
Thank you so so much! For a) (i) vs b) (i) - I somehow thought that the order matters for both since, let's say as it is a lock: 321 will be different than 123. And with the solution provided for a) (i) - n on the kth, does this disregard order (as in, order doesn't matter)? I hope I made sense haha.
$endgroup$
– user624631
Dec 9 '18 at 20:57
$begingroup$
Thank you so so much! For a) (i) vs b) (i) - I somehow thought that the order matters for both since, let's say as it is a lock: 321 will be different than 123. And with the solution provided for a) (i) - n on the kth, does this disregard order (as in, order doesn't matter)? I hope I made sense haha.
$endgroup$
– user624631
Dec 9 '18 at 20:57
add a comment |
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%2f3032757%2fpermutations-vs-combinations-probability-statistics%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