General's Horse Drinking Problem — Geometric Construction for Shortest Path
Loading the math board and drawing, please wait…
In collections
Deep Integration of GeoGebra and Middle School Math
This GeoGebra applet demonstrates the classic General's Horse Drinking optimization problem: given two points A and B on the same side of a line representing a river, find the shortest path from A to a point P on the line where the horse drinks, and then from P to B. By constructing the reflection of point A across the given line, the problem is transformed into finding the shortest straight-line distance from the reflected point A' to B. The optimal drinking point P is located at the intersection of the line segment A'B with the river line, applying the fundamental principle that the shortest distance between two points is a straight line. The applet uses GeoGebra commands including Point, Segment, LineBisector, and Intersect to perform the geometric construction step by step. It features dynamic text labels that update in real time as users drag points or adjust parameters, along with interactive buttons that allow learners to reveal or hide construction elements at their own pace. This visualization clearly illustrates how axial symmetry transforms an apparently complex optimization problem into a simple and elegant geometric solution. Students benefit from seeing the direct connection between the reflection principle and the concept of minimizing path length, gaining deeper intuition about why the angle of incidence equals the angle of reflection in the optimal configuration. The applet serves as an excellent teaching tool for geometry courses covering transformations, optimization, and proof techniques, bridging the gap between abstract mathematical reasoning and concrete visual understanding.
GeoGebra Commands & Parameters
Point(f) → PSegment(P, A) → gSegment(P, B) → hSegment(A, B) → iLineBisector(i) → kIntersect(f, k) → DIntersect(Line[A, B], f) → C
AI Drawing Prompt Reference
Mark two fixed points on the left and right sides of the canvas representing villages A and B on the same side of a horizontal line representing a river. Create a draggable point P on the river line. Draw two line segments from A to P and from P to B, forming a broken path that touches the river. Mark the intersection point of the river line with the perpendicular bisector of segment AB. Also mark where the line through A and B intersects the river. The diagram demonstrates how geometric symmetry helps find the shortest path from point A to the river to drink and then to point B, illustrating the classic General's Horse Drinking problem solution.
The prompt above was compiled from the original drawing commands and is for reference only.