Theoretical Foundations of Information Technology

Chapter 4
Information, Coding and Communication Theory

Doctorate in Information Technology
Theoretical Foundations of Information Technology   •   Doctorate

Chapter 4: Information, Coding and Communication Theory

1. Introduction

Information and communication theory provide a mathematical foundation for understanding how data is generated, represented, compressed, transmitted, protected, and interpreted. These theories are central to information technology because almost every digital system transforms information from one form into another. A sensor produces measurements, a computer encodes them as binary symbols, a network transmits them through a physical or wireless channel, and an application reconstructs meaning from the received data.

The theory is concerned not only with the quantity of information but also with uncertainty, efficiency, reliability, and security. It helps determine how much data can be compressed, how rapidly a channel can transmit information, how errors can be detected and corrected, and how communication systems should be designed under technical and economic constraints. In contemporary environments, these questions arise in cloud computing, cybersecurity, artificial intelligence, distributed systems, mobile communications, digital media, and data analytics.

A crucial distinction must be made between data and information. Data consists of symbols, measurements, or records. Information is the reduction of uncertainty that results when data is received or interpreted. A message may contain many bits but provide little information if its content was already predictable. Conversely, a short and unexpected message may convey considerable information.

2. Learning Objectives

By the end of this chapter, readers should be able to:

1. Explain information, uncertainty, entropy, redundancy, and mutual information.

2. Calculate basic information measures using logarithmic models.

3. Distinguish lossless and lossy compression and evaluate their uses.

4. Explain source coding, channel coding, error detection, and error correction.

5. Describe noise, signal transmission, channel capacity, and the Shannon limit.

6. Apply communication theory to networks, security, analytics, and machine learning.

7. Evaluate strategic, ethical, and managerial implications of information systems.

8. Analyze communication problems and recommend technically appropriate solutions.

3. Meaning and Concept

Information theory studies the representation, measurement, and transmission of information. Claude Shannon established its modern mathematical form in 1948 by treating communication as a formal process rather than depending on the semantic meaning of messages. This abstraction allows the same principles to apply to speech, images, financial transactions, sensor readings, and computer files.

A communication system normally contains five conceptual elements: an information source, a transmitter, a channel, a receiver, and a destination. The source generates a message. The transmitter encodes it into a signal. The channel carries the signal and may introduce noise. The receiver decodes the signal, and the destination uses the reconstructed message.

Information is commonly measured in bits when logarithms are base two. If an event has probability p, its self-information is:

I(x) = -log2 p(x)

A certain event has probability 1 and therefore conveys zero information. A rare event has low probability and high information. For example, the occurrence of a fair coin result conveys one bit because each outcome has probability one-half. A particular outcome of a fair eight-sided die conveys three bits because its probability is one-eighth.

Uncertainty describes the range of possible outcomes before an event occurs. Entropy measures the average uncertainty of a random variable. For a discrete variable X:

H(X) = -Σ p(x) log2 p(x)

Entropy is highest when all possible outcomes are equally likely. If a system has four equally likely symbols, its entropy is two bits per symbol. If one symbol occurs almost every time, entropy is lower because the next symbol is more predictable.

4. Fundamental Principles

4.1 Probability and uncertainty

Information theory depends on probability. A probability model specifies possible events and their likelihoods. The quality of the model affects the quality of the information estimate. If a model ignores relevant context, it may overestimate uncertainty; if it assumes excessive predictability, it may underestimate it.

4.2 Entropy and average information

Entropy is not the information in one specific message. It is the expected information of a source. Entropy provides a theoretical lower bound on the average number of bits required by an ideal lossless code under stated assumptions.

4.3 Redundancy

Redundancy is information beyond the minimum needed to represent a source under its probability model. Natural language contains redundancy through grammar and repeated patterns. Redundancy may be removed for compression, but it can also be deliberately added for error detection and correction. Thus, redundancy is not inherently wasteful; its value depends on the system objective.

4.4 Information as uncertainty reduction

The value of information depends on what was known beforehand. A weather report predicting an already certain event adds little information. A reliable warning about an unexpected failure can have substantial operational value. This principle is important in analytics, diagnosis, and decision support.

