Field

Networks, and how a solve is checked

A circuit has one answer and a matrix finds it. What matters is not that the answer exists but that it can be checked: the branch currents are rebuilt from the element laws and summed at every node, and the energy is counted twice. Networks with no answer are refused by name rather than returned as a large plausible number.
A network solved, and checked: a bridge, which no series-parallel reduction reaches. Node potentials from modified nodal analysis. The branch currents are then recomputed from each element's own law and summed at every node; the residual is 2.7e-16 of the largest current in the circuit, which is floating-point rounding and nothing else.

What a network answers, and how the answer is checked

A circuit has exactly one answer and a matrix finds it. The part that matters is not that the answer exists but that it can be checked twice, by routes that share no arithmetic — and that a circuit with no answer is refused by name rather than returned as a large plausible number.

A 10 kΩ + 10 kΩ divider, solved with its load. The unloaded answer is 6.00 V. It is 1% low at a load of 495 kΩ and 4.00 V at a load equal to the divider's own resistance. The ratio does not predict any of this; the magnitude does.

The divider, and the thing it does not know about

A two-resistor divider's output is set by the ratio of its resistances — with nothing connected. Connect anything at all and what decides the answer is the quantity the ratio was built to discard: the magnitude. Two dividers of identical ratio give six volts and one volt into the same load.

A 9 V source with 500 mΩ inside it. The ideal source is the flat line. The solved terminal voltage leaves it at a rate set entirely by the internal resistance: 1% low at 180 mA, half gone at 9.0 A.

The source that is not a source

An ideal voltage source holds its voltage at any current, which makes it the flattest line in the subject and the most commonly assumed model in it. Its edge is a current, set by one resistance nobody draws — and past that current the model is not approximately right, it is describing a different object.

The equivalent of six elements, and the heat it does not account for. computed by solving, not by drawing at 73 loads. The network reduces to 8.56032 V behind 599.768 Ω, obtained twice and agreeing to twelve figures. Into every load on the axis the two put the same voltage to 2.2e-16 of it and deliver the same power to 7.8e-16 — there is no load that can tell them apart. Inside, at a load of 5.62 kΩ, the real network is dissipating 49.168 mW and the equivalent claims 1.1349 mW, a factor of 43.3. With the port open the equivalent says nothing at all is being burned and the network is burning 48.03 mW. The slider moves the resistor bridging the two sources, which joins two ideal sources and so cannot change anything the port can reach: the equivalent stays 8.56032 V behind 599.768 Ω to the last bit at every setting, while the heat inside moves by two and a half times.

Exact outside and wrong within

Six elements reduce to one source and one resistor that no load can distinguish from them: the same voltage into every load across six decades, to the last bit of a double. The reduction is wrong about the heat by a factor of forty-three, and with nothing connected it says the network is dissipating nothing while it burns 48 milliwatts.

A network the solver will answer, and should not be asked, into 0.01 Ω. computed by solving, not by drawing at 61 spreads. A hundredth of an ohm either side of a wire whose resistance is made smaller and smaller, into 0.01 Ω — an element written where the right answer is no element at all. The solution stays exact: 0.499999998422607 at the last spread before the refusal, against 0.500000000000000. What grows is the current-law residual, as the 0.96 power of the spread. The solve is refused at a spread of 2.5e+8, where the smallest pivot falls under 1e-12; the residual tolerance of 1e-7 would have been reached at about 3.3e+9. Two guards written for unrelated reasons, arriving within a decade of one another.

The answer that is perfect and absurd

A network with a wire written into it as a small resistance returns the right node voltage to fifteen figures, passes both verifications with a residual of two parts in ten to the sixteenth, and reports two hundred thousand amperes. The solver refuses it one decade further on, and by then it has been answering for eight decades.

Superposition holds for the solution and not for its square. computed by solving, not by drawing, at 81 settings of the second source. Two ten-volt sources reach one hundred-ohm load through a hundred ohms each. Every node voltage and every branch current is the sum of the two single-source solves to 3.8e-16 of itself — superposition, exactly. The power is not: the difference is 2·Re(I₁·conj(I₂))·R to 1.0e-15, and at 0° between the sources and equal size it is 444.4 mW against the 222.2 mW that adding gives. Adding the two powers is within one per cent of the truth only when one source is below 0.00505 of the other. The slider is the angle between them: at 90° the two curves coincide to the last bit, and at 180° the true power falls to zero while the sum does not.

Two solves that add, and the one that does not

Every node voltage and every branch current in a linear network is the sum of the per-source solves, here to the last bit of a double at eighty-one settings. The power is not, and the gap is not a correction: two equal sources in antiphase put nothing at all into a load while adding their powers gives 222 milliwatts, and the sum is within one per cent of the truth only when one source is two hundred times the other.

A passive network, read from each end — and the two readings are one number. computed by solving, not by drawing. A five-element RLC ladder with a current injected at one port and the voltage read at the other, then the two exchanged. With no controlled source the two readings agree to 4.9e-14 of themselves over four decades, which is the arithmetic's noise rather than a physical difference — the network cannot tell which way round it is being used. A mutual inductance keeps that: a 1 mH and a 4 mH winding at k = 0.7 give 0.0e+0, because the coupling puts the same entry in both halves of the matrix. A transconductance does not, and the departure is proportional to it with a fitted exponent of 1.000 over four decades — so there is no small amount of gain that is harmless. It passes the arithmetic's own floor at 0.781 femtosiemens, and the smallest transistor in this collection is nine orders above that.

The reading that does not care which way round it is

Inject a current at one end of a network and read the voltage at the other; then swap the two. A passive network gives back the same number — not a similar one, but the same to five parts in ten to the fourteenth over four decades of frequency, and for a coupled pair of windings the same double. Put a transconductance of eight tenths of a femtosiemens anywhere in it and the two readings part company.

A divider of 4 equal 1.0% resistors, solved 3000 times. computed by solving, not by drawing. Every resistor drawn from its tolerance band and the divider solved, 3000 times. The worst case is ±1.000% — the part tolerance itself, and it does not improve when the divider is built from more parts — while the measured spread is 0.2944% and the worst of 3000 draws reached 82% of the bound. The root-sum-square, offered as though it were a standard deviation, is 1.70 of one here: for uniformly distributed parts it is √3 σ, a coverage of about 92%.

