Skip to content
Official PYQ · 2003

GATE CS 2003 Q60 — Probability: Random Variables and Distributions

Explain with AI

A program consists of two modules executed sequentially. Let f1(t)f_1(t) and f2(t)f_2(t) respectively denote the probability density functions of time taken to execute the two modules. The probability density function of the overall time taken to execute the program is given by 

Choose one option
View worked solution

Answer: C

Let T1T_1 and T2T_2 be the continuous random variables representing the execution times of the first and second modules, respectively. Let their probability density functions (PDFs) be f1(t)f_1(t) and f2(t)f_2(t). Since execution times are non-negative, we have f1(t)=0f_1(t) = 0 and f2(t)=0f_2(t) = 0 for t<0t < 0.

Since the two modules are executed sequentially, the total execution time of the program is the sum of the individual execution times:

T=T1+T2T = T_1 + T_2

Assuming the execution times of the two modules are independent, the PDF of the sum of two independent continuous random variables is given by the convolution of their individual PDFs:

fT(t)=(f1∗f2)(t)=∫−∞∞f1(x)f2(t−x) dxf_T(t) = (f_1 * f_2)(t) = \int_{-\infty}^{\infty} f_1(x) f_2(t - x) \, dx

We can simplify the limits of integration based on the non-negative nature of the execution times:

  • Since f1(x)=0f_1(x) = 0 for x<0x < 0, the lower limit of integration becomes 00.
  • Since f2(t−x)=0f_2(t - x) = 0 for t−x<0t - x < 0 (which means x>tx > t), the upper limit of integration becomes tt.

Substituting these limits, we get:

fT(t)=∫0tf1(x)f2(t−x) dxf_T(t) = \int_0^t f_1(x) f_2(t - x) \, dx

This matches Option C.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Probability: Random Variables and Distributions questions