Analyzing the Setup
Imagine you are holding a standard six-sided die. You roll it three times, and with each roll, you are defining the coefficients of a quadratic equation: ax2+bx+c=0.
This is the beauty of probability—it turns the chaotic, random act of rolling dice into a precise, deterministic mathematical challenge. Our goal is to find the probability that this equation has equal roots.
The Sample Space
Every probability problem begins with the sample space, the set of all possible outcomes. Since each coefficient a,b, and c is chosen from the set {1,2,3,4,5,6}, and we have three independent rolls, the total number of combinations is:
This is our denominator, the foundation upon which we build our probability.
The Discriminant Constraint
Now, we turn to the heart of the quadratic equation: the discriminant D=b2−4ac. For the roots to be equal, the parabola must just 'kiss' the x-axis, which happens if and only if D=0.
This gives us our golden constraint:
This equation is the key to the entire problem. It is not just an algebraic expression; it is a filter that separates the successful outcomes from the failures.
The Parity Shortcut
Look closely at b2=4ac. The right side is a multiple of 4, which means b2 must also be a multiple of 4.
This forces b to be an even number. Since b is a die roll, b can only be 2,4, or 6. This realization is a massive shortcut that allows us to bypass checking all 216 possibilities.
Systematic Case Analysis
Let us test our cases individually:
Case 1: If b=2, then b2=4. Our equation becomes 4=4ac, which simplifies to ac=1. The only pair (a,c) that satisfies this is (1,1). This yields 1 favorable outcome.
Case 2: If b=4, then b2=16. Our equation becomes 16=4ac, or ac=4. The pairs (a,c) that multiply to 4 are (1,4),(4,1), and (2,2). This yields 3 favorable outcomes.
Case 3: If b=6, then b2=36. Our equation becomes 36=4ac, or ac=9. The only pair (a,c) that works is (3,3). This yields 1 favorable outcome.
Final Calculation
We have systematically counted our successes: 1+3+1=5. These are the only 5 scenarios out of 216 where our quadratic equation will have equal roots.
The final probability is the ratio of favorable outcomes to the total sample space:
It is a simple, elegant result born from a rigorous, logical process. You have just mastered the art of constrained counting.