Chua’s circuit: the route to chaos
In the fourth article I found the double scroll of Matsumoto’s model again. Now I imagine having the circuit in my hands, with the possibility of adjusting a single resistor. I want to understand what I would see on the oscilloscope while I vary it. From which regime would I start? Do the oscillations all appear at once? And, once the two lobes have been obtained, does the motion necessarily remain bounded?
Before moving on to the physical components I want to put the numerical model I already know to the test. The study that follows is a controlled sweep of the coupling conductance, carried out in a separate GX-TXT DEV112 P012 session, with the manual fixes described in the previous articles. I do not assign to Matsumoto’s numerical conductance the value of a physical resistance in ohms. Above all, I do not want to force the result to reproduce a bifurcation sequence that belongs to another circuit.
1. A single knob: the coupling conductance
I take up the equations of report UCB/ERL M84/36 from 1984, keeping the two capacitors, the inductor and the nonlinear law identical to the computation of article 04. The only parameter I change is G, the conductance that couples the two nodes. In the physical circuit an increase in G corresponds to a decrease in R, because G=1/R.
\[ \begin{aligned} \dot v_1&=10[G(v_2-v_1)-g(v_1)],\\ \dot v_2&=0.5[G(v_1-v_2)+i_L],\\ \dot i_L&=-7v_2,\\ g(v_1)&=-0.1v_1-1.95(|v_1+1|-|v_1-1|). \end{aligned} \]
The historical value G=0.7 is one of the points of the sweep, not a new parameter fitted to the graph. To understand how the oscillations arise, before integrating the system I go back to the stability of its equilibria.
2. An analytical prediction before the simulation
The equilibrium condition found in article 03 is g(v1*)=−Gv1*. The positive outer branch has g(v1)=−0.1v1−3.9. Over the whole chosen interval, 0.35≤G≤0.95, the lateral equilibria fall in the outer regions:
\[v_1^*=\pm\frac{3.9}{G-0.1},\qquad v_2^*=0,\qquad i_L^*=-Gv_1^*.\]
Their position changes with G. But their stability changes too. I insert the outer slope m=−0.1 into the Jacobian matrix derived earlier:
\[ J(G)=\begin{pmatrix} -10(G-0.1)&10G&0\\ 0.5G&-0.5G&0.5\\ 0&-7&0 \end{pmatrix}. \]
Expanding the determinant of λI−J, the characteristic polynomial becomes λ3+a1λ2+a2λ+a3, with
\[ a_1=10.5G-1,\quad a_2=3.5-0.5G,\quad a_3=35(G-0.1). \]
For a real cubic polynomial, the Routh–Hurwitz criterion requires the three coefficients to be positive and a1a2>a3 for all the roots to have negative real part. The three coefficients are positive in our interval. So it is enough to study the function
\[ D(G)=a_1a_2-a_3=G(2.25-5.25G). \]
In Mathematics Explorer 0.2.0 I define f1=x*(2.25-5.25*x), f2=0*x, domain 0.35–0.55. I save the Workspace and generate the graph. Here the parameter x represents the conductance G, not a voltage of the circuit. The non-zero analytical solution is
\[G_{\mathrm{crit}}=\frac{2.25}{5.25}=\frac{3}{7}\simeq0.4285714.\]

