A problem on segments counting
$begingroup$
I have just come across this problem:
Given $2n$ points on a circle. Alex wants to join the points by $n$ segments so that each segment joins two points and there are no two segments intersect with each other. How many ways are there for Alex to do so?
I am preparing for an exam but I have no idea of how to solve this problem. Can you help me?
Any help is much appreciated!
combinatorics
$endgroup$
add a comment |
$begingroup$
I have just come across this problem:
Given $2n$ points on a circle. Alex wants to join the points by $n$ segments so that each segment joins two points and there are no two segments intersect with each other. How many ways are there for Alex to do so?
I am preparing for an exam but I have no idea of how to solve this problem. Can you help me?
Any help is much appreciated!
combinatorics
$endgroup$
add a comment |
$begingroup$
I have just come across this problem:
Given $2n$ points on a circle. Alex wants to join the points by $n$ segments so that each segment joins two points and there are no two segments intersect with each other. How many ways are there for Alex to do so?
I am preparing for an exam but I have no idea of how to solve this problem. Can you help me?
Any help is much appreciated!
combinatorics
$endgroup$
I have just come across this problem:
Given $2n$ points on a circle. Alex wants to join the points by $n$ segments so that each segment joins two points and there are no two segments intersect with each other. How many ways are there for Alex to do so?
I am preparing for an exam but I have no idea of how to solve this problem. Can you help me?
Any help is much appreciated!
combinatorics
combinatorics
asked Jan 17 at 7:33
JouleVJouleV
1396
1396
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Let $A_n$ be this number. Observe that for a given $n$, and for a given fixed given point, the only points to which you can join are at even distance of this point, otherwise the amount of point in between is not even and there is a point you cannot link. Linking these two points cuts the circle in two sub part with even number of points that needs to be linked with no intersection. Hence you get that
begin{align*}
A_n = sum_{k=0}^{n-1} A_k A_{n-1-k}
end{align*}
Now to solve this recursion you can use the generating function of $A_n$ :
begin{align*}
S(x)&=sum_{n=0}^{infty} A_n x^n\
&=1+sum_{n=1}^{infty} sum_{k=0}^{n-1} A_k A_{n-1-k} x^n\
&=1+xsum_{k=0}^infty A_k x^ksum_{n=k+1}^infty A_{n-1-k} x^{n-k-1}\
&=1+x S^2(x)
end{align*}
This is the generating function of the Catalan number and hence $A_n={2nchoose n}-{2nchoose n+1}$
$endgroup$
add a comment |
$begingroup$
Here are two approaches. No doubt there are many others.
Work out the answer by hand for the first few values of $n$, then look for the sequence at oeis.org.
Find a nice recurrence, using the fact that joining two points divides the problem neatly into two subproblems. I'm not sure I did it right but I get
$$a_{n+1}=sum_{k=0}^na_ka_{n-k}$$
or something like that. Now it looks like a straightforward exercise to find a closed formula for the ordinary generating function
$$y=sum_{n=0}^infty a_nx^n$$
and then work out the coefficients.
P.S. Yeah, that seems to work. From the recurrence, we get
$$frac{y-1}x=y^2$$
or
$$xy^2-y+1=0.$$
By the quadratic formula,
$$y=frac{1-(1-4x)^{frac12}}{2x}.$$
By the binomial theorem,
$$(1-4x)^{frac12}=sum_{n=0}^inftybinom{frac12}n(-4x)^n=1+sum_{n=1}^infty(-1)^nbinom{frac12}n2^{2n}x^n$$
so
$$y=sum_{n=1}^infty(-1)^{n-1}binom{frac12}n2^{2n-1}x^{n-1}=sum_{n=0}^infty(-1)^nbinom{frac12}{n+1}2^{2n+1}x^n,$$
so
$$a_n=(-1)^nbinom{frac12}{n+1}2^{2n+1}$$
which simplifies to
$$a_n=frac{(2n)!}{n!(n+1)!}=frac{binom{2n}n}{n+1}.$$
That looks familiar. It's a Catalan number, isn't it?
$endgroup$
add a comment |
Your Answer
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%2f3076698%2fa-problem-on-segments-counting%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$
Let $A_n$ be this number. Observe that for a given $n$, and for a given fixed given point, the only points to which you can join are at even distance of this point, otherwise the amount of point in between is not even and there is a point you cannot link. Linking these two points cuts the circle in two sub part with even number of points that needs to be linked with no intersection. Hence you get that
begin{align*}
A_n = sum_{k=0}^{n-1} A_k A_{n-1-k}
end{align*}
Now to solve this recursion you can use the generating function of $A_n$ :
begin{align*}
S(x)&=sum_{n=0}^{infty} A_n x^n\
&=1+sum_{n=1}^{infty} sum_{k=0}^{n-1} A_k A_{n-1-k} x^n\
&=1+xsum_{k=0}^infty A_k x^ksum_{n=k+1}^infty A_{n-1-k} x^{n-k-1}\
&=1+x S^2(x)
end{align*}
This is the generating function of the Catalan number and hence $A_n={2nchoose n}-{2nchoose n+1}$
$endgroup$
add a comment |
$begingroup$
Let $A_n$ be this number. Observe that for a given $n$, and for a given fixed given point, the only points to which you can join are at even distance of this point, otherwise the amount of point in between is not even and there is a point you cannot link. Linking these two points cuts the circle in two sub part with even number of points that needs to be linked with no intersection. Hence you get that
begin{align*}
A_n = sum_{k=0}^{n-1} A_k A_{n-1-k}
end{align*}
Now to solve this recursion you can use the generating function of $A_n$ :
begin{align*}
S(x)&=sum_{n=0}^{infty} A_n x^n\
&=1+sum_{n=1}^{infty} sum_{k=0}^{n-1} A_k A_{n-1-k} x^n\
&=1+xsum_{k=0}^infty A_k x^ksum_{n=k+1}^infty A_{n-1-k} x^{n-k-1}\
&=1+x S^2(x)
end{align*}
This is the generating function of the Catalan number and hence $A_n={2nchoose n}-{2nchoose n+1}$
$endgroup$
add a comment |
$begingroup$
Let $A_n$ be this number. Observe that for a given $n$, and for a given fixed given point, the only points to which you can join are at even distance of this point, otherwise the amount of point in between is not even and there is a point you cannot link. Linking these two points cuts the circle in two sub part with even number of points that needs to be linked with no intersection. Hence you get that
begin{align*}
A_n = sum_{k=0}^{n-1} A_k A_{n-1-k}
end{align*}
Now to solve this recursion you can use the generating function of $A_n$ :
begin{align*}
S(x)&=sum_{n=0}^{infty} A_n x^n\
&=1+sum_{n=1}^{infty} sum_{k=0}^{n-1} A_k A_{n-1-k} x^n\
&=1+xsum_{k=0}^infty A_k x^ksum_{n=k+1}^infty A_{n-1-k} x^{n-k-1}\
&=1+x S^2(x)
end{align*}
This is the generating function of the Catalan number and hence $A_n={2nchoose n}-{2nchoose n+1}$
$endgroup$
Let $A_n$ be this number. Observe that for a given $n$, and for a given fixed given point, the only points to which you can join are at even distance of this point, otherwise the amount of point in between is not even and there is a point you cannot link. Linking these two points cuts the circle in two sub part with even number of points that needs to be linked with no intersection. Hence you get that
begin{align*}
A_n = sum_{k=0}^{n-1} A_k A_{n-1-k}
end{align*}
Now to solve this recursion you can use the generating function of $A_n$ :
begin{align*}
S(x)&=sum_{n=0}^{infty} A_n x^n\
&=1+sum_{n=1}^{infty} sum_{k=0}^{n-1} A_k A_{n-1-k} x^n\
&=1+xsum_{k=0}^infty A_k x^ksum_{n=k+1}^infty A_{n-1-k} x^{n-k-1}\
&=1+x S^2(x)
end{align*}
This is the generating function of the Catalan number and hence $A_n={2nchoose n}-{2nchoose n+1}$
edited Jan 17 at 9:02
answered Jan 17 at 8:37
P. QuintonP. Quinton
1,9561214
1,9561214
add a comment |
add a comment |
$begingroup$
Here are two approaches. No doubt there are many others.
Work out the answer by hand for the first few values of $n$, then look for the sequence at oeis.org.
Find a nice recurrence, using the fact that joining two points divides the problem neatly into two subproblems. I'm not sure I did it right but I get
$$a_{n+1}=sum_{k=0}^na_ka_{n-k}$$
or something like that. Now it looks like a straightforward exercise to find a closed formula for the ordinary generating function
$$y=sum_{n=0}^infty a_nx^n$$
and then work out the coefficients.
P.S. Yeah, that seems to work. From the recurrence, we get
$$frac{y-1}x=y^2$$
or
$$xy^2-y+1=0.$$
By the quadratic formula,
$$y=frac{1-(1-4x)^{frac12}}{2x}.$$
By the binomial theorem,
$$(1-4x)^{frac12}=sum_{n=0}^inftybinom{frac12}n(-4x)^n=1+sum_{n=1}^infty(-1)^nbinom{frac12}n2^{2n}x^n$$
so
$$y=sum_{n=1}^infty(-1)^{n-1}binom{frac12}n2^{2n-1}x^{n-1}=sum_{n=0}^infty(-1)^nbinom{frac12}{n+1}2^{2n+1}x^n,$$
so
$$a_n=(-1)^nbinom{frac12}{n+1}2^{2n+1}$$
which simplifies to
$$a_n=frac{(2n)!}{n!(n+1)!}=frac{binom{2n}n}{n+1}.$$
That looks familiar. It's a Catalan number, isn't it?
$endgroup$
add a comment |
$begingroup$
Here are two approaches. No doubt there are many others.
Work out the answer by hand for the first few values of $n$, then look for the sequence at oeis.org.
Find a nice recurrence, using the fact that joining two points divides the problem neatly into two subproblems. I'm not sure I did it right but I get
$$a_{n+1}=sum_{k=0}^na_ka_{n-k}$$
or something like that. Now it looks like a straightforward exercise to find a closed formula for the ordinary generating function
$$y=sum_{n=0}^infty a_nx^n$$
and then work out the coefficients.
P.S. Yeah, that seems to work. From the recurrence, we get
$$frac{y-1}x=y^2$$
or
$$xy^2-y+1=0.$$
By the quadratic formula,
$$y=frac{1-(1-4x)^{frac12}}{2x}.$$
By the binomial theorem,
$$(1-4x)^{frac12}=sum_{n=0}^inftybinom{frac12}n(-4x)^n=1+sum_{n=1}^infty(-1)^nbinom{frac12}n2^{2n}x^n$$
so
$$y=sum_{n=1}^infty(-1)^{n-1}binom{frac12}n2^{2n-1}x^{n-1}=sum_{n=0}^infty(-1)^nbinom{frac12}{n+1}2^{2n+1}x^n,$$
so
$$a_n=(-1)^nbinom{frac12}{n+1}2^{2n+1}$$
which simplifies to
$$a_n=frac{(2n)!}{n!(n+1)!}=frac{binom{2n}n}{n+1}.$$
That looks familiar. It's a Catalan number, isn't it?
$endgroup$
add a comment |
$begingroup$
Here are two approaches. No doubt there are many others.
Work out the answer by hand for the first few values of $n$, then look for the sequence at oeis.org.
Find a nice recurrence, using the fact that joining two points divides the problem neatly into two subproblems. I'm not sure I did it right but I get
$$a_{n+1}=sum_{k=0}^na_ka_{n-k}$$
or something like that. Now it looks like a straightforward exercise to find a closed formula for the ordinary generating function
$$y=sum_{n=0}^infty a_nx^n$$
and then work out the coefficients.
P.S. Yeah, that seems to work. From the recurrence, we get
$$frac{y-1}x=y^2$$
or
$$xy^2-y+1=0.$$
By the quadratic formula,
$$y=frac{1-(1-4x)^{frac12}}{2x}.$$
By the binomial theorem,
$$(1-4x)^{frac12}=sum_{n=0}^inftybinom{frac12}n(-4x)^n=1+sum_{n=1}^infty(-1)^nbinom{frac12}n2^{2n}x^n$$
so
$$y=sum_{n=1}^infty(-1)^{n-1}binom{frac12}n2^{2n-1}x^{n-1}=sum_{n=0}^infty(-1)^nbinom{frac12}{n+1}2^{2n+1}x^n,$$
so
$$a_n=(-1)^nbinom{frac12}{n+1}2^{2n+1}$$
which simplifies to
$$a_n=frac{(2n)!}{n!(n+1)!}=frac{binom{2n}n}{n+1}.$$
That looks familiar. It's a Catalan number, isn't it?
$endgroup$
Here are two approaches. No doubt there are many others.
Work out the answer by hand for the first few values of $n$, then look for the sequence at oeis.org.
Find a nice recurrence, using the fact that joining two points divides the problem neatly into two subproblems. I'm not sure I did it right but I get
$$a_{n+1}=sum_{k=0}^na_ka_{n-k}$$
or something like that. Now it looks like a straightforward exercise to find a closed formula for the ordinary generating function
$$y=sum_{n=0}^infty a_nx^n$$
and then work out the coefficients.
P.S. Yeah, that seems to work. From the recurrence, we get
$$frac{y-1}x=y^2$$
or
$$xy^2-y+1=0.$$
By the quadratic formula,
$$y=frac{1-(1-4x)^{frac12}}{2x}.$$
By the binomial theorem,
$$(1-4x)^{frac12}=sum_{n=0}^inftybinom{frac12}n(-4x)^n=1+sum_{n=1}^infty(-1)^nbinom{frac12}n2^{2n}x^n$$
so
$$y=sum_{n=1}^infty(-1)^{n-1}binom{frac12}n2^{2n-1}x^{n-1}=sum_{n=0}^infty(-1)^nbinom{frac12}{n+1}2^{2n+1}x^n,$$
so
$$a_n=(-1)^nbinom{frac12}{n+1}2^{2n+1}$$
which simplifies to
$$a_n=frac{(2n)!}{n!(n+1)!}=frac{binom{2n}n}{n+1}.$$
That looks familiar. It's a Catalan number, isn't it?
edited Jan 17 at 11:09
answered Jan 17 at 7:53
bofbof
52.6k559121
52.6k559121
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%2f3076698%2fa-problem-on-segments-counting%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