Self-Intersection Points of a Lissajous Curve via Polyline Approximation
Loading the math board and drawing, please wait…
In collections
intersection: surface-surface, curve-curve
This example demonstrates how to approximate a Lissajous curve with a polyline by sampling the parameter and then locating self-intersection points from intersections of the piecewise-linear segments. The key idea is that a Lissajous curve—built from two sinusoidal components—can cross itself when the frequencies/phase relations produce repeated crossings, and a discrete polyline can reveal where those crossings occur. The core mathematics includes parametric equations, trigonometry (sinusoidal components), and periodic/discrete indexing logic using Mod/Div to control the sampling and segment construction. In GeoGebra, the construction uses Textfield, CurveCartesian to define the curve, Sequence to generate sampled parameters/points, PolyLine to build the polyline approximation, and Element with LaTeX for selecting/labeling relevant objects and displaying results. It also employs Mod and Div to compute step sizes and segment indices, while collecting coordinates (e.g., point lists and polyline segments such as lPoints_y, poly1a/poly2a, and lPoly_y) to identify candidate self-intersections. Suitable for high school to early university students, and useful for teaching parameter curves, discrete numerical approximation, and graph-based reasoning.
GeoGebra Commands & Parameters
Textfield(h) → InputBox1CurveCartesian((10 * sin((n_1 * t))) + x(A), (10 * sin((n_2 * t))) + y(A), t, 0, t_{a1}) → a1LaTeX(a1, false, false) → text4aTextfield(a1) → InputBox2Mod(f + 1, n0 - 1) → mod_fcDiv(f + 1, n0 - 1) → q_fcTextfield(f) → Eingabefeld1Textfield(n0) → InputBox6Sequence(PolyLine[m3_0y(k)], k, 1, q_fc + 1) → lPoly_yPolyLine(Join[{m3_0y(k1), m3_0y(k1 + 1)}]) → poly1aPolyLine(Join[{m3_0y(k2), m3_0y(k2 + 1)}]) → poly2aTextfield(t_{a1}) → InputBox3LaTeX(a1, false, false) → text6Textfield(n_2) → InputBox9Textfield(n_1) → InputBox8Element(D, 1) → D1
AI Drawing Prompt Reference
Draw a Lissajous curve by adjusting parameters n1 and n2 to change its shape. Sample the parameter t from 0 to ta1 to generate a series of points and connect them with line segments to form an approximate polyline. Use modulo and division to determine the segments and find potential self-intersection points.
The prompt above was compiled from the original drawing commands and is for reference only.