Number of ways to arrange the letters BANANAS
I was in class, and the teacher told us, that the number of ways to re-arrange the letters in BANANAS is $frac{7!}{2!3!)}$. I understand where the $2, 3$ and $7$ are coming from (the number of $N$'s, the number of $A$'s, and the total number of letters respectively), and why we are using factorials (the number of ways to arrange $n$ things is $n!$), but I still feel like I am missing something crucial.
I suppose, why is it that we are dividing by $2!$ and $3!$?
Why is it that $2!$ and $3!$ are being multiplied together?
combinatorics permutations
add a comment |
I was in class, and the teacher told us, that the number of ways to re-arrange the letters in BANANAS is $frac{7!}{2!3!)}$. I understand where the $2, 3$ and $7$ are coming from (the number of $N$'s, the number of $A$'s, and the total number of letters respectively), and why we are using factorials (the number of ways to arrange $n$ things is $n!$), but I still feel like I am missing something crucial.
I suppose, why is it that we are dividing by $2!$ and $3!$?
Why is it that $2!$ and $3!$ are being multiplied together?
combinatorics permutations
We are dividing by 2! and 3! simply because all 3 A's are alike letters and 2 N's are alike. They can be shuffled in 3! and 2! ways respectively.
– Love Invariants
Dec 5 '18 at 16:24
1
Try with a smaller case like $ANANA$. Write down all the arrangements. Their number should be $5!/2!/3!=10$
– Robert Z
Dec 5 '18 at 16:25
add a comment |
I was in class, and the teacher told us, that the number of ways to re-arrange the letters in BANANAS is $frac{7!}{2!3!)}$. I understand where the $2, 3$ and $7$ are coming from (the number of $N$'s, the number of $A$'s, and the total number of letters respectively), and why we are using factorials (the number of ways to arrange $n$ things is $n!$), but I still feel like I am missing something crucial.
I suppose, why is it that we are dividing by $2!$ and $3!$?
Why is it that $2!$ and $3!$ are being multiplied together?
combinatorics permutations
I was in class, and the teacher told us, that the number of ways to re-arrange the letters in BANANAS is $frac{7!}{2!3!)}$. I understand where the $2, 3$ and $7$ are coming from (the number of $N$'s, the number of $A$'s, and the total number of letters respectively), and why we are using factorials (the number of ways to arrange $n$ things is $n!$), but I still feel like I am missing something crucial.
I suppose, why is it that we are dividing by $2!$ and $3!$?
Why is it that $2!$ and $3!$ are being multiplied together?
combinatorics permutations
combinatorics permutations
edited Dec 5 '18 at 16:57
user3482749
3,196414
3,196414
asked Dec 5 '18 at 16:20
nessness
375
375
We are dividing by 2! and 3! simply because all 3 A's are alike letters and 2 N's are alike. They can be shuffled in 3! and 2! ways respectively.
– Love Invariants
Dec 5 '18 at 16:24
1
Try with a smaller case like $ANANA$. Write down all the arrangements. Their number should be $5!/2!/3!=10$
– Robert Z
Dec 5 '18 at 16:25
add a comment |
We are dividing by 2! and 3! simply because all 3 A's are alike letters and 2 N's are alike. They can be shuffled in 3! and 2! ways respectively.
– Love Invariants
Dec 5 '18 at 16:24
1
Try with a smaller case like $ANANA$. Write down all the arrangements. Their number should be $5!/2!/3!=10$
– Robert Z
Dec 5 '18 at 16:25
We are dividing by 2! and 3! simply because all 3 A's are alike letters and 2 N's are alike. They can be shuffled in 3! and 2! ways respectively.
– Love Invariants
Dec 5 '18 at 16:24
We are dividing by 2! and 3! simply because all 3 A's are alike letters and 2 N's are alike. They can be shuffled in 3! and 2! ways respectively.
– Love Invariants
Dec 5 '18 at 16:24
1
1
Try with a smaller case like $ANANA$. Write down all the arrangements. Their number should be $5!/2!/3!=10$
– Robert Z
Dec 5 '18 at 16:25
Try with a smaller case like $ANANA$. Write down all the arrangements. Their number should be $5!/2!/3!=10$
– Robert Z
Dec 5 '18 at 16:25
add a comment |
2 Answers
2
active
oldest
votes
Assume that all the letter are different. For example, imagine that each $A$ and $N$ is colored differently.
Then the number of arrangements is $7!$. Imagine that you write down all of them.
Now return all colored letters to black, and note that there are many 'words' that are counted multiple times. Namely, every word is counted $2!3!$ times, exactly the number of ways to rearrange the $A$'s and $N$'s in it.
add a comment |
Consider making the $A$'s nd the $N$'s different by, say, putting a label on them, like so:
$$
BA_1N_1A_2N_2A_3S
$$
Then there truly are $7!$ ways to rearrange this word.
However, once we remove the labels, some of these $7!$ arrangements collapse into the same arrangement. Let's remove the labels on the $N$'s first. In that case, for instance,
$$
BA_1N_1A_2N_2A_3S\
BA_1N_2A_2N_1A_3S
$$
will become the same. In fact, all the $7!$ arrangements group together two by two in pairs which become the same after removing the labels from the $N$'s. The number of distinct words after removing the $N$ labels is therefore $frac{7!}{2}$.
Now let's look at these $frac{7!}{2}$ words, and remove the labels from the $A$'s as well. Again, many different arrangements will collapse into the same arrangement. For instance,
$$
BA_1NA_2NA_3S\
BA_1NA_3NA_2S\
BA_2NA_1NA_3S\
BA_2NA_3NA_1S\
BA_3NA_1NA_2S\
BA_3NA_2NA_1S
$$
will all become the same word after removing the labels. In fact, all the $frac{7!}{2}$ different arrangements will go together in groups of $6$ where all the words in one group become equal after removing the label. There are $frac{7!}{2cdot 6}$ such groups, so that's the number of distinguishable words after removing all the labels from both the $N$'s and the $A$'s.
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%2f3027281%2fnumber-of-ways-to-arrange-the-letters-bananas%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
Assume that all the letter are different. For example, imagine that each $A$ and $N$ is colored differently.
Then the number of arrangements is $7!$. Imagine that you write down all of them.
Now return all colored letters to black, and note that there are many 'words' that are counted multiple times. Namely, every word is counted $2!3!$ times, exactly the number of ways to rearrange the $A$'s and $N$'s in it.
add a comment |
Assume that all the letter are different. For example, imagine that each $A$ and $N$ is colored differently.
Then the number of arrangements is $7!$. Imagine that you write down all of them.
Now return all colored letters to black, and note that there are many 'words' that are counted multiple times. Namely, every word is counted $2!3!$ times, exactly the number of ways to rearrange the $A$'s and $N$'s in it.
add a comment |
Assume that all the letter are different. For example, imagine that each $A$ and $N$ is colored differently.
Then the number of arrangements is $7!$. Imagine that you write down all of them.
Now return all colored letters to black, and note that there are many 'words' that are counted multiple times. Namely, every word is counted $2!3!$ times, exactly the number of ways to rearrange the $A$'s and $N$'s in it.
Assume that all the letter are different. For example, imagine that each $A$ and $N$ is colored differently.
Then the number of arrangements is $7!$. Imagine that you write down all of them.
Now return all colored letters to black, and note that there are many 'words' that are counted multiple times. Namely, every word is counted $2!3!$ times, exactly the number of ways to rearrange the $A$'s and $N$'s in it.
edited Dec 5 '18 at 17:17
AryanSonwatikar
31312
31312
answered Dec 5 '18 at 16:24
ajotatxeajotatxe
53.6k23890
53.6k23890
add a comment |
add a comment |
Consider making the $A$'s nd the $N$'s different by, say, putting a label on them, like so:
$$
BA_1N_1A_2N_2A_3S
$$
Then there truly are $7!$ ways to rearrange this word.
However, once we remove the labels, some of these $7!$ arrangements collapse into the same arrangement. Let's remove the labels on the $N$'s first. In that case, for instance,
$$
BA_1N_1A_2N_2A_3S\
BA_1N_2A_2N_1A_3S
$$
will become the same. In fact, all the $7!$ arrangements group together two by two in pairs which become the same after removing the labels from the $N$'s. The number of distinct words after removing the $N$ labels is therefore $frac{7!}{2}$.
Now let's look at these $frac{7!}{2}$ words, and remove the labels from the $A$'s as well. Again, many different arrangements will collapse into the same arrangement. For instance,
$$
BA_1NA_2NA_3S\
BA_1NA_3NA_2S\
BA_2NA_1NA_3S\
BA_2NA_3NA_1S\
BA_3NA_1NA_2S\
BA_3NA_2NA_1S
$$
will all become the same word after removing the labels. In fact, all the $frac{7!}{2}$ different arrangements will go together in groups of $6$ where all the words in one group become equal after removing the label. There are $frac{7!}{2cdot 6}$ such groups, so that's the number of distinguishable words after removing all the labels from both the $N$'s and the $A$'s.
add a comment |
Consider making the $A$'s nd the $N$'s different by, say, putting a label on them, like so:
$$
BA_1N_1A_2N_2A_3S
$$
Then there truly are $7!$ ways to rearrange this word.
However, once we remove the labels, some of these $7!$ arrangements collapse into the same arrangement. Let's remove the labels on the $N$'s first. In that case, for instance,
$$
BA_1N_1A_2N_2A_3S\
BA_1N_2A_2N_1A_3S
$$
will become the same. In fact, all the $7!$ arrangements group together two by two in pairs which become the same after removing the labels from the $N$'s. The number of distinct words after removing the $N$ labels is therefore $frac{7!}{2}$.
Now let's look at these $frac{7!}{2}$ words, and remove the labels from the $A$'s as well. Again, many different arrangements will collapse into the same arrangement. For instance,
$$
BA_1NA_2NA_3S\
BA_1NA_3NA_2S\
BA_2NA_1NA_3S\
BA_2NA_3NA_1S\
BA_3NA_1NA_2S\
BA_3NA_2NA_1S
$$
will all become the same word after removing the labels. In fact, all the $frac{7!}{2}$ different arrangements will go together in groups of $6$ where all the words in one group become equal after removing the label. There are $frac{7!}{2cdot 6}$ such groups, so that's the number of distinguishable words after removing all the labels from both the $N$'s and the $A$'s.
add a comment |
Consider making the $A$'s nd the $N$'s different by, say, putting a label on them, like so:
$$
BA_1N_1A_2N_2A_3S
$$
Then there truly are $7!$ ways to rearrange this word.
However, once we remove the labels, some of these $7!$ arrangements collapse into the same arrangement. Let's remove the labels on the $N$'s first. In that case, for instance,
$$
BA_1N_1A_2N_2A_3S\
BA_1N_2A_2N_1A_3S
$$
will become the same. In fact, all the $7!$ arrangements group together two by two in pairs which become the same after removing the labels from the $N$'s. The number of distinct words after removing the $N$ labels is therefore $frac{7!}{2}$.
Now let's look at these $frac{7!}{2}$ words, and remove the labels from the $A$'s as well. Again, many different arrangements will collapse into the same arrangement. For instance,
$$
BA_1NA_2NA_3S\
BA_1NA_3NA_2S\
BA_2NA_1NA_3S\
BA_2NA_3NA_1S\
BA_3NA_1NA_2S\
BA_3NA_2NA_1S
$$
will all become the same word after removing the labels. In fact, all the $frac{7!}{2}$ different arrangements will go together in groups of $6$ where all the words in one group become equal after removing the label. There are $frac{7!}{2cdot 6}$ such groups, so that's the number of distinguishable words after removing all the labels from both the $N$'s and the $A$'s.
Consider making the $A$'s nd the $N$'s different by, say, putting a label on them, like so:
$$
BA_1N_1A_2N_2A_3S
$$
Then there truly are $7!$ ways to rearrange this word.
However, once we remove the labels, some of these $7!$ arrangements collapse into the same arrangement. Let's remove the labels on the $N$'s first. In that case, for instance,
$$
BA_1N_1A_2N_2A_3S\
BA_1N_2A_2N_1A_3S
$$
will become the same. In fact, all the $7!$ arrangements group together two by two in pairs which become the same after removing the labels from the $N$'s. The number of distinct words after removing the $N$ labels is therefore $frac{7!}{2}$.
Now let's look at these $frac{7!}{2}$ words, and remove the labels from the $A$'s as well. Again, many different arrangements will collapse into the same arrangement. For instance,
$$
BA_1NA_2NA_3S\
BA_1NA_3NA_2S\
BA_2NA_1NA_3S\
BA_2NA_3NA_1S\
BA_3NA_1NA_2S\
BA_3NA_2NA_1S
$$
will all become the same word after removing the labels. In fact, all the $frac{7!}{2}$ different arrangements will go together in groups of $6$ where all the words in one group become equal after removing the label. There are $frac{7!}{2cdot 6}$ such groups, so that's the number of distinguishable words after removing all the labels from both the $N$'s and the $A$'s.
answered Dec 5 '18 at 16:30
ArthurArthur
111k7107189
111k7107189
add a comment |
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%2f3027281%2fnumber-of-ways-to-arrange-the-letters-bananas%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
We are dividing by 2! and 3! simply because all 3 A's are alike letters and 2 N's are alike. They can be shuffled in 3! and 2! ways respectively.
– Love Invariants
Dec 5 '18 at 16:24
1
Try with a smaller case like $ANANA$. Write down all the arrangements. Their number should be $5!/2!/3!=10$
– Robert Z
Dec 5 '18 at 16:25