4.5 Separation of source and channel problems

Source coding seeks efficient representation and removes unnecessary redundancy. Channel coding adds structured redundancy to protect data from noise. These objectives appear contradictory, but they operate at different stages. A practical communication system may first compress a file and then apply error-correcting coding before transmission.

5. Major Components / Elements

Information source

The source generates symbols or messages. It may be a person, database, sensor, software process, or machine-learning model. Sources can be discrete, such as text characters, or continuous, such as audio voltage.

Encoder and decoder

An encoder maps source messages to codewords or signals. A decoder reconstructs the original message or estimates the most probable message from the received signal. Encoding may aim at compression, security, compatibility, or error protection.

Channel

A channel is the medium through which a signal travels. Examples include fiber-optic cable, copper wire, radio spectrum, satellite links, and computer buses. Channels have bandwidth, power, latency, and reliability constraints.

Noise

Noise is any unwanted disturbance that changes or obscures a signal. Thermal noise, electromagnetic interference, fading, crosstalk, hardware faults, and malicious manipulation can all affect communication.

Protocol and interface

A protocol defines how systems format, transmit, acknowledge, and interpret messages. Protocols establish timing, addressing, error handling, and security procedures. Interfaces translate between layers or technologies.

Destination and meaning

The destination consumes the reconstructed message. Communication theory often measures successful symbol recovery, whereas information systems must also evaluate semantic correctness, usefulness, and decision impact.

6. Process / Framework / Methodology

A systematic communication analysis can follow these steps.

First, define the source and the objective. Determine whether the goal is storage, transmission, real-time control, security, or decision support. Second, characterize the source statistically by estimating symbol probabilities, correlations, and temporal patterns. Third, determine the required fidelity. Some applications require exact recovery, while others tolerate controlled distortion.

Fourth, select a representation and source-coding method. Huffman coding and arithmetic coding are common lossless methods; transform and predictive methods are widely used for lossy media compression. Fifth, characterize the channel through bandwidth, signal-to-noise ratio, latency, packet-loss rate, and interference. Sixth, select channel coding, modulation, retransmission, or diversity techniques to meet reliability requirements.

Seventh, test the system using measures such as compression ratio, bit error rate, block error rate, throughput, delay, capacity utilization, and reconstruction quality. Finally, evaluate security, privacy, governance, cost, and operational resilience. A mathematically efficient design may be unacceptable if it exposes sensitive information or fails under realistic traffic and attack conditions.

7. Important Theories and Models

7.1 Shannon entropy

For a random variable X with outcomes x1, x2, ..., xn, entropy is:

H(X) = -Σ p(xi) log2 p(xi)

Entropy ranges from zero to log2 n for n possible outcomes. It is zero when one outcome is certain and maximal when outcomes are equally likely.

7.2 Joint and conditional entropy

Joint entropy H(X,Y) measures uncertainty about two variables together. Conditional entropy H(Y|X) measures the uncertainty remaining about Y after X is known. The relationship is:

H(X,Y) = H(X) + H(Y|X)

This supports analysis of prediction. If knowing X substantially reduces uncertainty about Y, then X contains useful information about Y.

7.3 Mutual information

Mutual information measures the dependence between variables:

I(X;Y) = H(Y) - H(Y|X)

It is also equal to H(X) - H(X|Y). Mutual information is zero when variables are statistically independent. In machine learning, it can support feature selection, representation learning, and dependency analysis. Unlike simple correlation, it can capture nonlinear relationships.

7.4 Kullback–Leibler divergence

Kullback–Leibler divergence measures how one probability distribution differs from another:

DKL(P||Q) = Σ P(x) log2[P(x)/Q(x)]

It is useful in model comparison, anomaly detection, language modeling, and evaluating distribution shift. It is not a symmetric distance, so DKL(P||Q) generally differs from DKL(Q||P).

7.5 Source coding theorem

The source coding theorem states that a source with entropy H can, under suitable assumptions, be represented with an average rate approaching H bits per symbol using sufficiently long codes. It does not guarantee that every individual message can be encoded in exactly H bits, and practical systems must consider computational complexity, finite blocks, metadata, and changing source statistics.

