Permutation on a set from ${1, 2, ldots, 2n}$
$begingroup$
For any positive integer $n$, a permutation $(x_1,x_2,ldots,x_{2n})$ of the set ${1,2,ldots,2n}$ satisfies the property $A$ iff for at least one $i$ in ${1,2,ldots,2n-1}$ , $|x_i - x_{i+1}|=n$.
I.e. If the difference between adjacent numbers in a permutation is equal to $n$, then this permutation has the property in the $i^text{th}$ position.
Example: For $n = 3$,
$(1,5,2,3,4,6)$ has the property (because $x_2=5$ and $x_3 = 2$ are next to each other and
$|x_2 - x_3| = |5 - 2| = 3$); similarly $(6,3,1,2,4,5)$ has the property. However, $(1,2,3,4,5,6)$ does not have the property.
I need to prove the following statement:
There are at least as many permutations with the property than permutations without it.
Can someone please point me towards how to go about this?
I tried this for small cases and can see how it is true.
I had the idea to first define an algorithm which generates all the possible permutations. Then show that the transposition from one permutation to another produces elements which are adjacent to each other and the difference between them is $n$.
The question suggests to show a bijection between the permutations that do not have this property to the permutations that do have this property, for exactly one $igeq 2$.
combinatorics permutations
$endgroup$
add a comment |
$begingroup$
For any positive integer $n$, a permutation $(x_1,x_2,ldots,x_{2n})$ of the set ${1,2,ldots,2n}$ satisfies the property $A$ iff for at least one $i$ in ${1,2,ldots,2n-1}$ , $|x_i - x_{i+1}|=n$.
I.e. If the difference between adjacent numbers in a permutation is equal to $n$, then this permutation has the property in the $i^text{th}$ position.
Example: For $n = 3$,
$(1,5,2,3,4,6)$ has the property (because $x_2=5$ and $x_3 = 2$ are next to each other and
$|x_2 - x_3| = |5 - 2| = 3$); similarly $(6,3,1,2,4,5)$ has the property. However, $(1,2,3,4,5,6)$ does not have the property.
I need to prove the following statement:
There are at least as many permutations with the property than permutations without it.
Can someone please point me towards how to go about this?
I tried this for small cases and can see how it is true.
I had the idea to first define an algorithm which generates all the possible permutations. Then show that the transposition from one permutation to another produces elements which are adjacent to each other and the difference between them is $n$.
The question suggests to show a bijection between the permutations that do not have this property to the permutations that do have this property, for exactly one $igeq 2$.
combinatorics permutations
$endgroup$
4
$begingroup$
Please don't call it "property $A_i$" - that sounds as if it would depend on $i$.
$endgroup$
– darij grinberg
Sep 29 '11 at 12:06
$begingroup$
@darji: good point, I will edit the question.
$endgroup$
– user952949
Sep 29 '11 at 12:16
add a comment |
$begingroup$
For any positive integer $n$, a permutation $(x_1,x_2,ldots,x_{2n})$ of the set ${1,2,ldots,2n}$ satisfies the property $A$ iff for at least one $i$ in ${1,2,ldots,2n-1}$ , $|x_i - x_{i+1}|=n$.
I.e. If the difference between adjacent numbers in a permutation is equal to $n$, then this permutation has the property in the $i^text{th}$ position.
Example: For $n = 3$,
$(1,5,2,3,4,6)$ has the property (because $x_2=5$ and $x_3 = 2$ are next to each other and
$|x_2 - x_3| = |5 - 2| = 3$); similarly $(6,3,1,2,4,5)$ has the property. However, $(1,2,3,4,5,6)$ does not have the property.
I need to prove the following statement:
There are at least as many permutations with the property than permutations without it.
Can someone please point me towards how to go about this?
I tried this for small cases and can see how it is true.
I had the idea to first define an algorithm which generates all the possible permutations. Then show that the transposition from one permutation to another produces elements which are adjacent to each other and the difference between them is $n$.
The question suggests to show a bijection between the permutations that do not have this property to the permutations that do have this property, for exactly one $igeq 2$.
combinatorics permutations
$endgroup$
For any positive integer $n$, a permutation $(x_1,x_2,ldots,x_{2n})$ of the set ${1,2,ldots,2n}$ satisfies the property $A$ iff for at least one $i$ in ${1,2,ldots,2n-1}$ , $|x_i - x_{i+1}|=n$.
I.e. If the difference between adjacent numbers in a permutation is equal to $n$, then this permutation has the property in the $i^text{th}$ position.
Example: For $n = 3$,
$(1,5,2,3,4,6)$ has the property (because $x_2=5$ and $x_3 = 2$ are next to each other and
$|x_2 - x_3| = |5 - 2| = 3$); similarly $(6,3,1,2,4,5)$ has the property. However, $(1,2,3,4,5,6)$ does not have the property.
I need to prove the following statement:
There are at least as many permutations with the property than permutations without it.
Can someone please point me towards how to go about this?
I tried this for small cases and can see how it is true.
I had the idea to first define an algorithm which generates all the possible permutations. Then show that the transposition from one permutation to another produces elements which are adjacent to each other and the difference between them is $n$.
The question suggests to show a bijection between the permutations that do not have this property to the permutations that do have this property, for exactly one $igeq 2$.
combinatorics permutations
combinatorics permutations
edited Sep 29 '11 at 14:00
Michael Hardy
1
1
asked Sep 29 '11 at 11:44
user952949user952949
1579
1579
4
$begingroup$
Please don't call it "property $A_i$" - that sounds as if it would depend on $i$.
$endgroup$
– darij grinberg
Sep 29 '11 at 12:06
$begingroup$
@darji: good point, I will edit the question.
$endgroup$
– user952949
Sep 29 '11 at 12:16
add a comment |
4
$begingroup$
Please don't call it "property $A_i$" - that sounds as if it would depend on $i$.
$endgroup$
– darij grinberg
Sep 29 '11 at 12:06
$begingroup$
@darji: good point, I will edit the question.
$endgroup$
– user952949
Sep 29 '11 at 12:16
4
4
$begingroup$
Please don't call it "property $A_i$" - that sounds as if it would depend on $i$.
$endgroup$
– darij grinberg
Sep 29 '11 at 12:06
$begingroup$
Please don't call it "property $A_i$" - that sounds as if it would depend on $i$.
$endgroup$
– darij grinberg
Sep 29 '11 at 12:06
$begingroup$
@darji: good point, I will edit the question.
$endgroup$
– user952949
Sep 29 '11 at 12:16
$begingroup$
@darji: good point, I will edit the question.
$endgroup$
– user952949
Sep 29 '11 at 12:16
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
This is IMO 1989 problem 6.
https://web.archive.org/web/20130728125728/http://www.cs.cornell.edu/~asdas/imo/imo/isoln/isoln896.html [Note that the "this is an alternating sequence of monotonically decreasing terms" argument requires a rather subtle re-interpretation of the sum. But alternatively, the conclusion $left|Aright| geq sum_k left|A_kright| - sum_{k<l} left|A_k cap A_lright|$ can be obtained from the Bonferroni inequalities for $k=2$.]
http://www.artofproblemsolving.com/Forum/viewtopic.php?p=372274
http://www.artofproblemsolving.com/Forum/viewtopic.php?f=177&t=15576 post #3 (the djvu file in that post).
Not all of the solutions above are correct, but some are. Note that the third link is to the official solution, which is somewhat more complicated than the solutions we have nowadays, but probably the most natural approach to the question.
$endgroup$
add a comment |
$begingroup$
Here’s an argument using the hint. The initial version was flawed, as darij pointed out last night, so I deleted it and went to bed. On waking up I realized how to repair it; I’ve kept both to show how one might get from the flawed version to one that works.
Suppose that the permutation $(x_1,x_2,dots,x_{2n})$ does not have the property. Consider the number $x_2$; exactly one of the numbers $x_2+n$ and $x_2-n$ is in the set ${1,2,dots,2n}$ (why?), and that number isn’t $x_1$ or $x_3$ (why?), so it’s $x_k$ for some $k>3$. Interchange $x_3$ and $x_k$.
Does the resulting permutation satisfy $A$?
If $(x_1,x_2,dots,x_{2n})$ and $(y_1,y_2,dots,y_{2n})$ are different permutations of ${1,2,dots,2n}$ not having the property, and we perform this operation on both of them, do we always get different permutations?
Unfortunately, as darij pointed out, the answer to the second question is no, because after the interchange we can’t tell where the new third element came from. For example, $(1,2,3,4,5,6)$, $(1,2,3,5,4,6)$, and $(1,2,3,4,6,5)$ all produce $(1,2,5,3,4,6)$.
The trick is to reverse the idea: instead of creating the adjacent pair differing by $n$ in a known place, create it by moving something from a known place. Specifically, there is a unique $k>2$ such that $x_k$ is either $x_1+n$ or $x_1-n$ (why?); move $x_1$ to the position immediately after $x_k$. The adjacent pair $(x_k,x_1)$ ensures that the resulting permutation has the property, and the operation is reversible: if a permutation has exactly one adjacent pair $(x_i,x_{i+1})$ witnessing the property, where $i>1$, it can only have come from the pair obtained by moving $x_{i+1}$ to the beginning of the permutation to get $$(x_{i+1},x_2,dots,x_i,x_{i+2},dots,x_{2n}).$$
$endgroup$
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%2f68496%2fpermutation-on-a-set-from-1-2-ldots-2n%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
$begingroup$
This is IMO 1989 problem 6.
https://web.archive.org/web/20130728125728/http://www.cs.cornell.edu/~asdas/imo/imo/isoln/isoln896.html [Note that the "this is an alternating sequence of monotonically decreasing terms" argument requires a rather subtle re-interpretation of the sum. But alternatively, the conclusion $left|Aright| geq sum_k left|A_kright| - sum_{k<l} left|A_k cap A_lright|$ can be obtained from the Bonferroni inequalities for $k=2$.]
http://www.artofproblemsolving.com/Forum/viewtopic.php?p=372274
http://www.artofproblemsolving.com/Forum/viewtopic.php?f=177&t=15576 post #3 (the djvu file in that post).
Not all of the solutions above are correct, but some are. Note that the third link is to the official solution, which is somewhat more complicated than the solutions we have nowadays, but probably the most natural approach to the question.
$endgroup$
add a comment |
$begingroup$
This is IMO 1989 problem 6.
https://web.archive.org/web/20130728125728/http://www.cs.cornell.edu/~asdas/imo/imo/isoln/isoln896.html [Note that the "this is an alternating sequence of monotonically decreasing terms" argument requires a rather subtle re-interpretation of the sum. But alternatively, the conclusion $left|Aright| geq sum_k left|A_kright| - sum_{k<l} left|A_k cap A_lright|$ can be obtained from the Bonferroni inequalities for $k=2$.]
http://www.artofproblemsolving.com/Forum/viewtopic.php?p=372274
http://www.artofproblemsolving.com/Forum/viewtopic.php?f=177&t=15576 post #3 (the djvu file in that post).
Not all of the solutions above are correct, but some are. Note that the third link is to the official solution, which is somewhat more complicated than the solutions we have nowadays, but probably the most natural approach to the question.
$endgroup$
add a comment |
$begingroup$
This is IMO 1989 problem 6.
https://web.archive.org/web/20130728125728/http://www.cs.cornell.edu/~asdas/imo/imo/isoln/isoln896.html [Note that the "this is an alternating sequence of monotonically decreasing terms" argument requires a rather subtle re-interpretation of the sum. But alternatively, the conclusion $left|Aright| geq sum_k left|A_kright| - sum_{k<l} left|A_k cap A_lright|$ can be obtained from the Bonferroni inequalities for $k=2$.]
http://www.artofproblemsolving.com/Forum/viewtopic.php?p=372274
http://www.artofproblemsolving.com/Forum/viewtopic.php?f=177&t=15576 post #3 (the djvu file in that post).
Not all of the solutions above are correct, but some are. Note that the third link is to the official solution, which is somewhat more complicated than the solutions we have nowadays, but probably the most natural approach to the question.
$endgroup$
This is IMO 1989 problem 6.
https://web.archive.org/web/20130728125728/http://www.cs.cornell.edu/~asdas/imo/imo/isoln/isoln896.html [Note that the "this is an alternating sequence of monotonically decreasing terms" argument requires a rather subtle re-interpretation of the sum. But alternatively, the conclusion $left|Aright| geq sum_k left|A_kright| - sum_{k<l} left|A_k cap A_lright|$ can be obtained from the Bonferroni inequalities for $k=2$.]
http://www.artofproblemsolving.com/Forum/viewtopic.php?p=372274
http://www.artofproblemsolving.com/Forum/viewtopic.php?f=177&t=15576 post #3 (the djvu file in that post).
Not all of the solutions above are correct, but some are. Note that the third link is to the official solution, which is somewhat more complicated than the solutions we have nowadays, but probably the most natural approach to the question.
edited Dec 15 '18 at 23:00
answered Sep 29 '11 at 12:05
darij grinbergdarij grinberg
11.1k33167
11.1k33167
add a comment |
add a comment |
$begingroup$
Here’s an argument using the hint. The initial version was flawed, as darij pointed out last night, so I deleted it and went to bed. On waking up I realized how to repair it; I’ve kept both to show how one might get from the flawed version to one that works.
Suppose that the permutation $(x_1,x_2,dots,x_{2n})$ does not have the property. Consider the number $x_2$; exactly one of the numbers $x_2+n$ and $x_2-n$ is in the set ${1,2,dots,2n}$ (why?), and that number isn’t $x_1$ or $x_3$ (why?), so it’s $x_k$ for some $k>3$. Interchange $x_3$ and $x_k$.
Does the resulting permutation satisfy $A$?
If $(x_1,x_2,dots,x_{2n})$ and $(y_1,y_2,dots,y_{2n})$ are different permutations of ${1,2,dots,2n}$ not having the property, and we perform this operation on both of them, do we always get different permutations?
Unfortunately, as darij pointed out, the answer to the second question is no, because after the interchange we can’t tell where the new third element came from. For example, $(1,2,3,4,5,6)$, $(1,2,3,5,4,6)$, and $(1,2,3,4,6,5)$ all produce $(1,2,5,3,4,6)$.
The trick is to reverse the idea: instead of creating the adjacent pair differing by $n$ in a known place, create it by moving something from a known place. Specifically, there is a unique $k>2$ such that $x_k$ is either $x_1+n$ or $x_1-n$ (why?); move $x_1$ to the position immediately after $x_k$. The adjacent pair $(x_k,x_1)$ ensures that the resulting permutation has the property, and the operation is reversible: if a permutation has exactly one adjacent pair $(x_i,x_{i+1})$ witnessing the property, where $i>1$, it can only have come from the pair obtained by moving $x_{i+1}$ to the beginning of the permutation to get $$(x_{i+1},x_2,dots,x_i,x_{i+2},dots,x_{2n}).$$
$endgroup$
add a comment |
$begingroup$
Here’s an argument using the hint. The initial version was flawed, as darij pointed out last night, so I deleted it and went to bed. On waking up I realized how to repair it; I’ve kept both to show how one might get from the flawed version to one that works.
Suppose that the permutation $(x_1,x_2,dots,x_{2n})$ does not have the property. Consider the number $x_2$; exactly one of the numbers $x_2+n$ and $x_2-n$ is in the set ${1,2,dots,2n}$ (why?), and that number isn’t $x_1$ or $x_3$ (why?), so it’s $x_k$ for some $k>3$. Interchange $x_3$ and $x_k$.
Does the resulting permutation satisfy $A$?
If $(x_1,x_2,dots,x_{2n})$ and $(y_1,y_2,dots,y_{2n})$ are different permutations of ${1,2,dots,2n}$ not having the property, and we perform this operation on both of them, do we always get different permutations?
Unfortunately, as darij pointed out, the answer to the second question is no, because after the interchange we can’t tell where the new third element came from. For example, $(1,2,3,4,5,6)$, $(1,2,3,5,4,6)$, and $(1,2,3,4,6,5)$ all produce $(1,2,5,3,4,6)$.
The trick is to reverse the idea: instead of creating the adjacent pair differing by $n$ in a known place, create it by moving something from a known place. Specifically, there is a unique $k>2$ such that $x_k$ is either $x_1+n$ or $x_1-n$ (why?); move $x_1$ to the position immediately after $x_k$. The adjacent pair $(x_k,x_1)$ ensures that the resulting permutation has the property, and the operation is reversible: if a permutation has exactly one adjacent pair $(x_i,x_{i+1})$ witnessing the property, where $i>1$, it can only have come from the pair obtained by moving $x_{i+1}$ to the beginning of the permutation to get $$(x_{i+1},x_2,dots,x_i,x_{i+2},dots,x_{2n}).$$
$endgroup$
add a comment |
$begingroup$
Here’s an argument using the hint. The initial version was flawed, as darij pointed out last night, so I deleted it and went to bed. On waking up I realized how to repair it; I’ve kept both to show how one might get from the flawed version to one that works.
Suppose that the permutation $(x_1,x_2,dots,x_{2n})$ does not have the property. Consider the number $x_2$; exactly one of the numbers $x_2+n$ and $x_2-n$ is in the set ${1,2,dots,2n}$ (why?), and that number isn’t $x_1$ or $x_3$ (why?), so it’s $x_k$ for some $k>3$. Interchange $x_3$ and $x_k$.
Does the resulting permutation satisfy $A$?
If $(x_1,x_2,dots,x_{2n})$ and $(y_1,y_2,dots,y_{2n})$ are different permutations of ${1,2,dots,2n}$ not having the property, and we perform this operation on both of them, do we always get different permutations?
Unfortunately, as darij pointed out, the answer to the second question is no, because after the interchange we can’t tell where the new third element came from. For example, $(1,2,3,4,5,6)$, $(1,2,3,5,4,6)$, and $(1,2,3,4,6,5)$ all produce $(1,2,5,3,4,6)$.
The trick is to reverse the idea: instead of creating the adjacent pair differing by $n$ in a known place, create it by moving something from a known place. Specifically, there is a unique $k>2$ such that $x_k$ is either $x_1+n$ or $x_1-n$ (why?); move $x_1$ to the position immediately after $x_k$. The adjacent pair $(x_k,x_1)$ ensures that the resulting permutation has the property, and the operation is reversible: if a permutation has exactly one adjacent pair $(x_i,x_{i+1})$ witnessing the property, where $i>1$, it can only have come from the pair obtained by moving $x_{i+1}$ to the beginning of the permutation to get $$(x_{i+1},x_2,dots,x_i,x_{i+2},dots,x_{2n}).$$
$endgroup$
Here’s an argument using the hint. The initial version was flawed, as darij pointed out last night, so I deleted it and went to bed. On waking up I realized how to repair it; I’ve kept both to show how one might get from the flawed version to one that works.
Suppose that the permutation $(x_1,x_2,dots,x_{2n})$ does not have the property. Consider the number $x_2$; exactly one of the numbers $x_2+n$ and $x_2-n$ is in the set ${1,2,dots,2n}$ (why?), and that number isn’t $x_1$ or $x_3$ (why?), so it’s $x_k$ for some $k>3$. Interchange $x_3$ and $x_k$.
Does the resulting permutation satisfy $A$?
If $(x_1,x_2,dots,x_{2n})$ and $(y_1,y_2,dots,y_{2n})$ are different permutations of ${1,2,dots,2n}$ not having the property, and we perform this operation on both of them, do we always get different permutations?
Unfortunately, as darij pointed out, the answer to the second question is no, because after the interchange we can’t tell where the new third element came from. For example, $(1,2,3,4,5,6)$, $(1,2,3,5,4,6)$, and $(1,2,3,4,6,5)$ all produce $(1,2,5,3,4,6)$.
The trick is to reverse the idea: instead of creating the adjacent pair differing by $n$ in a known place, create it by moving something from a known place. Specifically, there is a unique $k>2$ such that $x_k$ is either $x_1+n$ or $x_1-n$ (why?); move $x_1$ to the position immediately after $x_k$. The adjacent pair $(x_k,x_1)$ ensures that the resulting permutation has the property, and the operation is reversible: if a permutation has exactly one adjacent pair $(x_i,x_{i+1})$ witnessing the property, where $i>1$, it can only have come from the pair obtained by moving $x_{i+1}$ to the beginning of the permutation to get $$(x_{i+1},x_2,dots,x_i,x_{i+2},dots,x_{2n}).$$
edited Sep 29 '11 at 18:46
answered Sep 29 '11 at 12:05
Brian M. ScottBrian M. Scott
459k38513915
459k38513915
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%2f68496%2fpermutation-on-a-set-from-1-2-ldots-2n%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
4
$begingroup$
Please don't call it "property $A_i$" - that sounds as if it would depend on $i$.
$endgroup$
– darij grinberg
Sep 29 '11 at 12:06
$begingroup$
@darji: good point, I will edit the question.
$endgroup$
– user952949
Sep 29 '11 at 12:16