Computer Network 📂 Physical Layer · 1 of 1 50 min read

The Physical Layer — Transmission Media, Analog vs Digital Signals

Complete physical layer tutorial: twisted pair, coaxial, fibre optics, satellite orbits, analog vs digital signals, Nyquist & Shannon theorems, FDM/TDM/WDM multiplexing, and switching techniques. Animated diagrams and real 2025 news cases (Red Sea cable cuts, Starlink India). Theme-aware.

Section 01

The Story That Explains the Physical Layer

A WhatsApp Voice Note From Solan to Sydney
You are standing in Solan, Himachal Pradesh. You record a 12-second voice note and hit send. Your cousin in Sydney gets it in under two seconds. Think about what actually happened between those two moments.

Your voice — a squishy analog wave from your lungs — got converted into 0s and 1s. Those 1s and 0s left your phone as radio waves, hit a Jio tower, ran down a copper cable to the local exchange, then jumped onto a fibre-optic strand as pulses of light. The light travelled through Chandigarh, Mumbai, and dived into an undersea cable near Chennai. It emerged on Australia's east coast, ran through more fibre, hit Telstra's 5G tower, and finished the last hop as radio waves into your cousin's handset — where they became sound in her ears again.

Everything above — every wire, every wavelength, every conversion — is the Physical Layer. It is the bottom of the network stack, the place where bits stop being math and start being electricity, light, or radio.
🌐
The Core Insight

Every layer above the physical layer — TCP, IP, HTTP — is a mathematical fiction. Only the physical layer is real. Only it deals with voltages, photons, and radio waves. Everything else is a rulebook for interpreting those signals. Understanding this layer is understanding what actually moves through the world when you send a message.


Section 02

Two Great Families of Transmission Media

Every centimetre of the journey uses one of two kinds of medium. Guided media confine the signal to a physical path — a copper wire, a glass fibre. Unguided media release the signal into open space as radio waves, microwaves, or infrared — and hope it arrives.

🔌 Guided Media
TypeSignal Form
Twisted Pair (UTP/STP)Electrical (voltage)
Coaxial CableElectrical (voltage)
Optical FibreLight pulses (photons)
📡 Unguided Media
TypeSignal Form
Radio Waves (3 kHz–1 GHz)Electromagnetic
Microwaves (1–300 GHz)Electromagnetic
Satellite (Ku/Ka band)Electromagnetic via space
Infrared (300 GHz–400 THz)Line-of-sight light

Section 03

Guided Medium 1 — Twisted Pair Cable

The oldest and cheapest guided medium is a pair of copper wires twisted around each other. That twist is not decorative — it is the entire reason the cable works. When two wires run in parallel, any external electromagnetic noise (from motors, fluorescent lights, other cables) hits them unevenly and corrupts the signal. Twisting the pair ensures noise hits both wires roughly equally, and the receiver — which reads the difference between the two wires — cancels it out.

🔐
UTP — Unshielded Twisted Pair
Cheap & ubiquitous
Just the twisted wires with plastic insulation. Used in Cat 5e, Cat 6, Cat 6a Ethernet cables that run inside every office. Cheap, easy to bend, but picks up more noise.
🛡️
STP — Shielded Twisted Pair
For noisy environments
Adds a metal foil or braid around the twisted pair to block external interference. Used in factories, hospitals, and near heavy machinery. More expensive and stiffer.
📈
Typical Specs
Cat 6 today
Cat 6a supports 10 Gbps up to 100 m, then attenuation kills the signal. Beyond that you need a repeater or must switch to fibre. Bandwidth: up to 500 MHz.
💡
Where You've Already Used It

The Ethernet cable running from your Jio Fiber ONT to your router is twisted pair. So is every RJ45 cable in every office and every landline telephone wire. It is the workhorse of short-range wired networking — and for most people, the last few metres between wall socket and device are still copper, even in a “fibre” connection.


Section 04

Guided Medium 2 — Coaxial Cable

A coaxial cable puts a single copper conductor at its centre, surrounds it with an insulator, wraps that in a braided copper mesh, and covers the whole thing in an outer jacket. The inner wire carries the signal; the outer mesh acts both as ground and as a shield, absorbing external interference before it can reach the core.

