While measuring the LLE versus age, we also measured other quantities often associated with complex dynamic systems, such as the frequency of the attractor, MI, and FNN. We collected age-study data from days 3 to 12. The worms are too small and immature before they are 3 days old to handle manually. At 12 days, the worms are aged and barely move since their neuronal circuits deteriorate and their nervous system declines31.
The Rosenstein algorithm selects a neighboring point at an interval of at least one mean period for every point on the embedded trajectory. Starting with the separation vector between the two points on the two neighboring trajectories (Figure 8), the algorithm tracks the evolution of the divergence. The separation of the trajectories initially increases exponentially due to the chaotic nature of the system32, and then it plateaus since the trajectory is bounded. Plotting the logarithm of the average divergence over time tracks the separation of the trajectories (Figure 8 and Figure 9). The slope of the linear least-squares fit to the first part of the curve before it flattens out results in a reliable estimate for the system's LLE33. Note that uncertainty is involved in choosing the range for the least-squares fit and the fit itself. The sensitivity to initial conditions causes the linear fit region to display an oscillatory behavior as the divergence is tracked on the attractor. The biological variation between worms, which were averaged for each age group, outweighs the variability in the linear LLE fit for a single trial, as shown in a previous publication10.
The time series (Figure 2A) shows that peaks and troughs coincide with the aspects of the worm's locomotion, such as changes in swimming frequency, shape, and orientation. The time series is aperiodic; the oscillations in the time series never repeat, yet remain bounded in intensity. The frequency is steady while fluctuating slightly, indicating complexity and boundedness in frequency. Figure 10 shows a declining trend in swimming frequencies as the worm ages, which breaks down on day 12. The mean frequency jumps after day 12 for most worms. This is likely an indication of the neural circuit breaking down. In contrast, the average lag τ, as determined by the first minimum of the MI, increases as the population ages, since the cycle elongates (Figure 11).
In our case, the MI represents the statistical overlap between two lagged time series. If the MI is minimal, then there is minimal overlap between trajectories. Theoretically, chaotic trajectories never overlap; however, in practice, with limited significant digits and some experimental noise, some points will overlap within some tolerance24. We aim to minimize the possibility of overlap by minimizing the MI. The difference between a minimized MI and a significantly larger MI is illustrated in Figure 4.
The embedding dimension is determined by the false nearest neighbors (FNNs). The number of FNNs flattens with 5% or fewer FNNs around embedding dimensions 3 or 4. In Figure 6, the age of the nematodes does not affect the embedding dimension, except on day 12, when the worm is almost at the end of its lifespan.
The trajectory of the LLE follows Moore's curve (Figure 7) with a peak at 5 days, indicating that the most unpredictable (and possibly complex) locomotion occurs when the C. elegans are newly mature. In Figure 7, a graph of LLEs from days 3 through 12 shows a linear increase with a peak at 5 days, followed by a decrease after day 5. The error bars in Figure 10 represent the standard deviation of the mean4,34 and reflect several factors, including the diversity within biological species and the LLE estimation. The variation between the worms tends to outweigh the uncertainties in the LLE fitting routine. The variability between days, like days 5 and 7, does not overlap, so the data is clearly distinguishable. The trend of LLEs with age closely matches a Moore's equation from a previous study18, which describes age effects on memory and locomotion in other living organisms.
The LLEs in Table 1 are consistent, showing a slowly increasing and then decreasing trend with age. The values are consistent with previously published results using DOD10 and video analysis34,35.

Figure 1: Experimental far-field diffraction setup (not drawn to scale). The steering mirrors form a periscope. The cuvette containing the C. elegans is placed between the steering mirrors. The laser beam is diffracted by the worm and travels towards the PD via the second steering mirror. Please click here to view a larger version of this figure.

