For the binary erasure channel with input distribution , the output reveals with probability and nothing otherwise, so , maximised at . A derivation is in Cover and Thomas.
The capacity equals the expected fraction of unerased symbols. This is what a sender could achieve trivially if told in advance which positions would be erased; the content of the theorem is that the same rate is achievable without that knowledge. Random linear codes achieve it, with a short proof.