Original English by Jim Hefferon — 34 validated sections. The original mathematics and supplied answers below are preserved. This is a partial-book reading edition, not the complete book or an Everyday-English rewrite.

Source revision df2262e089a02651c127f1dd12649c4622ee1383; CC BY-SA 2.5 option, with original component credits retained. This is not an Everyday-English rewrite. Source-only material after the author’s explicit end-of-file command is not included.

Source-preserving rebuild, navigation, source packaging and current deterministic checks: OpenAI Codex — GPT-6 Astra, Ultra effort. Jim Hefferon remains the author of the mathematics. Earlier intermediate-conversion runtime identity is not established by its retained receipts and is not reassigned to this rebuild. No human review or exhaustive proof certification is claimed.

Analyzing Networks

The diagram below shows some of a car’s electrical network. The battery is on the left, drawn as stacked line segments. The wires are lines, shown straight and with sharp right angles for neatness. Each light is a circle enclosing a loop.

Car lighting circuit with battery, door-actuated dome-light switch, brake-light switch, main light switch and dimmer; branches connect left and right headlights, rear lights and parking lights. Original English labels and circuit connections are retained.

The designer of such a network needs to answer questions such as: how much electricity flows when both the hi-beam headlights and the brake lights are on? We will use linear systems to analyze simple electrical networks.

For the analysis we need two facts about electricity and two facts about electrical networks.

The first fact is that a battery is like a pump, providing a force impelling the electricity to flow, if there is a path. We say that the battery provides a potential. For instance, when the driver steps on the brake then the switch makes contact and so makes a circuit on the left side of the diagram, which includes the brake lights. Once the circuit exists, the battery’s force creates a flow through that circuit, called a current, lighting the lights.

The second electrical fact is that in some kinds of network components the amount of flow is proportional to the force provided by the battery. That is, for each such component there is a number, its resistance, such that the potential is equal to the flow times the resistance. Potential is measured in volts, the rate of flow is in amperes, and resistance to the flow is in ohms; these units are defined so that volts = amperes ⋅ ohms .

Components with this property, that the voltage-amperage response curve is a line through the origin, are resistors. (Not every component has this property. For instance, as the light bulbs shown above heat up, their ohmage changes.) An example is that if a resistor measures 2  ohms then wiring it to a 12  volt battery results in a flow of 6  amperes. Conversely, if electrical current of 2  amperes flows through that resistor then there must be a 4  volt potential difference between its ends. This is the voltage drop across the resistor. One way to think of the electrical circuits that we consider here is that the battery provides a voltage rise while the other components are voltage drops.

The facts that we need about networks are Kirchoff’s Current Law, that for any point in a network the flow in equals the flow out and Kirchoff’s Voltage Law, that around any circuit the total drop equals the total rise.

We start with the network below. It has a battery that provides the potential to flow and three resistors, shown as zig-zags. When components are wired one after another, as here, they are in series.

A 20-volt battery connected in series to resistors of 2, 5 and 3 ohms. The battery is labelled potential and each resistor is labelled resistance.

By Kirchoff’s Voltage Law, because the voltage rise is 20  volts, the total voltage drop must also be 20  volts. Since the resistance from start to finish is 10  ohms (the resistance of the wire connecting the components is negligible), the current is ( 20 / 10 ) = 2  amperes. Now, by Kirchhoff’s Current Law, there are 2  amperes through each resistor. Therefore the voltage drops are: 4  volts across the 2  ohm resistor, 10  volts across the 5  ohm resistor, and 6  volts across the 3  ohm resistor.

The prior network is simple enough that we didn’t use a linear system but the next one is more complicated. Here the resistors are in parallel.

A 20-volt battery feeds two parallel branches containing a 12-ohm resistor and an 8-ohm resistor.

We begin by labeling the branches as below. Let the current through the left branch of the parallel portion be i 1 and that through the right branch be i 2 , and also let the current through the battery be i 0 . Note that we don’t need to know the actual direction of flow—if current flows in the direction opposite to our arrow then we will get a negative number in the solution.

The same parallel circuit with directed branch currents i0 through the battery, i1 through 12 ohms and i2 through 8 ohms.

The Current Law, applied to the split point in the upper right, gives that i 0 = i 1 + i 2 . Applied to the split point lower right it gives i 1 + i 2 = i 0 . In the circuit that loops out of the top of the battery, down the left branch of the parallel portion, and back into the bottom of the battery, the voltage rise is 20 while the voltage drop is i 1 ⋅ 12 , so the Voltage Law gives that 12 i 1 = 20 . Similarly, the circuit from the battery to the right branch and back to the battery gives that 8 i 2 = 20 . And, in the circuit that simply loops around in the left and right branches of the parallel portion (we arbitrarily take the direction of clockwise), there is a voltage rise of 0 and a voltage drop of 8 i 2 − 12 i 1 so 8 i 2 − 12 i 1 = 0 .

