A function from dice

Consider a function f ( x ) = x 3 + a x 2 + b x + c f(x)=x^3+ax^2+bx+c , where a , b a, b and c c are chosen respectively by throwing a dice thrice. If the probability of f ( x ) f(x) is an increasing function can be represented by p q \dfrac pq , where p p and q q are coprime positive integers, find p + q p+q .


The answer is 13.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

John Gilling
Feb 6, 2016

We have the derivative of the function as 3 x 2 + 2 a x + b 3x^2+2ax+b . The function itself is increasing for all x if and only if its derivative is nonnegative for all x. Since the derivative's leading coefficient is positive, this is equivalent to requiring that it's determinant is nonpositive, i.e. less than or equal to 0. This boils down to the condition a 2 3 b a^2 \leq 3b . Note that the condition does not depend at all on the outcome of the roll of the third die, so we can take the sample space below to be the 36 distinct outcomes from rolling the first two dice.

To figure the probability P ( a 2 3 b ) P(a^2 \leq 3b) , we can easily enumerate the 36 possibilities. For example, if a = 1 a=1 , it follows that a 2 = 1 3 b a^2=1 \leq 3b for all b { 1 , 2 , 3 , 4 , 5 , 6 } b \in \{1,2,3,4,5,6\} . Working similarly with other outcomes for a, it can be easily shown that there are 16 combinations of a and b that satisfy the requirement. So, P ( a 2 3 b ) = 16 36 = 4 9 P(a^2 \leq 3b) = \frac{16}{36} = \frac{4}{9} , making the required answer 13.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...