Polynomials and Probabilities
For a second degree polynomial (i.e. with three terms) with coefficients chosen randomly over the interval [-10,10], what is the probability of two real roots?
Extend your analysis to a similar third degree polynomial. Now, what is the probability of only a single real root?
Extend your analysis even further to a similar arbitrary odd-degree polynomial. How does the probability of a single real root scale with the degree of the polynomial?
1 Expert Answer
Patrick B. answered 12/27/19
Math and computer tutor/teacher
Well here is some LOOSE logic and food for thought, just to get you started hopefully in the right direction.
I apologize for the lack of mathematical rigor.
as you know b^2 - 4ac > 0 in order for the roots to be real.
so b^2 > 4ac
where a,b,and c are uniformly continuous random variables in the range [-10,10]
b^2 will always return a positive value, but NOT always positive for 4ac .In fact b^2 must be in [0,100]
So on the square of [-10,10] for each side, 4ac will be negative when b is in [-10,0] and c is in [0,10] or vice versa.
That puts the probability at least 1/2.
Now with the factor of 4 in play, in order for b^2 to have a shot at pulling it off, AC must be AT MOST 25,
since b^2 is AT MOST 100.
for the regions where 4ac is positive, namely b and c in [0,10] or b and c in [-10,0], their product must be at most 25.
so the slices we are interested in is [2.5,10] or [-10,-2,5] for b and c.
So the rest of the probability boils down to the product of two random numbers in the domain [2.5,10] being 25 or less (and then of course doubling it to account for the negative)
Upon a little bit of research, the pdf of the product of two uniform vars is -log z where z = ac in this case.
So if you can derive a decent pdf out all of this, you can calculate that probability plus 1/2.
Cheers
Stanton D.
Agree that P=1/2 is the bedrock, since P(ac>0) is that. But then P(4ac>b^2) has to be triple integrated not only across the range of b, but across a (range limits dependent on b) and across c (range limits dependent on both b and a). Not sure that z can be utilized per se for that?12/28/19
Stanton D.
Agree that P=1/2 is the bedrock, since P(ac>0) is that. But then P(4ac>b^2) has to be triple integrated not only across the range of b, but across a (range limits dependent on b) and across c (range limits dependent on both b and a). Not sure that z can be utilized per se for that?12/28/19
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Frank C.
Are the randomly chosen coefficients & constants to be any element of the reals within [-10,10]? Or are they constrained to integers? i.e. Is this a continuous interval where numbers like pi are allowed to be coefficients, or just whole numbers?12/23/19