---
title: Input impedance of a line
heading: How a length of line transforms the load it feeds
eyebrow: C10 · Lesson 11 · Input impedance of a line
xp: 40
---

::: hook
Put a 100 Ω load at the end of a 50 Ω line and measure the impedance at the other end. It's 100 Ω only if the line is short or exactly half a wavelength long. A quarter wavelength makes it 25 Ω; an eighth makes it 40 − j30 Ω, part capacitor. A line is an impedance transformer whose effect depends on its electrical length, and RF designers use that deliberately: a quarter-wave section to match two impedances, a short length of shorted line as an inductor, an open one as a capacitor, all made from nothing but copper on a board.
:::

::: play
- A 50 Ω line ends in a resistor $R_L$. The circle in the impedance plane is the input impedance $Z_\text{in}$ as the line's length grows from 0 to half a wavelength; the dot is at the current length l.
- At l = 0 the dot sits at $R_L$. At a quarter wavelength it reaches $50^2/R_L$, on the far side of the circle, and at half a wavelength it's back at $R_L$.
- Every point on the circle has the same |Γ|: a lossless line changes the impedance but not the size of the mismatch.
:::
:::

```sim plot
view: complex
range: 150
axes: R, X
slider: RL = 5..200 = 100 step 1 Ω
slider: l = 0..0.5 = 0.125 step 0.005
curve: 50*(RL + j*50*tan(2*pi*u))/(50 + j*RL*tan(2*pi*u)) | over: u = 0..0.4999
dot: 50*(RL + j*50*tan(2*pi*l))/(50 + j*RL*tan(2*pi*l)) | label: Z_in
readout: input resistance, Ω = 50*RL*50*(1 + tan(2*pi*l)^2)/(2500 + RL^2*tan(2*pi*l)^2) | digits: 4
readout: input reactance, Ω = 50*tan(2*pi*l)*(2500 - RL^2)/(2500 + RL^2*tan(2*pi*l)^2) | digits: 4
```

::: predict
## A 50 Ω line a quarter wavelength long ends in 100 Ω. What is its input impedance?

- [ ] 100 Ω
- [ ] 50 Ω
- [x] 25 Ω
- [ ] 200 Ω

::: reveal
25 Ω. A quarter-wave line inverts the load: $Z_\text{in} = Z_0^2/Z_L = 2500/100$. Make the load bigger and the input gets smaller, which is why a quarter-wave section can match two different resistances.
:::
:::

::: nameit
## The formula

For a lossless line of length l, with $\beta l = 2\pi l/\lambda$:

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

It repeats every half wavelength.

## Special lengths

| Length | $Z_\text{in}$ |
|---|---|
| λ/2 (or any multiple) | $Z_L$: the line disappears |
| λ/4 | $Z_0^2/Z_L$: an impedance inverter |

A **quarter-wave transformer** of impedance $Z_1 = \sqrt{R_\text{in}R_L}$ makes a load $R_L$ look like $R_\text{in}$, at one frequency.

## Stubs

- A **shorted** line: $Z_\text{in} = jZ_0\tan\beta l$, inductive below λ/4, then capacitive.
- An **open** line: $Z_\text{in} = -jZ_0\cot\beta l$, capacitive below λ/4, then inductive.

So stubs make any reactance. When they're electrically short, a shorted stub is an inductor $L \approx Z_0l/v$ and an open one a capacitor $C \approx l/(Z_0v)$: the line's L′ and C′ times its length.
:::

::: example
## A 50 Ω line λ/8 long ends in 100 Ω. Find $Z_\text{in}$.

::: solution
1. **The tangent.** For λ/8, $\beta l = \pi/4$ and $\tan(\pi/4) = 1$.
2. **Input impedance.**
   $$\begin{aligned} Z_\text{in} &= 50\,\frac{100 + j50}{50 + j100} \\ &= 40 - j30\ \Omega \end{aligned}$$
