All 21 questions UPSC has asked on probability and random variables in the Electrical Engineering Optional (Paper I, Analog Communication) from 2004 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Analog Communication topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
- ✓ Proof checked step by step or ✓ Derivation checked step by step for “prove” and “derive” questions, every step was checked against the definitions and standard results.
- ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.
Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 5d 2025 · 5d 2023 · 7b(i) 2023 · 7b(ii) 2022 · 7b 2021 · 6c 2020 · 8b 2019 · 5c 2017 · 2c 2014 · 5d 2014 · 7b 2012 · 5e 2010 · 4c(iii) 2009 · 1d(i) 2007 · 4b(iii) 2007 · 5d 2006 · 1d(i) 2006 · 7b 2005 · 6b(i) 2005 · 6b(ii) 2004 · 4b
A discrete random variable has two possible values or with probabilities and , respectively. The probability density function of is shown in the figure: If , where , are statistically independent and identically distributed random variables, what is the probability distribution function of ?
Solution
Each is a Bernoulli variable: , , so
Distribution of . counts the number of 1s in independent trials, so . A particular sequence with exactly ones has probability (independence), and there are such sequences. Hence is binomial:
(Equivalently, the PDF of a sum of independent variables is the -fold convolution of . Its characteristic function is , whose binomial expansion gives the same weights.)
The distribution has mean and variance .
✓ Proof checked step by step We derived the distribution step by step and checked the mean and variance numerically.
Show that for a binomial random variable, the mean is given by and the variance is given by , where gives the number of trials and gives the probability of successes.
Solution
For a binomial variable, with .
Mean.
Second factorial moment.
Variance.
(Shorter route: of independent Bernoulli variables, each with mean and variance . Means and variances add.)
✓ Proof checked step by step We derived both moments step by step and checked them numerically for n = 7, p = 0.3.
Two statistically independent Poisson random variables and with respective parameters and are added to form . Show that the random variable Y is Poisson distributed with parameter .
Solution
For Poisson variables, and , for
Convolution. Since and are independent, by the binomial theorem. This is the Poisson law with parameter . ∎
(Check by characteristic functions: , so .)
✓ Proof checked step by step We derived the result by convolution and checked it numerically.
Derive the relationship between Binomial and Poisson random variables when Binomial distribution becomes equal to the Poisson distribution.
Solution
The binomial law tends to the Poisson law when and with held fixed (many trials, rare events).
Put : Hence
So for large and small (in practice , ), the binomial and Poisson probabilities are nearly equal. The binomial mean equals the Poisson mean , and the binomial variance , the Poisson variance.
✓ Derivation checked step by step We derived the limit step by step.
X and Y are two independent random variables with probability density functions given by and (i) Determine A. (ii) Determine the probability density function of .
Solution
(i)
(ii) PDF of .
- is uniform on : .
- : for .
and are independent, so :
✓ Checked by computer We derived the PDF by convolution, checked that it integrates to 1, and compared it with a Monte Carlo histogram.
Let the measurement error of a physical quantity be defined by a random variable X and its density function as follows: Determine the value of ‘K’ and find the probability that a random error in measurement is less than 1/2.
Solution
Value of K.
Probability that the error is less than 1/2. If the question means the size of the error, :
✓ Checked by computer We computed K and both probabilities symbolically.
(i) Which type of probability density function is applicable in case of calculating errors with aiming of missiles/projectiles, if errors in each of the two rectangular coordinates have independent Gaussian probability density functions? Find its mean, mean square value, variance and its cumulative distribution function. (ii) Suppose an archer shoots at a target, 3 m in diameter for which the bull’s eye is centered on the origin of an XY coordinate system. The position at which any arrow strikes the target is a random variable having an X-component and a Y-component. It is determined that the standard deviation of these components is m, i.e. Assume that the X and Y components of the hit position are independent Gaussian random variables. What is the type of random variable that can be assigned to the distance of origin from the hit position (i.e. the miss distance)? Write its probability density function and find the mean value, its standard deviation and the probability that the target will be missed completely.
Solution
(i) Rayleigh density. If and are independent , the radial error has the Rayleigh PDF (derived by changing to polar coordinates: , integrated over ):
- Mean: .
- Mean square: .
- Variance: .
(ii) The archer. The miss distance is a Rayleigh variable with m:
- Mean .
- Standard deviation .
- The target radius is 1.5 m, so which means the target is practically never missed.
✓ Checked by computer We derived the Rayleigh results and computed the numbers in code.
Assuming that X is a Gaussian random variable with m = 0 and σ = 1, find the probability density function of the random variable Y given by .
Solution
For a monotonic function , . Here and (with ). Since , So is Gaussian with mean and variance : . A linear transformation of a Gaussian variable is Gaussian.
✓ Proof checked step by step We derived the transformation step by step.
Discuss the properties of a probability density function. What additional features a normal distribution has?
Solution
Properties of a probability density function .
- for all .
- (total probability).
- .
- and , where is non-decreasing from 0 to 1.
- For a continuous variable . Discrete variables have impulses in their PDF, with weights equal to the probabilities.
- Moments are found from the PDF: .
Additional features of the normal (Gaussian) distribution, :
- It is completely described by two parameters, mean and variance .
- It is bell-shaped and symmetric about ; mean, median and mode coincide.
- The maximum value occurs at ; the points of inflection are at .
- About 68.3%, 95.4% and 99.7% of the probability lie within , and of the mean.
- Odd central moments are zero; higher even moments depend only on .
- Any linear combination of jointly Gaussian variables is Gaussian. Uncorrelated jointly Gaussian variables are independent.
- By the central limit theorem, sums of many independent effects tend to it, which is why thermal noise is Gaussian.
- Its CDF has no closed form; it is tabulated through the Q-function or erf.
✓ Answer checked step by step We checked the properties against standard probability texts.
A random variable has an exponential probability function given by , where and are constants. Find (i) the relationship between and , and (ii) the distribution function of .
Solution
(i) Relation between a and b. The total probability must be 1:
(ii) Distribution function. (This is the Laplace distribution.)
✓ Checked by computer We derived the results step by step.
The two random variables and are independent and identically distributed each with a Gaussian density function with mean equal to zero and variance equal to . If these two random variables denote the coordinates of a point in the plane, find the probability density function of the magnitude and the phase of that in polar coordinates.
Solution
Let and , with and . The joint density of is The Jacobian of is , so
Magnitude (integrate over ):
Phase (integrate over ):
Since , the magnitude and phase are independent.
✓ Proof checked step by step We derived the joint density of magnitude and phase step by step.
Evaluate whether the following function given by expression is a probability density function (PDF).
Solution
A function is a valid PDF if it is non-negative everywhere and its total integral is 1.
- Non-negative: for , lies between 7 and 11, so ; it is zero elsewhere.
- Total area:
Both conditions hold, so is a valid PDF. (Its CDF is for .)
✓ Checked by computer We integrated the function symbolically.
For the probability density function of a random variable with ranging between to , find the distribution function value of and the probability that lies between 0 and 1.
Solution
Value of a.
Distribution function.
Probability that .
✓ Checked by computer We computed a and the probability in code.
Explain the mathematical expressions for statistical average, mean, variance and correlation coefficient of a random variable.
Solution
For a random variable with PDF (sums replace integrals for discrete variables):
Statistical average (expectation) of a function : It is the ensemble average: the value the time average of many independent observations tends to.
Mean (first moment): . It is the centre of gravity of the PDF, and is the dc value for an ergodic signal.
Mean square: , the total power (for a 1 Ω load).
Variance (second central moment): It measures spread about the mean (the ac power); is the standard deviation (rms value of the fluctuation).
Correlation coefficient of two variables , : means a linear relation ; means uncorrelated. Independent variables are uncorrelated, but not always the reverse; for jointly Gaussian variables the reverse also holds.
✓ Answer checked step by step We checked the definitions against standard texts.
Define conditional probability and random variable.
Solution
Conditional probability. The probability of event given that event has occurred: It restricts the sample space to . If and are independent, . Together with the total probability theorem it gives Bayes’ rule:
Random variable. A random variable is a function that assigns a real number to every outcome of a random experiment, such that is an event for every (so that it has a probability, the distribution function ). It may be:
- discrete, taking countable values (for example the number of errors in a block), described by probabilities ;
- continuous, taking a continuum of values (for example a noise voltage), described by a PDF .
✓ Answer checked step by step We checked the definitions against standard texts.
In a certain communication system, the message is coded into binary digits 0 and 1. After coding, the probability of a 0 being sent is 0.45, while the probability of a 1 being sent is 0.55. In the communication channel, the probability of a transmitted 0 being converted into a 1 at the receiver is 0.1, while the probability of a 1 being distorted into a 0 is 0.2. Find: (i) the probability that a received 0 was transmitted as a 0, and (ii) the probability that a received 1 was transmitted as a 1.
Solution
, ; , so ; , so .
Total probabilities of the received symbols.
(i) By Bayes’ rule,
(ii)
✓ Checked by computer We applied the total probability theorem and Bayes’ rule in code.
Two random variables X and Y have the joint Pdf Where A is a constant. Evaluate A and determine the marginal pdfs and draw the corresponding graphs.
Solution
Constant A.
Marginal PDFs. Both are exponential, and , so and are independent.
✓ Checked by computer We integrated the joint PDF symbolically.
Find the mean, the mean square, and the variance of the Gaussian random variable with the pdf
Solution
Let , and substitute , so . We use , (odd function) and (by parts).
Mean.
Mean square.
Variance.
(The by-parts step: .)
✓ Proof checked step by step We evaluated the three integrals step by step.
Three regular dice are thrown. Assign probabilities to the following events. The sum of the points appearing on three dice is 4; 9; and 15.
Solution
There are equally likely outcomes.
- Sum 4: the triples are permutations of (1,1,2), giving 3 outcomes: .
- Sum 9: the partitions are (1,2,6) 6 ways, (1,3,5) 6, (1,4,4) 3, (2,2,5) 3, (2,3,4) 6, (3,3,3) 1. Total 25: .
- Sum 15: the partitions are (3,6,6) 3 ways, (4,5,6) 6, (5,5,5) 1. Total 10: .
✓ Checked by computer We enumerated all 216 outcomes in code.
Explain central limit theorem.
Solution
Central limit theorem. Let be independent random variables with means and finite variances , and no single term dominating. Then the PDF of the normalised sum tends to the standard Gaussian as , whatever the individual distributions are. For identically distributed variables, .
Why it holds. The PDF of a sum is the convolution of the individual PDFs. Repeated convolution smooths any shape towards a bell. Equivalently, the characteristic function of tends to .
The figure shows the convergence. A single uniform variable gives a rectangle, two give a triangle, and four give a curve already very close to the Gaussian.
Importance in communication.
- Thermal and shot noise are sums of a very large number of independent electron motions, so noise is Gaussian.
- It justifies Gaussian models for interference, quantisation error accumulation and channel fading components (Rayleigh fading arises from Gaussian in-phase and quadrature parts).
- It lets us approximate binomial and Poisson probabilities by Gaussian ones for large .
✓ Answer checked step by step We checked the statement against standard texts and plotted sums of uniform variables to illustrate it.
The joint probability density of the random variables X and Y is in the range and and f(x, y) = 0 otherwise. (i) Find the value of the constant K. (ii) Find the probability density f(x), the probability density of X independently of Y. (iii) Find the probability (iv) Are the random variables dependent or independent? Justify.
Solution
(i) Constant K.
(ii) Marginal density of X.
(iii)
(iv) Independent. The joint density factorises for all : , over a rectangular (product) region.
✓ Checked by computer We computed the constant and the probability in code.
More on Analog Communication
- All Electrical Engineering PYQ solutions, topic by topic
- Analog Communication topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper I, 2004–2026. Solutions: Optional Province. Found an error? Tell us.

