A random quadratic
Let and be independent and uniform on . What is the probability that the equation has real roots?
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
Real roots means a non-negative discriminant: .
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. The condition on the coefficients is a region in the unit square, and its area is the probability.
Step 1: the region. The roots are real when , that is . Since , the bound is at most and always inside .
Step 2: the area.
Variant. For the condition becomes and the answer is . A change of convention in the statement changes the answer by a factor of , so read the statement carefully in an interview.