3. **Check the reflection.**
   $$\begin{aligned} \lvert\Gamma\rvert &= \left\lvert\frac{-10 - j30}{90 - j30}\right\rvert \\ &= \frac13 \end{aligned}$$
   the same as the load's.

**Answer:** $Z_\text{in} = 40 - j30$ Ω.
:::
:::

::: example
## What does a 50 Ω shorted stub λ/8 long look like at 1 GHz?

::: solution
1. **Input impedance.**
   $$\begin{aligned} Z_\text{in} &= j50\tan 45^\circ \\ &= j50\ \Omega \end{aligned}$$
   an inductive reactance of 50 Ω.
2. **Equivalent inductance at 1 GHz.**
   $$\begin{aligned} L &= \frac{50}{2\pi \times 10^9}\ \text{H} \\ &= 7.96\ \text{nH} \end{aligned}$$

**Answer:** it looks like a 7.96 nH inductor ($j50$ Ω) at 1 GHz.
:::
:::

::: example
## A 50 Ω line ends in 25 Ω. What is its input impedance when it's a quarter wavelength long, and when it's half a wavelength?

::: solution
1. **Quarter wave.** The load is inverted about $Z_0$:
   $$\begin{aligned} Z_\text{in} &= \frac{Z_0^2}{Z_L} \\ &= \frac{2500}{25}\ \Omega \\ &= 100\ \Omega \end{aligned}$$
2. **Half wave.** The load reappears unchanged, 25 Ω.
3. **The pattern.** Every half wavelength the pattern repeats, so a line's effect depends on its length only modulo λ/2.

**Answer:** 100 Ω at a quarter wavelength, and 25 Ω at half a wavelength.
:::
:::

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

## A quarter-wave {Z0} Ω line ends in {ZL} Ω. What is its input impedance?

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

::: misses
- [ZL] That's a half-wave line.
- [any] Not yet. $Z_0^2/Z_L$.
:::
:::

::: check
given: Rin = 50 | 75; RL = 12.5 | 200 | 300
answer: sqrt(Rin*RL)
unit: Ω
tolerance: 0.5%

## A quarter-wave transformer must make a {RL} Ω load look like {Rin} Ω. What impedance should the line have?

::: right
Right. $\sqrt{R_\text{in}R_L}$ = {answer} Ω.
:::

::: misses
- [(Rin + RL)/2] The geometric mean, not the arithmetic one.
- [any] Not yet. $Z_1^2 = R_\text{in}R_L$.
:::
:::

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

## A shorted {Z0} Ω stub is {l} wavelengths long. What is its input reactance?

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

::: misses
- [Z0*tan(l)] βl = 2πl/λ.
- [-Z0/tan(2*pi*l)] That's an open stub.
- [any] Not yet. $Z_0\tan(2\pi l/\lambda)$.
:::
:::

::: check
given: Z0 = 50 | 100; l = 0.05 | 0.1 | 0.2
answer: -Z0/tan(2*pi*l)
unit: Ω
tolerance: 0.5%

## An open {Z0} Ω stub is {l} wavelengths long. What is its input reactance?

::: right
Right. $-Z_0\cot\beta l$ = {answer} Ω, capacitive.
:::

::: misses
- [Z0*tan(2*pi*l)] That's a shorted stub.
- [any] Not yet. $-Z_0\cot(2\pi l/\lambda)$.
:::
:::

::: check
given: L = 2 | 5 | 10; f = 0.5 | 1 | 2; Z0 = 50
answer: atan(2*pi*f*1e9*L*1e-9/Z0)/(2*pi)
tolerance: 0.5%

## How long, in wavelengths, must a shorted {Z0} Ω stub be to act as {L} nH at {f} GHz?

::: right
Right. $\tan\beta l = \omega L/Z_0$, so l = {answer} λ.
:::

::: misses
- [2*pi*f*1e9*L*1e-9/Z0/(2*pi)] Take the arctangent: tan βl, not βl, equals ωL/Z₀.
- [any] Not yet. Solve $Z_0\tan\beta l = \omega L$.
:::
:::