🌌 Layers of a Coaxial Cable (from centre out)
Core
Solid or stranded copper conductor — carries the actual electrical signal.
Dielectric
Plastic insulator — separates core from shield; its thickness determines the cable's impedance (50 Ω or 75 Ω).
Shield
Braided or foil mesh — blocks external electromagnetic noise from reaching the core, and prevents the core's signal from leaking outward.
Jacket
Outer PVC covering — protects against physical damage, moisture, and abrasion.
⚠️
Why It's Fading

Coaxial cable was the backbone of cable TV, early Ethernet (10BASE2/10BASE5), and cable broadband (DOCSIS). It still is in many Indian homes for DTH and cable-TV distribution — but for internet delivery, it has been steadily replaced by twisted pair to the router and fibre to the exchange. Its bandwidth is decent (up to ~1 GHz), but fibre outclasses it on every axis except installed base.


Section 05

Guided Medium 3 — Optical Fibre

Fibre-optic cable does not carry electricity at all. It carries light. A laser or LED at one end pulses on and off (or between wavelengths) hundreds of billions of times per second, and those pulses travel down a hair-thin strand of ultra-pure glass to a photodetector at the other end. The physics that keeps the light trapped inside the fibre is called total internal reflection.

Total Internal Reflection — How Light Stays Trapped
cladding (lower refractive index) cladding (lower refractive index) CORE (higher refractive index) LED RX Each red dot is a total internal reflection — the light bounces but never escapes the core.
The core has a higher refractive index than the cladding, so light hitting the boundary at a shallow angle is fully reflected back — not refracted out. The pulse zig-zags for kilometres with almost no loss.
🌝
Single-Mode Fibre (SMF)
Long-haul champion
Core is ~9 μm — only one path (mode) for light. Zero dispersion. Used in submarine cables, city-to-city backhaul, and modern PON fibre-to-the-home. Reach: tens to hundreds of km per amplifier.
🌞
Multi-Mode Fibre (MMF)
Short data-centre runs
Core is ~50 μm — light can take multiple paths (modes) simultaneously. Cheaper transceivers (LEDs instead of lasers), but modal dispersion limits reach to a few hundred metres. Used inside data centres.
🔥
Why It Wins Everywhere
The killer combo
Immune to electromagnetic interference. Cannot be tapped without detection. Extremely low attenuation. Enormous bandwidth (Tbps per fibre). Thin and light — a single sheath can hold hundreds of fibres.

Section 06

Guided Media Comparison

Property Twisted Pair Coaxial Optical Fibre
Signal carried Electrical Electrical Light pulses
Bandwidth (max) ~500 MHz ~1 GHz Terabits/sec
Max distance without repeater ~100 m ~500 m ~80–100 km (SMF)
EMI susceptibility High Medium Immune
Security (tap-resistance) Poor Poor Excellent
Cost per metre Very low Low Moderate
Where it's used today Ethernet, phone lines Cable TV, DOCSIS Everything long-distance

Section 07

Unguided Media — Signals in the Open Air

Not every signal can be trapped inside a wire. When the destination is a moving car, a phone in someone's pocket, or a village behind a mountain, the medium becomes free space itself — and the signal becomes an electromagnetic wave radiating outward from an antenna.

📻
Radio Waves — 3 kHz to 1 GHz
Long wavelengths that diffract around buildings and pass through walls. Used for AM/FM radio, amateur radio, and lower cellular bands. Omnidirectional — no need to aim.
FM radio, walkie-talkie, 700 MHz LTE
📡
Microwaves — 1 to 300 GHz
Higher frequency ⇒ more bandwidth, but line-of-sight only. Used for point-to-point links (mobile tower backhaul), Wi-Fi (2.4/5/6 GHz), and 5G mid/high bands.
Wi-Fi, 5G, terrestrial microwave relays
🛰
Millimetre Waves — 30 to 300 GHz
Massive bandwidth but blocked by rain, foliage, even a human body. Range: only a few hundred metres. Used for 5G mmWave and short-range fixed wireless.
5G mmWave, radar
🔥
Infrared — 300 GHz to 400 THz
Line-of-sight only, cannot penetrate walls. Used for TV remotes, some short-range device links. Not suitable for wide-area networking.
Remote controls, IrDA