The intersection search in Mathematics Explorer found the candidate 0.428571428555, with a residual of about 3.64×10−11. However, the native result reports partial_roots_found and a further non-converging candidate. I do not attribute to it a guarantee of completeness. In this case the factorised expression directly gives the exact root in the chosen interval.
I also computed the eigenvalues of the matrices with the public linear_matrix/eigen operation of Math Numeric 1.67.0. In the table I report the real and imaginary parts of the complex pair that changes stability.
| G | Real eigenvalue | Complex pair | Lateral equilibria |
|---|---|---|---|
| 0.35 | −2.66113 | −0.0069367 ± 1.81329i | Locally stable |
| 0.425 | −3.46198 | −0.00026088 ± 1.81265i | Very slow damping |
| 3/7 | −3.5 | 0 ± 1.81265i | Marginal in the linearisation |
| 0.435 | −3.56842 | +0.00045833 ± 1.81267i | Unstable |
| 0.445 | −3.67479 | +0.00114355 ± 1.81271i | Unstable |
| 0.7 | −6.37279 | +0.01139674 ± 1.81525i | Unstable |
At the origin, instead, the local slope is −4. The constant term of the characteristic polynomial is 35(G−4), which is negative over the whole interval: there is a positive real root. The origin remains unstable. This is why I start the simulation with a small perturbation of the origin, as in the previous article.
The threshold G=3/7 describes the loss of local stability of the lateral equilibria, not the birth of chaos. The law is linear in each region and changes derivative at the breakpoints. I cannot automatically infer from this crossing a supercritical Hopf bifurcation with a stable limit cycle: the motion has to be studied when it reaches the other regions of the characteristic.
3. How I build the numerical sweep
I use the same classic fixed-step RK4 as in the previous replication. The choice is motivated by the historical method and by the absence of this mode in the adaptive solver available in the version used. The complete Octave script is registered and run inside GX-TXT. It does not use an external program to integrate or an external renderer to produce the graphs.
I choose 121 values of G, from 0.35 to 0.95, spaced 0.005 apart. Each integration starts from (0.1; 0; 0), independently of the previous one. This detail is important: I do not use the final state of the previous trajectory as the initial state of the new one. My sweep is not a numerical continuation of a single branch of solutions and does not measure hysteresis or the possible coexistence of attractors.
| Setting | Value |
|---|---|
| Range of G | 0.35–0.95 |
| Increment of G | 0.005 |
| Values of G | 121 |
| RK4 steps | 0.02 and 0.01 |
| Final time | 2500 |
| Observation window | 1800–2500 |
| Initial state for each run | (0.1; 0; 0) |
| Stopping criterion | Non-finite state or at least one coordinate with magnitude greater than 1000 |
The script integrates the columns of the parameter vector simultaneously: each column is an independent state. The vectorised integration does not introduce any coupling between the different runs. The Dataset publications, on the other hand, are carried out in sequence. In GX-TXT I wait for the Job and the publication to finish before using the Datasets in a Viewer or saving the session.
So as not to turn the session into hundreds of Datasets, I store the results in two HDF5 tables. The first keeps the sequence of sampled local maxima of v1 in the final window, with G, step h, time of the maximum and value. The second keeps a summary for each integration. I do not save all the waveforms for every value of G: I can regenerate them from the script if I need a specific case.
G = 0.35:0.005:0.95;
F = @(s) [10*(G.*(s(2,:)-s(1,:))-g(s(1,:)));
0.5*(G.*(s(1,:)-s(2,:))+s(3,:));
-7*s(2,:)];
To identify a sampled local maximum I consider three consecutive values. The central one is accepted if it is greater than the previous one and greater than or equal to the next one. I do not interpolate the position of the peak. For an overall excursion below 10−5 I consider the maxima unresolved and do not add them to the diagram. The summary still keeps that run. The comparison between the two steps also serves to assess the effect of sampling on the maxima.
A run that meets the stopping criterion is not represented as an attractor: its maxima are excluded and the escape time is kept. The summary columns that do not apply are filled with zero purely as placeholders for runs with bounded=0; those values must not be interpreted as zero voltages. The value escape_t=-1, instead, indicates that the run reached the final time without meeting the escape criterion.
4. When the transient lasts longer than our patience
I expected that at G=0.425, just below the theoretical threshold, the system would appear practically at rest after 1800 time units. The real part of the complex pair, however, is only −0.00026088. The time scale of the local decay, 1/|Re λ|, is about 3800 numerical units. It is therefore plausible to still find appreciable oscillations even after an interval that, for G=0.7, was already very long.

I look at the successive maxima, not at a single XY image. At G=0.425 the envelope of the maxima decreases slowly. At G=0.435 and G=0.44 it increases. This observation is consistent with the sign of the real parts of the eigenvalues. It does not mean that the growing curve can continue indefinitely on the same branch: when the motion reaches a breakpoint, the linear system describing the local dynamics changes. This is why I call t=1800–2500 an observation window, not a transient that is certainly over for every value of G.
5. The diagram of maxima: reading a bifurcation without inventing it
In the GX-TXT graph Viewer, Scientific Dataset Plot 4.4.3, I build a scatter diagram with G on the X axis and v1_max on the Y axis. If a periodic motion produced a single maximum per period, after the transient the points would concentrate on a single value. If the period doubled, I could see two distinct maxima and so on, provided that the signal and the chosen section really allow this interpretation.

I created the variants through PLOT_DATASET_API_v4. In the Dataset chua.sweep.peaks I use filters on the step h and on disjoint intervals of G. Each interval contains at most 20 values of G from the sweep: in this way the number of maxima per series stays within the normal graphics budget. The series have the same colour because they are not different experiments; they are parts of the same diagram. Each point is a sample actually computed, not a segment interpolated between adjacent values of the conductance.
From left to right we first see a very narrow band of positive maxima, which corresponds to the region of the locally stable lateral equilibria and their transients. Near the theoretical threshold the band widens. Around G=0.445, for this initial condition and this duration, a band of negative maxima also appears. A negative local maximum is entirely possible: an oscillation that takes place entirely in the negative region reaches its maximum without crossing zero.
The diagram does not show a clearly resolved 1→2→4 sequence of periodic orbits. The vertical stripes may include oscillations that are still growing or decaying, and several maxima per cycle do not necessarily imply a period doubling. I therefore do not use their mere number to label a point as chaotic. The most evident transition in this sweep is from remaining near a lateral equilibrium to visiting both regions, followed by the possibility of escaping from the investigation domain.
The same observation through the peak-to-peak excursion
The Dataset chua.sweep.summary contains G, h, run status, escape time, minimum, maximum and mean of v1, fraction of positive samples, number of maxima and peak-to-peak excursion. I select only bounded=1 and build two scatter series, one for each step, with amplitude on the vertical axis. The figure compares the maximum minus the minimum of the voltage over the whole observation window.