The tolerance that is not on any part

Four one per cent resistors in a divider give an answer whose worst case is one per cent, whose measured spread is 0.29 per cent, and whose root-sum-square bound — offered everywhere as though it were a standard deviation — is 1.70 of one. Adding parts does not move the worst case at all and shrinks the spread as one over their root, so the gap between the promise and the fact widens with every resistor. And the same arithmetic draws a boundary in tolerance rather than in frequency: an R–2R ladder is a twelve-bit converter only while its resistors are inside 0.14 per cent.

Fourteen decades of imbalance, fourteen digits gone, and a matrix in perfect health. computed by solving, not by drawing. A Wheatstone bridge walked towards balance, with the relative error of the solved output against a closed form that cannot lose digits. The condition number of the nodal matrix is 505.0 at every imbalance and the smallest pivot is 2.0e-3 of the matrix norm — orders above the 1e-12 at which this solver refuses to answer at all. Neither number moves, and the answer still loses one digit per decade of imbalance, reaching 33% at δ = 1e-15. The bound drawn over it is the round-off divided by the imbalance, which the measurement stays under at every point. The third curve is the same closed form written as ½ − 1/(2+δ) — algebraically identical, and it loses its digits at the same rate, which is where the loss lives: in the subtraction of two nearly equal numbers, not in the matrix.

The matrix that is ill, and the answer that is not

Every other essay here treats the solve as exact, and it is not. A bridge walked towards balance loses one digit per decade of imbalance and has none left at a part in 10¹⁵ — on a matrix whose condition number never moves and whose smallest pivot stays four orders above the threshold this solver refuses at. A feedback amplifier does the opposite: the solver declines to answer at a gain of 10⁹, one decade after it returned an answer that was exact to the last bit.

A difference quotient is best at a step of 1e-5, and is 1e+6 times worse at 10⁻¹¹. computed by solving, not by drawing. The worst disagreement between the adjoint network's derivatives and a central difference quotient of the same quantities, against the fractional step the quotient is taken with, on a 7-element LC ladder filter at 1000 Hz. The curve has a minimum because two errors pull opposite ways: the curvature the quotient neglects falls as the square of the step, and the digits its subtraction destroys rise as one over the step. The best it reaches is 1.4e-9, against the 2.3e-11 that the two-thirds power of the machine epsilon predicts. The exact route costs 2 solves against 15, and has neither error term.

Every derivative, and the one that is zero

How much does this response move if that capacitor is one per cent out? A difference quotient answers it one component at a time, in two solves each, and its best possible accuracy is four parts in a hundred million. Transposing the matrix and solving once more answers it for every component at once, exactly. Pointed at a claim the essays on ladder filters have made from the start and never tested directly — that a doubly terminated ladder filter's response is stationary in every element at its passband maxima — it returns two parts in ten billion, where the cascade realising the identical response returns 0.72.

Sixteen more digits move the boundary by sixteen decades and leave it exactly where it was. computed by solving, not by drawing. The earlier essay's bridge, walked towards balance and solved twice: once in double precision and once with a pair of doubles carrying about 31 decimal digits, against a closed form that cannot lose any. The 33 per cent error at an imbalance of 10⁻¹⁵ becomes 7.0e-18 — so that loss was the arithmetic's and not the network's, which is what the earlier essay could not say. Each arithmetic's error is its own round-off divided by the imbalance, drawn as the two straight lines, so the second boundary is the first one moved by exactly the extra digits. The condition number is 505 in both cases and at every point, which is the diagnostic being blind twice over.

The digits the arithmetic did not have

Bounding the arithmetic of double-precision circuit solving finds two boundaries that cannot be attributed to it: a bridge with no correct figures left at an imbalance of 10⁻¹⁵, and a filter synthesis that stalls at order 14. An ill-conditioned problem stays ill-conditioned however many digits are used, and a well-conditioned one computed badly gets better — so adding digits is the experiment that tells them apart. The bridge's loss is entirely the arithmetic's. The synthesis's is mostly the data's, and doubling the digits makes it worse.

Where one pole goes when each component is 5% high. computed by solving, not by drawing. A series R–L–C, its poles recovered by rooting the determinant, and the derivative of the upper one with respect to each element taken exactly from the two null vectors at the pole. The dashed lines are the first-order prediction for a 5 per cent change; the filled circles are where the root actually goes when the element is changed and the determinant re-rooted. The three directions are the argument: the resistance moves the pole along a circle of constant radius, because the natural frequency does not contain it — its normalised sensitivity has a real part of 3.1e-16. The inductance and the capacitance each carry exactly −½ of the radius, and imaginary parts that are exact negatives. At 5 per cent the prediction is out by 0.122 per cent of the pole's own magnitude.

The derivative of a root

An earlier essay turned one transposed solve into the derivative of a response with respect to every element, and found a doubly terminated ladder filter stationary at its ripple peaks to a part in ten to the eighth. A pole is a different object — a value of s at which the matrix loses rank — and its derivative comes from two null vectors and a division. Pointed at the same two realisations, the ladder filter's advantage is a factor of 2.17, not eight orders of magnitude: what is stationary is the magnitude at one frequency, and it says nothing about where the poles are.

At a stationary point a tolerance has a mean, not a spread. computed by solving, not by drawing. Six hundred ladder filters with every reactance drawn independently from ±1 per cent, measured at the ripple peak and at a frequency between the peaks. Away from the peak the distribution is centred on nominal and 325 of 600 are above it. At the peak none is: the whole distribution lies below, with a mean of -0.0030 per cent and a worst case of -0.0140. A yield calculation that assumes a symmetric spread at a frequency that has a stationary point is wrong in both directions at once — it allows parts above a limit that cannot exist, and it misses that the whole batch has moved.

The tolerance that can only take away

