4.3.3 · D1Computer Networks

Foundations — Physical layer — encoding (NRZ, Manchester), bandwidth, Nyquist, Shannon-Hartley

1,449 words7 min readBack to topic

Before you can read the parent note, you need a small toolbox. Below is every symbol and idea the parent leans on, built from nothing, each one earning the next.


0. The very first picture: a bit as a voltage

Figure — Physical layer — encoding (NRZ, Manchester), bandwidth, Nyquist, Shannon-Hartley

Look at s01: the same three bits 1 0 1 drawn as a voltage picture. The whole chapter is about choosing how to draw that picture.


1. Time, period, and "how fast" — Hz


2. Bandwidth — the wire's "wiggle budget"

Figure — Physical layer — encoding (NRZ, Manchester), bandwidth, Nyquist, Shannon-Hartley

In s02, the shaded band is the set of frequencies that survive; anything outside is chopped off. A wider band = more room to wiggle fast = more bits/sec possible. This single number is the star of every capacity formula.


3. Powers of two and the logarithm — counting choices

Encoding often uses more than two voltage levels. To count how many bits that buys, we need one tool.

Figure — Physical layer — encoding (NRZ, Manchester), bandwidth, Nyquist, Shannon-Hartley

s03 shows the doubling tree: 1 bit → 2 patterns, 2 bits → 4, 3 bits → 8.


4. Ratios and the decibel — measuring noise


5. Symbol, baud, bit rate — three "speeds"


6. The factor — why sampling gives "twice bandwidth"

You don't need the proof yet — just carry the fact: bandwidth → up to symbols/sec. That single fact powers both Nyquist and Shannon in the parent note.


Prerequisite map

bit = one yes or no

signal = voltage vs time

frequency in Hz

bandwidth B

symbol = one held level

powers of two

log base 2 = bits per symbol

baud and bit rate

2B symbols per second

sampling theorem

Nyquist and Shannon capacity

S over N ratio

decibel

Everything on the left feeds the single box on the right: the capacity laws of the parent note, the parent topic.


Equipment checklist

Cover the right side and test yourself — if any line stumps you, re-read its section above.

A signal graph: what is on each axis?
Horizontal = time (seconds), vertical = voltage
What does 1 Hz mean?
One full cycle (repetition) per second
Bandwidth in one sentence?
The width of the frequency range a channel passes, , in Hz
Compute and say what it means.
3 — three bits are needed to label 8 distinct levels
How many bits does one symbol carry with levels?
bits
Convert 20 dB to a linear ratio.
Baud vs bit rate — when are they equal?
When (binary), since
Where does the "" in come from?
The sampling theorem — a bandwidth- signal needs samples/sec to be captured