Locus of Point P with Fixed Distance from Line Segment AB

Locus of Point P with Fixed Distance from Line Segment AB
Loading the math board and drawing, please wait…
2014-01-20 17:58
This example demonstrates the locus of point P with a fixed distance from line segment AB. Key mathematical concepts include the locus problem in coordinate geometry. Using GeoGebra commands such as Mod, If, Segment, CircleArc, etc., the trajectory of point P can be constructed. Suitable for students at the junior high school level and above for geometric construction.

GeoGebra Commands & Parameters

  1. Mod(a, 720) → m
  2. If(m ≤ 180, (-r * sin(m°), r * cos(m°)), If[m ≤ 360, ((m / 180 - 1) * L, -r), If[m ≤ 540, (L + r * sin(m°), -r * cos(m°)), ((4 - m / 180) * L, r)]]) → P
  3. Segment(A, B) → b
  4. CircleArc(A, LP_1, LP_2) → c
  5. CircleArc(B, LP_3, LP_4) → d
  6. Segment(LP_4, LP_1) → e
  7. Segment(LP_2, LP_3) → f
  8. If(m < 180, (x(A), y(A)), If[m < 360, ((m / 180 - 1) * L, y(A)), If[m < 540, (x(B), y(B)), ((4 - m / 180) * L, y(A))]]) → Q
  9. Segment(P, Q) → h
  10. If(x(P_1) < x(A), (x(A), y(A)), If[x(P_1) > x(B), (x(B), y(B)), (x(P_1), y(A))]) → Q1
  11. Segment(P_1, Q1) → k
  12. Ray(Q1, P_1) → l
  13. Intersect(e, l) → C1
  14. Intersect(d, l, 1) → C2
  15. Intersect(f, l) → C3
  16. Intersect(c, l, 1) → C4
  17. Distance(P_1, C4) → diff4
  18. Distance(P_1, C1) → diff1
  19. Distance(P_1, C2) → diff2
  20. Distance(P_1, C3) → diff3

AI Drawing Prompt Reference

Draw a line segment AB and place a point P at a fixed distance outside the segment. The locus of P forms a continuous path composed of arcs and straight lines, extending from both ends of AB. As P moves along the locus, connect P to intersection points to form segments that remain perpendicular to AB. The construction involves piecewise functions and intersection calculations of arcs, suitable for demonstrating locus problems in coordinate geometry.
The prompt above was compiled from the original drawing commands and is for reference only.