At a doubly terminated ladder filter's ripple peak the first derivative of the magnitude with respect to every reactance is zero to ten digits, which an earlier essay measured and which says nothing about how much the response moves. This says how: every second derivative is negative, so of six hundred ladder filters built from one per cent components not one is above nominal, the mean has shifted rather than the spread having grown, and doubling the tolerance quadruples the damage instead of doubling it.

Five tolerances, and the response moves in two directions. computed by solving, not by drawing. The eigenvalues of the relative second-derivative matrix of a fifth-order 0.5 dB Chebyshev ladder's magnitude at its lower ripple peak, over its five reactances. Two are of order one — -0.9473 and -0.8051, both negative — and the other three are 3.9e-9, which is zero at the precision the arithmetic has. So the quadratic form is negative semi-definite of rank two, and there is a three-dimensional subspace of component errors that the peak cannot see. The open circles are the same matrix computed by four re-solves per pair, sharing no adjoint arithmetic with the filled ones: they agree to parts in ten thousand on the two that are there and place the three zeros about two decades higher, which is the price of differencing a difference.

The three tolerances that do nothing

An earlier essay computed every second derivative of a ladder filter's magnitude at a ripple peak, found them all negative, and built six hundred ladder filters to argue that no combination of tolerances could raise the response. The whole matrix says so outright — and says something six hundred samples could not have found, because a sample of a five-dimensional box never lands on a three-dimensional subspace: two of the five eigenvalues are of order one and the other three are nine decades down.

The most sensitive direction at one ripple peak is not the one at the next. computed by solving, not by drawing. The eigenvector of the largest eigenvalue of the relative curvature matrix, at each of the 2 ripple peaks of a 5th-order 0.5 dB Chebyshev ladder, drawn as its components over the reactances in order along the ladder filter. Every one is symmetric under the filter's own reversal and no two of them are the same direction: the largest overlap between any pair is 0.0603, which is 86.5 degrees apart. The eigenvalue that belongs to them grows from -0.9473 at 554.9 Hz to -12.005 at 897.9 Hz, a factor of 12.7, so the peak nearest the band edge is both the most sensitive place in the passband and sensitive to a different combination of parts. Each direction is confirmed by a second computation of the whole matrix — four re-solves per pair, sharing no adjoint arithmetic — which returns the same direction to 7.6e-7 radians.

The direction a response is most sensitive to

An earlier essay diagonalised a ladder filter's curvature at one ripple peak and read only the eigenvalues: rank two of five, three directions of nothing. The eigenvectors say what the two directions are, and doing it at every peak rather than one changes the conclusion. The most sensitive combination at 554.9 Hz and the one at 897.9 Hz are 86.5 degrees apart, the curvature that belongs to them grows from −0.556 to −75.4 across a ninth-order passband, and exactly one combination survives the whole band at every order — which turns out to be the ripple depth.

Inside the passband the matrix is worst at the edge, and at no ripple peak. computed by solving, not by drawing. The condition number of a 5th-order Chebyshev filter's nodal matrix at every frequency from a hundredth of its cutoff to ten times it. It is 4.004e+3 at direct current, rises to 1.5868e+7 at 964.0 Hz — located by golden section rather than read off the sweep — falls to 4.970e+6 at 1520 Hz and rises again through the stopband. The maximum is above every ripple peak (the highest is at 897.9 Hz) and within 3.6 per cent of the half-power frequency: the worst-conditioned place in the passband is where the filter stops passing and starts blocking, which is a place the response curve has no feature at. It is a local maximum: above the band κ climbs again, reaching 2.702e+7 at ten times the cutoff, because the susceptances in the matrix grow with the frequency and κ counts them. Nothing about any of these numbers says whether a digit is actually lost anywhere.

Where the matrix is worst, and where the answer is not

When a solve stops being exact has been answered with two networks at direct current. Swept along the frequency axis, a resistive chain's nodal matrix has a condition number of 4.00×10³ at direct current and 1.59×10⁷ at 964 Hz — a maximum at the band edge, at no ripple peak and at no feature the response has. It predicts nothing. The solution vector is right to three units of round-off everywhere, the response taken out of it loses four decades into the stopband, and the same filter written at 400 kΩ instead of 10 Ω has a condition number 1.4×10⁹ times larger and returns the same twelve digits.

The ratio of the two readings, drawn where it lives. computed by solving, not by drawing. The same five-element RLC ladder at 10 kHz, read from each end, with the quotient of the two readings plotted in the complex plane. A reciprocal network sits at the point 1. One transconductance moves it along a straight ray, 1 − gm·Z, whose direction is the phase of the single branch between the source's control node and its output node and whose length is gm|Z| — 62.83 Ω for the 1 mH inductor, 120 Ω for a resistor, 72.34 Ω for 220 nF, all at 10 kHz. A mirrored pair of transconductances stays at 1 to 2.3e-15; reversing one of them runs the ratio around the unit circle to 8.9e-16, where the two readings are the same size and differ only in phase. The straight-ray law needs the two nodes joined by exactly one branch, and a second path between them takes it away by a factor rather than by a percentage.

The reading that does care which way round

An earlier essay measured a network's departure from reciprocity and left its size as a constant — 62.8 per siemens, for that network at that frequency. It is not a constant and it is not the network's: it is 2πfL for the single inductor between the controlled source's control node and its output node, 62.832 ohms at ten kilohertz, and the ratio of the two readings is 1 − gm·Z to 8.8 parts in 10¹⁴ over ninety-nine readings. So 4.5455 millisiemens across a 220 ohm branch makes a ladder that transmits a hard zero forwards at every frequency at once, and 206.13 ohms back at ten kilohertz.

The load that takes the most power is 3.67 Ω, and the open-circuit voltage over the short-circuit current is 3.97 Ω. computed by solving, not by drawing. The terminal characteristic of a photocurrent with a junction across it, with the power along it drawn on the same axes and scaled to fill them. The most power, 80.99 W, is delivered at 17.244 V and 4.696 A, which is a load of 3.67 Ω. The incremental resistance of the source there — the negative of the characteristic's own slope — is 3.67 Ω, the same number to four figures. A straight line drawn between the two end points has a resistance of 3.97 Ω and would promise 24.81 W. The ratio of the true maximum to that promise is 3.264, and its reciprocal is the fill factor, 0.8160.