| G | Minimum v1 | Maximum v1 | Excursion | Positive fraction |
|---|---|---|---|---|
| 0.35 | 15.599995 | 15.600005 | 9.96×10−6 | 1.000 |
| 0.425 | 11.1657 | 12.8346 | 1.6689 | 1.000 |
| 0.435 | 7.4497 | 15.8305 | 8.3808 | 1.000 |
| 0.440 | 1.5061 | 21.4209 | 19.9148 | 1.000 |
| 0.445 | −21.6334 | 21.6070 | 43.2404 | 0.393 |
| 0.700 | −12.1172 | 12.1150 | 24.2323 | 0.552 |
| 0.790 | −10.4066 | 10.4184 | 20.8251 | 0.522 |
The table refers to the step h=0.01. The first four cases keep v1 positive in the observation window. At G=0.44 the minimum is still greater than +1, that is, the threshold of the positive outer branch. At G=0.445, instead, both signs are visited. I am not determining a universal threshold between 0.44 and 0.445: the difference concerns what I observed in the two runs up to t=2500.

The time sequence restores part of the information that is lost in the diagram of maxima as a function of G. At G=0.445, in the short interval 1800–1900, the maxima stay negative, while the whole interval 1800–2500 includes both regions. At G=0.7 transitions between positive and negative maxima are already seen in the short window. This difference is a warning not to confuse the absence of a transition in a short record with the absence of the second lobe in the dynamics.
6. What does it mean when the attractor disappears from the diagram?
In the right-hand part of the diagram the points stop appearing. It would be wrong to conclude that the voltage is zero there or that the circuit has reached an equilibrium. I used an explicit stopping criterion, and the corresponding time is recorded in the summary. Here is the balance of the 242 integrations:
| RK4 step | Runs up to t=2500 | Stops due to escape | Maxima kept |
|---|---|---|---|
| 0.02 | 90 | 31 | 17,797 |
| 0.01 | 91 | 30 | 17,997 |

For G=0.79 the trajectory with h=0.02 leaves the domain at t=1651, while with h=0.01 it reaches t=2500. At G=0.805 both stop, but at very different times, 618.74 and 2441.74. The important point is that I cannot interpret the escape time as a constant of the circuit, independent of the numerical method.
These are finite-horizon results: the stopping criterion is not a mathematical proof of escape to infinity, and reaching the final time does not guarantee the existence of a stable attractor. In particular, G=0.79 remains a case that is sensitive to the resolution. The three-segment law used by Matsumoto does not contain the additional dissipative segments of a physical model valid at large amplitude. I do not insert an artificial saturation to bring the trajectories back into the graph.
7. Comparison with the real experiment
In the first article I had looked at Kennedy’s photographic sequence, Figure 14 of report M92/26: equilibrium at 2 kΩ, period one at 1.88 kΩ, period two at 1.85 kΩ, period four at 1.84 kΩ, period-three window at 1.825 kΩ, double scroll and finally a large limit cycle. The experimental route is richer than what the sweep of Matsumoto’s numerical model allows us to resolve here. Parameters, characteristic and implementation are different. It would therefore be incorrect to associate those values of R directly with the numerical values of G in the table.
This comparison suggests a practical conclusion: a bifurcation diagram must be built on a precise model and with a reproducible protocol. The initial condition, duration, time resolution, parameter resolution and the criterion by which the regime is recognised must also be stated. To look for the period doublings in Kennedy’s circuit I will have to examine that model specifically or measure it on the bench; I do not infer them from the graphs in this article.
8. What I have understood and what I want to measure next
Starting from a single knob I found an analytical threshold of local stability, saw the difficulties of very slow transients and built a diagram of maxima over 121 parameter values with two time resolutions. I also kept the escape cases, instead of hiding them in an apparently regular diagram. The sweep shows a wide region in which the trajectory remains bounded and visits both lobes in the observed interval. However, it does not rigorously classify periodicity and chaos and does not prove a complete sequence of bifurcations.
The next step will be to go back to the trajectory of the double scroll, not just the cloud of maxima: I will use return maps, a comparison of trajectories with nearby initial conditions and quantitative indicators of the dynamics. I want to distinguish a truly chaotic motion from a long but periodic sequence.
Reproducible material
The Octave script chua_sweep.m is intended for the GX-TXT Script Workspace. In a new session the historical document with ID 1984_matsumoto_chaotic_attractor_techreport must be present. The script publishes two canonical HDF5 Datasets with fixed IDs: chua.sweep.peaks (35,794 rows) and chua.sweep.summary (242 rows). Run it in a new session so as not to replace existing results; wait for the Job to complete before accessing the Datasets. The six graph variants and the Mathematics Explorer Workspace are kept in session S05.
References
T. Matsumoto, A Chaotic Attractor from Chua’s Circuit, technical report UCB/ERL M84/36 (1984), IEEE Transactions on Circuits and Systems 31(12), 1055–1058, DOI. Numerical model and integration method.
M. P. Kennedy, Robust OP Amp Realization of Chua’s Circuit, report UCB/ERL M92/26 (1992), Frequenz 46(3–4), 66–80, DOI. Experimental sequence of Figure 14, already examined in the first article.