What is the maximum number of planes that can be divided into n lines? __ Computational geometry

Source: Internet
Author: User


N lines, 22 intersect, the intersection points are different, then the number of intersections is a combination of 2 number of N number, at the same time, only in this case (22 intersection, also the intersection point is different), the number of split planes, the number is: 2 + (N-1) (n+2)/2. It doesn't make sense to ask for the least number of planes, because the least number of planes is n+1, that is, when the N line 22 is parallel, the split plane is the least.

Example:

1 line split plane number is up to 2; a1 = 2

2 Line split plane number of up to 4, 1 straight lines when the number of split +2 a2 = A1 + 2

3 Line split plane number of up to 7, 2 straight lines when the number of split +3 a3 = a2 + 3 = a1 + 2 + 3

4 line split plane number of up to 11, 3 straight lines when the number of split +4 A4 = a3 + 4 = a1 + 2 + 3 + 4

5 Line split plane number of up to 16, 4 straight line when the split number +5 A5 = a4 + 5 = a1 + 2 + 3 + 4 + 5

6 line split plane number of up to 22, 5 straight line when the split number +6 A6 = a5 + 6 = a1 + 2 + 3 + 4 + 5 + 6

So an = a1 + 2 + 3 + ... + N.

You can see that the difference in the number of split planes is incremented by arithmetic progression, so the maximum number of planes divided by the nth line is: 2 + (n-2+1) (2+n)/2.


Or

The maximum number of planes is divided into n lines:

(1) using recursion

f (N) = n + f (n-1), n > 1

f (n) = 2, n = 1

(2) using recursion

n = 1, S1 = 2

n > 1, Sn =2+2+3+...... + N = 1 + n * (n+1)/2



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.