---
title: Input impedance, quarter-wave transformers and stubs
heading: How a length of line transforms the load at its far end into a different impedance at its input, the impedance circle a load traces as the line grows, the quarter-wave line that inverts impedances and matches resistances, the half-wave line that repeats them, and shorted and open stubs as inductors and capacitors
eyebrow: D8 · Lesson 12 · Input impedance and stubs
xp: 40
---

::: hook
At high frequencies a length of transmission line isn't just a connection: it's a component. Look into a 100 Ω load through an eighth of a wavelength of 50 Ω line and you see 40 − j30 Ω. Through a quarter wavelength you see 25 Ω, and through a half wavelength the original 100 Ω again. A shorted piece of line acts as an inductor or a capacitor depending on its length, with no lumped parts at all. Microwave engineers build filters, matching networks and resonators this way, and the same effect can wreck a design whose connections are longer than anyone thought.
:::

::: play
- The input impedance of a 50 Ω line of electrical length βl ending in a load $R_L + jX_L$, drawn in the complex impedance plane.
- As the line lengthens, $Z_\text{in}$ travels around a circle, returning to the load every half wavelength. A matched load (50 Ω) stays put.
- At a quarter wavelength the impedance is inverted: $Z_\text{in} = Z_0^2/Z_L$.
:::

```sim plot
view: complex
range: 220
axes: R, X
slider: R = 5..250 step 5 = 100
slider: X = -150..150 step 5 = 0
slider: l = 0..0.5 step 0.005 = 0.125
curve: 50*((R + j*X) + j*50*tan(2*pi*u))/(50 + j*(R + j*X)*tan(2*pi*u)) | over: u = 0..0.4999 | dashed
arrow: 50*((R + j*X) + j*50*tan(2*pi*l))/(50 + j*(R + j*X)*tan(2*pi*l + 1e-9)) | label: Z_in
readout: input resistance, Ω = Re(50*((R + j*X) + j*50*tan(2*pi*l))/(50 + j*(R + j*X)*tan(2*pi*l + 1e-9))) | digits: 4
readout: input reactance, Ω = Im(50*((R + j*X) + j*50*tan(2*pi*l))/(50 + j*(R + j*X)*tan(2*pi*l + 1e-9))) | digits: 4
```

::: predict
## A 200 Ω load must be matched to a 50 Ω line with a quarter-wave section. What impedance should the section have?

- [ ] 125 Ω
- [x] 100 Ω
- [ ] 150 Ω
- [ ] 250 Ω

::: reveal
A quarter wavelength of line with impedance $Z_1$ turns a load $Z_L$ into $Z_1^2/Z_L$. For that to be 50 Ω with $Z_L$ = 200 Ω, $Z_1 = \sqrt{50 \times 200}$ = 100 Ω. It works exactly only at the frequency where the section is a quarter wave long.
:::
:::

::: nameit
## Input impedance

A load $Z_L$ seen through a lossless line of impedance $Z_0$ and length l:

$$Z_\text{in} = Z_0\frac{Z_L + jZ_0\tan\beta l}{Z_0 + jZ_L\tan\beta l}$$

## Special lengths

- **Half wave** (βl = π): $Z_\text{in} = Z_L$, whatever $Z_0$ is.
- **Quarter wave** (βl = π/2): $Z_\text{in} = Z_0^2/Z_L$. A short becomes an open and vice versa, and a **quarter-wave transformer** of impedance $Z_1 = \sqrt{Z_0Z_L}$ matches two resistances.

## Stubs

- A **shorted stub**: $Z_\text{in} = jZ_0\tan\beta l$, inductive for lengths under λ/4 and capacitive between λ/4 and λ/2.
- An **open stub**: $Z_\text{in} = -jZ_0\cot\beta l$, capacitive for lengths under λ/4.

Placed in parallel with a line, stubs cancel unwanted reactance (lesson 14). The physical length of a quarter wave is $\lambda/4 = v_f c/(4f)$, shortened by the line's velocity factor $v_f$.
:::

::: example
## What does a 100 Ω load look like through λ/8 of 50 Ω line? Through λ/4?

::: solution
1. **Through λ/8.** At βl = π/4, tan βl = 1:
   $$\begin{aligned} Z_\text{in} &= 50\,\frac{100 + j50}{50 + j100} \\ &= 40 - j30\ \Omega \end{aligned}$$
2. **Through λ/4.**
   $$\begin{aligned} Z_\text{in} &= \frac{50^2}{100} \\ &= 25\ \Omega \end{aligned}$$

**Answer:** the load looks like 40 − j30 Ω through λ/8, and 25 Ω through λ/4.
:::
:::

::: example
## How long is a quarter wave at 2.4 GHz in coax with a velocity factor of 0.66? What shorted 50 Ω stub gives +j30 Ω?

::: solution
1. **Quarter wave in the coax.**
   $$\begin{aligned} \frac{\lambda}{4} &= \frac{0.66 \times 299{,}792{,}458}{4 \times 2.4 \times 10^9}\ \text{m} \\ &= 2.06\ \text{cm} \end{aligned}$$
2. **Stub angle.** A shorted stub looks like $jZ_0\tan\beta l$, so
   $$\begin{aligned} \tan\beta l &= \frac{30}{50} \\ &= 0.6 \\ \beta l &= 0.540\ \text{rad} \end{aligned}$$
3. **Stub length.**
   $$\begin{aligned} \frac{l}{\lambda} &= \frac{0.540}{2\pi} \\ &= 0.0860 \end{aligned}$$

