wu :: forums
« wu :: forums - Non-Intersecting Matching »

Welcome, Guest. Please Login or Register.
Apr 29th, 2024, 6:19am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   hard
(Moderators: william wu, Eigenray, Icarus, ThudnBlunder, SMQ, Grimbal, towr)
   Non-Intersecting Matching
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Non-Intersecting Matching  (Read 1128 times)
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Non-Intersecting Matching  
« on: Dec 12th, 2007, 3:56pm »
Quote Quote Modify Modify

There are n red points and n blue points in the two-dimensional plane. The 2n points are distinct, and no three points are collinear.  
 
Define a matching to be a set of n line segments, each of which have endpoints of different colors, and none of which share an endpoint with a different line segment.
 
Prove there exists a matching that does not have any intersecting line segments.
 
Source: Putnam 1979
IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
Aryabhatta
Uberpuzzler
*****






   


Gender: male
Posts: 1321
Re: Non-Intersecting Matching  
« Reply #1 on: Dec 12th, 2007, 4:06pm »
Quote Quote Modify Modify

I think this has appeared before in the CS section.
 
The matching can even be found in O(nlogn) time.
 
Here is an existence proof (which is not good for an efficient algorithm):

Of all n! possible matchings (intersecting or not), consider the matching with the least sum of line segments of the matching. This has to be non-intersecting.  (As uncrossing two intersecting line segments reduces the total length)
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board