mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2006-06-17, 13:28   #1
Wacky
 
Wacky's Avatar
 
Jun 2003
The Texas Hill Country

32×112 Posts
Default PR 4 # 17

There are n points on a circle. A straight line segment is drawn between each pair of points. How many intersections are there within the circle if no 3 lines are concurrent?
Wacky is offline   Reply With Quote
Old 2006-06-17, 15:23   #2
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2·7·132 Posts
Default

n*(n-1)*(n^2-5n+6)/24

Pick a point - there are n ways to do that.

Consider sequentially the other points - there are n-1 considerations

For the "ith" other point, there are (i-1) intermediate points on one side and (n-i-1) points on the other side of the line. Thus there are (i-1)*(n-i-1) intersections of the line.

Every intersection has been counted 4 times - once for each endpoint of its lines.

Together this is

(n/4) sum From i=0 to (n-1) of (i-1)*(n-i-1)

Which simplifies to the above.


Last fiddled with by wblipp on 2006-06-17 at 15:28
wblipp is offline   Reply With Quote
Old 2006-06-17, 16:22   #3
axn
 
axn's Avatar
 
Jun 2003

32·5·113 Posts
Default

(n^2-5n+6) simplifies to (n-2)*(n-3)
axn is offline   Reply With Quote
Old 2006-06-17, 17:39   #4
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2·7·132 Posts
Default

That exposes a MUCH simpler derivation.

There are (n choose 4) ways to pick 4 points.
The lines through these 4 points have exactly one crossing,
and ever crossing corresponds to exactly one such set.
So the answer is (n choose 4)
wblipp is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 05:18.


Fri Aug 6 05:18:26 UTC 2021 up 13 days, 23:47, 1 user, load averages: 2.74, 2.34, 2.37

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.