Professional Documents
Culture Documents
Introduction
The following interesting problem was posted by Souradeep Purkayastha on a facebook Mathematics page on 8 January 2012: If we select a, b, c at random from the interval (0, 1), what is the probability that ax2 + bx + c = 0 will have real roots?
Solution
Using the diagram above, we obtain the following probability that the quadratic equation will have real roots, as a function of b: b2 P (b > 4ac) = P ac < 4
2
b2 b 2 b2 = ln(b) + ln(2) 4 2 2
For example, if b = 1/2, the probability that the quadratic equation will have real roots is 0.2358. What I did in order to get this expression in terms of b was to calculate the proportion of the unit square (with sides corresponding to a and c) for 2 which ac < b4 . This proportion is the required probability as a function of b and is the unshaded area in the unit square in the diagram above. The shaded area in the top right hand corner of the square consists of all points 2 such that ac > b4 . The boundary curve between the shaded and unshaded 2 areas of the unit square is the set of points such that ac = b4 , and therefore b2 has equation a = 4c . The area of the unshaded part of the unit square in the diagram is then b2 + 4
1 b2 /4
b2 b2 b2 dc = ln 4c 4 4
b2 4
b2 b2 b2 ln(b) + ln(2) = 4 2 2
which is the expression for P (b2 > 4ac) given above. If we now integrate this expression with respect to b from 0 to 1 using integration by parts for the 2 term b2 ln(b) we get
1 0