The load a curve recommends

The maximum power theorem says to match the load to the source's internal resistance, and for a straight-line source the internal resistance, the slope and the open-circuit voltage over the short-circuit current are one number. On a photovoltaic panel they are three: the slope at the maximum is 3.6717 ohms, the load there is 3.6717, and the open-circuit voltage over the short-circuit current is 3.9709 — and a quarter of the open-circuit voltage times the short-circuit current, which is what a straight line would deliver, is 24.81 watts against the 80.99 that is there. The theorem survives with the incremental resistance in place of the internal one, and it survives only where the characteristic has a slope: on a supply whose current limit folds back, the most power is delivered at a corner.

One gain takes the equivalent resistance from 5 kΩ through infinity to negative. computed by solving, not by drawing. A 5 V source drives a node through 10 kΩ; the node also reaches 10 kΩ whose far end is held at A times the node's own voltage. The Thévenin resistance looking into that node is r1 in parallel with r2/(1 − A), which the solve returns to a part in a billion without being told: 5 kΩ at no gain, 10 kΩ at unity where r2 takes no current at all, and unbounded at A = 2.00 where the two conductances cancel. Above that it is negative. The open-circuit voltage follows it, because the short-circuit current is 500.0 µA at every gain — a short across the controlling node leaves the dependent source nothing to be controlled by — so the open-circuit voltage is simply the short-circuit current times whatever the resistance is, and reaches 150.0 volts from a five-volt source inside the range drawn.

The resistor that is not made of the resistors

Exact outside and wrong within reduced six elements to one source and one resistor and found the resistor two ways that agreed to the last bit. Put a dependent source in the network and one of those routes stops working, because setting the sources dead kills the independent ones and leaves the dependent one where it is. On a bootstrap of two ten-kilohm resistors the Thévenin resistance runs from five kilohms through infinity to minus ten, the open-circuit voltage of a five-volt source reaches 225, and above one gain the equivalent's resistor is negative — which the netlist refuses to stamp, correctly, because a negative resistance is a controlled source and not a resistor.

The circuit does not care which node is called zero, and the matrix does. computed by solving, not by drawing. The condition number of the nodal matrix for a 12-section chain, against which of its nodes was taken as the reference. The network, its elements and its physics are identical in every case — only a label has moved — and every branch voltage and branch current comes back the same to 1.1e-13. The condition number runs from 5.25e+4 at "n6" to 1.72e+5 at "n12", a factor of 3.28, which is 0.52 decimal digits of the arithmetic's own margin.

The node that is not in the circuit

Nodal analysis needs a node to call zero and no circuit contains one. Moving it changes every node voltage by the same amount and no branch voltage or branch current at all — to a part in ten to the fourteenth on a well-behaved chain. What it does change is the matrix: the condition number of a twelve-section chain moves by a factor of 3.3 with the reference, and on a star whose resistances span nine decades by 8.0. Measured against the same matrix solved in twice the precision, the worst reference costs four decimal digits of the answer, and it is the reference the condition number named before the error was looked at.

Three dividers in a row, and where the error actually is. computed by solving, not by drawing. Three two-resistor dividers cascaded with nothing between them. The product of their ratios is 0.1250 and the solved output is 0.076923, 38.5% low at a staircase of ×1. Decomposed stage by stage with the rest of the chain in place — and the product of those three is the answer exactly — they are 0.3846, 0.4000, 0.5000: the LAST stage is exactly its own ratio because nothing is connected to it, and the error is at the front, which is the opposite of where a probe goes. Staggering each stage's impedance up by a factor takes the departure down in proportion, fitted exponent -0.993, so a decade a stage is within 4.88% and two decades within 0.50% — which is why a chain that has to be right is built as a staircase and not out of one value repeated.

The stage that is wrong is the far one

Three identical ten-kilohm dividers in a row give 0.076923 rather than the product of their ratios, 0.125 — 38.5 per cent low. Decomposed stage by stage with the rest of the chain in place, and the product of those three is the answer exactly, they are 0.3846, 0.4000 and 0.5000: the LAST stage is exactly its own ratio because nothing is connected to it, and the error is entirely at the front, which is the opposite end from where a probe goes. Staggering each stage's impedance up by a factor takes the departure down in proportion — fitted exponent −0.993.

The current divider, and the resistance that is not in the branch. computed by solving, not by drawing. A current source into two parallel branches, the metered one 10.0 kΩ and the other 1.00 kΩ. The metered branch takes 0.090909 of the current, which is the OTHER branch's resistance over the sum; writing the subscripts the way a voltage divider writes them gives 0.90909, a different number at every ratio but one. The dual of a voltmeter's finite resistance is an ammeter's non-zero one, and the threshold has the same shape with the roles exchanged: one per cent of error at 111.1 Ω, which is that resistance over ninety-nine to 1.7e-12%. And the headline of the loaded divider holds in the dual too — two current dividers of identical ratio read 0.04762 and 0.09090 into one hundred-ohm meter — while a perfect ammeter reads them identically.

The branch the other resistance decides

A voltage divider's output is set by the resistance the output is taken across; a current divider's is set by the resistance the current does not go through. The dual of a voltmeter's finite resistance is an ammeter's non-zero one, and the threshold has the same shape with one word changed: one per cent at a meter resistance of R/99 where R is what the meter looks back into — and removing an ideal current source means OPENING it, so that R is the two branches in series, 11 kΩ here, not the 909 Ω of their parallel combination — a factor of twelve in the same construction on the same network.

One rms value, and a peak that moves 41 per cent with a phase. A 10 V fundamental and a 3.33 V 3th harmonic, summed, with the harmonic's relative phase swept. The two are orthogonal over a period, so the root-mean-square value is the quadrature sum 7.45356 V at every phase — to 6.2e-15, which is the one case superposition allows and is a theorem rather than an approximation. The peak is not a sum of anything: it runs from 9.428 V to 13.33 V, a factor of 1.414, against a bound of 13.33 V that it reaches exactly at 180° — where this harmonic's own crest lands on the fundamental's, which for n ≡ 3 (mod 4) is that end of the sweep and not the other. At the far end it flattens the crest to 9.428 V, and there the peak has no closed form at all. So one signal has one heating and a headroom requirement that varies by 41 per cent, decided by a phase that no magnitude spectrum carries.

