GATE 2019 CS – Question 57
Suppose $Y$ is distributed uniformly in the open interval $(1,6)$. The probability that the polynomial $3x^2+6xY+3Y+6$ has only real roots is (rounded off to 1 decimal place) ________.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 0.79 to 0.81
Explanation
A quadratic $ax^2+bx+c$ has only real roots iff its discriminant $b^2-4ac\ge0$.
For $3x^2+6xY+3Y+6$: $a=3$, $b=6Y$, $c=3Y+6$.
$$\Delta=36Y^2-12(3Y+6)=36Y^2-36Y-72=36(Y^2-Y-2)=36(Y-2)(Y+1).$$
$\Delta\ge0$ when $Y\ge2$ or $Y\le-1$. Since $Y$ is uniform on $(1,6)$, only $Y\in[2,6)$ qualifies.
$$P=\frac{6-2}{6-1}=\frac45=\mathbf{0.8}.$$