7.6 Huffman coding

Huffman coding constructs a prefix-free variable-length code. Frequent symbols receive shorter codewords, while rare symbols receive longer ones. Because no codeword is a prefix of another, decoding is unambiguous. Huffman coding is effective when symbol probabilities are known or estimated and when integer-length codewords are suitable.

7.7 Arithmetic coding

Arithmetic coding represents an entire message as a subinterval of the unit interval. Its average rate can approach entropy more closely than conventional symbol-by-symbol codes, particularly when probabilities are skewed or fractional code lengths are advantageous. It is used in several compression technologies, although implementation must address precision, speed, and security concerns.

7.8 Channel capacity

Channel capacity is the maximum reliable information rate for a specified channel model. For a band-limited additive white Gaussian noise channel, Shannon capacity is:

C = B log2(1 + S/N)

where C is capacity in bits per second, B is bandwidth in hertz, and S/N is the signal-to-noise ratio. Reliable communication is theoretically possible below capacity with appropriate coding and sufficiently long codewords; reliable communication cannot be guaranteed above capacity under the model.

7.9 Error detection and correction

Parity bits, checksums, and cyclic redundancy checks detect many errors but generally do not identify the original data when errors occur. Error-correcting codes, including Hamming, convolutional, Reed–Solomon, turbo, and low-density parity-check codes, add structured redundancy that permits recovery. Forward error correction is valuable when retransmission is costly or impossible, such as satellite and deep-space communication.

7.10 Rate–distortion theory

Lossy compression allows reconstruction error. Rate–distortion theory studies the minimum rate required to represent a source while keeping distortion below a specified level. Distortion may be measured mathematically or perceptually. A small numerical error may be visually unimportant in an image, while a small error in a medical measurement may be unacceptable.

8. Practical Applications

Compression reduces storage and transmission requirements. Text, logs, images, audio, and video all benefit from exploiting repetition, statistical regularity, or perceptual irrelevance. Lossless compression is appropriate for source code, financial records, legal documents, and executable files. Lossy compression is often acceptable for streaming media when quality remains within an agreed threshold.

Communication theory supports network planning. Engineers use capacity estimates to determine whether a link can support expected traffic, while queuing and error analysis help establish service-level agreements. In mobile networks, modulation, coding, antenna diversity, and adaptive transmission respond to changing channel conditions.

In cybersecurity, entropy can assess password strength, cryptographic key generation, and randomness. However, a long password made from predictable patterns may have less effective entropy than its length suggests. Information leakage can be analyzed through mutual information and related measures. Side-channel attacks exploit observable information such as timing, power consumption, or packet size.

In analytics, entropy measures the impurity of a classification set and supports decision-tree splitting. Mutual information helps identify informative variables. Distribution divergence helps detect fraud, data drift, and unusual system behavior. In machine learning, information-theoretic objectives support feature selection, representation learning, active learning, and compression of model parameters.

9. Examples

Example 1: Entropy of a binary source

Suppose a sensor reports a fault with probability 0.1 and normal operation with probability 0.9. Its entropy is:

H(X) = -0.1 log2(0.1) - 0.9 log2(0.9) ≈ 0.469 bits per report.

Although the sensor produces two possible symbols, the average uncertainty is less than one bit because normal operation is much more probable.

Example 2: Compression ratio

A 10-megabyte file compressed to 4 megabytes has a compression ratio of 10/4 = 2.5:1. The reduction is 60 percent. This measure alone is insufficient for evaluation because compression time, decompression time, quality, and data recoverability also matter.

Example 3: Capacity estimate

A channel has bandwidth 1 MHz and signal-to-noise ratio 15, interpreted as a linear ratio. Its theoretical capacity is:

C = 1,000,000 log2(16) = 4,000,000 bits per second.

A practical system will normally achieve less because of finite block lengths, implementation losses, interference, protocol overhead, and changing channel conditions.

Example 4: Error-control decision

A remote industrial controller communicates over a link with occasional interference. If retransmission takes too long and could cause unsafe delays, forward error correction may be preferable. If the link is reliable and delay is acceptable, a lighter error-detection mechanism with retransmission may provide better efficiency.

