A consumer is in equilibrium when the marginal utility equal to the price of the commodity i.e MUx = Px.
Where : X = the commodityMU = Marginal utilityP = price of the commodityTherefore, a consumer who consume a single commodity such as apple will be at equilibrium when MUa = Pa