Rainbow Solution Curves of ODEs with Slope Field
Loading the math board and drawing, please wait…
① This GeoGebra example demonstrates a family of rainbow-colored solution curves for ordinary differential equations (ODEs) overlaid on a slope field, showing how solutions evolve from various initial points. ② Core mathematical concepts include first-order ODEs, slope fields (direction fields), initial value problems, uniqueness and branching of solutions, and parameter dependence. ③ Construction highlights: the SolveODE command computes solution curves, SlopeField generates the direction field; sliders n and speed control the number of curves and animation speed; a button triggers dynamic updates; points A, Ax, Ay define initial conditions; sol stores the solution; A1–A18 mark distinct initial points; parameters a and b adjust the equation; slp represents slope. ④ This is ideal for university-level calculus or differential equations courses, and for advanced high school students, to visually explore how initial conditions and parameters shape solution families and to connect analytic solutions with geometric slope fields.
GeoGebra Commands & Parameters
SolveODE(f(x, y), Ax, Ay, 100, 0.08) → solSlopeField(f) → slpSolveODE(f(x, y), Ax, Ay + 0 - 0.8, 100, 0.08) → A1SolveODE(f(x, y), Ax, Ay + (13 / 170 * (2 - 1)) - 0.8, 100, 0.08) → A2SolveODE(f(x, y), Ax, Ay + (13 / 170 * (3 - 1)) - 0.8, 100, 0.08) → A3SolveODE(f(x, y), Ax, Ay + (13 / 170 * (4 - 1)) - 0.8, 100, 0.08) → A4SolveODE(f(x, y), Ax, Ay + (13 / 170 * (5 - 1)) - 0.8, 100, 0.08) → A5SolveODE(f(x, y), Ax, Ay + (13 / 170 * (6 - 1)) - 0.8, 100, 0.08) → A6SolveODE(f(x, y), Ax, Ay + (13 / 170 * (7 - 1)) - 0.8, 100, 0.08) → A7SolveODE(f(x, y), Ax, Ay + (13 / 170 * (8 - 1)) - 0.8, 100, 0.08) → A8SolveODE(f(x, y), Ax, Ay + (13 / 170 * (9 - 1)) - 0.8, 100, 0.08) → A9SolveODE(f(x, y), Ax, Ay + (13 / 170 * (10 - 1)) - 0.8, 100, 0.08) → A10SolveODE(f(x, y), Ax, Ay + (13 / 170 * (11 - 1)) - 0.8, 100, 0.08) → A11SolveODE(f(x, y), Ax, Ay + (13 / 170 * (12 - 1)) - 0.8, 100, 0.08) → A12SolveODE(f(x, y), Ax, Ay + (13 / 170 * (13 - 1)) - 0.8, 100, 0.08) → A13SolveODE(f(x, y), Ax, Ay + (13 / 170 * (14 - 1)) - 0.8, 100, 0.08) → A14SolveODE(f(x, y), Ax, Ay + (13 / 170 * (15 - 1)) - 0.8, 100, 0.08) → A15SolveODE(f(x, y), Ax, Ay + (13 / 170 * (16 - 1)) - 0.8, 100, 0.08) → A16SolveODE(f(x, y), Ax, Ay + (13 / 170 * (17 - 1)) - 0.8, 100, 0.08) → A17SolveODE(f(x, y), Ax, Ay + (13 / 170 * (18 - 1)) - 0.8, 100, 0.08) → A18