---
title: Impedance and admittance matrices
heading: Describing microwave circuits as N-port networks, Z and Y matrices, reciprocity, and terminated two-ports
eyebrow: S6 · Lesson 1 · Impedance and admittance matrices
xp: 50
---

::: hook
At microwave frequencies, circuits are built from transmission lines, waveguide junctions and resonators whose insides are fields, not lumped parts. Engineers handle them anyway by treating each as a black box with ports: define a voltage and current at each port's reference plane, and the box is completely described by a matrix relating them. That abstraction, network analysis, lets a filter, an amplifier and an antenna feed be combined and analyzed with linear algebra. This course builds on S5's waves and C10's lines to the depth of a senior microwave course, following Pozar, and it starts with the matrices: impedance and admittance first, then the scattering matrix that microwave engineers actually measure.
:::

::: play
- A two-port described by its impedance matrix, terminated in a load resistance $R_L$: the input impedance $Z_\text{in} = Z_{11} - \frac{Z_{12}Z_{21}}{Z_{22} + R_L}$ against $R_L$ (log scale).
- With the sliders, the two-port is a resistive T network: series arms $R_a$ and $R_b$ and a shunt arm $R_c$, so $Z_{11} = R_a + R_c$, $Z_{22} = R_b + R_c$ and $Z_{12} = Z_{21} = R_c$.
- At $R_L$ = 0 the input sees $Z_{11} - Z_{12}^2/Z_{22}$; as $R_L \to \infty$, $Z_{11}$. The readouts give $Z_{11}$ and $Z_{21}$ for the current values.
:::
:::

```sim plot
view: graph
x: R = 1..10000 Ω log
y: Z = 0..200 Ω
slider: a = 0..100 = 8.6 Ω
slider: b = 0..100 = 8.6 Ω
slider: c = 1..500 = 141.8 Ω log
plot: a + c - c^2/(b + c + R) | samples: 300 | label: input resistance
plot: 50 | dashed | color: ch3 | label: 50 Ω
readout: Z11, Ω = a + c
readout: Z21, Ω = c
```

::: predict
## A resistive T network has 8.6 Ω series arms and a 141.8 Ω shunt arm. Terminated in 50 Ω, what input resistance does it present?

- [ ] 8.6 Ω
- [x] 50 Ω
- [ ] 150.4 Ω
- [ ] 200 Ω

::: reveal
$Z_\text{in} = 150.4 - \frac{141.8^2}{150.4 + 50}$ = 150.4 − 100.3 = 50.1 Ω, essentially 50. This T is a 3 dB attenuator designed for 50 Ω systems: matched at both ends, it halves the power passing through. Attenuator tables list exactly these values.
:::
:::

::: nameit
## Ports and reference planes

Each port of an N-port has a reference plane, where a voltage $V_n$ and current $I_n$ (into the network) are defined from the transverse fields of a single propagating mode. The network is then fully described by how the voltages depend on the currents.

## The impedance and admittance matrices

$$[V] = [Z][I], \qquad [I] = [Y][V], \qquad [Y] = [Z]^{-1}$$

Each entry is measured with the other ports open (for Z) or shorted (for Y): $Z_{ij} = V_i/I_j$ with every other current zero. For a two-port, $Y_{11} = Z_{22}/\Delta_Z$, $Y_{12} = -Z_{12}/\Delta_Z$, $Y_{22} = Z_{11}/\Delta_Z$, with $\Delta_Z = Z_{11}Z_{22} - Z_{12}Z_{21}$.

- **Reciprocal** networks (no ferrites, plasmas or active devices) have symmetric matrices: $Z_{ij} = Z_{ji}$.
- **Lossless** networks have purely imaginary Z and Y entries.

## Common two-ports

- A **T network** with series arms $Z_a$, $Z_b$ and shunt $Z_c$: $Z_{11} = Z_a + Z_c$, $Z_{22} = Z_b + Z_c$, $Z_{12} = Z_{21} = Z_c$.
- A **π network** with shunt arms $Y_a$, $Y_b$ and series $Y_c$: $Y_{11} = Y_a + Y_c$, $Y_{22} = Y_b + Y_c$, $Y_{12} = Y_{21} = -Y_c$.

## Terminating a two-port

With a load $Z_L$ on port 2, the input impedance is

$$Z_\text{in} = Z_{11} - \frac{Z_{12}Z_{21}}{Z_{22} + Z_L}$$
:::

::: example
## Find the Z matrix of the 3 dB attenuator T (8.6, 8.6 and 141.8 Ω), its input resistance with a 50 Ω load, and its Y matrix.

::: solution
1. **Z matrix.**
   $$\begin{aligned} Z_{11} = Z_{22} &= 150.4\ \Omega \\ Z_{12} = Z_{21} &= 141.8\ \Omega \end{aligned}$$
2. **Input resistance with 50 Ω on port 2.**
   $$\begin{aligned} R_\text{in} &= 150.4 - \frac{141.8^2}{200.4} \\ &= 50.1\ \Omega \end{aligned}$$
