Question
Suppose is distributed uniformly in the open interval . The probability that the polynomial has only real roots is (rounded off to 1 decimal place) ________.
Official answer and solution
- Official answer
- 0.8
- From
- Official GATE 2019 answer key
Solution
Find the condition on for the quadratic equation to have real roots using its discriminant, and evaluate the probability under the uniform distribution on .
The given polynomial is a quadratic equation in :
Here, the coefficients are , , and .
A quadratic equation has only real roots if and only if its discriminant :
Setting and dividing by 36:
Since is distributed in the open interval , the term is strictly positive (). Thus, the inequality reduces to:
The variable has probability density function for . The interval where real roots exist is .
The probability is:
0.8
Taking the denominator as 6 instead of , giving .
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2019 Computer Science and Information Technology (CS)
- Question
- 57 of 65, printed as CS Q.47
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.