IAE Academy

GATE 2022 EC Q.64: solution and answer

GATE 2022 · ECQ.64 · 2 marks · NAT

Consider a real valued source whose samples are independent and identically distributed random variables with the probability density function, f(x), as shown in the figure. Consider a 1 bit quantizer that maps positive samples to value α and others to value β. If α and β are the respective choices for α and β that minimize the mean square quantization error, then (α − β) = _________ (rounded off to two decimal places).

GATE 2022 EC question 64: Plot of f(x) versus x.Tap to open full size
Figure from the GATE 2022 EC paper. It is part of the question.
Figure description

Plot of f(x) versus x. f(x) is zero for x < -2. It rises linearly from 0 at x = -2 to a value h at x = 0 (the vertical f(x) axis), then stays constant at h from x = 0 to x = 1, where it drops vertically to zero. It is zero for x > 1. The height h is not labelled; the x-axis marks are -2, 0 and 1.

Answer and solution

ANSWER

.

Official answer: 1.15 to 1.18Source: Official answer key, GATE 2022 EC (IIT Kharagpur)

  1. The total area under the pdf must be 1. The triangle from to has area , and the rectangle from to has area . So and .

  2. The pdf is for (it rises linearly from to ), and for . It is zero elsewhere.

  3. The quantizer has two cells: (output ) and (output ). For a fixed cell, the mean square error is smallest when the output level is the centroid (conditional mean) of that cell. So and .

  4. Positive cell: . Here the pdf is constant, so is uniform on and .

  5. Non-positive cell: (the triangle's area). The first moment over this cell is

  6. So .

  7. .

KEY IDEA

For a 1-bit minimum-MSE quantizer, each output level is the centroid (conditional mean) of its cell. The unit area fixes the unlabelled pdf height, then each centroid is a first moment divided by a cell probability.

WATCH OUT FOR

Forgetting to divide the first moment by the cell probability, or taking the midpoint of the triangular part () instead of its centroid at . Another slip is skipping the normalisation step and using a wrong height for the pdf.

From the GATE 2022 EC paper. Every question of this paper · Download the full paper · All 15 Digital communication questions, with notes

More Digital communication questions