Viewing a saved revision (read-only)
93408b99b1de40ce966415d8f8a7a8d4
Dynamical Systems: circule trajectories
This example visualizes circular trajectories for the dynamical system \(\dot{x}=xy,\dot{y}=(1-x^2-y^2)/2\). A click on the phase plane draws the unique circular path determined by the chosen initial condition, with a red center marker and a blue dot tracking the motion. The D3.js code renders an SVG canvas with axes, tick labels, and a set of precomputed trajectory circles in light gray, while user interaction dynamically adds a highlighted trajectory. The implementation uses `d3.select`, `d3.scaleLinear`, and SVG element `append` calls to build the plot, updating the circle’s position and radius via `attr` on mouse events.
AI-generated descriptionCircular trajectories of a simple dynamical system
For the dynamical system
$\dot{x}=xy, \dot{y}=(1-x^2-y^2)/2$, the trajectories can
be shown to be circles, uniquely determined by the initial
condition.
This sentence uses $` and `$ delimiters to show math inline: $\sqrt{3x-1}+(1+x)^2$