The General's Horse Drinking Problem in Quadratic Functions (Part 2)
Loading the math board and drawing, please wait…
In collections
My First GeoGebra Book
This GeoGebra applet demonstrates the classic geometric optimization problem known as the General's Horse Drinking Problem within the context of quadratic functions. By constructing quadratic function graphs, symmetric points, and line segments, it dynamically illustrates how to use axial symmetry transformations to convert the sum of broken line segments into a straight line segment, thereby finding the minimum value of that sum. The applet allows users to interactively adjust the parameters of the quadratic function and observe how the optimal point changes in real time. Students can drag key points along the parabola and see the reflected point move accordingly, making the abstract concept of symmetry concrete and visual. The problem is rooted in the well-known Chinese mathematical puzzle where a general must lead his horse from a starting point to a river (represented by the axis of symmetry or a given line) to water it before continuing to a destination, seeking the shortest total path. In this applet, the river is modeled within the framework of a quadratic function, combining algebraic expressions with geometric reasoning. The interactive design supports exploration: learners can toggle visibility of construction elements such as the axis of symmetry, the reflected point, and the folded path versus the straight-line shortcut. This hands-on approach helps students internalize the critical insight that the shortest distance between two points is a straight line, and that reflection across an axis is the key strategy for transforming a minimization problem into a solvable geometric configuration. The applet bridges algebra and geometry, showing how quadratic functions can serve as the setting for classical optimization problems. It is particularly valuable for middle school and high school students studying functions and geometry, as it reinforces both computational skills and conceptual understanding. By visualizing each step of the solution process, the applet reduces the cognitive load associated with abstract reasoning and empowers students to discover the method themselves rather than merely memorizing a procedure.
GeoGebra Commands & Parameters
Polygon((wl, wd), (wr, wd), (wr, wu), (wl, wu)) → wn, wnd, wnr, wnu, wnlVector((wl, 0), (wr, 0)) → xaxisVector((0, wd), (0, wu)) → yaxisTextfield(k) → InputBox1Segment(A, B) → sABLine(B, C) → lBCIntersect(lx, lBC) → M'Point(lx) → MSegment(M, O) → sMOSegment(M, B) → sMBSegment(M, C) → sMCSegment(M', B) → sM'BSegment(B, C) → sBCSegment(M', O) → sM'O
AI Drawing Prompt Reference
Draw a parabola and select two points A and B on it. Draw a vertical line from B to the y-axis, and find its intersection with the parabola's axis of symmetry, which is point C. Then, draw line segments AB, BC, and AO, BO. Next, find the symmetric point B' of B with respect to the axis of symmetry, and draw line segments B'B, B'C, and B'O, B'B. Finally, observe and adjust these segments to understand how axial symmetry transformations can convert the broken line segments into a straight line segment, thereby finding the shortest path.
The prompt above was compiled from the original drawing commands and is for reference only.