Presented here is the mathematical model with one commodity describing the dynamics of the inflationary process. This model is also applied to research how the hypothesis of rational expectations could affect the commodity's demand and production after increasing the amount of money on the market