The peak that only has a bound

Power does not superpose and the gap has a closed form — two times the real part of one current times the conjugate of the other, exact at every setting. A peak has nothing of the kind. A ten-volt fundamental with a third harmonic a third its size has one root-mean-square value, 7.454 volts at every relative phase because the two are orthogonal, and a peak running from 9.428 to 13.333 volts across the same sweep — reaching the sum of the two peaks exactly at 180 degrees, where the harmonic's own crest lands on the fundamental's, and having no closed form at all at the other end.

Zeroing the dependent source too: an answer that does not depend on the gain. computed by solving, not by drawing. Two independent sources reach a node through resistors; a voltage-controlled source of gain −10 is driven from that node and fed back to it through 10 kΩ. Solved whole, the output is -25.0000 V. Solved by superposition with the dependent source LEFT IN each of the two solves it is -25.0000 V — the same number to 1.1e-16, so superposition is exact here as it is everywhere else in a linear network. Zeroing the dependent source along with each independent one gives nought volts at the output and 4.06250 V at the node, against the node's true 2.50000 V — 62.5 per cent out — because a controlled voltage source set to zero is a short circuit and the three solves are then of three different circuits. What makes it unmistakable is that the wrong answer is 4.06250 V at EVERY gain from one to three hundred: the route has deleted the only element that knows what the gain is, while the true answer moves by more than a factor across the same range.

The source that must not be zeroed

Superposition says to zero all the sources but one, and the care usually taken over that instruction is that zeroing is not deleting — a voltage source with no voltage is a short circuit and it stays in the netlist. A dependent source needs the opposite care: it must not be zeroed at all, because it is an element whose law involves another node rather than a source the theorem is about. Zeroed, it is a short circuit, and the answer that comes back is 4.0625 volts at every gain from one to three hundred — while the true answer moves from 3.82 volts to 0.206.

Adding powers is wrong by the number of sources, when they are coherent. computed by solving, not by drawing, at five source counts. 8 ten-volt sources reach one hundred-ohm load through a hundred ohms each. With every source in phase the load takes 790.1 mW against the 98.77 mW that adding their separate powers gives — exactly 8 times, at every count, to a part in 10¹², because all 28 cross terms are positive and equal. With seeded random phases it takes 0.9865 times the sum over 64 runs, against a standard error of 0.125 — the cross terms average to nothing, which is the reason noise powers add and a root-sum-square is the right arithmetic for uncorrelated interference. The factor between the two limits is the source count itself, so it grows without bound: adding powers is not wrong by a bounded amount, it is wrong by how many things are being added.

The cross terms that outnumber the sources

With two sources the power in a load has one cross term, and adding the separate powers is wrong by a factor of two. With thirty-two there are four hundred and ninety-six of them, and the factor is thirty-two: 940 milliwatts delivered against the 29.4 that adding gives. With the same thirty-two sources at seeded random phases it is 26.9 milliwatts — the sum itself, inside the standard error of sixty-four runs, because every cross term averages to nothing. One identity, two limits, and the two are a phased array's gain and a noise sum's.

4 branches read with 10 Ω ammeters: one at a time every reading is low, all at once they add up and the small branches are high. computed by solving, not by drawing. A 1 A source into 4 parallel branches of 100 Ω, 1 kΩ, 10 kΩ, 100 kΩ, each read with an ammeter of 10 Ω. With one ammeter moved from branch to branch, each reading is low — by −0.989%, −0.902%, −0.099%, −0.010% — exactly r over the resistance that meter looks back into plus r, and the four readings add to 990.275 mA rather than 1000.000. With an ammeter in every branch at once the readings add to 1000.000 mA and are wrong by −0.892%, +7.939%, +8.910%, +9.008%: the meter in the largest branch pushes current out of it, and the small branches take it.

The readings that add up and are wrong

Four branches of 100 Ω, 1 kΩ, 10 kΩ and 100 kΩ share a 1 A source. Read them one at a time with a single 10 Ω ammeter moved from branch to branch, and every reading is within one per cent of the truth, but the four add to 990.275 mA. Put a 10 Ω ammeter in every branch at once and the four readings add to 1000.000 mA exactly, satisfying Kirchhoff's current law to the last digit. Yet three of them are 7.9 to 9.0 per cent high. The check a reader would run on the readings is passed by the wrong set and failed by the right one.

The R–2R ladder is the chain designed for the rest of itself: every node halves exactly, in place and only in place. computed by solving, not by drawing. A current source into an 8-bit R–2R ladder, each bit's 2R returned to a virtual earth. With the rest of the ladder in place every node splits the current arriving at it exactly in half, so bit k carries 2 to the −k of the source and the step at the major carry is exactly one least significant bit. A stage alone, into a short, would send a third on rather than a half; it is right because of what is connected to it. The same ladder with every resistor equal — the three-divider chain's habit — gives 0.61803, 0.23607 and then falls away by 2.6182 a stage, which is the square of the golden ratio, 2.6180, to the fourth figure.

The R–2R ladder, built for the rest of itself

Three equal voltage dividers in a row deliver 0.076923 of their input instead of 0.125. Their error sits in the front stage, at 0.3846, 0.4000 and 0.5000 per stage. The dual chain, three current dividers fed by a current source, gives the same three numbers to the last digit, and its repair runs the other way: each stage's resistance must fall, not rise. The R–2R ladder is the chain whose stages are wrong alone and right in place, halving exactly at every node. It still keeps its error at the front: a one per cent error in its first resistor makes an eight-bit ladder step backwards at the major carry, and the same error in its last shunt moves that step by 0.0034 LSB.

