If I have a quadratic equation
(x−1)(x−2)=0
Is it okay to write x={1,2}?
What about writing x∈{1,2}? Would that be better?
And if none of the above are okay, is it okay to write "the solutions of this equation are {1,2}?"