10. Technology and Digital Applications

Relevant technologies include optical fiber, Wi-Fi, cellular networks, satellite systems, data-center interconnects, storage devices, and Internet protocols. Modern physical layers use sophisticated modulation and error-correcting codes to approach theoretical capacity. Compression algorithms are embedded in file systems, databases, browsers, video platforms, and backup systems.

Distributed computing also depends on communication theory. Replication, consensus, caching, and synchronization all exchange information under latency and failure constraints. Edge computing reduces communication demand by processing data near its source. Federated learning reduces the need to transfer raw data, although model updates may still leak information and require secure aggregation or differential privacy.

Artificial-intelligence systems use information measures in feature engineering, model evaluation, generative modeling, and data selection. At the same time, compression and quantization reduce the memory and communication requirements of large models. These technologies should be assessed jointly with accuracy, robustness, fairness, and privacy.

11. Strategic / Managerial Importance

Managers need not calculate every coding parameter, but they must understand the consequences of communication design choices. Capacity constraints affect investment in bandwidth, infrastructure, and edge processing. Compression choices affect storage cost, user experience, legal retention, and data recovery. Error-control choices affect reliability, latency, and operational safety.

Information theory also supports evidence-based prioritization. Data with high predictive value may deserve greater collection and protection than data with little decision value. However, information value is contextual: a low-frequency event may be operationally critical even if it contributes little to average entropy.

Strategic decisions should therefore connect technical metrics to business outcomes. Relevant questions include whether a service-level objective requires near-zero loss, whether latency is more important than throughput, whether data may be compressed destructively, and whether information leakage creates regulatory or competitive risk.

12. Detailed Case Study

Background

The following is a fictional illustrative case. Meridian Health Network operates connected cardiac-monitoring devices in hospitals and outpatient facilities. Devices transmit measurements to a clinical analytics platform.

Problem

The organization experiences intermittent packet loss, high storage costs, and delayed alerts. Increasing bandwidth alone is expensive and does not solve failures caused by wireless interference. Clinical leaders also require assurance that compression will not remove diagnostically significant features.

Analysis

The engineering team measures source statistics, packet-loss rates, latency, signal-to-noise ratios, and alert sensitivity. Raw waveform data contains temporal redundancy, but certain transient patterns are clinically important. The team therefore rejects aggressive lossy compression without clinical validation. It also discovers that retransmission is unsuitable for urgent alerts because waiting for missing packets can increase response time.

Strategy / Solution

The organization adopts lossless or clinically validated near-lossless compression for diagnostic waveforms, stronger source modeling for repeated metadata, and forward error correction for real-time alert packets. Important alerts receive priority treatment, while archival data uses batch compression. Integrity checks and authenticated encryption are applied before transmission. A monitoring dashboard tracks compression ratio, bit error rate, alert latency, reconstruction error, and false-alert rates.

Outcome

In this illustrative scenario, storage requirements decline substantially, alert latency becomes more predictable, and packet corruption is detected earlier. Clinical validation confirms that the selected distortion threshold does not affect approved diagnostic indicators. The organization also documents rollback procedures and retains original data for high-risk cases.

Learning Points

The case demonstrates that communication optimization is a multi-objective problem. Compression, reliability, latency, security, and clinical safety must be evaluated together. The theoretically most efficient method is not necessarily the best operational choice. Domain validation is essential whenever lossy representation may affect decisions.

13. Advantages / Benefits

Information and communication theory offers precise measures for uncertainty, efficiency, and reliability. It supports scalable system design, reduces storage and transmission costs, improves network performance, and enables principled comparison of alternatives. Error-correcting methods increase resilience, while information measures improve analytics and machine learning. The theory also provides limits: capacity and rate–distortion results prevent unrealistic expectations about what technology can achieve.

14. Limitations / Challenges

Theoretical models rely on assumptions about probability distributions, independence, stationarity, noise, and available computational resources. Real systems often have changing sources, adversarial behavior, burst errors, hardware limitations, and finite message lengths. Entropy does not measure semantic importance, truth, or usefulness by itself. Compression may destroy information needed later, while excessive error correction can reduce throughput. Security analysis is difficult because attackers may influence distributions and exploit information not represented in ordinary performance metrics.

