A finite set $S$ of points in a plane has the property that a line passing through two of these points passes through a third point. Prove that all the points in $S$ are collinear.
I saw a proof of this problem using extremal principle.
Suppose that the points aren't collinear. Among pairs $(p,L)$ consisting of a line $L$ and a point not on that line, we choose one which minimises the distance $d$ from $p$ to $L$. Let $f$ be the foot of the perpendicular from $p$ to $L$. There are (by assumption) at least three points $a,b,c$ on $L$. This, two of these , say $a$ and $b$ are in the same side of $f$. Let $b $ be nearer to $f$ than $a$. Then the distance from $b$ to line $ap$ is less than $d$. Contradiction.
My question is in the last part. I don't understand how " Then the distance from $b$ to line $ap$ is less than $d$. " produces a contradiction. Can someone explain?
