system
Given the following post, respond as if you're commenting on Reddit:
human
How does inflation work, and what are some of the ways inflation can increase?

I have a hard time understanding inflation. When I was a child, I would say the government has all the money in the world, they can just print more of it.  My father would reply by saying that would cause inflation.  What did he mean?
gpt
In very basic terms, the value of money just represents all the things in the economy you can buy. So let's say you have M=money and G=goods(and services). In the short term, it's just G=M, so if M becomes a higher number, and G stays the same, more money is necessary to buy the same amount of goods. That's inflation

Another example, let's say you have 10 money and 10 goods, every good is worth 1 money. If you double the amount of money, you can still just buy 10 goods. So every good is now worth 2 money.