15. Ethical and Governance Considerations

Organizations must determine who may collect, transmit, compress, retain, and decode information. Data minimization can reduce privacy risk, but compression does not automatically make data anonymous. Metadata, traffic patterns, and model updates may reveal sensitive facts. Security controls should protect confidentiality, integrity, authenticity, and availability.

Governance should define acceptable distortion, retention periods, auditability, and recovery obligations. In healthcare, finance, and critical infrastructure, loss or alteration of information can cause serious harm. Decisions based on entropy or predictive value should not justify collecting unnecessary personal data. Systems should be tested for unequal performance across users, locations, and operating conditions.

16. Current and Emerging Trends

Important trends include higher-dimensional wireless systems, optical communication, intelligent surfaces, satellite connectivity, and adaptive coding and modulation. Edge and federated computing reduce raw-data movement but create new synchronization and privacy challenges. Quantum communication introduces different models of information and measurement, although practical deployment remains specialized.

Machine-learning-based compression and learned communication systems are emerging in media, networks, and scientific data processing. Digital twins and industrial Internet-of-Things systems require low-latency, reliable transmission of heterogeneous sensor data. Privacy-enhancing technologies, including differential privacy and secure computation, increasingly treat information leakage as a measurable design concern.

17. Best Practices

1. Define whether the requirement is exact recovery, acceptable distortion, low latency, high throughput, or strong confidentiality.

2. Estimate source statistics from representative and current data.

3. Separate source coding from channel coding in system design.

4. Measure real performance rather than relying only on theoretical capacity.

5. Select lossless compression whenever small errors could change meaning or legal validity.

6. Use authenticated encryption and protect keys independently from data encoding.

7. Test under burst errors, interference, congestion, and distribution shift.

8. Monitor compression ratio, latency, error rates, capacity utilization, and reconstruction quality.

9. Document assumptions, thresholds, rollback procedures, and data-retention obligations.

10. Include domain experts when compressed information supports high-impact decisions.

18. Future Scope

Future communication systems will increasingly combine information theory with artificial intelligence, cybersecurity, and autonomous control. Adaptive systems may estimate channel conditions and select coding schemes in real time. Distributed learning will require efficient, private, and robust exchange of model information. New architectures may integrate sensing and communication, allowing the same signals to support localization, environmental perception, and connectivity.

Research will also address semantic and goal-oriented communication, in which systems transmit the information needed for a task rather than reproducing every symbol. This does not replace classical reliability requirements; rather, it introduces application-specific definitions of success. The central challenge will be balancing efficiency with interpretability, security, fairness, and human accountability.

19. Chapter Summary

Information theory measures uncertainty and the reduction of uncertainty achieved through messages. Entropy gives average information and establishes a benchmark for lossless representation. Source coding removes redundancy to improve efficiency, while channel coding adds structured redundancy to detect and correct errors. Noise, bandwidth, and signal-to-noise ratio limit reliable communication, with channel capacity defining a theoretical maximum rate. Rate–distortion theory explains controlled lossy compression.

These concepts support network engineering, storage, cybersecurity, analytics, machine learning, and managerial decision-making. Effective implementations must go beyond mathematical efficiency and account for latency, reliability, privacy, security, governance, cost, and domain consequences.

20. Key Terms

1. Bit — The basic binary unit of information.

2. Channel — A medium through which signals or messages are transmitted.

3. Channel capacity — The maximum theoretically reliable information rate of a channel model.

4. Conditional entropy — Uncertainty remaining about one variable after another is known.

5. Compression — Reduction of the representation size of data.

6. Entropy — The expected uncertainty or information of a random variable.

7. Error-correcting code — A code that adds redundancy to permit recovery from errors.

8. Error-detecting code — A code that identifies, but may not correct, transmission errors.

9. Information — A reduction in uncertainty resulting from a message or observation.

10. Joint entropy — Uncertainty associated with two or more variables considered together.

11. Lossless compression — Compression from which the exact original can be recovered.