With each source 0.8 of the one before, 32 coherent sources cost 8.99 times the sum of their powers, and never more than 9.00. computed by solving, not by drawing, at five counts and five amplitude ratios. Sources of 10 V, 10q V, 10q² V … each reach one 100 Ω load through 100 Ω; with all in phase the load's power over the sum of each source's power alone is (Σ|a|)²/Σa² to ten figures. Equal sources (q = 1) give the count itself, 2, 4, 8, 16, 32. Falling amplitudes give less, and a limit: for q = 0.8, 1.98, 3.77, 6.41, 8.51, 8.99, tending to (1 + q)/(1 − q) = 9; for q = 0.5, 3.000 against 3. The coherent penalty counts sources by their participation, not their number.

How many sources the cross terms count

N equal coherent sources on one load deliver N times the sum of their separate powers. Sources of unequal size deliver (Σ|a|)²/Σa² times it — solved on the network to ten figures — which is the number of equal sources that would carry the same penalty: a participation ratio. Amplitudes falling by 0.8 a source cap it at (1 + q)/(1 − q) = 9 however many there are; one large source and thirty-one at a tenth of its amplitude give 12.8, not 32, and for small sources the excess is 2(N − 1)ε — their amplitudes, not their powers, so thirty-one sources carrying a hundredth of the large one's power each turn 1.31 times its power into 16.8 times it when they line up. Random amplitudes take a fixed fraction off the count, (mean)²/(mean square): 0.75 for uniform ones. And with random phases none of it matters: the load takes the sum.

Four 1% parts spread evenly across their band: the divider's error has a spread of 0.289%, and 8.6% of builds are beyond ±0.5%. computed by solving, not by drawing: a divider of four equal 10 kΩ resistors tapped at the middle, built 6000 times from seeded parts uniform across ±1%, each copy's output error taken from the ratio in closed form and the first four hundred also solved on the netlist, agreeing to 7e-16. The inset is the parts' own distribution; the histogram is the divider's error. Its standard deviation is 0.2894%, half the parts' 0.5780%, because each part moves the output by a quarter of its own error and four quarters add in quadrature to a half. 8.60% of builds fall beyond ±0.5%, which is half the worst case the printed tolerance allows.

The shape a tolerance does not print

A resistor marked 1% promises only that its value lies within one per cent. How the values fill that band is not printed, and it decides almost everything a design does with the part. Four populations that all honour ±1% — spread evenly, Gaussian with the band at three standard deviations, screened from a wider population, and sorted with the best parts removed — give a four-resistor divider spreads of 0.289, 0.168, 0.267 and 0.378 per cent, a factor of 2.26 under one label. Specify the divider at ±0.5 per cent and the yield is 91.4, 99.8, 93.7 and 85.3 per cent. The shape's signature fades as one over the number of parts, so it bites hardest in the circuits with fewest.

Parts sharing 90% of their error: the divider's ratio spreads 0.091% and the chain's total resistance 0.559% — one from the same four parts, cancelling, and one adding. computed by solving, not by drawing, over 20,000 seeded builds: four 1% resistors whose errors share a fraction ρ = 0.9 of their variance — as parts from one reel, one wafer or one temperature do — built into a divider tapped at the middle. The ratio's error (solid bars) has a standard deviation of 0.0912%, half the parts' 0.577% times √(1 − ρ); the total resistance of the same four in series (outline bars) has 0.5587%, the parts' spread times √(ρ + (1 − ρ)/4). Correlation that makes a ratio better makes a sum worse, by the same arithmetic.

What a ratio does not see

Parts from one reel, one wafer or one temperature share part of their error, and a circuit that uses them as a ratio cancels exactly the part they share. Four 1% resistors sharing ninety per cent of their error make a divider whose ratio spreads 0.091 per cent and a series chain whose total spreads 0.559 — the same four parts, one answer six times better than independent parts would give and one nearly twice as bad. The ratio's spread falls as √(1 − ρ), the total's rises as √(ρ + (1 − ρ)/4). From −40 to 85 °C the chain moves by up to 0.76 per cent and the ratio by 0.135, inside the ±25 ppm/K the coefficients differ by. And a resistor array whose parts share 99.5 per cent of their error puts a divider inside ±0.1 per cent every time that four discrete parts manage it one time in four.

The best reference is the middle of the chain below 2.37 kHz and ground above it — the node the capacitors return to. computed by solving, not by drawing. The condition number of the nodal matrix of an 8-section RC ladder — 1 kΩ in series, 10 nF and 1 MΩ to ground at each node — solved at s = jω with each of its 10 nodes in turn called zero, against frequency. Drawn: ground, the input, the middle node and the far end; the others lie between. At direct current n4 is best, near the middle as the earlier resistor chain found; from 2.37 kHz ground is — well below a single section's 15.9 kHz corner, where each capacitor's admittance is already 0.15 of a series resistor's conductance, and all 8 together about 1.2 of one.

The reference a sweep should keep

At direct current the best node to call zero in a resistor chain is its middle. Put a capacitor to ground at each node and solve at s = jω, and the best reference moves: the middle of an eight-section RC ladder below 2.37 kHz, ground above it, where every capacitor returns. So a solver that chooses its reference once for a whole sweep is choosing wrongly somewhere, as the earlier essay suspected — but the two wrong choices are not alike. Kept for the whole sweep, ground is never worse than 1.27 times the best condition number, a tenth of a digit. The middle node, best at direct current and kept, is 143 times worse at a megahertz, 2.2 digits. A fifth-order LC filter says the same: ground within 2.18 times throughout.

Two 1% parts sharing 90% of their error: the divider's output spreads 0.129% at a half, 0.236% at ten to one and 0.258% at a hundred to one. computed by solving, not by drawing, over 20,000 seeded builds at each of seven ratios, every ratio computed exactly: a divider of two 1% parts, each with a uniform part's 0.577% spread and sharing a fraction ρ = 0.9 of it, with the top resistor N times the bottom. The output ratio's standard deviation (dots) against N, beside N/(N + 1)·√2·σ·√(1 − ρ) (line) and the same law for the other shared fractions (faint). N 1: 0.1286%; N 2: 0.1712%; N 5: 0.2145%; N 10: 0.2356%; N 20: 0.2477%; N 50: 0.2536%; N 100: 0.2581%. What is shared cancels at every ratio; what is not reaches the output with a leverage of N/(N + 1), which is a half for a halving divider and nearly one for a large ratio — so the same two parts make a ten-to-one divider 1.83 times worse.