i 0 − i 1 − i 2 = 0 − i 0 + i 1 + i 2 = 0 12 i 1 = 20 8 i 2 = 20 − 12 i 1 + 8 i 2 = 0

The solution is i 0 = 25 / 6 , i 1 = 5 / 3 , and i 2 = 5 / 2 , all in amperes. (Incidentally, this illustrates that redundant equations can arise in practice.)

Kirchhoff’s laws can establish the electrical properties of very complex networks. The next diagram shows five resistors, whose values are in ohms, wired in series-parallel.

A 10-volt source feeds a Wheatstone bridge with arm resistances 5, 2, 10 and 4 ohms and a 50-ohm middle resistor.

This is a Wheatstone bridge (see Exercise 3). To analyze it, we can place the arrows in this way.

The preceding five-resistor bridge, labelled with directed currents i0 through i5 for the displayed Kirchhoff equations.

Kirchhoff’s Current Law, applied to the top node, the left node, the right node, and the bottom node gives these.

i 0 = i 1 + i 2 i 1 = i 3 + i 5 i 2 + i 5 = i 4 i 3 + i 4 = i 0

Kirchhoff’s Voltage Law, applied to the inside loop (the i 0 to  i 1 to  i 3 to  i 0 loop), the outside loop, and the upper loop not involving the battery, gives these.

5 i 1 + 10 i 3 = 10 2 i 2 + 4 i 4 = 10 5 i 1 + 50 i 5 − 2 i 2 = 0

Those suffice to determine the solution i 0 = 7 / 3 , i 1 = 2 / 3 , i 2 = 5 / 3 , i 3 = 2 / 3 , i 4 = 5 / 3 , and i 5 = 0 .

We can understand many kinds of networks in this way. For instance, the exercises analyze some networks of streets.

