A7 · Lesson 24 · Orthogonality
Perpendicular subspaces, and why power balances
Add up the power absorbed by every branch of any circuit, counting sources as negative, and you get exactly zero. Energy is conserved, so that's no surprise. What's surprising is that it holds for any branch voltages obeying KVL with any branch currents obeying KCL, even ones from two different circuits with the same wiring. This is Tellegen's theorem, and it isn't physics at all: it says two subspaces of the incidence matrix are perpendicular. Perpendicular subspaces are everywhere in linear algebra, and they're the key to least squares and to signal processing.
- The matrix here is the single row . Its row space is the solid line along ; its null space is the dashed line, every with .
- The fixed vector splits into a piece in each: .
- Turn the row. The two lines always meet at a right angle, and the readout of stays at zero.
Predict
For any matrix , every vector in the null space is perpendicular to every row of . Why?
Entry of is row dotted with . If , every one of those dot products is zero, so is perpendicular to every row, and so to every combination of rows: the whole row space.
Name it
Orthogonal vectors and subspaces
Vectors are orthogonal when . Then Pythagoras holds: .
Two subspaces are orthogonal when every vector in one is orthogonal to every vector in the other.
The fundamental theorem
For any matrix :
- the row space and the null space are orthogonal in , with dimensions and adding to ;
- the column space and the left null space are orthogonal in , with dimensions and .
Each pair are orthogonal complements: together they account for every direction, so every vector splits uniquely into a piece in each.
Orthonormal bases
Vectors are orthonormal if they're mutually perpendicular unit vectors. Put them in the columns of and . Coordinates become dot products, with no system to solve:
A square is an orthogonal matrix: , and it preserves lengths and angles (rotations and reflections). The Fourier basis of A10 is orthonormal, which is why Fourier coefficients are just dot products.
Tellegen's theorem
Branch voltages that obey KVL lie in , the column space of the incidence matrix. Branch currents that obey KCL lie in . Those are orthogonal complements, so
The total power absorbed by all branches, sources included, is zero.
Worked example
Check Tellegen's theorem on the circuit from lesson 19 (10 V source; 1 kΩ, 2 kΩ, 1 kΩ, 2 kΩ).
Show the solution
- Solve the circuit. Solving gives V and V, with resistor currents 4.545, 2.727, 1.818 and 1.818 mA.
- Power into the resistors.
- Power into the source. It has 10 V across it and 4.545 mA flowing out of its positive end, so it absorbs mW.
- Add them. The total is zero.
Answer the resistors absorb 45.45 mW and the source mW, so the total is zero, as Tellegen's theorem says.
Worked example
Find the coordinates of in the orthonormal basis , .
Show the solution
- Dot with .
- Dot with . No equations to solve.
- Check with Pythagoras.
Answer the coordinates are 2.828 along and 1.414 along .
Worked example
Find the orthogonal complement of the line through in .
Show the solution
- The perpendicular vectors. The complement is every vector perpendicular to : the plane
- Dimension and basis. It has dimension , and two independent vectors in it make a basis, for example and .
- In matrix terms. The line is the row space of and the plane is its null space, as the fundamental theorem says.
Answer the plane , with basis and .
Check
For which is perpendicular to ?
Check
A vector in the null space of has first component 1. What is its second component?
Check
In a circuit with one source, the three resistors absorb 20 mW, 10 mW and 12 mW. What power does the source absorb?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
Check
A subspace of has dimension 1. What is the dimension of its orthogonal complement?
Check
What is the coordinate of along ?
Check
is a square matrix with orthonormal columns. What is ?
Check
and are perpendicular.
(a)
What is ?
(b)
What is ?
Check
Write in the orthonormal basis , .
Step 1
What is the coordinate along ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
And along ?
Explain why
Explain why Tellegen's theorem holds for any KVL-obeying voltages and any KCL-obeying currents, even from two different circuits with the same wiring.
Branch voltages that satisfy KVL are differences of node voltages, so they're for some : they lie in the column space of the incidence matrix. Branch currents that satisfy KCL have : they lie in the left null space. Then . Only the wiring, through , enters the argument, not the components, so the voltages and currents can come from different circuits.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.