Optimum detection of digital symbols in noise: the MAP and ML decision rules, likelihood-ratio tests, thresholds for binary signals in Gaussian noise, minimum-distance decisions and the resulting error probability.
The transmitter sends one of symbols with prior probabilities . The receiver observes , where is noise (after matched filtering and sampling, is a number or a vector). The detector maps every possible to one symbol. This divides the observation space into decision regions .
The likelihood is the pdf of when is sent. For additive noise, .
The a posteriori probability follows from Bayes' theorem:
The probability of a correct decision is . Since , it is largest when, for each , the receiver picks the symbol with the largest posterior. That is the MAP rule, and it minimises the symbol error probability.
The error probability for a given rule is
so always weight each conditional error by its prior.
2. MAP and ML rules, likelihood-ratio test
Rule
Choose that maximises
Needs priors?
Optimal when
MAP (maximum a posteriori)
, i.e.
Yes
Always (minimum )
ML (maximum likelihood)
No
Priors are equal
With equal priors the factor is the same for every symbol, so MAP = ML. With unequal priors, MAP favours the more likely symbol: its decision region grows.
For two symbols, the MAP rule is the likelihood-ratio test (LRT):
ML uses the same test with threshold 1. Taking logarithms often simplifies Gaussian or exponential pdfs.
Discrete observations work the same way. On a binary symmetric channel with crossover , if 1 is received the MAP detector compares with . When one symbol is very likely, the MAP detector may decide it regardless of what is received, while the ML detector (for ) always decides the received bit.
3. Binary signals in Gaussian noise: the threshold
Let with and levels . The LRT reduces to comparing with a threshold :
Decide if .
ML (or equal priors): , the midpoint.
MAP with : , so moves towards , the less likely symbol. The region of the more likely symbol widens.
The shift grows with noise power and shrinks as the levels separate.
At the two weighted curves and cross; that is a quick way to find the MAP threshold for any pdf.
Error probability with the ML threshold (distance ):
For BPSK with matched filter, and , giving . For on-off keying, with the average energy per bit, 3 dB worse than BPSK.
Prior-weighted likelihoods for $s_0 = -1$, $s_1 = +1$ with $\sigma = 0.6$, $P_1 = 0.8$. The MAP threshold sits where the curves cross, $\gamma \approx -0.25$, shifted towards the less likely $s_0$.
4. ML in AWGN is minimum-distance detection
In additive white Gaussian noise with -dimensional signal vectors, each noise component has variance and
Maximising this is the same as minimising the Euclidean distance . So the ML detector picks the nearest constellation point. Decision boundaries are the perpendicular bisectors between neighbouring points.
The MAP version minimises ; boundaries shift away from likely points.
Equivalent correlation form: maximise . For equal-energy sets (PSK) the energy term drops and the detector picks the largest correlation.
Practical consequences:
QPSK: decide each bit from the sign of each coordinate.
-PAM: thresholds midway between adjacent levels.
Error probability depends on minimum distance and noise: roughly per nearest neighbour.
The matched filter (or correlator) produces exactly these sufficient statistics, so matched filter followed by ML decision is the optimum receiver for equally likely symbols in AWGN.
QPSK decision regions under ML: the received point $r$ is nearest to $s_4$, so $s_4$ is decided.
Formulas to remember
Posterior (Bayes)
MAP rule
ML ruleSame as MAP when priors are equal
Likelihood-ratio test
MAP threshold, Gaussian noiseDecide if ()
Binary error probability (ML)
BPSK in AWGN
Error probability of a rule
Common mistakes
Moving the MAP threshold towards the more likely symbol; it moves towards the less likely one, so the likely symbol gets the bigger region.
Using σ instead of σ² in the MAP threshold term (σ²/(a₁ − a₀)) ln(P₀/P₁).
Writing the error probability as Q(d/σ); for a binary decision at the midpoint it is Q(d/2σ).
Taking the noise variance as N₀ instead of N₀/2 for each dimension of white noise.
Forgetting to weight the conditional errors by the priors when computing the average error probability.
Assuming the receiver must decide the received bit; a MAP detector may ignore the observation when one symbol is very likely.
Worked examples
Try each step yourself, then reveal the working.
Example 1: MAP threshold for unequal priors
numerical
Antipodal levels are sent with , , in Gaussian noise of variance . Find the ML and MAP thresholds, and the ML error probability.
Step 1: Find the ML threshold.
Try it on paper first.
Example 2: MAP and ML disagree on a binary symmetric channel
numerical
Bits go through a BSC with crossover probability . , . Find the MAP and ML decisions for each received bit and the error probability of each detector.
Step 1: Received 1: compare the weighted likelihoods.
Try it on paper first.
Example 3: ML detection with exponential likelihoods
numerical
Equally likely hypotheses give and for . Find the ML decision rule and its error probability.
Step 1: Form the likelihood ratio.
Try it on paper first.
Example 4: Why ML becomes nearest-neighbour in AWGN
conceptual
A QPSK receiver gets with symbols at , equally likely, in AWGN. Which symbol does the ML detector choose, and why is no pdf calculation needed?
Step 1: Write the Gaussian likelihood.
Try it on paper first.
Previous year questions
2 official GATE EC questions on this topic, newest first.
10 questions: up to 2 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.