Keynesianism or Keynesian economics are various macroeconomic theories about how economic output is strongly influenced by aggregate demand. In the Keynesian view, aggregate demand does not necessarily equal the productive capacity of the economy. Instead, it is influenced by a host of factors.
Keynesians believe that, because prices are somewhat rigid, fluctuations in any component of spending—consumption, investment, or government expenditures—cause output to change. If government spending increases, for example, and all other spending components remain constant, then output will increase.