Exercises

  1. Exercise 1 Worked answer

    Calculate the amperages in each part of each network.

    1. This is a simple network.

      Exercise 1(a): a 9-volt source and three series resistors with values 3, 2 and 2 ohms.

    2. Compare this one with the parallel case discussed above.

      Exercise 1(b): a 9-volt source feeds a 2-ohm branch in parallel with a branch containing the three series resistors.

    3. This is a reasonably complicated network.

      Exercise 1(c): the multi-branch resistor circuit to analyze, with a 9-volt battery and all resistor values retained in the diagram.

    Back to Exercise 1

    Answer.

    1. The total resistance is 7  ohms. With a 9  volt potential, the flow will be 9 / 7  amperes. Incidentally, the voltage drops will then be:  27 / 7  volts across the 3  ohm resistor, and 18 / 7  volts across each of the two 2  ohm resistors.

    2. One way to do this network is to note that the 2  ohm resistor on the left has a voltage drop of 9  volts (and hence the flow through it is 9 / 2  amperes), and the remaining portion on the right also has a voltage drop of 9  volts, and so we can analyze it as in the prior item. We can also use linear systems.

      The Exercise 1(b) circuit with directed currents i0, i1, i2 and i3; the supplied answer writes four equations using these labels.

      Using the variables from the diagram we get a linear system

      i 0 − i 1 − i 2 = 0 i 1 + i 2 − i 3 = 0 2 i 1 = 9 7 i 2 = 9

      which yields the unique solution i 0 = 81 / 14 , i 1 = 9 / 2 , i 2 = 9 / 7 , and i 3 = 81 / 14 .

      Of course, the first and second paragraphs yield the same answer. Essentially, in the first paragraph we solved the linear system by a method less systematic than Gauss’s Method, solving for some of the variables and then substituting.

    3. Using these variables

      The Exercise 1(c) circuit with directed currents i0 through i6; the supplied answer writes seven equations using these labels.

      one linear system that suffices to yield a unique solution is this.

      i 0 − i 1 − i 2 = 0 i 2 − i 3 − i 4 = 0 i 3 + i 4 − i 5 = 0 i 1 + i 5 − i 6 = 0 3 i 1 = 9 3 i 2 + 2 i 4 + 2 i 5 = 9 3 i 2 + 9 i 3 + 2 i 5 = 9

      (The last three equations come from the circuit involving i 0 - i 1 - i 6 , the circuit involving i 0 - i 2 - i 4 - i 5 - i 6 , and the circuit with i 0 - i 2 - i 3 - i 5 - i 6 .) Octave gives i 0 = 4.35616 , i 1 = 3.00000 , i 2 = 1.35616 , i 3 = 0.24658 , i 4 = 1.10959 , i 5 = 1.35616 , i 6 = 4.35616 .

  2. Exercise 2 Worked answer

    In the first network that we analyzed, with the three resistors in series, we just added to get that they acted together like a single resistor of 10  ohms. We can do a similar thing for parallel circuits. In the second circuit analyzed,

    A 20-volt battery feeds two parallel branches containing a 12-ohm resistor and an 8-ohm resistor.

    the electric current through the battery is 25 / 6  amperes. Thus, the parallel portion is equivalent to a single resistor of 20 / ( 25 / 6 ) = 4.8  ohms.

    1. What is the equivalent resistance if we change the 12  ohm resistor to 5  ohms?

    2. What is the equivalent resistance if the two are each 8  ohms?

    3. Find the formula for the equivalent resistance if the two resistors in parallel are r 1  ohms and r 2  ohms.

    Back to Exercise 2

    Answer.

    1. Using the variables from the earlier analysis,

      i 0 − i 1 − i 2 = 0 − i 0 + i 1 + i 2 = 0 5 i 1 = 20 8 i 2 = 20 − 5 i 1 + 8 i 2 = 0

      The current flowing in each branch is then is i 2 = 20 / 8 = 2.5 , i 1 = 20 / 5 = 4 , and i 0 = 13 / 2 = 6.5 , all in amperes. Thus the parallel portion is acting like a single resistor of size 20 / ( 13 / 2 ) ≈ 3.08  ohms.

    2. A similar analysis gives that is i 2 = i 1 = 20 / 8 = 2.5 and i 0 = 40 / 8 = 5   amperes. The equivalent resistance is 20 / 5 = 4  ohms.

    3. Another analysis like the prior ones gives is i 2 = 20 / r 2 , i 1 = 20 / r 1 , and i 0 = 20 ( r 1 + r 2 ) / ( r 1 r 2 ) , all in amperes. So the parallel portion is acting like a single resistor of size 20 / i 0 = r 1 r 2 / ( r 1 + r 2 )  ohms. (This equation is often stated as: the equivalent resistance  r satisfies 1 / r = ( 1 / r 1 ) + ( 1 / r 2 ) .)

  3. Exercise 3 Worked answer

    A Wheatstone bridge is used to measure resistance.

    A Wheatstone bridge with four arm resistances r1 through r4 and detector resistance rg; the exercise asks about zero detector current. The labels here identify resistances, not branch currents.

    Show that in this circuit if the current flowing through r g is zero then r 4 = r 2 r 3 / r 1 . (To operate the device, put the unknown resistance at r 4 . At r g is a meter that shows the current. We vary the three resistances r 1 , r 2 , and r 3 —typically they each have a calibrated knob—until the current in the middle reads 0 . Then the equation gives the value of r 4 .)

    Back to Exercise 3

    Answer. Kirchoff’s Current Law, applied to the node where r 1 , r 2 , and  r g come together, and also applied to the node where r 3 , r 4 , and  r g come together gives these.

    i 1 − i 2 − i g = 0 i 3 − i 4 + i g = 0

    Kirchoff’s Voltage law, applied to the loop in the top right, and to the loop in the bottom right, gives these.

    i 3 r 3 − i g r g − i 1 r 1 = 0 i 4 r 4 − i 2 r 2 + i g r g = 0

    Assuming that i g is zero gives that i 1 = i 2 , that i 3 = i 4 , that i 1 r 1 = i 3 r 3 , and that i 2 r 2 = i 4 r 4 . Then rearranging the last equality

    r 4 = i 2 r 2 i 4 ⋅ i 3 r 3 i 1 r 1

    and cancelling the i ’s gives the desired conclusion.

  4. Exercise 4 Worked answer

    Consider this traffic circle.

    A traffic circle joining North Avenue, Main and Pier. Arrow directions specify how the three roads meet the circular route.

    This is the traffic volume, in units of cars per ten minutes.

      North Pier Main
    into
    out of
    100
    75
    150
    150
    25
    50

    We can set up equations to model how the traffic flows.

    1. Adapt Kirchhoff’s Current Law to this circumstance. Is it a reasonable modeling assumption?

    2. Label the three between-road arcs in the circle with a variable: let i 1 be the number of cars going from North Avenue to Main, let i 2 be the number of cars between Main and Pier, and let i 3 be the number between Pier and North. Using the adapted law, for each of the three in-out intersections state an equation describing the traffic flow at that node.

    3. Solve that system.

    4. Interpret your solution.

    5. Restate the Voltage Law for this circumstance. How reasonable is it?

    Back to Exercise 4

    Answer.

    1. An adaptation is: in any intersection the flow in equals the flow out. It does seem reasonable in this case, unless cars are stuck at an intersection for a long time.

    2. Because 50 cars leave via Main while 25  cars enter, i 1 − 25 = i 2 . Similarly Pier’s in/out balance means that i 2 = i 3 and North gives i 3 + 25 = i 1 . We have this system.

      i 1 − i 2 = 25 i 2 − i 3 = 0 − i 1 + i 3 = − 25

    3. The row operations ρ 1 + ρ 2 and ρ 2 + ρ 3 lead to the conclusion that there are infinitely many solutions. With i 3 as the parameter, this is the solution set.

      { ( 25 + i 3 i 3 i 3 ) ∣ i 3 ∈ ℝ }

      Since the problem is stated in number of cars we might restrict i 3 to be a natural number.

    4. If we picture an initially-empty circle with the given input/output behavior, we can superimpose i 3 -many cars circling endlessly to get a new solution.

    5. A suitable restatement might be: the number of cars entering the circle must equal the number of cars leaving. The reasonableness of this one is not as clear. Over the five minute time period we could find that a half dozen more cars entered than left, although the problem statement’s into/out table does satisfy this property. In any event, it is of no help in getting a unique solution since for that we would need to know the number of cars circling endlessly.

  5. Exercise 5 Worked answer

    This is a network of streets.

    Street network joining east and west Winooski, Willow, Jay and Shelburne, with one-way directions marked.

    We can observe the hourly flow of cars into this network’s entrances, and out of its exits.

    east Winooski west Winooski Willow Jay Shelburne
    into
    out of
    80
    30
    50
    5
    65
    70
    –
    55
    40
    75

    (Note that to reach Jay a car must enter the network via some other road first, which is why there is no ‘into Jay’ entry in the table. Note also that over a long period of time, the total in must approximately equal the total out, which is why both rows add to 235  cars.) Once inside the network, the traffic may flow in different ways, perhaps filling Willow and leaving Jay mostly empty, or perhaps flowing in some other way. Kirchhoff’s Laws give the limits on that freedom.

    1. Determine the restrictions on the flow inside this network of streets by setting up a variable for each block, establishing the equations, and solving them. Notice that some streets are one-way only. (Hint: this will not yield a unique solution, since traffic can flow through this network in various ways; you should get at least one free variable.)

    2. Suppose that someone proposes construction for Winooski Avenue East between Willow and Jay, and traffic on that block will be reduced. What is the least amount of traffic flow that can we can allow on that block without disrupting the hourly flow into and out of the network?

    Back to Exercise 5

    Answer.

    1. Here is a variable for each unknown block; each known block has the flow shown.

      The same street network with known entering and leaving flows and internal flows labelled i1 through i7, used by the supplied answer. Road arrows retain the source one-way directions.

      We apply Kirchhoff’s principle that the flow into the intersection of Willow and Shelburne must equal the flow out to get i 1 + 25 = i 2 + 125 . Doing the intersections from right to left and top to bottom gives these equations.

      i 1 − i 2 = 10 − i 1 + i 3 = 15 i 2 + i 4 − i 5 = 5 − i 3 − i 4 + i 6 = − 50 i 5 − i 7 = − 10 − i 6 + i 7 = 30

      The row operation ρ 1 + ρ 2 followed by ρ 2 + ρ 3 then ρ 3 + ρ 4 and ρ 4 + ρ 5 and finally ρ 5 + ρ 6 result in this system.

      i 1 − i 2 = 10 − i 2 + i 3 = 25 i 3 + i 4 − i 5 = 30 − i 5 + i 6 = − 20 i 6 − i 7 = − 30 0 = 0

      Since the free variables are i 4 and i 7 we take them as parameters.

      i 6 = i 7 − 30 i 5 = i 6 + 20 = ( i 7 − 30 ) + 20 = i 7 − 10 i 3 = − i 4 + i 5 + 30 = − i 4 + ( i 7 − 10 ) + 30 = − i 4 + i 7 + 20 i 2 = i 3 − 25 = ( − i 4 + i 7 + 20 ) − 25 = − i 4 + i 7 − 5 i 1 = i 2 + 10 = ( − i 4 + i 7 − 5 ) + 10 = − i 4 + i 7 + 5

      Obviously i 4 and i 7 have to be positive, and in fact the first equation shows that i 7 must be at least 30 . If we start with i 7 , then the i 2  equation shows that 0 ≤ i 4 ≤ i 7 − 5 .

    2. We cannot take i 7 to be zero or else i 6 will be negative (this would mean cars going the wrong way on the one-way street Jay). We can, however, take i 7 to be as small as 30 , and then there are many suitable i 4 ’s. For instance, the solution

      ( i 1 , i 2 , i 3 , i 4 , i 5 , i 6 , i 7 ) = ( 35 , 25 , 50 , 0 , 20 , 0 , 30 )

      results from choosing i 4 = 0 .