Nonintersecting chords of a circle

We label 10 points on the circumference of a circle as P 1 , P 2 , , P 10 . P_1, P_2, \ldots, P_{10}. Find the number of ways to connect the points in pairs with non-intersecting chords, with no points left unconnected.


Hint: When the number of points is 6, the number of ways is 5, as shown below.


The answer is 42.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Calvin Lin Staff
Feb 19, 2017

By trying small cases, we recognize the pattern of 1 , 2 , 5 , 14 , 42 1, 2, 5, 14, 42 gives us the Catalan numbers.

We will prove that the number of ways to arrange these 2 n 2n points is given by C n = 1 n + 1 ( 2 n n ) C_n = \frac{1}{n+1} { 2n \choose n } , by setting up a bijection with the number of "mountain ranges" which are formed by n n upstrokes and n n downstrokes that all stay above the x x- axis.

Given any set of non-intersecting chords, we will construct a mountain range in the following manner:

Starting from vertex 1, if the vertex is connected to a vertex of larger index, then we move up the mountain range. Otherwise, we will move down the mountain range. Let's see why this gives us " n n upstrokes and n n downstrokes that do not go below the x x- axis".

  • Each chord connects a smaller vertex to a larger index, so we will have n n upstrokes and n n downstrokes.
  • Let's consider the height of the mountain range at vertex k k . Consider the chords that involve vertices 1 to k k (and their partners). Let's ignore the chords that connect 2 vertices from 1 to k k , since they do not affect the height of the mountain range (we move up and then move down). We are left with vertices that can only connect to higher numbers (since there are no lower numbers). This tells us that the mountain has a non-negative height, so we do not go below the x x- axis.
  • This map is injective, since the up-down strokes are determined by the chords.

The correspondence is demonstrated below:

Note: In this map, we did not use the fact that the chords are non-intersecting! In fact, there are intersecting chord diagrams that would give us the same mountain range. For example, if the vertices 1 3 , 2 4 , 5 6 1-3, 2-4, 5-6 were paired up, we will get the same mountain range as depicted in the first pair.

Now, let's find a map from the mountain ranges to the non-intersecting chords. As hinted in the previous paragraph, the potential difficulty is to ensure that the chords do not intersect.

Given any mountain range, we label the points 1 1 to 2 n 2n . If the path goes up, we denote the vertex with a + + . If it goes down, we denote the vertex with a - . We then connect up the lines in the following manner:

Starting from vertex 1, look for a consecutive pair of vertices that are of the form + then -. If so, we connect these up with a chord, and then ignore them. We resume looking for consecutive pairs of vertices that are of the form + then -. Let's see why this leads to n n chords that do not intersect.

  • First, it's obvious that at each step, we can find a pair of vertices and remove them, thus this process will eventually end.
  • Each chord connects a + with a -. Since there are n n + and n n -, thus there are n n chords (when the process ends).
  • The act of "removing vertices" ensures that we do not have chords which will intersect these previously drawn chords.
  • This map is injective due to the sequence of steps that we took.

The correspondence is demonstrated below:

Finally, since we have 2 injective maps, we have established that the sizes of these sets are the same.


I believe that these maps form a bijection, but it's not immediately obvious to me. Any thoughts would be welcome.

Moderator note:

The slight difficulty with this question is to verify the pattern of Catalan numbers . Since they appear in numerous scenarios, it is useful to be able to relate them to other appearances like the restricted staircase walk not going above y = x y =x , or the number of ways to cut a n + 2 n + 2 -gon into n n triangles. Finding direction bijections between these representations leads to a lot of creativity and ingenuity.

The alternative approach as laid out by Christopher is to establish the recurrence relation

C n + 1 = C 0 C n + C 1 C n 1 + + C n C 0 . C_{n+1} = C_0 C_n + C_1 C_{n-1} + \cdots + C_n C_0.

At times, this is much easier to justify, due to natural subcases in the counting.

When you claim that the maps are injective, you've really only proven that the mappings are functions. At least, that's what it seems to me, though any clarification would be helpful.

Jacob Huebner - 3 years, 12 months ago

Log in to reply

A function is injective if no two elements in the domain map to the same element in the image.

In the first case, I stated that "This map is injective, since the up-down strokes are determined by the chords." Admittedly, I skipped a step of explanation here, since I thought this was obvious. Let me elaborate further.

If we have two distinct elements in the domain (connected points on the circumcircle), then there exists a chord in one of them, which isn't in the other. E.g. In the example I gave, one of them has a 1-4 chord while the other doesn't. Now, having an a-b chord implies the following:
1. After a, we're going up.
2. After b, we're going down.
3. The points a and b+1 are on the same level.
Especially with condition 3, we can conclude that the images (mountain ranges) are going to be distinct.


You can do the same with the second case, where I stated that "This map is injective due to the sequence of steps that we took.". Can you figure out how this works?

Calvin Lin Staff - 3 years, 12 months ago
Christopher Boo
Feb 17, 2017

Suppose r n r_n is the number of ways to connect the points in pairs with no intersecting cords, with no point left unconnected.

The main idea of my solution is to find a relation among the r r 's. Pick a random starting point and connect it to the point on its immediate left. The number of ways to connect the rest is r n 2 r_{n-2} . Move the endpoint two points to the left. Since the chords cannot intersect each other, we now have two subproblems: number of ways to connect two points and number of ways to connect the remaining n 4 n-4 points. This idea goes on until the endpoint coincides with the starting point.

To final answer is to sum all the values we found. Mathematically, the recurrence relation is r n = r 0 r n 2 + r 2 r n 4 + + r n r 0 = i = 0 n / 2 r 2 i r n 2 i r_n = r_0 r_{n-2} + r_2 r_{n-4} + \dots + r_n r_0 = \sum_{i=0} ^ {n / 2} r_{2i} r_{n-2i} with the base cases r 0 = 1 r_0 = 1 . What we left to do is to slowly build up r n r_n to find the value of r 10 r_{10} .

Great use of recursion ! I love how you simplified the problem with 10 points into problems with fewer points.

Pranshu Gaba - 4 years, 3 months ago

Your formula looks off - apart from that: Solution is neat :-)

Little Ostrich - 3 years, 9 months ago
Aman Dubey
Feb 14, 2017

It is nth catalan number.

what is Catalan number? '

Ossama Ismail - 4 years, 3 months ago

Log in to reply

The n n th Catalan number is given by C n = 1 2 n + 1 ( 2 n n ) C_n = \frac{1}{2n+1} \binom{2n}{n} . You can read more about it in the Catalan numbers wiki.

Pranshu Gaba - 4 years, 3 months ago

Yes, the answer is the 5th Catalan number. Could you explain why this is true?

Pranshu Gaba - 4 years, 3 months ago

If we assume that the number of ways to connect 10 points in the given way is f(10), then solution can be written as:
f(10) = 2 * f(8) + 2 * f(2) * f(6) + f(4) * f(4), where f(2) =1, f(4) = 2, and f(6)=5 and
f(8) = 2 * f(6) + 2 * f(2) * f(4) = 2x5 + 2x1x2 = 14

abhishek Yadav - 3 years, 3 months ago
Ossama Ismail
Feb 5, 2017

If n \large n = no. of points = 2 m 2m

then the no. of nonintersecting chords = ( n m ) ( m + 1 ) = ( 10 5 ) ( 6 ) = 42 \large \frac{n \choose m} {(m+1)} = \large \frac{10 \choose 5} {(6)} = 42

Could you explain how you obtained that the number of non intersecting chords is ( n m ) m + 1 \frac{\binom{n}{m}}{m+1} ?

Pranshu Gaba - 4 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...