Inside, Outside or on the Fence
Use consistent edge tests to classify tokens near a convex fence.
Logic & rule checking
- Players
- 2–3
- Time
- 10–20 minutes
- Materials
- Printed player sheet or copied paper, pencil and small counters.
Prepare
Draw the convex fence A(0,0), B(4,0), C(3,3), D(0,2) in this order. Use test tokens P(2,1), Q(4,2), R(0,1).
Follow the rule
The setter places one token. The checker marks whether it is left, right or on each directed edge. Left means a positive cross product (end−start)×(point−start).
Check each step
Any right answer means outside. All left answers mean inside. No right and at least one zero means boundary. This rule uses the given counterclockwise convex fence.
Worked example
Practice R on edge DA. For the other three edges it stays left. Write the classifications without measuring distance to a vertex.
Finish and adapt
Switch roles after each token. Score a point for classification and a point for a witness edge or the four signs. End after all three.
Purpose, observation and provenance
Within this activity: Use consistent edge tests to classify tokens near a convex fence.
Ask the checker to point to the move or calculation that decides the outcome.
Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.
Point in convex polygon — Rule or mathematical background for our original paper exercise. The small example and end condition are ours.
Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.
Printable materials
Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.
Inside, Outside or on the Fence · Player materials
Draw the convex fence A(0,0), B(4,0), C(3,3), D(0,2) in this order. Use test tokens P(2,1), Q(4,2), R(0,1).
The setter places one token. The checker marks whether it is left, right or on each directed edge. Left means a positive cross product (end−start)×(point−start).
Any right answer means outside. All left answers mean inside. No right and at least one zero means boundary. This rule uses the given counterclockwise convex fence.
| Fence | A 0,0; B 4,0; C 3,3; D 0,2 |
|---|---|
| Tokens | P 2,1; Q 4,2; R 0,1 |
| Step / cell | Decision / value | Rule checked |
|---|---|---|
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
Inside, Outside or on the Fence · Host key — keep separate
P inside, Q outside since BC cross product is −2, R boundary on DA.
Lead and check
Draw the convex fence A(0,0), B(4,0), C(3,3), D(0,2) in this order. Use test tokens P(2,1), Q(4,2), R(0,1).
The setter places one token. The checker marks whether it is left, right or on each directed edge. Left means a positive cross product (end−start)×(point−start).
Any right answer means outside. All left answers mean inside. No right and at least one zero means boundary. This rule uses the given counterclockwise convex fence.
Practice R on edge DA. For the other three edges it stays left. Write the classifications without measuring distance to a vertex.
Switch roles after each token. Score a point for classification and a point for a witness edge or the four signs. End after all three.
Use the player count in the rules. A separate observer may audit the log without taking a playing turn. Prepare separate kits for more groups.
A zero on an extended line is not enough · Player audit
Use the same convex fence A(0,0),B(4,0),C(3,3),D(0,2). Test S(5,0). It lies on the line through AB but beyond B. Record which other edge rejects it.
| Input / step | Result | Reason |
|---|---|---|
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
A zero on an extended line is not enough · Host audit
AB gives zero, BC gives −3. Any negative sign means outside for this counterclockwise fence. The zero does not make S a boundary point.
Related activities
A zero on an extended line is not enough
Use the same convex fence A(0,0),B(4,0),C(3,3),D(0,2). Test S(5,0). It lies on the line through AB but beyond B. Record which other edge rejects it.