Section 08

Satellite Communication

When even microwaves cannot reach — because the destination is in a remote village, on a ship in the Indian Ocean, or on an oil rig — the answer is to bounce the signal off a satellite in orbit. Satellites come in three orbital families, each with a very different personality.

Three Orbits, Three Trade-offs
EARTH LEO — 500 to 2,000 km MEO — 2,000 to 35,000 km GEO — 35,786 km LEO (Starlink, OneWeb): Latency ~40 ms. Whizzes across the sky in ~10 min. Needs 1000s of sats for coverage. GEO (DTH TV, Jio-SES): Latency ~500 ms. Stays fixed over one point. Only 3 sats needed for global coverage.
Watch the green LEO satellite race around the Earth — that's why Starlink terminals must constantly hand off between satellites. The red GEO satellite hovers over one longitude, making it perfect for TV broadcast but useless for real-time interaction.
OrbitAltitudeLatencySats for Global CoverBest For
LEO 500–2,000 km 30–50 ms 1,000+ Broadband internet, IoT
MEO 2,000–35,000 km 100–150 ms ~10–30 GPS, GNSS, some data
GEO 35,786 km ~500–600 ms 3 DTH TV, weather, broadcast

Section 09

Real Case — When Fibre Failed and Satellites Rose

The Day 17% of Global Internet Traffic Was Rerouted
On 6 September 2025, submarine fibre-optic cables were severed near Jeddah, Saudi Arabia. Two major systems — SMW4 (South-East Asia–Middle East–Western Europe 4) and IMEWE (India–Middle East–Western Europe) — were damaged in the same incident. The Red Sea carries about 17% of global internet traffic through a dense cluster of undersea fibres in the narrow Bab-el-Mandeb Strait.

Users in India, Pakistan, UAE, and Saudi Arabia experienced elevated latency for days. Microsoft Azure rerouted traffic through longer paths (some going around Africa). The International Cable Protection Committee later assessed the probable cause as a ship's anchor dragging across the seabed — not sabotage. About 150–200 submarine-cable faults occur worldwide each year; specialised repair vessels like the Léon Thévenin are booked months in advance. Each repair costs $1–3 million.
Starlink, Jio-SES and OneWeb Race for Indian Skies
In June 2025, Starlink Satellite Communications Pvt. Ltd. received a licence to launch satellite internet services in India, joining Jio Satellite Communication and Eutelsat OneWeb India. Reports say Starlink has invested about ₹ 8,000 crore to deploy 700–750 low-Earth-orbit satellites over India, with 17 ground-station locations already identified. Speeds are expected to range from 25 Mbps to 220 Mbps, with initial monthly subscription pricing (before official launch) briefly displayed at around ₹ 8,600 on Starlink's India site.

Why so much effort? Because unlike GEO satellites, Starlink's LEO constellation delivers latency low enough (~40 ms) to make video calls and gaming actually usable. For remote Himalayan villages, oil rigs in the Arabian Sea, and the Andaman & Nicobar islands, this is the first form of broadband that will not require a physical cable. In fact, the government-run BSNL already boosted Andaman & Nicobar's satellite bandwidth from 2 Gbps to 4 Gbps in 2025 for exactly this reason.
💡
The Duel

Guided media (fibre) still wins on raw bandwidth, latency, and cost-per-bit at scale. Unguided media (satellite) wins on reach — especially LEO, which finally makes satellite internet feel like broadband. The future is hybrid: fibre for cities and backbones, satellite for the last mile in remote places, and radio (5G, Wi-Fi) for everything mobile in between.


Section 10

Analog vs Digital Signals

The Vinyl Record and the CD
A vinyl record holds sound as a continuously varying groove. The needle traces it exactly, producing a continuous voltage that becomes continuous sound. Every micro-scratch, every speck of dust, distorts the signal a little. That is an analog signal — it can take any value at any moment.

