# Channel coding theorem

> Source: https://modeladay.com/models/channel-coding-theorem/
> Category: principle | Topics: science | Difficulty: 5/5

## Definition

Channel capacity C caps error-free speed; inside C, coding drives error rates arbitrarily low. Past C, errors never leave.

## Core Rule

Channel capacity C is the upper limit on error-free transmission rate; within C, coding can drive the error rate arbitrarily low—above C, errors are unavoidable. Common manifestation: a hard boundary separating "reliable" from "fast," the cornerstone of modern communication.

## Opening Context

As Voyager Two approached Uranus, people back on Earth were waiting for pictures from farther away than Saturn. The signal would be weaker this time. Even so, engineers wanted the spacecraft to send some bits that weren't in the pictures.

There was only so much room on the link for data. If you were down on Earth waiting for a picture, why would you spend any of it on extra bits?

Shannon's channel coding theorem says that, under the channel model, a suitable code can make errors as unlikely as you need below capacity. Let's wait for one of those photos to arrive and see what the extra bits did for the people trying to read it.

## How It Works (Preview)

Take a picture and turn it back into the groups of numbers the spacecraft sends. Each group describes a piece of the image, so a misread number can produce the wrong pixels. People on the ground need some way to see when a reading has gone wrong.

Think of giving someone an address over a noisy line. You name the street and add which bridge it's near. If they miss a syllable, the bridge gives them another clue to help them pick the right street.

## When It Fails (Preview)

Once you sit down to choose the equipment, there's still some engineering to do. You've got to turn that signal back into the message in time, with the equipment you can actually use.

## Full Lesson, Audio & Practice

Get the full Channel coding theorem breakdown, 5-minute audio lesson, interactive mechanism animation, and decision checklist in the ConceptFlow app:
- iOS App Store: https://apps.apple.com/app/conceptflow-mental-models/id6756862333
- Google Play: https://play.google.com/store/apps/details?id=com.juxianyp.conceptflow
- Web page: https://modeladay.com/models/channel-coding-theorem/

## Related Mental Models

- [Error-correcting code](https://modeladay.com/models/error-correcting-code/)
- [Channel capacity](https://modeladay.com/models/channel-capacity/)
- [Bandwidth and SNR](https://modeladay.com/models/bandwidth-and-snr/)