::: check
given: Z0 = 50 | 75; l = 5 | 10 | 20; v = 2 | 1.65
answer: Z0*l*1e-3/(v*1e8)*1e9
unit: nH
tolerance: 0.5%

## A short shorted stub is {l} mm of {Z0} Ω line with v = {v} × 10⁸ m/s. About what inductance is it?

::: right
Right. $Z_0l/v$ = {answer} nH, the line's L′ times its length.
:::

::: misses
- [any] Not yet. $L' = Z_0/v$, times the length.
:::
:::

::: check
kind: choice

## A load is connected through exactly half a wavelength of 75 Ω line to a 50 Ω instrument. What impedance does the instrument measure?

- [ ] 75 Ω
- [ ] The load times (75/50)²
- [x] The load itself
- [ ] 50 Ω

::: misses
- [1] The line's own impedance appears only for a matched load.
- [2] That's not what a half-wave line does.
- [4] The instrument measures what's at the input of the line.
:::
:::

::: check
kind: parts
given: Z0 = 50 | 75; ZL = 20 | 100 | 300

## A {Z0} Ω line ends in {ZL} Ω.

::: part
answer: Z0^2/ZL
unit: Ω
tolerance: 0.5%

### What is $Z_\text{in}$ when the line is λ/4 long?

::: misses
- [ZL] That's for a half wave.
- [any] $Z_0^2/Z_L$.
:::
:::

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

### And when it's λ/2 long?

::: misses
- [any] The load repeats every half wavelength.
:::
:::
:::

::: check
kind: parts
given: Z0 = 50 | 100; X = 25 | 50 | 120

## A shorted {Z0} Ω stub should look like +j{X} Ω.

::: part
answer: asin((X/Z0)/sqrt(1 + (X/Z0)^2))/(2*pi)
tolerance: 0.5%

### How long must it be, in wavelengths?

::: misses
- [any] $Z_\text{in} = jZ_0\tan\beta l$: $l/\lambda = \arctan(X/Z_0)/2\pi$.
:::
:::

::: part
answer: asin((X/Z0)/sqrt(1 + (X/Z0)^2))/(2*pi) + 0.25
tolerance: 0.5%

### How long must an open stub be for the same reactance?

::: misses
- [any] An open stub is a shorted one shifted by a quarter wave.
:::
:::
:::

::: explain
## Why does a quarter-wave line turn a large load impedance into a small one?

::: model
The reflection from the load travels a quarter wavelength back to the input, a round trip of half a wavelength, which reverses its phase relative to the incident wave. So a reflection that added to the voltage at the load (a high impedance, voltage peak) subtracts from it at the input, producing a voltage dip and a current peak there: a low impedance. The arithmetic of the formula makes it exact, $Z_\text{in} = Z_0^2/Z_L$: the input voltage-to-current ratio is the load's ratio inverted around $Z_0$.
:::
:::

::: practice

::: check
given: Z0 = 50 | 35; ZL = 50 | 100
answer: Z0^2/ZL
unit: Ω
tolerance: 0.5%

## $Z_\text{in}$ of a λ/4 {Z0} Ω line on {ZL} Ω?

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

::: check
given: Rin = 50; RL = 25 | 75 | 100 | 150 | 200 | 300
answer: sqrt(Rin*RL)
unit: Ω
tolerance: 0.5%

## Quarter-wave transformer from {RL} Ω to {Rin} Ω?

::: misses
- [any] $\sqrt{R_\text{in}R_L}$.
:::
:::

::: check
given: Z0 = 50; l = 0.03 | 0.05 | 0.0625 | 0.1 | 0.125 | 0.15 | 0.2
answer: Z0*tan(2*pi*l)
unit: Ω
tolerance: 0.5%

## Reactance of a shorted {Z0} Ω stub {l} λ long?

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