A CD holds the same song as 44,100 numeric samples per second, each represented by 16 bits. A tiny scratch either changes a bit (correctable) or is invisible. The signal exists only in discrete jumps: 0 or 1, high or low. That is a digital signal — and it is what every modern network uses.
Analog vs Digital — Same Message, Two Shapes
ANALOG — smooth continuous wave DIGITAL — discrete on/off pulses 1 0 1 0 1 0 1 0 1
Analog wave has infinite possible values at every instant. Digital wave has only two levels — making it robust against noise, since a slightly-corrupted 1 is still recognisably a 1.
🏆
Why Digital Won

Every time an analog signal is amplified, its noise is amplified too — and it gets worse and worse over long distances. Digital signals can be regenerated: a repeater reads the noisy bits, decides “that's a 1” or “that's a 0”, and produces a perfectly clean copy. This is why an international call today sounds crystal clear across 15,000 km, while a 1970s analog phone call between two cities across India sounded scratchy.


Section 11

Nyquist's Theorem — The Noiseless Channel

In 1928, Harry Nyquist proved a fundamental limit on how fast information can flow through a perfect (noiseless) channel of a given bandwidth. It is one of the most important results in telecommunications.

Nyquist's Bit Rate Formula
C = 2 × B × log₂(L)
C = maximum bit rate (bps)  ·  B = bandwidth of the channel (Hz)  ·  L = number of distinct signal levels
🧮 Worked Example — Traditional Telephone Line
Given
A telephone line has a usable bandwidth of B = 3,100 Hz (roughly 300 to 3,400 Hz).
Case 1
Using L = 2 levels (binary): C = 2 × 3,100 × log₂(2) = 6,200 bps.
Case 2
Using L = 4 levels: C = 2 × 3,100 × log₂(4) = 12,400 bps.
Case 3
Using L = 256 levels: C = 2 × 3,100 × log₂(256) = 49,600 bps.
Takeaway
You can multiply the bit rate by cramming more levels per symbol — but only in an ideal noiseless channel. The real world adds a hard ceiling. That ceiling is Shannon's theorem.

Section 12

Shannon's Theorem — The Noisy Channel

Claude Shannon's 1948 paper “A Mathematical Theory of Communication” is widely considered the founding document of information theory. His noisy-channel theorem tells us the absolute ceiling on data rate for a channel with real-world noise — regardless of how clever your encoding is.

Shannon's Capacity Formula
C = B × log₂(1 + S/N)
C = maximum capacity (bps)  ·  B = bandwidth (Hz)  ·  S/N = signal-to-noise ratio (linear, not dB)
⚠️
SNR in dB vs Linear — The Common Trap

Real datasheets always quote SNR in decibels. To use Shannon, convert first: SNRlinear = 10(SNRdB / 10). So an SNR of 30 dB is actually a linear ratio of 1,000. Forgetting this converts a correct answer into a very wrong one.

📚 Worked Example — Home Wi-Fi Channel
Given
A Wi-Fi 6 channel has bandwidth B = 80 MHz and SNR of 30 dB at your device.
Convert
SNRlinear = 10(30/10) = 1,000.
Apply
C = 80,000,000 × log₂(1 + 1,000) ≈ 80,000,000 × 9.97 = ~797 Mbps.
Reality
Real Wi-Fi 6 tops out at ~1.2 Gbps per stream because it also uses MIMO (multiple antennas in parallel) — effectively multiple Shannon channels stacked. But no single channel beats its Shannon limit.
🔑
Nyquist vs Shannon — Two Different Ceilings

Nyquist assumes a perfect noiseless channel and says: you can go faster by using more signal levels. Shannon adds real-world noise and says: no matter how many levels you use, the noise ultimately limits you. The Shannon limit is the harder ceiling — the physics of the universe. To exceed it you need more bandwidth, less noise, or more channels in parallel. There is no other way.


Section 13

Multiplexing — Sharing One Wire