3. **Determinant.**
   $$\begin{aligned} \Delta_Z &= 150.4^2 - 141.8^2 \\ &= 2513 \end{aligned}$$
4. **Y matrix.**
   $$\begin{aligned} Y_{11} = Y_{22} &= \frac{150.4}{2513} \\ &= 59.9\ \text{mS} \\ Y_{12} = Y_{21} &= \frac{-141.8}{2513} \\ &= -56.4\ \text{mS} \end{aligned}$$

**Answer:** $Z_{11} = Z_{22}$ = 150.4 Ω and $Z_{12} = Z_{21}$ = 141.8 Ω, the input resistance with a 50 Ω load is 50.1 Ω, and $Y_{11} = Y_{22}$ = 59.9 mS with $Y_{12} = Y_{21}$ = −56.4 mS.
:::
:::

::: example
## A lossless T network has series arms of +j50 Ω and a shunt arm of −j100 Ω. What's its Z matrix, and what impedance does it present with port 2 shorted?

::: solution
1. **Z matrix.** All four entries are imaginary, as for any lossless network:
   $$\begin{aligned} Z_{11} = Z_{22} &= j50 - j100 \\ &= -j50\ \Omega \\ Z_{12} = Z_{21} &= -j100\ \Omega \end{aligned}$$
2. **Port 2 shorted.**
   $$\begin{aligned} Z_\text{in} &= -j50 - \frac{(-j100)^2}{-j50} \\ &= -j50 + \frac{10^4}{-j50} \\ &= -j50 + j200 \\ &= +j150\ \Omega \end{aligned}$$

**Answer:** $Z_{11} = Z_{22}$ = −j50 Ω and $Z_{12} = Z_{21}$ = −j100 Ω, and with port 2 shorted the network presents +j150 Ω.
:::
:::

::: example
## A 3 dB π attenuator for 50 Ω has shunt resistors of 292.4 Ω and a series resistor of 17.61 Ω. Find its Y matrix and its input resistance with a 50 Ω load.

::: solution
1. **Y matrix.**
   $$\begin{aligned} Y_{11} = Y_{22} &= \frac{1}{292.4} + \frac{1}{17.61} \\ &= 3.42 + 56.79 \\ &= 60.21\ \text{mS} \\ Y_{12} = Y_{21} &= -56.79\ \text{mS} \end{aligned}$$
2. **The series arm and the far side.** With the load on port 2, the series resistor leads to 292.4 Ω in parallel with 50 Ω:
   $$\begin{aligned} R &= 17.61 + (292.4 \parallel 50) \\ &= 17.61 + 42.70 \\ &= 60.31\ \Omega \end{aligned}$$
3. **Input resistance.** Port 1 sees 292.4 Ω in parallel with that:
   $$\begin{aligned} R_\text{in} &= \frac{292.4 \times 60.31}{352.7} \\ &= 50.0\ \Omega \end{aligned}$$
   matched, as an attenuator should be.
4. **Compare with the T.** The π and the T of the earlier example are two ways of building the same two-port.

**Answer:** $Y_{11} = Y_{22}$ = 60.21 mS and $Y_{12} = Y_{21}$ = −56.79 mS, and with a 50 Ω load the input resistance is 50.0 Ω.
:::
:::

::: check
given: a = 5 | 20 | 50; b = 10 | 30; c = 50 | 150 | 400
answer: a + c
unit: Ω
tolerance: 0.5%

## A T network has series arms {a} Ω and {b} Ω and a shunt arm of {c} Ω. What's $Z_{11}$?

::: right
Right. $Z_a + Z_c$ = {answer} Ω.
:::

::: misses
- [a] Port 2 is open, so the current also flows through the shunt arm.
- [a + b + c] With port 2 open, no current flows in the second series arm.
- [any] Not yet. $Z_{11}$ is measured with port 2 open.
:::
:::

::: check
given: a = 5 | 20 | 50; b = 10 | 30; c = 50 | 150 | 400; L = 25 | 50 | 100
answer: a + c - c^2/(b + c + L)
unit: Ω
tolerance: 0.5%

## The same T ({a}, {b}, {c} Ω) is terminated in {L} Ω. What's its input resistance?

::: right
Right. $Z_{11} - \frac{Z_{12}Z_{21}}{Z_{22} + Z_L}$ = {answer} Ω.
:::

::: misses
- [a + c] That's with port 2 open.
- [any] Not yet. Use the terminated two-port formula.
:::
:::

::: check
given: p = 100 | 150; q = 100 | 150; r = 50 | 80 | 120
answer: q/(p*q - r^2)*1000
unit: mS
tolerance: 0.5%

## A reciprocal two-port has $Z_{11}$ = {p} Ω, $Z_{22}$ = {q} Ω and $Z_{12} = Z_{21}$ = {r} Ω. What's $Y_{11}$?

::: right
Right. $Z_{22}/\Delta_Z$ = {answer} mS.
:::

::: misses
- [1/p*1000] Y isn't the elementwise inverse of Z: invert the matrix.
- [any] Not yet. $Y_{11} = Z_{22}/(Z_{11}Z_{22} - Z_{12}Z_{21})$.
:::
:::

