Consider the following reaction :
HI (g)⇌12 H2 (g)+12 I2 (g)
At equilibrium, 40% of HI is dissociated.
The value of Kx (equilibrium constant in terms of mole fraction) is :
Relation between Kx and Kp :
aA (g)+bB (g)⇌cC (g)+dD (g)
Equilibrium constant in terms of pressure Kp:
Kp=[Pc]ceq [Pd]deq[Pa]aeq [Pb]beq
Equilibrium constant in terms of mole fraction Kx:
Kx=[xc]ceq[xd]deq[xa]aeq[xb]beq
xc=PcPtotal,eq
Kp=[xc]ceq[xd]deq (Ptotal)c+deq[xa]aeq[xb]beq (Ptotal)a+beq
So Kp=Kx(PTotal,eq)Δng