The Grand Trunk Road at Rush Hour
A single fibre buried beneath the Grand Trunk Road can carry data for millions of people simultaneously — because engineers figured out how to share the same physical medium among many independent signals without them stepping on each other. That trick is called multiplexing, and there are three great families of it.

FDM gives each user a different frequency lane. TDM gives each user a different time slot. WDM — the star of modern fibre — gives each user a different colour of light.
🎥
FDM — Frequency Division
Different lanes
Each signal is assigned a unique frequency band on the shared medium. All signals travel simultaneously; receivers use filters to pick out their band.
⏱️
TDM — Time Division
Different time slots
Users take strict turns. The medium is divided into fixed-duration slots and rotated among senders. Only one signal is on the wire at any instant, but the switching is so fast it looks simultaneous.
🌈
WDM — Wavelength Division
Different colours
A special case of FDM for optical fibre. Each signal is a different wavelength (colour) of light. Modern DWDM systems pack 96+ colours down a single fibre, each carrying 100–400 Gbps.

Section 14

FDM — The Radio Dial in Your Head

Every FM station in India transmits on a different frequency — Radio Mirchi at 98.3 MHz, Red FM at 93.5 MHz, All India Radio at 100.1 MHz, and so on. All of them are broadcasting at the same moment, in the same air, over the same city. Your car radio “tunes in” to one by using a filter that admits only that narrow slice of the spectrum. That is frequency division multiplexing.

FDM — Three Signals Sharing a Wire, Each in Its Own Band
frequency (Hz) → amplitude Signal A 88–92 MHz guard Signal B 93–97 MHz guard Signal C 98–102 MHz All three signals present at the same time on the same medium — separated by frequency bands, protected by guard bands.
Guard bands are small frequency gaps between users. They prevent signals from “bleeding” into each other's channels. Every FM radio broadcast in India uses this scheme.
📻
Where FDM Lives Today

FM radio, AM radio, television broadcast, cable TV, cellular (allocating uplink and downlink to different frequency bands), and Wi-Fi channels (2.4 GHz has channels 1–11 in India). Whenever multiple simultaneous conversations share one physical space by using different frequencies, it is FDM.


Section 15

TDM — Everyone Gets a Turn

Time-division multiplexing takes a very different approach: instead of splitting the medium by frequency, it splits it by time. Each user gets a tiny slot — a few microseconds — during which they own the entire channel. Then the slot switches to the next user, and so on, in a strict rotation. Because the switching happens millions of times per second, users perceive continuous, dedicated service.

TDM — Users Take Turns on the Same Wire
Time → t=0 t A B C A B C A B C ← current sender → One frame = one round of turns. Switching among A, B, C, A, B, C … forever.
If each slot is 1 microsecond, three users on a 300 Mbps link effectively get 100 Mbps each — but with the smooth feel of continuous service.
⚠️
Synchronous vs Statistical TDM

Traditional TDM (used in T1/E1 telephone trunks) gives every user a slot whether they need it or not. If user B has nothing to send, their slot goes empty — wasted. Statistical TDM (STDM) fixes this by allocating slots only to users with data ready. That is what packet-switched networks effectively do at the link layer.


Section 16

WDM — The Rainbow Inside a Fibre

Wavelength Division Multiplexing is what makes modern fibre optics almost magical. Instead of sending one colour of light down a fibre, WDM sends dozens of different colours simultaneously — each carrying its own independent data stream. A prism-like device at each end combines or separates them.

WDM — Many Colours, One Fibre
λ1 λ2 λ3 λ4 λ5 MUX one physical fibre, many wavelengths DEMUX λ1 λ2 λ3 λ4 λ5 Five colours in, one fibre in the middle, five colours out. A single fibre now carries 5× the data.
Modern Dense WDM (DWDM) systems on submarine cables pack 96 or more wavelengths per fibre, each running at 100–400 Gbps. Single-fibre capacity has crossed 40 Tbps.
🏆
Why WDM Changed the World

Before WDM, adding capacity meant laying more fibre — slow, expensive, especially on the sea floor. WDM meant that the same fibre already in the ground could carry 10×, then 100×, then 1,000× more data by simply upgrading the endpoints. It is the single biggest reason internet bandwidth got cheaper for two decades straight.