::: check
given: p = 100 | 150; q = 100 | 150; r = 50 | 80 | 120
answer: -r/(p*q - r^2)*1000
unit: mS
tolerance: 0.5%

## For that two-port, what's $Y_{12}$?

::: right
Right. $-Z_{12}/\Delta_Z$ = {answer} mS.
:::

::: misses
- [r/(p*q - r^2)*1000] Mind the sign: $Y_{12} = -Z_{12}/\Delta_Z$.
- [any] Not yet. Invert the 2 × 2 matrix.
:::
:::

::: check
given: Ya = 5 | 20; Yb = 10 | 30; Yc = 8 | 40
answer: Ya + Yc
unit: mS
tolerance: 0.5%

## A π network has shunt admittances {Ya} mS and {Yb} mS and a series admittance of {Yc} mS. What's $Y_{11}$?

::: right
Right. $Y_a + Y_c$ = {answer} mS.
:::

::: misses
- [Ya] With port 2 shorted, the series arm also loads port 1.
- [any] Not yet. $Y_{11}$ is measured with port 2 shorted.
:::
:::

::: check
given: Z = 30 | 100 | 250; I = 0.01 | 0.2
answer: Z*I
unit: V
tolerance: 0.5%

## A two-port has $Z_{21}$ = {Z} Ω. A current of {I} A flows into port 1 with port 2 open. What voltage appears at port 2?

::: right
Right. $V_2 = Z_{21}I_1$ = {answer} V.
:::

::: misses
- [any] Not yet. With $I_2 = 0$, $V_2 = Z_{21}I_1$.
:::
:::

::: check
kind: parts
given: a = 150 | 300 | 1000; c = 10 | 20 | 50; L = 50 | 75

## A resistive π network has shunt arms of {a} Ω on both sides and a series arm of {c} Ω; port 2 is loaded with {L} Ω.

::: part
answer: (1/a + 1/c)*1000
unit: mS
tolerance: 0.5%

### What is $Y_{11}$?

::: misses
- [1/a*1000] The series arm counts too: $Y_{11} = Y_a + Y_c$.
- [any] $Y_a + Y_c$.
:::
:::

::: part
answer: -1/c*1000
unit: mS
tolerance: 0.5%

### What is $Y_{12}$?

::: misses
- [1/c*1000] It's negative: $Y_{12} = -Y_c$.
- [any] $-Y_c$.
:::
:::

::: part
answer: 1/(1/a + 1/(c + a*L/(a + L)))
unit: Ω
tolerance: 0.5%

### What is the input resistance?

::: misses
- [any] The first shunt arm in parallel with the series arm plus (second shunt ∥ load).
:::
:::
:::

::: check
kind: derivation
vars: A = 1..100, B = 1..100, C = 10..1000, L = 1..200

## A T network has series arms A and B and a shunt arm C (all resistive); port 2 is loaded with L.

::: step
answer: A + C

### What is $Z_{11}$?
:::

::: step
answer: C

### What is $Z_{12}$?
:::

::: step
answer: A + C - C^2/(B + C + L)

### What input impedance does the loaded T present?
:::

::: right
Right. $Z_{11} - Z_{12}Z_{21}/(Z_{22} + Z_L)$ applies to any two-port, not just a T.
:::
:::

::: explain
## Why are the Z and Y matrices of a reciprocal network symmetric?

::: model
Reciprocity says that a source at port j produces at port i the same response that the same source at port i would produce at port j. It follows from the symmetry of Maxwell's equations in media whose permittivity and permeability are ordinary symmetric tensors, which excludes magnetized ferrites, plasmas in magnetic fields and active devices. In matrix terms, driving port j with current I and measuring the open-circuit voltage at port i gives $Z_{ij}I$, and swapping the roles gives $Z_{ji}I$; reciprocity makes them equal. Ferrite circulators and transistors break this symmetry, which is exactly what makes them useful for routing power one way and for amplification.
:::
:::

::: practice

::: check
given: a = 10 | 40; b = 15 | 35; c = 80 | 300; L = 50 | 75
answer: a + c - c^2/(b + c + L)
unit: Ω
tolerance: 0.5%

## Input resistance of a T ({a}, {b}, {c} Ω) with a {L} Ω load?

::: misses
- [any] $Z_{11} - Z_{12}Z_{21}/(Z_{22} + Z_L)$.
:::
:::

::: check
given: p = 120 | 200; q = 90 | 160; r = 40 | 70
answer: q/(p*q - r^2)*1000
unit: mS
tolerance: 0.5%

## $Y_{11}$ from $Z_{11}$ = {p}, $Z_{22}$ = {q}, $Z_{12}$ = {r} Ω?

::: misses
- [any] $Z_{22}/\Delta_Z$.
:::
:::

::: check
given: Ya = 4 | 12; Yc = 6 | 25
answer: Ya + Yc
unit: mS
tolerance: 0.5%

## π network $Y_{11}$: shunt {Ya} mS, series {Yc} mS?

::: misses
- [any] $Y_a + Y_c$.
:::
:::
:::
