The case with shattering by filled triangles involves several special cases. As jawdirk notes, we can immediately reduce to the case of a convex polygon; if D is contained within or on the triangle ABC, then any convex figure containing A, B, C must also contain D, so any set containing A, B, C, and D cannot be shattered by convex regions (including circles and triangles). We will use the fact that for a convex polygon P[sub]1[/sub]P[sub]2[/sub]P[sub]3[/sub]…P[sub]n[/sub], the line P[sub]i[/sub]P[sub]j[/sub] (i<j) has P[sub]i+1[/sub],…,P[sub]j-1[/sub] on one side and P[sub]1[/sub],…,P[sub]i-1[/sub],P[sub]j+1[/sub],…,P[sub]n[/sub] on the other.
So consider a convex octagon ABCDEFGH. The shattering we prove impossible is the separation of T={A,C,E,G} from S\T={B,D,F,H}. Consider a triangle which contains the points of T. As before, we can simplify matters by considering only the “minimal” hypotheses: those hypotheses H containing T for which there exist no hypotheses H’ contained in H which also contain T. In the case where H consists of all triangular regions, it is clear that the minimal hypotheses are triangles with at least one point of T on the interior of each edge, or with points of T at each endpoint of the edge. (If not, then we could shrink the triangle by adjusting this edge while maintaining a valid hypothesis.) [So if the triangle PQR is a minimal hypothesis, then either P and Q are in T or there is a point on the interior of segment PQ in T.]
One can consider four cases, depending on whether the minimal hypothesis PQR under consideration has three, two, one, or zero of its vertices P,Q,R in T. In each case we can use the convexity of ABCDEFGH to show that at least one element of S\T must be in the triangle as well, so that the hypothesis is not a valid separation of T from S\T. This is the sort of geometric argument that’s much easier to understand when you draw your own picture to see where the points have to go, so I’m not going to do all the cases. Here’s an example, for the case in which exactly one of the vertices is in T:
The triangle has the form APQ, with C on AP, E on PQ, and G on AQ. By convexity, points D and F must be on the same side of line AC (= line AP) as Q and on the same side of line AG (= line AQ) as P. But by assumption D and F lie outside of the triangle APQ, so they must lie on the side of line PQ opposite A. But D and F must be on opposite sides of line AE, so it’s easy to see that the triangular region ADF must contain E. So the octagon is not convex, a contradiction.