Divide and Conquer

Consider 2016 straight lines in a plane such that no two of these are parallel to each other. What is the maximum number of non-overlapping regions these lines can divide the plane?


The answer is 2033137.

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.

2 solutions

James Pohadi
Jul 3, 2016

Let the maximum region of n n line in a plane be R n R_{n} .

By doing observation, it is easy to see that \color{#D61F06}{ ^*} if we add a new line to a plane consist of n 1 n-1 line, we will have maximum n n new region \color{#D61F06}{ ^*} .

R n = R n 1 + n \color{#D61F06}{ ^*} R_{n}=R_{n-1}+n \color{#D61F06}{ ^*}

We know that R 0 = 1 R_{0}=1 . Then we can construct formula of R n R_{n} .

R n = 1 + 1 + 2 + 3 + . . . + n R n = 1 + ( 1 + 2 + 3 + . . . + n ) R n = 1 + n ( n + 1 ) 2 R n = 2 + n ( n + 1 ) 2 R n = n 2 + n + 2 2 \begin{aligned} R_{n} & =1+1+2+3+...+n \\ R_{n} & =1+(1+2+3+...+n) \\ R_{n} & =1+\frac{n(n+1)}{2} \\ R_{n} & =\frac{ 2+n(n+1)}{2} \\ R_{n} & =\frac{n^{2}+n+2}{2} \end{aligned}

Putting n = 2016 n=2016

R 2016 = 201 6 2 + 2016 + 2 2 R 2016 = 4064256 + 2016 + 2 2 R 2016 = 4066274 2 R 2016 = 2033137 \begin{aligned} \implies R_{2016} & =\frac{2016^{2}+2016+2}{2} \\ R_{2016} & =\frac{4064256+2016+2}{2} \\ R_{2016} & =\frac{4066274}{2} \\ R_{2016} & =\boxed{2033137} \end{aligned}

Note: in order to get maximum number of region, no more than two line are allowed to intersect in a point.

Ali Qureshi
Jul 2, 2016
Number of lines Minimum number of regions Maximum number of regions
2 4 4+0 =4
3 6 6+1 =7
4 8 8+3 =11
5 10 10+6=16
. . .
. . .
n n 2 n 2n 2 n 2n + k n k_{n}

( We get minimum number of regions when the lines are concurrent )

If we observe the pattern then this k is recursively defined by

k n = k n 1 + ( n 2 ) k_{n} = k_{n-1} + (n-2) with k 2 = 0 k_{2} = 0

Evaluating the above expression we have the following formula for k n k_{n}

k n = ( n 2 ) × ( n 1 ) 2 k_{n}= \frac{(n-2) \times (n-1) }{2}

Thus the maximum number of regions in which the plane is divided is

2 n + k n 2n + k_{n}

2 n + ( n 2 ) × ( n 1 ) 2 2n + \frac{(n-2) \times (n-1) }{2}

n 2 + n + 2 2 \frac{n^{2}+n+2}{2}

So, with n=2016 we have 2033137 non-overlapping regions.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...