Problem where no boy stands next to each others
$begingroup$
The question is:
Find the number of ways that 5 boys and 6 girls can stand in a row if no boy stands next to another boy
In which the correct model would be:
$$square g square g square g square g square g square gsquare$$
Therefore:
$$6!cdot 7P5=1space 814space 400$$
However, I noticed that if you take one of the girls away (let's label her as $^a$), we have:
$$^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^a$$
We see that no matter where girl$^a$ stands, the boys will still not stand next to each others:
$$5!cdot6P5cdot12=1space036space800$$
Update
Also, if we are to swap it around:
$$square b square b square b square b square b square$$
We now have:
$$5!cdot6!=86space 400 $$
What is wrong with the last two logic?
Thank you.
combinatorics permutations
$endgroup$
add a comment |
$begingroup$
The question is:
Find the number of ways that 5 boys and 6 girls can stand in a row if no boy stands next to another boy
In which the correct model would be:
$$square g square g square g square g square g square gsquare$$
Therefore:
$$6!cdot 7P5=1space 814space 400$$
However, I noticed that if you take one of the girls away (let's label her as $^a$), we have:
$$^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^a$$
We see that no matter where girl$^a$ stands, the boys will still not stand next to each others:
$$5!cdot6P5cdot12=1space036space800$$
Update
Also, if we are to swap it around:
$$square b square b square b square b square b square$$
We now have:
$$5!cdot6!=86space 400 $$
What is wrong with the last two logic?
Thank you.
combinatorics permutations
$endgroup$
add a comment |
$begingroup$
The question is:
Find the number of ways that 5 boys and 6 girls can stand in a row if no boy stands next to another boy
In which the correct model would be:
$$square g square g square g square g square g square gsquare$$
Therefore:
$$6!cdot 7P5=1space 814space 400$$
However, I noticed that if you take one of the girls away (let's label her as $^a$), we have:
$$^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^a$$
We see that no matter where girl$^a$ stands, the boys will still not stand next to each others:
$$5!cdot6P5cdot12=1space036space800$$
Update
Also, if we are to swap it around:
$$square b square b square b square b square b square$$
We now have:
$$5!cdot6!=86space 400 $$
What is wrong with the last two logic?
Thank you.
combinatorics permutations
$endgroup$
The question is:
Find the number of ways that 5 boys and 6 girls can stand in a row if no boy stands next to another boy
In which the correct model would be:
$$square g square g square g square g square g square gsquare$$
Therefore:
$$6!cdot 7P5=1space 814space 400$$
However, I noticed that if you take one of the girls away (let's label her as $^a$), we have:
$$^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^ag^asquare^a$$
We see that no matter where girl$^a$ stands, the boys will still not stand next to each others:
$$5!cdot6P5cdot12=1space036space800$$
Update
Also, if we are to swap it around:
$$square b square b square b square b square b square$$
We now have:
$$5!cdot6!=86space 400 $$
What is wrong with the last two logic?
Thank you.
combinatorics permutations
combinatorics permutations
edited 27 mins ago
Huy Tran Van
asked 3 hours ago
Huy Tran VanHuy Tran Van
314
314
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
Your first computation is correct.
The latter two computations undercount because they start off by taking one of the girls away. Let's say they always take girl #1 away.
Now if we number the girls, those solutions can contain as an example $1 2 b 3 b 4 b 5 b 6b$. But they can not contain $1b2b34b5b6b$. We've lost the ability to have two girls next to eachother without involving girl #1.
$endgroup$
$begingroup$
Now, I know the last two undercount somehow but I can't see why '$1b2b3b4b5b6b$' is not possible in the second case?
$endgroup$
– Huy Tran Van
2 hours ago
$begingroup$
@HuyTranVan You misread. I said $1b2b34b5b6b$. There is no $b$ between $3$ and $4$.
$endgroup$
– orlp
1 hour ago
$begingroup$
I wanted to know why $12b3b4b5b6b$ is possible but then $1b2b34b5b6b$ (no b between 3 and 4) is not counted in the second case. According to you when one of the girls stands next to another, the question changed?
$endgroup$
– Huy Tran Van
1 hour ago
add a comment |
$begingroup$
In the last one you're obviously leaving some out, which could be gotten by swapping some of bg combinations in either sum.
In the second, also, you're not counting certain arrangements, which could be gotten by, again, swapping at least some bg combinations.
The right one is the first.
$endgroup$
add a comment |
$begingroup$
You are on the right track with thinking that there are 7 possible slots with 5 boys to be arranged into those slots. This is a combination problem with can be treated as a 7 choose 5 or a $7 choose 5$.
A $7 choose 5$ is calculated as
$$
frac{7!}{5!*(7-5)!} = 21
$$
Therefore there are 21 combinations in which the boys could be arranged.
I have also used an excel spreadsheet to show the possible ways that they could be arranged which ends up equaling 21.
Picture of how the boys and girls could be arranged in 21 combinations
New contributor
$endgroup$
$begingroup$
My answer is predicated that this is a combination problem, not a permutation problem. As they are described as boys and girls, they are likely interchangeable and this is a combination. If the question was how many ways can Tom, Dick, Harry, Sam, and Bob be arranged, that would be a different question with a much larger answer.
$endgroup$
– Tucktuckgoose
2 hours ago
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%2f3084008%2fproblem-where-no-boy-stands-next-to-each-others%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Your first computation is correct.
The latter two computations undercount because they start off by taking one of the girls away. Let's say they always take girl #1 away.
Now if we number the girls, those solutions can contain as an example $1 2 b 3 b 4 b 5 b 6b$. But they can not contain $1b2b34b5b6b$. We've lost the ability to have two girls next to eachother without involving girl #1.
$endgroup$
$begingroup$
Now, I know the last two undercount somehow but I can't see why '$1b2b3b4b5b6b$' is not possible in the second case?
$endgroup$
– Huy Tran Van
2 hours ago
$begingroup$
@HuyTranVan You misread. I said $1b2b34b5b6b$. There is no $b$ between $3$ and $4$.
$endgroup$
– orlp
1 hour ago
$begingroup$
I wanted to know why $12b3b4b5b6b$ is possible but then $1b2b34b5b6b$ (no b between 3 and 4) is not counted in the second case. According to you when one of the girls stands next to another, the question changed?
$endgroup$
– Huy Tran Van
1 hour ago
add a comment |
$begingroup$
Your first computation is correct.
The latter two computations undercount because they start off by taking one of the girls away. Let's say they always take girl #1 away.
Now if we number the girls, those solutions can contain as an example $1 2 b 3 b 4 b 5 b 6b$. But they can not contain $1b2b34b5b6b$. We've lost the ability to have two girls next to eachother without involving girl #1.
$endgroup$
$begingroup$
Now, I know the last two undercount somehow but I can't see why '$1b2b3b4b5b6b$' is not possible in the second case?
$endgroup$
– Huy Tran Van
2 hours ago
$begingroup$
@HuyTranVan You misread. I said $1b2b34b5b6b$. There is no $b$ between $3$ and $4$.
$endgroup$
– orlp
1 hour ago
$begingroup$
I wanted to know why $12b3b4b5b6b$ is possible but then $1b2b34b5b6b$ (no b between 3 and 4) is not counted in the second case. According to you when one of the girls stands next to another, the question changed?
$endgroup$
– Huy Tran Van
1 hour ago
add a comment |
$begingroup$
Your first computation is correct.
The latter two computations undercount because they start off by taking one of the girls away. Let's say they always take girl #1 away.
Now if we number the girls, those solutions can contain as an example $1 2 b 3 b 4 b 5 b 6b$. But they can not contain $1b2b34b5b6b$. We've lost the ability to have two girls next to eachother without involving girl #1.
$endgroup$
Your first computation is correct.
The latter two computations undercount because they start off by taking one of the girls away. Let's say they always take girl #1 away.
Now if we number the girls, those solutions can contain as an example $1 2 b 3 b 4 b 5 b 6b$. But they can not contain $1b2b34b5b6b$. We've lost the ability to have two girls next to eachother without involving girl #1.
answered 2 hours ago
orlporlp
7,4211330
7,4211330
$begingroup$
Now, I know the last two undercount somehow but I can't see why '$1b2b3b4b5b6b$' is not possible in the second case?
$endgroup$
– Huy Tran Van
2 hours ago
$begingroup$
@HuyTranVan You misread. I said $1b2b34b5b6b$. There is no $b$ between $3$ and $4$.
$endgroup$
– orlp
1 hour ago
$begingroup$
I wanted to know why $12b3b4b5b6b$ is possible but then $1b2b34b5b6b$ (no b between 3 and 4) is not counted in the second case. According to you when one of the girls stands next to another, the question changed?
$endgroup$
– Huy Tran Van
1 hour ago
add a comment |
$begingroup$
Now, I know the last two undercount somehow but I can't see why '$1b2b3b4b5b6b$' is not possible in the second case?
$endgroup$
– Huy Tran Van
2 hours ago
$begingroup$
@HuyTranVan You misread. I said $1b2b34b5b6b$. There is no $b$ between $3$ and $4$.
$endgroup$
– orlp
1 hour ago
$begingroup$
I wanted to know why $12b3b4b5b6b$ is possible but then $1b2b34b5b6b$ (no b between 3 and 4) is not counted in the second case. According to you when one of the girls stands next to another, the question changed?
$endgroup$
– Huy Tran Van
1 hour ago
$begingroup$
Now, I know the last two undercount somehow but I can't see why '$1b2b3b4b5b6b$' is not possible in the second case?
$endgroup$
– Huy Tran Van
2 hours ago
$begingroup$
Now, I know the last two undercount somehow but I can't see why '$1b2b3b4b5b6b$' is not possible in the second case?
$endgroup$
– Huy Tran Van
2 hours ago
$begingroup$
@HuyTranVan You misread. I said $1b2b34b5b6b$. There is no $b$ between $3$ and $4$.
$endgroup$
– orlp
1 hour ago
$begingroup$
@HuyTranVan You misread. I said $1b2b34b5b6b$. There is no $b$ between $3$ and $4$.
$endgroup$
– orlp
1 hour ago
$begingroup$
I wanted to know why $12b3b4b5b6b$ is possible but then $1b2b34b5b6b$ (no b between 3 and 4) is not counted in the second case. According to you when one of the girls stands next to another, the question changed?
$endgroup$
– Huy Tran Van
1 hour ago
$begingroup$
I wanted to know why $12b3b4b5b6b$ is possible but then $1b2b34b5b6b$ (no b between 3 and 4) is not counted in the second case. According to you when one of the girls stands next to another, the question changed?
$endgroup$
– Huy Tran Van
1 hour ago
add a comment |
$begingroup$
In the last one you're obviously leaving some out, which could be gotten by swapping some of bg combinations in either sum.
In the second, also, you're not counting certain arrangements, which could be gotten by, again, swapping at least some bg combinations.
The right one is the first.
$endgroup$
add a comment |
$begingroup$
In the last one you're obviously leaving some out, which could be gotten by swapping some of bg combinations in either sum.
In the second, also, you're not counting certain arrangements, which could be gotten by, again, swapping at least some bg combinations.
The right one is the first.
$endgroup$
add a comment |
$begingroup$
In the last one you're obviously leaving some out, which could be gotten by swapping some of bg combinations in either sum.
In the second, also, you're not counting certain arrangements, which could be gotten by, again, swapping at least some bg combinations.
The right one is the first.
$endgroup$
In the last one you're obviously leaving some out, which could be gotten by swapping some of bg combinations in either sum.
In the second, also, you're not counting certain arrangements, which could be gotten by, again, swapping at least some bg combinations.
The right one is the first.
edited 2 hours ago
answered 2 hours ago
Chris CusterChris Custer
11.5k3824
11.5k3824
add a comment |
add a comment |
$begingroup$
You are on the right track with thinking that there are 7 possible slots with 5 boys to be arranged into those slots. This is a combination problem with can be treated as a 7 choose 5 or a $7 choose 5$.
A $7 choose 5$ is calculated as
$$
frac{7!}{5!*(7-5)!} = 21
$$
Therefore there are 21 combinations in which the boys could be arranged.
I have also used an excel spreadsheet to show the possible ways that they could be arranged which ends up equaling 21.
Picture of how the boys and girls could be arranged in 21 combinations
New contributor
$endgroup$
$begingroup$
My answer is predicated that this is a combination problem, not a permutation problem. As they are described as boys and girls, they are likely interchangeable and this is a combination. If the question was how many ways can Tom, Dick, Harry, Sam, and Bob be arranged, that would be a different question with a much larger answer.
$endgroup$
– Tucktuckgoose
2 hours ago
add a comment |
$begingroup$
You are on the right track with thinking that there are 7 possible slots with 5 boys to be arranged into those slots. This is a combination problem with can be treated as a 7 choose 5 or a $7 choose 5$.
A $7 choose 5$ is calculated as
$$
frac{7!}{5!*(7-5)!} = 21
$$
Therefore there are 21 combinations in which the boys could be arranged.
I have also used an excel spreadsheet to show the possible ways that they could be arranged which ends up equaling 21.
Picture of how the boys and girls could be arranged in 21 combinations
New contributor
$endgroup$
$begingroup$
My answer is predicated that this is a combination problem, not a permutation problem. As they are described as boys and girls, they are likely interchangeable and this is a combination. If the question was how many ways can Tom, Dick, Harry, Sam, and Bob be arranged, that would be a different question with a much larger answer.
$endgroup$
– Tucktuckgoose
2 hours ago
add a comment |
$begingroup$
You are on the right track with thinking that there are 7 possible slots with 5 boys to be arranged into those slots. This is a combination problem with can be treated as a 7 choose 5 or a $7 choose 5$.
A $7 choose 5$ is calculated as
$$
frac{7!}{5!*(7-5)!} = 21
$$
Therefore there are 21 combinations in which the boys could be arranged.
I have also used an excel spreadsheet to show the possible ways that they could be arranged which ends up equaling 21.
Picture of how the boys and girls could be arranged in 21 combinations
New contributor
$endgroup$
You are on the right track with thinking that there are 7 possible slots with 5 boys to be arranged into those slots. This is a combination problem with can be treated as a 7 choose 5 or a $7 choose 5$.
A $7 choose 5$ is calculated as
$$
frac{7!}{5!*(7-5)!} = 21
$$
Therefore there are 21 combinations in which the boys could be arranged.
I have also used an excel spreadsheet to show the possible ways that they could be arranged which ends up equaling 21.
Picture of how the boys and girls could be arranged in 21 combinations
New contributor
New contributor
answered 2 hours ago
TucktuckgooseTucktuckgoose
11
11
New contributor
New contributor
$begingroup$
My answer is predicated that this is a combination problem, not a permutation problem. As they are described as boys and girls, they are likely interchangeable and this is a combination. If the question was how many ways can Tom, Dick, Harry, Sam, and Bob be arranged, that would be a different question with a much larger answer.
$endgroup$
– Tucktuckgoose
2 hours ago
add a comment |
$begingroup$
My answer is predicated that this is a combination problem, not a permutation problem. As they are described as boys and girls, they are likely interchangeable and this is a combination. If the question was how many ways can Tom, Dick, Harry, Sam, and Bob be arranged, that would be a different question with a much larger answer.
$endgroup$
– Tucktuckgoose
2 hours ago
$begingroup$
My answer is predicated that this is a combination problem, not a permutation problem. As they are described as boys and girls, they are likely interchangeable and this is a combination. If the question was how many ways can Tom, Dick, Harry, Sam, and Bob be arranged, that would be a different question with a much larger answer.
$endgroup$
– Tucktuckgoose
2 hours ago
$begingroup$
My answer is predicated that this is a combination problem, not a permutation problem. As they are described as boys and girls, they are likely interchangeable and this is a combination. If the question was how many ways can Tom, Dick, Harry, Sam, and Bob be arranged, that would be a different question with a much larger answer.
$endgroup$
– Tucktuckgoose
2 hours ago
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%2f3084008%2fproblem-where-no-boy-stands-next-to-each-others%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