Self-intersection points of an Epitrochoid via polyline approximation (GeoGebra)

Self-intersection points of an Epitrochoid via polyline approximation (GeoGebra)
Loading the math board and drawing, please wait…
2024-02-27 22:50
This example demonstrates how to locate self-intersection points of an Epitrochoid by approximating the smooth parametric curve with a polyline (piecewise linear) discretization, then computing intersections between polyline segments. The key mathematics includes parametric curve graphing, discretization/approximation (polyline method), generating parameter sample sets, and using intersection computations to extract self-crossing points. Construction in GeoGebra uses Textfield and LaTeX for formula and label display; CurveCartesian to build the curve expression in Cartesian coordinates; Sequence together with Mod/Div to generate and control the parameter sampling (including periodic behavior); PolyLine to form two sets of polyline segments (e.g., poly1a and poly2a) from sampled points; and Intersect to compute the intersection locations representing the curve’s self-intersection points. It is suitable for secondary to early university learners studying coordinate geometry, parametric equations, and computational geometry/visual math workflows.

GeoGebra Commands & Parameters

  1. Textfield(h) → InputBox1
  2. CurveCartesian(((a + b) * cos(t)) - (c * cos(((a / b + 1) * t))) + x(B), ((a + b) * sin(t)) - (c * sin(((a / b + 1) * t))) + y(B), t, 0, t_{a1}) → a1
  3. LaTeX(a1, false, false) → text4a
  4. Textfield(a1) → InputBox2
  5. Mod(f + 1, n0 - 1) → mod_fc
  6. Div(f + 1, n0 - 1) → q_fc
  7. Textfield(f) → Eingabefeld1
  8. Textfield(n0) → InputBox6
  9. Sequence(PolyLine[m3_0y(k)], k, 1, q_fc + 1) → lPoly_y
  10. PolyLine(Join[{m3_0y(k1), m3_0y(k1 + 1)}]) → poly1a
  11. PolyLine(Join[{m3_0y(k2), m3_0y(k2 + 1)}]) → poly2a
  12. Intersect(poly2a, poly1a) → D
  13. Textfield(t_{a1}) → InputBox3
  14. Textfield(a) → InputBox4
  15. Textfield(b) → InputBox5
  16. Textfield(c) → InputBox7
  17. LaTeX(a1, false, false) → text6

AI Drawing Prompt Reference

Draw a curve defined by a parametric equation, approximate it with a polygon, and compute the intersection points of the polygon's edges to find self-intersection points. First, define the parametric equation, then generate polygon vertices, and finally calculate intersection points to locate the self-intersection points.
The prompt above was compiled from the original drawing commands and is for reference only.