Let be a positive integer. On each side of a square points are chosen. (No point is at a vertex of the square.)
(a) How many segments are there whose endpoints are two of the above points and such that no segment lies along a side of the square?
(b) What is the maximal possible number of intersection points of the segment from part (a)?
Give proof.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
@Julian Poon As I said, do it in a similar way for a). Of course, that assumes that you did a) in a "smart" way.
So, my way of doing a is: There are (24n) segments, of which 4×(2n) of them lie on a side of the square. Hence, there are 24n(4n−1)−4×2n(n−1)=6n2 pairs of such lines.
Use a similar approach to do b:
Hint: Given any 4 points, there is at most 1 way to get an intersection point.
Hint: How many sets of 4 points are there, which involve 3 or more points on the same line segment?
Hint: If in a set of 4 points, no 3 of them lie on the same line segment, then there is exactly 1 way to get an intersection point, and this doesn't involve a line segment on the side of the square.
Hence, the answer is
(44n)−5×(3n)×3n−4×(4n)=21n2(17n2−18n+3).
Log in to reply
Oh... that's a great approach!
I'm getting 6n2 for a) and as for b), I'm getting overly complicated formulas which are hopefully correct.
Log in to reply
Don't over complicate b. Do it in a similar way to a.
Note that b) is maximized when any two segments that don't share an endpoint intersect.
UPDATE: I'm so done with this question. Through systematic counting, the solution for b) is
(9n2k=1∑n−1k)−(k=1∑n−1j=1∑3nkj)+(nk=1∑nj=1∑2n(j−1+3(k−1)))−(k=1∑nj=1∑2n(k−1)j)+(nk=1∑nj=1∑n(2j+(3k−5)))−(k=1∑nj=1∑n(k−1)j)
Goodbye and good luck.
I can elaborate on how I counted it if you want, but there are many other ways to do so.
Log in to reply
Elaborate please. Your formula might be able to be simplified via peer help.
Log in to reply
21n2(17n2−18n+3)
Upon simplification, the answer becomesTo get the answer, I first split the question up into 3 different groups, group A, B and C. For each group, the numbers represent the order in which I would draw the lines. I would draw the lines in Group A first, then group B and finally group C. When drawing these lines, I would count the lines it would intersect.
So for example, the first point I am going to entertain would be Point 1 in group A. After drawing all the lines that are connected to that point, I would get 0 intersections.
Next, I would entertain the second point in group A. After drawing all the lines connecting to that point, I would get <Some function in terms of n> intersections.
And so on.
After doing this for Group A, B and C, I get that the number of intersections for
Group A: (9n2∑k=1n−1k)−(∑k=1n−1∑j=13nkj)
Group B: (n∑k=1n∑j=12n(j−1+3(k−1)))−(∑k=1n∑j=12n(k−1)j)
And Group C: (n∑k=1n∑j=1n(2j+(3k−5)))−(∑k=1n∑j=1n(k−1)j)
I have "verified" the formula for accuracy by drawing out and manually counting the number of intersections for case n=1,2,3. The numbers matched.