The small leg of a large ratio

A divider of two 1% parts sharing ninety per cent of their error spreads 0.129 per cent at a half and 0.236 at ten to one — the same two parts, nearly twice as bad, because what they do not share reaches the output with a leverage of N/(N + 1) rather than one half. Correlation cancels at every ratio; the leverage does not. Built from equal units of one array, a divider of N to one spreads as σᵤ·√(N/M), so at any one area a ten-to-one ratio costs √10 against a half and needs ten times the units to match it, and the units it needs are the bottom leg's. And a ratio far from a half heats its own parts unequally: at 50 V across 11 kΩ the top of a two-part ten-to-one divider runs 46 K hotter than the bottom and the ratio moves 1,055 ppm with perfectly matched coefficients, where a chain of eleven equal units moves at most 29.

The bootstrap with 1 nF at its node: one natural frequency, against the gain. computed by solving, not by drawing: the natural frequency of the network found as the root of its determinant at each of 31 gains. It is −G/C to a part in a million at every gain, where G is the Thévenin conductance the reduction gives: −200 thousand per second at A = 0, zero at A = 2 where the resistance passes through infinity, and +100 thousand at A = 3 — a growth rather than a decay. The gain at which the pole crosses into the right half-plane is the gain at which the resistance changes sign, and the capacitor's size moves the pole's speed and nothing else.

The pole that crosses with the resistance

A bootstrap's Thévenin resistance passes through infinity and turns negative at a gain of two. Put one nanofarad at its node and the network has one natural frequency, −G/C to a part in a million: −200 thousand per second with no gain, zero at A = 2, +100 thousand at A = 3. The gain at which the pole crosses is the gain at which the resistance changes sign — for this network. Loaded by a resistor it crosses at one plus R₂ times the sum of the conductances to ground, so a negative resistance is stable across a smaller load and not a larger one; a lag in the source slows the growth and does not move the crossing; a tank on the node turns the runaway into a 30.5 kHz oscillation once its coil is below about 1.5 Ω; and with an inverting source the resistance is positive at every gain and the node still oscillates beyond A = −16.

The bootstrap reduced both ways: Thévenin's resistance diverges at A = 2, Norton's conductance crosses zero there. computed by solving, not by drawing at 121 gains, R₁ = R₂ = 10 kΩ. The Norton current is Vs/R₁, 0.500 mA, at every gain to a part in a billion (dashed, at 1), because shorting the node also shorts the bootstrap's input. The Norton conductance times R₁ is a straight line, 2 at A = 0 through zero at A = 2 to −1 at A = 3 (solid). The Thévenin resistance over R₁ is its reciprocal (faint, clipped at ±3): 0.5, 1 at A = 1, infinite at A = 2, −1 at A = 3. One network, two coordinate systems, and only one of them is singular exactly where the network is interesting.

The reduction that stays finite

The bootstrap's Thévenin pair diverges at A = 2: its resistance and its open-circuit voltage both pass through infinity and the solve that finds them refuses. Its Norton pair does not. The short-circuit current is Vs/R₁, 0.5 mA, at every gain to a part in a billion, and the conductance is a straight line through zero. A bench that drives a current and reads a volt loses the network for every gain from 1.992 to 2.008; a bench that drives a volt and reads a current sees it to a nanosiemens throughout. A 0.1% error in the gain moves the conductance by a constant 0.1 µS and the resistance by an amount that diverges at the pole — and four hundred bootstraps built from 0.1% parts to sit on it have conductances within ±0.3 µS of zero and resistances that are a median 10.6 MΩ, 196 of them negative.

Five readings of one passive ladder network, each taken forwards and backwards. computed by solving, not by drawing; every reading built as its own netlist, never converted from another. Transimpedance (current in, open-circuit voltage out), transadmittance (voltage in, short-circuit current out) and the reverse voltage gain against minus the forward current gain all give a ratio of one, to 1.0e-13. The voltage gain forwards against backwards does not: 1.000 at 100 Hz, 2.129 at 1 MHz. Nor does the current gain.

The readings that come back the same

Reciprocity is usually stated as 'swap the source and the meter and the reading is unchanged', and that is true of some readings and false of others. On one passive ladder network the transimpedance, the transadmittance, and the reverse voltage gain against the forward current gain each come back the same to 10⁻¹³, while the voltage gain forwards and backwards differ by 13.1 times at 82.5 kHz — exactly z₂₂/z₁₁. A 600-to-50-ohm pad has voltage gains of 0.0426 and 0.511 and one power gain both ways. A controlled source breaks all three reciprocal pairs by the same factor.

A terminated ladder network's output noise three ways: one solve per resistor, one solve from the output, and 4kT·Re{Z}. computed by solving, not by drawing, at 290 K. The line is 4kT·Re{Zout}. The dots sum each resistor's 4kT/R through its own transfer to the output, one solve per resistor. The rings get the same transfers from a single solve with an ampere injected at the output — reciprocity — and agree to 4.4e-16; the sum agrees with Nyquist's expression to 4.4e-16. 4.60 nV/√Hz at 100 Hz, 3.82 at 1 MHz.

The resistance colder than the room

In a passive network the noise at a port is 4kT times the real part of its impedance, and reciprocity is why: the transfer from each resistor to the port equals the transfer from the port to that resistor, so one solve from the output gives every resistor's share and the shares add to Nyquist's expression, here to 4.4 × 10⁻¹⁶. With gain in the network both fail. A 50-ohm termination made by feedback around an amplifier of gain A presents 50.000 Ω and has the noise of a 50-ohm resistor at 290/(1 + A) kelvin — 2.90 K at a gain of 99 — but only where the amplifier still has its gain.

