Lines Not Lining Up

Geometry Level 5

What is the smallest number of straight lines capable of generating 4,096,769,040 segments?

Note: For a segment to count, it must be a part of one of the lines and each of its end points must also be on one of the other lines.


The answer is 2017.

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.

1 solution

Marta Reece
Jan 31, 2017

For the number of lines needed to be as low as possible, each of them has to intersect as many lines as it can. If there are n n lines, each can intersect at most n 1 n-1 other lines. This generates n 2 n-2 segments between adjacent intersection points on every line. There will therefore be n 3 n-3 segments which each skip one of the intersections, n 4 n-4 of those which skip two intersections, and so on down to finally only one segment which connects the two most distant intersections. So to count all the segments on a given line, we need to add numbers from 1 1 to n 2 n-2 . This is accomplished using the formula: ( n 1 ) × ( n 2 ) / 2 (n-1)\times(n-2)/2 . Since there are n n lines in all, the number of segments for all of them is given by n × ( n 1 ) × ( n 2 ) / 2 n\times(n-1)\times(n-2)/2 . This needs to be equal to 4,096,769,040. So our equation is:

n × ( n 1 ) × ( n 2 ) = 8 , 193 , 538 , 080 n\times(n-1)\times(n-2)=8,193,538,080

This is a third degree equation, and we could try to solve it as such, but the three numbers ( n , n 1 n, n-1 , and n 2 n-2 ) are very close to each other compared to their size, so they are all close to the third root of the right side, which is equal to 2015.99983 2016 2015.99983\approx 2016 So our guess would be that the middle of the three numbers is indeed 2016, making the number of lines n = 2017 n=2017 . We can easily verify this guess by using 2017 in the equation above.

n n lines each of which will have n 1 n-1 points,

a line can be chosen in n n ways

we can draw segment by choosing any two points on a line i.e., in ( n 2 ) \dbinom {n}{2} ways

Anirudh Sreekumar - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...