Dynamic Point on Segment AB Controlled by Slider

Dynamic Point on Segment AB Controlled by Slider
Loading the math board and drawing, please wait…
2012-08-14 19:46
This GeoGebra example demonstrates how to move a point C dynamically between two fixed points A and B using a slider, by adjusting the coordinate definitions of the point. The core mathematical concepts involve coordinate geometry, linear interpolation along a line segment, real-number parameters, and conditional logic. The construction employs GeoGebra commands Textfield and If, together with objects A, B, C, parameters n, a, b, c, and input boxes inputBox1 and inputBox2. By varying the slider, students can observe how the coordinates of C change proportionally along segment AB. Suitable for middle school and high school mathematics instruction, classroom demonstrations, and independent exploration of analytic geometry and dynamic geometric construction.

GeoGebra Commands & Parameters

  1. Textfield(a) → inputBox1
  2. Textfield(b) → inputBox2
  3. If(b > 0, 0 * n + b, b) → c