12. Lossy compression — Compression that permits controlled reconstruction error.

13. Mutual information — Information shared statistically by two variables.

14. Noise — An unwanted disturbance affecting a signal.

15. Redundancy — Repeated or additional structure beyond the minimum representation requirement.

16. Rate–distortion theory — The study of the rate needed to represent data at a specified distortion level.

17. Signal-to-noise ratio — The strength of a desired signal relative to noise.

18. Source coding — Encoding designed primarily for efficient representation.

19. Channel coding — Encoding designed primarily for reliable transmission.

20. Throughput — The actual rate of successfully delivered data.

21. Review Questions

Short Answer Questions

1. Define entropy and explain why it is highest for equally probable outcomes.

2. Distinguish source coding from channel coding.

3. What is the difference between lossless and lossy compression?

4. Explain the meaning of channel capacity.

5. What does mutual information measure?

Long Answer Questions

1. Explain the components of a communication system and discuss the role of noise.

2. Compare Huffman coding and arithmetic coding, including their assumptions and practical trade-offs.

3. Derive and interpret the Shannon capacity equation for a noisy channel.

4. Discuss the relationship between redundancy, compression, error correction, and reliability.

5. Evaluate the importance of information theory in cybersecurity and machine learning.

Analytical / Application Questions

1. A monitoring system produces a normal reading with probability 0.95 and an alarm with probability 0.05. Calculate its entropy and explain the result for storage design.

2. A company must transmit medical images over a constrained link. Recommend a compression and error-control strategy, identifying the trade-offs and governance requirements.

3. A machine-learning dataset shows a large change in feature distributions after deployment. Explain how entropy, mutual information, or divergence measures could support diagnosis and corrective action.

22. Multiple Choice Questions with Answers

Question 1

Which measure represents the average uncertainty of a discrete random variable?

A. Entropy

B. Throughput

C. Bandwidth

D. Latency

Correct Answer: A. Entropy

Question 2

A source produces four equally likely symbols. What is its entropy?

A. 1 bit

B. 2 bits

C. 3 bits

D. 4 bits

Correct Answer: B. 2 bits

Question 3

What is the primary purpose of source coding?

A. Adding redundancy for error correction

B. Increasing signal power

C. Representing information efficiently

D. Encrypting transmission keys

Correct Answer: C. Representing information efficiently

Question 4

Which technique is most appropriate when the exact original file must be recovered?

A. Lossy compression

B. Lossless compression

C. Analog modulation

D. Quantization with distortion

Correct Answer: B. Lossless compression

Question 5

According to the Shannon capacity formula, increasing bandwidth generally has what effect, assuming other conditions remain constant?

A. Increases theoretical channel capacity

B. Eliminates all noise

C. Reduces source entropy to zero

D. Guarantees encryption

Correct Answer: A. Increases theoretical channel capacity

Question 6

What is the primary function of an error-correcting code?

A. Reduce the number of source symbols

B. Permit recovery from transmission errors

C. Increase uncertainty in the source

D. Replace the communication channel

Correct Answer: B. Permit recovery from transmission errors

Question 7

Mutual information between two statistically independent variables is:

A. Equal to their joint entropy

B. Always negative

C. Zero

D. Always one bit

Correct Answer: C. Zero

Question 8

Why might forward error correction be preferred over retransmission in a real-time control system?

A. It avoids delay caused by waiting for retransmission

B. It always uses fewer bits

C. It removes the need for a decoder

D. It guarantees unlimited channel capacity

Correct Answer: A. It avoids delay caused by waiting for retransmission

Question 9

What does rate–distortion theory primarily analyze?

A. The minimum rate needed for a specified reconstruction quality

B. The probability of password guessing

C. The physical length of a transmission cable

D. The number of users on a network

Correct Answer: A. The minimum rate needed for a specified reconstruction quality

Question 10

Which statement best describes redundancy?

A. It is always useless repeated data

B. It can support compression removal or error correction depending on its use

C. It is identical to encryption

D. It exists only in analog systems

Correct Answer: B. It can support compression removal or error correction depending on its use

Theoretical Foundations of Information Technology
Chapter 4 of 15