Let P(x)=x2−3x−9. A real number x is chosen at random from the interval 5≤x≤15. The probability that ⌊P(x)⌋=P(⌊x⌋) is equal to ea+b+c−d, where a,b,c,d, and e are positive integers. Find a+b+c+d+e.
Your answer
Integer from 0 to 999
Show solution
Solution
For x∈[n,n+1) the right-hand side is P(n), which must be an integer, so P(n)=n2−3n−9 must be a perfect square. For n=5,6,…,14 the values are 1,9,19,31,45,61,79,99,121,145: only n=5,6, and 13 give squares, with P(n)=1,3, and 11, respectively.
P is increasing on [5,15], so for x∈[n,n+1) we automatically have P(x)≥P(n), and ⌊P(x)⌋=P(n)=m holds exactly when P(x)<(m+1)2, i.e. x<23+45+4(m+1)2. For m=1,3, and 11 the cutoffs are 23+61,23+109,23+621, each lying inside the corresponding unit interval, so the successful subintervals have lengths 261−7,2109−9,2621−23.
The interval [5,15] has length 10, so the probability is 101⋅261+109+621−39=2061+109+621−39, giving a+b+c+d+e=61+109+621+39+20=850.