The GATE Grind

GATE 2025 CS (CS1) – Question 58

Engineering Mathematics · Discrete Mathematics: Sets, Relations, Functions, Partial Orders and Lattices · 2 marks · Numerical answer

Consider a probability distribution given by the density function $P(x)$.

$P(x) = \begin{cases} Cx^2, & \text{for } 1 \le x \le 4 \\ 0, & \text{for } x < 1 \text{ or } x > 4 \end{cases}$

The probability that $x$ lies between 2 and 3, i.e., $P(2 \le x \le 3)$ is __________. (rounded off to three decimal places)

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 0.302

Explanation

$P(x)=Cx^2$ on $[1,4]$ is a density, so its integral must be 1:
$$\int_1^4Cx^2\,dx=C\cdot\frac{4^3-1^3}{3}=C\cdot21=1\ \Rightarrow\ C=\frac1{21}.$$

Then
$$P(2\le x\le3)=\frac1{21}\int_2^3x^2\,dx=\frac1{21}\cdot\frac{27-8}{3}=\frac{19}{63}\approx\mathbf{0.302}.$$

More Discrete Mathematics: Sets, Relations, Functions, Partial Orders and Lattices questions

All Discrete Mathematics: Sets, Relations, Functions, Partial Orders and Lattices questions →