TL;DR
A radio or a wire carries a wave, not a stream of zeros and ones. To send bits, the transmitter picks one wave shape from a fixed menu for each short interval, called a symbol, and the receiver works out which shape arrived. Packing more bits into each symbol carries more data per second, but the shapes sit closer together, so noise can push a received shape into a neighbour's place and cause an error.
Where you'll see it: Wi-Fi, mobile networks, cable and satellite television, and the modems that connect over telephone lines.
Intuition
The problem: a wave has knobs
A sine wave is the simplest carrier, the steady wave that is modified to carry information (its frequency is the carrier frequency). It has three knobs: its amplitude (how tall it is), its frequency (how fast it oscillates), and its phase (where in its cycle it starts). Digital modulation keeps the frequency fixed and turns the other knobs according to the bits. Each choice of knob settings is one symbol. Because the receiver knows the menu in advance, it only has to decide which item of the menu it received.
Think of a switchboard with a few lamps. If you agree that a red lamp means 0 and a green lamp means 1, one lamp carries one bit. If you have four colours, one lamp carries two bits. More colours send more data per flash, but two similar shades are harder to tell apart in a dim room. Noise plays the role of the dim room. How bright the signal is compared with the room is the Signal-to-Noise Ratio.
Keying: switching between a few shapes
The names follow the knob that is switched. In amplitude-shift keying (ASK), the amplitude changes. In frequency-shift keying (FSK), the frequency changes. In phase-shift keying (PSK), the phase changes, so the wave is shifted in time by a fixed fraction of its cycle. Phase-shift keying with two phases is called binary PSK, or BPSK.
The constellation: a picture of the menu
Engineers draw the menu as points on a plane. A point at means the wave , where is the carrier frequency. The horizontal axis holds the in-phase part (the amount of cosine) and the vertical axis holds the quadrature part (the amount of sine, which is a cosine shifted by a quarter cycle, so the two parts do not interfere). The set of points is called the constellation. Changing the phase or amplitude of the wave moves the point around the plane.
- axis
Two points give one bit per symbol. Four points at the corners of a square give two bits per symbol, the scheme called QPSK. Sixteen points on a grid give four bits per symbol, the scheme called 16-QAM (quadrature amplitude modulation). The grid form of QAM is what makes it dense: every extra bit doubles the number of points that must fit into the same area.
flowchart LR B["Bits: 1 0 1 1"] --> S["Group into symbols of 2 bits"] S --> M["Map each symbol to a point"] M --> W["Build the wave: I cos minus Q sin"] W --> C["Channel adds noise"] C --> D["Receiver picks the nearest point"]
Why noise is the enemy
Noise is random. Each received point is the transmitted point shifted by a small random offset. If the offset is small, the receiver lands on the right point. If the offset is large enough to cross the boundary halfway to the neighbour, the receiver decides on the wrong point and some bits are wrong. The lesson of the whole field is that the minimum distance between points sets how much noise the scheme can take. Spreading points apart needs more power, and packing more points into a fixed power budget brings them closer together.
The math
The modulated signal
Let be the transmitted wave. For a symbol with in-phase value and quadrature value , the standard form is
where is the carrier frequency in cycles per second and is time. Here and are the usual trigonometric functions (see Trigonometric Functions). The same expression can be written with the imaginary unit as , which is the complex-number view from Complex Numbers where squares to . The point is the complex symbol, and multiplying it by a rotating unit vector turns the point around the origin at the carrier rate. The rotating picture is the same idea as a Phasor.
Each symbol lasts a fixed time (the receiver samples the wave once per symbol, see Fourier Transform for the frequency view of such signals). A scheme with points carries bits per symbol, so its bit rate is .
Average energy of a constellation
Let the points be , and assume each point is used equally often. The average symbol energy is
where is the distance of point from the origin. The energy per bit is . Comparing schemes at equal energy per bit is the fair test, because it is the power the transmitter spends for each bit delivered.
Error from noise
Let the noise add a Gaussian value with mean zero and standard deviation on each axis (see Gaussian (Normal) Distribution and White Noise, the standard model for channel noise). For BPSK, the points are and on the horizontal axis. A bit is wrong when the noise pushes the received value across zero. For the point at , that happens when the noise is less than . The probability is the tail of the normal distribution. Write
Then the bit error probability for BPSK is
The tail function (often called the Q-function in communications, not to be confused with the quadrature axis ) has no closed form, so it is read from a table or a library. For example and .
Worked examples
Use BPSK with map bit 0 to and bit 1 to .
- The transmitter sends bit 1, so the symbol is .
- The channel adds noise, and the receiver measures the value . The noise was .
- Compute the distance to each point. To the distance is . To the distance is .
- Choose the nearer point, which is , so the receiver decides bit 1.
- The bit is correct. The decision boundary is zero, and the value is on the correct side of it.
- Interpretation: a noise of was not enough to cross the boundary. A noise of or more would have flipped the bit.
QPSK uses four points at , which lie on a circle of radius 1. Each point carries two bits, and neighbouring points differ in only one bit. This is called Gray mapping.
- Assign the points: , , , .
- Send the bits . They form two symbols, and .
- The first symbol is , which maps to . The second is , which maps to .
- Check the energy: each point has , so the energy per symbol is 1 and the energy per bit is .
- Interpretation: QPSK moves two bits in the time BPSK moves one, and it does so with the same energy per symbol. Each bit now uses half the energy, so the points must fight more noise per bit.
Use the 16-QAM grid with coordinates and on each axis. Neighbouring points are 2 apart.
- List the squared coordinates on one axis: . Their mean is .
- Each point has squared distance from the origin equal to the sum over both axes, so the mean symbol energy is .
- The scheme carries 4 bits per symbol, so the energy per bit is .
- BPSK has points at , so the neighbours are 2 apart, the same as in 16-QAM. Its energy per bit is .
- Both schemes keep a minimum distance of 2 between points. 16-QAM therefore needs times the energy per bit to reach the same spacing, which means the same error rate in the same noise.
- Interpretation: 16-QAM sends four bits in the time BPSK sends one, so its data rate is four times higher. The price is more power per bit. A system that is short on power picks a smaller constellation.
These numbers are computed from the grid, not measured.
Tradeoffs and failure modes
| Situation | What goes wrong | Better choice |
|---|---|---|
| Weak signal at long range, such as a distant link | Dense constellations make errors at low power | BPSK or QPSK, which keep the points far apart |
| Crowded spectrum and high data demand | Low-order schemes send few bits per symbol, wasting bandwidth | Higher-order QAM, if the link has high signal-to-noise ratio |
| Simple radios that must work with cheap hardware | Phase must be recovered exactly, and a phase error corrupts every point | FSK, which needs no phase recovery |
| Channel with phase drift | A rotated constellation makes every symbol wrong | Differential PSK, which encodes the change in phase between symbols |
| Any link with fading | Deep fades hide whole groups of symbols | Coding across symbols, covered in Linear Block Code |
Failure modes in practice are usually noise, phase error and timing error. Noise moves points across boundaries. Phase error rotates the whole constellation. Timing error samples the wave at the wrong instant, which blurs points together. Good receivers estimate all three before deciding.
History
Claude Shannon's 1948 paper set the theory: a noisy channel has a maximum reliable data rate set by its bandwidth and signal-to-noise ratio (see Channel Capacity), and that clever coding can approach it. Early telephone data modems used frequency-shift keying in the 1960s, because it was simple and robust on poor lines. Phase and amplitude schemes became the standard for faster modems in the following decades, and quadrature amplitude modulation became the workhorse of high-speed telephone-line modems and later of cable and wireless systems. The reason it caught on is the same as the reason it is hard: a dense grid moves many bits per symbol, and modern receivers can measure and correct the errors that a dense grid invites.
Recap
A digital signal is a choice from a menu of wave shapes. The menu is drawn as a constellation of points in the plane. Each bit added to a symbol doubles the number of points, which shrinks the spacing and raises the energy needed per bit. Noise moves received points, and the receiver decides by picking the nearest point. Error rates are set by the spacing and the noise, which is why the next topics are Nyquist–Shannon Sampling Theorem for how fast symbols can be sent and Linear Block Code for how to correct the errors that remain.
Check yourself
QuestionRecall: what are the three knobs of a sine wave that a digital scheme can change?Show answer
Amplitude (how tall it is), frequency (how fast it oscillates), and phase (where in its cycle it starts). Amplitude-shift, frequency-shift and phase-shift keying switch one of these knobs according to the bits.
QuestionComputation: a constellation has 8 points, each used equally often, with energy 3 per symbol. How many bits are in each symbol, and what is the energy per bit?Show answer
Eight points carry bits per symbol. The energy per bit is .
QuestionWhy: why does packing more points into the same power make errors more likely?Show answer
With a fixed power, the points are constrained to a region, so adding points shrinks the distance between neighbours. Noise moves each received point by a random amount. A smaller spacing means a smaller noise value is enough to cross the decision boundary, so the chance of an error rises.
QuestionApplied: a BPSK link has noise standard deviation per axis. What is the bit error probability, and what does it mean for 1000 bits?Show answer
Use . Over 1000 bits, the expected number of errors is about . This is an average over many bits, not a guarantee for any single message.