Figure 2: Intensity time series. The DOD time series shows intensity fluctuations as the nematode moves in the laser beam with (A) a viable time series for data analysis. (B) This time series indicates that the interval between 11 and 30 s exhibits no signal; it merely displays the system's noise level, as the shorter steady amplitudes primarily originate from scattered light. (C) This time series has a few instances of saturated data. Each data point represents a significant spike in the graph that is cut off and flattened at the peaks and troughs. In this example, the spikes become flattened as the intensity ranges from -100 to 100 AU between 45 and 50 s. Please click here to view a larger version of this figure.

Figure 3: Power spectrum. The power spectrum shows a maximum at around 0.95 Hz. The frequencies are spread out since the frequency in the trajectories on the attractor shifts and never exactly repeats. Please click here to view a larger version of this figure.

Figure 4: Experimental data embedded in 3D lag plots with two different lags of the same time series of a 9-day-old worm. This time series shows that locomotion is a bounded attractor consistent with chaos theory. (A) The trajectory is resolved using the first local minimum (MI ≈ 2.11), giving a lag of around 0.183 s (183 datapoints). The visible trajectory crossings are a result of a projection onto a two-dimensional space. (B) This lag plot remains unresolved by an inappropriate lag of 0.002 s (2 datapoints, (MI > 7)) as the points are too close together to be distinguishable and do not show divergence. Please click here to view a larger version of this figure.

Figure 5: The exponential decrease of the mutual information. The first minimum in the MI determines the lag of the dataset at 0.161 s (161 datapoints) in this specific case to resolve the phase trajectory. This lag shifts the time series value to reconstruct the attractor in phase space. The lag only needs to be near the first minimum, enough to resolve the trajectories. Please click here to view a larger version of this figure.

Figure 6: The average embedding dimensions on days 3, 5, 9, and 12, respectively. A magnified view of the embedding dimension is used to show the specific difference between the embedding dimensions of each day. Only day 12 displays a notable difference. Please click here to view a larger version of this figure.

Figure 7: The average of the estimated LLEs between days 3 and 12. The LLE peaks at 5 days. For up to 5 days, nematodes exhibit a growth trajectory consistent with the transition from immaturity to maturity. After those 5 days, nematodes experience a decline in divergence. The uncertainties are measures of the standard deviation of the mean, which is dominated by variations between worms. Please click here to view a larger version of this figure.

Figure 8: Depiction of the divergence present in chaos theory. A positive LLE will cause initially close trajectories to diverge over time. t is a time interval, d is the divergence, and x(t) is a point in phase space. Please click here to view a larger version of this figure.

Figure 9: Phase trajectory divergence on a logarithmic scale. The estimated LLE is the slope of the linear fit (1.08 1/s) in the rising region before flattening out due to the boundedness of the attractor between 0.96 and 1.01 s. Please click here to view a larger version of this figure.

Figure 10: The average mean frequency for each day. Day 12 average denotes a significant change in the neurological signals driving locomotion. Please click here to view a larger version of this figure.

Figure 11: The average lag for each day. The MI leads on average to lower lags between days 3 and 6, while a higher average lag appears between days 7 and 12. Please click here to view a larger version of this figure.
| Age (days) | Number of Datasets | LLE (1/s) | Standard Deviation of the Mean (1/s) |
| 3 | 11 | 1.14 | 0.02 |
| 4 | 15 | 1.20 | 0.03 |
| 5 | 13 | 1.34 | 0.03 |
| 6 | 11 | 1.23 | 0.02 |
| 7 | 10 | 1.16 | 0.03 |
| 8 | 12 | 1.13 | 0.02 |
| 9 | 12 | 1.07 | 0.02 |
| 10 | 9 | 1.00 | 0.03 |
| 11 | 9 | 0.96 | 0.03 |
| 12 | 9 | 0.92 | 0.02 |
Table 1: The number of datasets and average LLE for each day of the age study. The LLEs are consistent with previous data collected through DOD and show the increasing then decreasing trajectory of the Moore's curve from Figure 7. 9-15 datasets were collected for each day of data. The datasets trended down as the worms got older due to the nature of their muscle degradation and neuronal decline, causing decreased locomotion.