If α is the fraction of HI dissociation at equilibrium in the reaction,
2HI⇌H2+I2
then starting with 2 mole of HI, the total number of moles of reactants and products at equilibrium is:
Total mole =2(1−α)+α+α=2