← GeoProof

A triangle ABC is crossed by a straight line — the transversal — set by two draggable square handles. The line meets the three side-lines at D on BC, E on CA, and F on AB; because a straight line cannot cross all three sides between the vertices, one of these points lies on a side's extension. Drag the triangle vertices or the transversal handles. Menelaus' theorem says the three division ratios multiply to one: AF over FB, times BD over DC, times CE over EA, equals 1. Each ratio and the product are shown live on the figure and below it. An info button opens a drawer explaining the theorem.

(AF / FB) · (BD / DC) · (CE / EA) = 1
Drag the two square handles to move the transversal, or drag a vertex. One of D, E, F always lands on a side's extension — that's unavoidable for a straight cut. If a point runs off the canvas, a colored arrow on the edge points toward it, so you can drag the line to bring it back.