In writing the equilibrium expression of a reaction, we need the balanced reaction and the phases of the substances involved. It is important note that, in the expression, a substance that is in the solid or pure liquid is not included. We write as follows:
CO(g)+2H2(g)-----------CH3OH(g)
K = [CH3OH] / [CO] [H2]^2