Three trackers finding a panel's maximum power from open circuit, against the number of readings each takes. computed by solving, not by drawing: the single-diode panel of 81.0 W at 17.244 V, every tracker starting at 0.995 of the 19.85 V open-circuit voltage. Perturb-and-observe with 0.2 V steps walks down and then oscillates about the maximum, within two parts in a thousand of it from reading 39. Newton on I + V·dI/dV, two readings a step for the current and its slope, is within a part in a million from reading 10. The fractional open-circuit rule needs one reading and lands exactly, because its fraction, 0.8686, was taken at this light.

How many readings a maximum takes

A panel's maximum power sits where I + V·dI/dV is zero, and a tracker finds it by reading the panel. From open circuit, perturb-and-observe in 0.2 V steps takes 39 readings to come within two parts in a thousand and then oscillates about the maximum forever, giving up 7|P''|δ²/24 of it; Newton's method on the condition itself takes 10 readings to come within a part in a million, the digits doubling at each step. Newton converges only from a window: above 15.82 V on a panel whose maximum is at 17.24, because below it the condition is nearly the short-circuit current and nearly flat, and one step leaves the characteristic. And the one-reading rule — a fixed fraction of the open-circuit voltage — loses nothing at the light it was set at and 17 per cent at a fiftieth of it.

A fifth-order Chebyshev ladder built from parts of Q = 100: its passband sags by 0.94 dB near the edge and 0.38 dB at low frequency — 8.686·δ·τg, the group delay times the dissipation. computed by solving, not by drawing. A doubly terminated 0.5 dB Chebyshev ladder, fifth order, 1 kHz edge, 1 kΩ terminations, lossless (dashed) and with every inductor given a series resistance and every capacitor a shunt conductance for a uniform dissipation δ = ωc/Q = 62.8 s⁻¹ (solid), and the lossless response plus 8.686·δ·τg(f), with τg read off the lossless filter's phase (dots). The prediction holds to 3.6% of the extra loss across the passband. The extra is smallest where the delay is smallest, 0.383 dB at 38 Hz, and largest at 953 Hz near the edge, 0.943 dB, where the delay peaks at 1.79 ms: the ripple the design specified is rounded off where it was steepest.

The derivative that is a delay

A doubly terminated ladder filter is stationary in every element's value at its ripple peaks, and that insensitivity says nothing about the parts' losses. Give every reactance the same dissipation δ — a series resistance δL in each inductor, a shunt conductance δC across each capacitor — and every reactance has the impedance it had at s + δ, so the lossy ladder is exactly H(s + δ). By the Cauchy–Riemann equations the loss then rises by 8.686 times δ times the group delay, in decibels: the derivative of a ladder filter's response with respect to its parts' dissipation is its group delay. Solved with the resistors in, a fifth-order 0.5 dB Chebyshev of Q = 100 parts sags 0.383 dB at low frequency and 0.943 dB near its edge, where the delay peaks at 1.79 ms, the law holding to 3.6%. The sag falls as one over Q, grows with the order — 0.37 dB at third order, 2.74 at ninth — and is set by the mean of the inductors' and capacitors' dissipations.

One step of refinement in the same double precision returns the stopband's lost digits: 1.1e-12 at 10 kHz before, under 2.4 units of round-off after. computed by solving, not by drawing. The 5th-order Chebyshev ladder solved at every frequency in double precision (solid), and again after one step of iterative refinement — the residual b − A·x formed in double, the correction solved with the same elimination and added (dashed) — each against the same network eliminated in a pair of doubles. Plain, the response's error tracks the round-off divided by the response (dotted), from 1.1e-16 at 10 Hz to 1.1e-12 at 10 kHz, where the output is 6.78e-7 of the input. One step brings every frequency to within 2.4 units of round-off of the truth. No more digits were used: the loss belonged to the elimination's errors in the small component, and the residual, computed against the original matrix, sees them.

The step that returns the digits

A fifth-order ladder filter solved in double precision loses four decades in its stopband — 1.1 × 10⁻¹² of relative error at ten times the cutoff — on a solution vector that is right to round-off. One step of iterative refinement, in the same double precision, returns all of it: form the residual b − A·x, solve for a correction with the same elimination, add it, and every frequency is within 2.4 units of round-off of a 31-digit solve. The reason is that the plain solve is stable by the norm and not by the row — its componentwise backward error is 5.3 × 10⁻¹³ in the stopband rows — and one step makes it componentwise stable. The bridge walked to balance cannot be helped at all. Its node voltages are already right to the last bit; its digits are lost storing two numbers whose difference is the answer, and again storing its conductances, which moves the network itself by round-off over δ before anything is solved.

What a simulator's small conductance reports: at 10⁻¹² S a resistive divider reads 5 V, 1 µA into a capacitor reads 1 MV with a residual at machine precision, and the slope says which of those belongs to the circuit. computed by solving, not by drawing on the nodal matrix at direct current, with a conductance g from each node to ground. A divider of two 1 kΩ on 10 V (flat, 5 V at every g); 1 µA into a capacitor, which the solver refuses without g and which reads I/g with it (slope −1, 1 MV at 10⁻¹² S, 100 mV at 10⁻⁵ S); a biased stage behind a coupling capacitor, 100 mV (flat until g is comparable with its 1 MΩ); and two capacitors in series on 10 V, whose node reads 0 mV at every g, since a conductance to ground is the only thing at that node and it has nothing to divide against. Every one of these passes Kirchhoff's law with g included to machine precision. The residual has no way to tell these answers apart.

The conductance added so it would invert

A solver that refuses a node with no direct-current path can be made to answer by adding a tiny conductance from every node to ground, which is what a circuit simulator does. Kirchhoff's law then holds to machine precision, and the numbers are of three kinds. A real divider's node is exact at any conductance. 1 µA into a capacitor reads a megavolt at 10⁻¹² S, ten times that at 10⁻¹³, and is purely the reciprocal of what was added. A floating 9 V source reads ±4.5 V, a centre tap nobody built, and follows the ratio of two conductances that do not exist. Scaling the conductance finds the first kind and misses the third. One test current per node finds them all, because a node held only by what was added has a resistance to ground near one over it.

All essays