The principle of finite descent

Preliminaries

Select 10 points at random in a unit square :

intersectionfree_1.png

intersectionfree_2.gif

Permute elements i and j in a list :

intersectionfree_3.png

intersectionfree_4.png

intersectionfree_5.png

intersectionfree_6.png

intersectionfree_7.png

Test if segments i (joining red[[i]] and blue[[i]]) and j (joining red[[j]] and blue[[j]]) intersect :

intersectionfree_8.png

(See Annexe below)

intersectionfree_9.png

Finite descent (first example)

10 red points and 10 blues points in a unit square :

intersectionfree_10.png

A pleasant random choice constantly valid in this file :

intersectionfree_11.gif

intersectionfree_12.png

Initial display :

The 20 points :

intersectionfree_13.gif

intersectionfree_14.png

intersectionfree_15.gif

One-to-one pairing of the red and blue points (In the order 1-1, 2-2, ..., 10-10) (Total length, L,  of the straight segments displayed) :

intersectionfree_16.png

intersectionfree_17.gif

Progressive uncrossing of the segments. If the final  uncrossing is incomplete, the cell must be manually reactivated until complete uncrossing is achieved :

intersectionfree_18.gif

intersectionfree_19.gif

intersectionfree_20.png

intersectionfree_21.gif

Finite descent (second example)

The previous calculation started with bleu=Permutations[blue][[1]] (=blue i.e. Identity permutation). One can do better if starting  with bleu=Permutations[blue][[1066281]] :

intersectionfree_22.png

intersectionfree_23.png

intersectionfree_24.png

intersectionfree_25.png

intersectionfree_26.png

intersectionfree_27.png

intersectionfree_28.png

intersectionfree_29.png

New starting point :

intersectionfree_30.png

intersectionfree_31.gif

intersectionfree_32.gif

intersectionfree_33.gif

intersectionfree_34.png

intersectionfree_35.gif

intersectionfree_36.png

Intersection point (X = {xx, yx}) between two straight lines, ab et cd :

intersectionfree_37.png

intersectionfree_38.png

intersectionfree_39.png

intersectionfree_40.png

intersectionfree_41.png

intersectionfree_42.png

intersectionfree_43.png

intersectionfree_44.png

intersectionfree_45.png

intersectionfree_46.png

intersectionfree_47.png

intersectionfree_48.png

intersectionfree_49.png

intersectionfree_50.png

intersectionfree_51.png

intersectionfree_52.png

intersectionfree_53.png