Reiji's Explorationsin Sound & Structure

March 2, 2026

Standing-Wave Harmonics (1–20) — Observing Phase Alignment Cycles in Desmos

Overview:
This project is a Desmos implementation by Reiji (age 10). It visualizes the harmonic series by drawing 20 standing waves (from the 1st harmonic to the 20th) and letting them evolve over time.

The core idea is to observe when different harmonics “line up”—i.e., when groups of waves return to the same sign/shape pattern at the same time value t. By entering specific values such as \(t=\pi\) or \(t=\pi/3\), it becomes possible to “jump” directly to time points where recognizable periodic structure emerges.

In addition, Reiji added a weighted composite wave that overlays all 20 terms with a \(1/n\) amplitude weighting: \[ \frac{\sum_{n=1}^{20}\frac{1}{n}\sin\left(nx\right)\cos\left(nt\right)}{2} \] This composite curve forms a sawtooth-like shape, allowing the motion of 20 harmonics to be observed as a single evolving waveform.
(Note: The final “/2” is a display scaling factor to keep the composite curve within view; it is used to reduce amplitude for readability and does not change the qualitative shape or timing patterns being observed.)

The displayed waves are colored as a set, and the project also includes optional sound playback using Desmos tone() so the same parameter changes can be experienced both visually and aurally.

Note: All content on this page is originally explained by Reiji in Japanese. The English version is translated by AI and structured by a parent, with Reiji's final approval.

Reiji's Words and Ideas

Desmos view showing 20 harmonics of sin(nx)cos(nt) with an added weighted composite (sawtooth-like) curve

Main View: 20 Standing-Wave Harmonics + a Weighted Composite Curve

20 waves \(\sin(nx)\cos(nt)\) (for \(n=1..20\)) are drawn together. A weighted composite \(\frac{1}{2}\sum_{n=1}^{20}\frac{1}{n}\sin(nx)\cos(nt)\) is also overlaid as a single curve, forming a sawtooth-like shape that evolves as \(t\) changes.

Desmos panel showing equations and sliders including t, hsv coloring, tone(), a parameter a, and the composite-wave expression

Controls: Time \(t\), HSV Color Set, tone(), and the Composite Wave

The project uses a time slider \(t\) (0 to \(\tau\)), HSV coloring to separate harmonics, tone() playback, and the added composite-wave expression for observing the 20 terms as one curve.

Zoomed view around a sharp alignment point with t approximately pi (3.14159...), showing the overlaid harmonics

Example: \(t=\pi\) (A Special Time for Clear Alignment)

When \(t=\pi\), \(\cos(n\pi)=(-1)^n\), so many harmonics fall into a clean even/odd sign pattern. This can make a sharp “lining up” point appear in the visualization.

Desmos view with t set to pi/3 showing repeating structure and the composite curve

Example: \(t=\pi/3\) (A 6-Class Repetition + Composite Wave)

With \(t=\pi/3\), values like \(\cos(n\pi/3)\) repeat depending on \(n \bmod 6\), and the composite curve shows how these repeating coefficient classes affect the net waveform.

Desmos view with t set to 3pi/5 showing the overlaid harmonics and the composite curve

Example: \(t=3\pi/5\) (Structured Alignment + Composite Motion)

Entering rational multiples of \(\pi\) can reveal different alignment structures. Here \(t=3\pi/5\) produces a distinct organization across the harmonic set, and the composite curve shows the net shape at that time.

Output Link Desmos page (interactive)
Application Used

Desmos + tone()

(Official site: https://www.desmos.com/ )

AI Assistant’s Notes and Inferences

Mathematically, each curve is a standing-wave term \(\sin(nx)\cos(nt)\), and the project overlays \(n=1..20\). “Alignment” can be understood as moments when the set of coefficients \(\{\cos(nt)\}\) falls into a small number of repeating values (often driven by modular structure when \(t\) is a rational multiple of \(\pi\)).

  • For \(t=\pi\), \(\cos(n\pi)=(-1)^n\), so the harmonics separate cleanly into even/odd sign groups—this often produces a visually sharp alignment point.
  • For \(t=\pi/3\), \(\cos(n\pi/3)\) repeats by \(n \bmod 6\), which makes a “6-class” structure appear across the 20 waves.
  • The added composite wave uses a \(1/n\) weighting, a classic choice in Fourier synthesis that tends to produce a sawtooth-like shape. With a finite number of terms (here 20), the result appears as an approximation that becomes sharper as more terms are added.

Overall, this is a compact experiment that connects integer structure (harmonic series), time-phase relationships, and (optionally) listening via tone(). The composite curve also provides a useful “single-wave” summary of how the 20 components combine at each time \(t\).