A724 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 [ab]. Its row space is the solid line along (a,b); its null space is the dashed line, every 𝐱 with ax+by=0.
  • The fixed vector 𝐱=(2,1) splits into a piece in each: 𝐱=𝐱r+𝐱n.
  • Turn the row. The two lines always meet at a right angle, and the readout of 𝐱r⋅𝐱n stays at zero.

Predict

For any matrix A, every vector in the null space is perpendicular to every row of A. Why?

Name it

Orthogonal vectors and subspaces

Vectors are orthogonal when 𝐱⋅𝐲=𝐱T𝐲=0. Then Pythagoras holds: |𝐱+𝐲|2=|𝐱|2+|𝐲|2.

Two subspaces are orthogonal when every vector in one is orthogonal to every vector in the other.

The fundamental theorem

For any m×n matrix A:

  • the row space C(AT) and the null space N(A) are orthogonal in ℝn, with dimensions r and n−r adding to n;
  • the column space C(A) and the left null space N(AT) are orthogonal in ℝm, with dimensions r and m−r.

Each pair are orthogonal complements: together they account for every direction, so every vector splits uniquely into a piece in each.

Orthonormal bases

Vectors 𝐪1,…,𝐪n are orthonormal if they're mutually perpendicular unit vectors. Put them in the columns of Q and QTQ=I. Coordinates become dot products, with no system to solve:

𝐱=(𝐪1⋅𝐱)𝐪1+⋯+(𝐪n⋅𝐱)𝐪n

A square Q is an orthogonal matrix: Q−1=QT, 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 C(A), the column space of the incidence matrix. Branch currents that obey KCL lie in N(AT). Those are orthogonal complements, so

𝐯T𝐢=∑kvkik=0

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
  1. Solve the circuit. Solving gives va=5.455 V and vb=3.636 V, with resistor currents 4.545, 2.727, 1.818 and 1.818 mA.
  2. Power into the resistors. 20.66+14.88+3.31+6.61=45.45mW
  3. Power into the source. It has 10 V across it and 4.545 mA flowing out of its positive end, so it absorbs −45.45 mW.
  4. Add them. The total is zero.

Answer the resistors absorb 45.45 mW and the source −45.45 mW, so the total is zero, as Tellegen's theorem says.

Worked example

Find the coordinates of 𝐱=(3,1) in the orthonormal basis 𝐪1=12(1,1), 𝐪2=12(1,−1).

Show the solution
  1. Dot with 𝐪1. 𝐪1⋅𝐱=42=2.828
  2. Dot with 𝐪2. 𝐪2⋅𝐱=22=1.414 No equations to solve.
  3. Check with Pythagoras. 2.8282+1.4142=8+2=10=|𝐱|2

Answer the coordinates are 2.828 along 𝐪1 and 1.414 along 𝐪2.

Worked example

Find the orthogonal complement of the line through (1,2,2) in ℝ3.

Show the solution
  1. The perpendicular vectors. The complement is every vector perpendicular to (1,2,2): the plane x+2y+2z=0
  2. Dimension and basis. It has dimension 3−1=2, and two independent vectors in it make a basis, for example (2,−1,0) and (2,0,−1).
  3. In matrix terms. The line is the row space of [122] and the plane is its null space, as the fundamental theorem says.

Answer the plane x+2y+2z=0, with basis (2,−1,0) and (2,0,−1).

Check

For which k is (1,k) perpendicular to (2,4)?

Check

A vector in the null space of [21] 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 ℝ4 has dimension 1. What is the dimension of its orthogonal complement?

Check

What is the coordinate of (5,1) along 𝐪1=12(1,1)?

Check

Q is a square matrix with orthonormal columns. What is Q−1?

Check

𝐯=(1,2,1) and 𝐰=(1,1,c) are perpendicular.

(a)

What is c?

(b)

What is |𝐰|2?

Check

Write (x,y) in the orthonormal basis 𝐪1=12(1,1), 𝐪2=12(1,−1).

Step 1

What is the coordinate along 𝐪1?

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°.

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.

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.