Section 17

Multiplexing Comparison

PropertyFDMTDMWDM
Divides byFrequencyTimeWavelength (light)
Signal typeAnalog or digitalDigital (usually)Digital light pulses
Simultaneous?YesNo — interleavedYes
Guard elementGuard bandsGuard timesGuard wavelengths
Best useFM/AM radio, cable TV, cellularDigital telephony, GSM voiceFibre-optic backbones
Modern examplesWi-Fi channels, LTE bandsT1/E1 lines, GSM slotsSubmarine cables, metro fibre

Section 18

Switching Techniques — How the Signal Reaches You

Once bits are flowing through a medium, we need a way to route them from any source to any destination in a network. Three switching techniques evolved historically, each solving a different problem.

📞
Circuit Switching
Reserved path
A dedicated end-to-end path is set up before any data flows, held for the entire session, and torn down at the end. Delay is minimal and constant.

Used by: traditional PSTN telephone network, ISDN.
📨
Message Switching
Whole message hops
An entire message is stored at each intermediate node, then forwarded when the next link is free. No path reservation, but a big message can hog a link for a long time.

Used by: telegraph networks, early email systems.
📦
Packet Switching
Small chunks, own routes
Messages are split into small packets, each independently routed through the network. Efficient, resilient to link failure, but packets may arrive out of order.

Used by: the entire modern internet.
PropertyCircuitMessagePacket
Setup phaseRequiredNoneNone
Delay after setupConstant & lowVariable & highVariable
Bandwidth useWasteful when idleBurstyEfficient sharing
Path per unitOne path for whole sessionOne path per messageAny path per packet
Buffering needsNone (dedicated)Whole message at each nodeSmall packets at each node
Failure recoverySession dropsSlow, per-messageInstant reroute
Where todayLegacy phone linesHistorical onlyAll internet traffic
🔑
Which Won and Why

Packet switching won because it makes the best use of shared physical media — the exact reason multiplexing was invented in the first place. Circuit switching wastes precious bandwidth on silent moments; message switching hogs links with huge blobs. Packets are small, quick, and shareable — a perfect match for a world where the same fibre must serve billions of simultaneous users.


Section 19

Golden Rules

🔑 Physical Layer — Non-Negotiable Rules
1
Fibre for long distance, copper for last mile, radio for mobility. No single medium wins everywhere. Real networks stitch all three together, and each was chosen for a specific physical reason.
2
Bandwidth is an inherent property of the medium, not a marketing number. Cat 6 tops out at ~500 MHz. Coax tops out at ~1 GHz. A single fibre supports Tbps. The physics is set at manufacturing time.
3
Digital signals beat analog because they can be regenerated. This is the reason a phone call from Solan to Sydney sounds crystal clear today. Every intermediate node cleans the noise off. Analog just amplifies both signal and noise.
4
Shannon's limit is the harder ceiling. Nyquist tells you what a perfect channel could do; Shannon tells you what a real one will do. If you want higher capacity, you need more bandwidth, better SNR, or MIMO. There is no fourth option.
5
Multiplexing is why physical media are affordable. A single strand of fibre buried at huge cost is only justified when it can carry millions of simultaneous streams. WDM, TDM and FDM are the reason bandwidth kept getting cheaper.
6
Higher frequency = more bandwidth = shorter reach. This trade-off is hard-wired into physics. 700 MHz LTE covers a whole village; 28 GHz 5G mmWave barely covers a football field. Choose your band by what you're trying to serve.
7
LEO satellite is not GEO satellite. Old satellite internet meant 600 ms latency and unusable video calls. Starlink and OneWeb changed that by flying much lower — ~40 ms latency, comparable to fibre. When someone says “satellite is slow”, ask which orbit.
8
Redundancy at the physical layer saves you at every layer above. The 2025 Red Sea cable cuts didn't take the internet down because there were alternative fibre paths and satellite fallbacks. Every design should ask: what happens when a physical link dies?
You have completed Physical Layer. View all sections →