A self-contained LaTeX tutorial on rate-distortion theory for a Bernoulli(p) source with Hamming distortion, covering the classical rate-distortion function, the Blahut-Arimoto algorithm, and finite ...