**Answer:** a quarter wave is 2.06 cm, and the stub is 0.0860 wavelengths long.
:::
:::

::: example
## A 100 Ω load sits at the end of 50 Ω line that is a half wavelength long at 1 GHz. What is the input impedance at 1 GHz and at 500 MHz?

::: solution
1. **At 1 GHz.** The line is λ/2 long, and a half-wave line repeats its load:
   $$Z_\text{in} = 100\ \Omega$$
2. **At 500 MHz.** It's λ/4 long and transforms the load:
   $$\begin{aligned} Z_\text{in} &= \frac{Z_0^2}{Z_L} \\ &= \frac{2500}{100} \\ &= 25\ \Omega \end{aligned}$$
3. **Across a band.** The same line behaves very differently across a band.

**Answer:** 100 Ω at 1 GHz and 25 Ω at 500 MHz.
:::
:::

::: check
given: Z = 50 | 75; L = 25 | 100 | 300
answer: Z^2/L
unit: Ω
tolerance: 0.5%

## A {L} Ω load is seen through a quarter wavelength of {Z} Ω line. What's the input impedance?

::: right
Right. $Z_0^2/Z_L$ = {answer} Ω.
:::

::: misses
- [L] That's a half wavelength.
- [any] Not yet. The quarter-wave inversion.
:::
:::

::: check
given: Z = 50 | 75; L = 10 | 200 | 600
answer: sqrt(Z*L)
unit: Ω
tolerance: 0.5%

## What impedance should a quarter-wave transformer have to match a {L} Ω load to a {Z} Ω line?

::: right
Right. $\sqrt{Z_0Z_L}$ = {answer} Ω.
:::

::: misses
- [(Z + L)/2] Use the geometric mean, not the arithmetic one.
- [any] Not yet. Solve $Z_1^2/Z_L = Z_0$.
:::
:::

::: check
given: Z = 50 | 75; l = 0.05 | 0.1 | 0.2
answer: Z*tan(2*pi*l)
unit: Ω
tolerance: 0.5%

## A shorted stub of {Z} Ω line is {l} wavelengths long. What reactance does it present?

::: right
Right. $Z_0\tan\beta l$ = {answer} Ω, inductive.
:::

::: misses
- [-Z/tan(2*pi*l)] That's an open stub; a shorted one is $jZ_0\tan\beta l$.
- [any] Not yet. Shorted-stub formula.
:::
:::

::: check
given: f = 0.9 | 2.4 | 5.8; v = 0.66 | 0.7 | 0.8
answer: v*29.9792458/(4*f)
unit: cm
tolerance: 0.5%

## How long is a quarter wavelength at {f} GHz on a line with a velocity factor of {v}?

::: right
Right. $v_fc/(4f)$ = {answer} cm.
:::

::: misses
- [29.9792458/(4*f)] That's in free space; multiply by the velocity factor.
- [any] Not yet. Wavelength on the line, divided by four.
:::
:::

::: check
kind: parts
given: Z = 25 | 100 | 200; z = 50 | 75

## A {Z} Ω load is fed through a {z} Ω line.

::: part
answer: z^2/Z
unit: Ω
tolerance: 0.5%

### What does it look like through λ/4?

::: misses
- [any] $Z_0^2/Z_L$.
:::
:::

::: part
answer: Z
unit: Ω
tolerance: 0.5%

### And through λ/2?

::: misses
- [any] A half-wave line repeats its load.
:::
:::
:::

::: check
kind: parts
given: X = 20 | 30 | 75; Z = 50 | 75; v = 0.66 | 0.8; f = 1 | 2.4

## A shorted stub of {Z} Ω line must look like +j{X} Ω at {f} GHz, in cable with velocity factor {v}.

::: part
answer: asin((X/Z)/sqrt(1 + (X/Z)^2))*180/pi
unit: °
tolerance: 0.5%

### What electrical length does it need ($\tan\beta l = X/Z_0$)?

::: misses
- [any] $\beta l = \arctan(X/Z_0)$.
:::
:::

::: part
answer: asin((X/Z)/sqrt(1 + (X/Z)^2))/(2*pi)*v*30/f
unit: cm
tolerance: 0.5%

### How long is it physically?

::: misses
- [any] $(\beta l/2\pi) \times \lambda$ with $\lambda = vc/f$.
:::
:::
:::

::: explain
## Why does a quarter-wavelength line turn a short circuit into an open circuit?

::: model
A wave sent down a shorted line reflects with its voltage inverted, since the short forces zero voltage at the end. Over a quarter-wavelength line, the round trip to the short and back adds half a wavelength of delay, another inversion, so at the input the returning wave's voltage is back in phase with the outgoing one and adds to it while their currents cancel. Voltage with no current is exactly what an open circuit looks like. The same reasoning turns any load into its inverse about the line's impedance, which is why quarter-wave sections are used both as transformers and as resonant traps.
:::
:::

::: practice

::: check
given: Z = 20 | 120; L = 5 | 1000
answer: Z^2/L
unit: Ω
tolerance: 0.5%

## Quarter-wave input: {L} Ω through {Z} Ω line?

::: misses
- [any] $Z_0^2/Z_L$.
:::
:::

::: check
given: Z = 25 | 100; l = 0.01 | 0.24
answer: Z*tan(2*pi*l)
unit: Ω
tolerance: 0.5%

## Shorted stub: {Z} Ω, {l} λ?

::: misses
- [any] $Z_0\tan\beta l$.
:::
:::
:::
