Networks, and how a solve is checked
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.
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 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 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.
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 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.
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 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.
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.
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.
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.
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, 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.
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.
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.
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 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.
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 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 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.
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.
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.
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.
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.
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.
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.