Answer: 0.5:0.5
A quadratic polynomial (x−α)(x−β) is square invariant if and only if:
(x−α)(x−β)=(x−α2)(x−β2)
Comparing the coefficients on both sides, we get two equations:
- α+β=α2+β2
- αβ=α2β2⟹αβ(1−αβ)=0
This gives two cases based on the second equation:
Case 1: αβ=0
Without loss of generality, let α=0. Substituting this into the first equation gives:
0+β=0+β2⟹β(β−1)=0⟹β∈{0,1}
This yields two distinct polynomials:
- For α=0,β=0: P1(x)=x2 (roots are equal)
- For α=0,β=1: P2(x)=x(x−1) (roots are distinct)
Case 2: αβ=1
Let t=α+β. Since α2+β2=(α+β)2−2αβ, the first equation becomes:
t=t2−2⟹t2−t−2=0⟹(t−2)(t+1)=0
- If t=2: Since α+β=2 and αβ=1, the polynomial is P3(x)=x2−2x+1=(x−1)2 (roots are equal: 1,1).
- If t=−1: Since α+β=−1 and αβ=1, the polynomial is P4(x)=x2+x+1 (roots are distinct: ω,ω2).
Thus, there are exactly 4 distinct square invariant quadratic polynomials. Among these, 2 polynomials (P1(x) and P3(x)) have equal roots.
The probability that the roots of the chosen polynomial are equal is:
P=42=0.5