Keynesian economics ( ; sometimes Keynesianism, named after British economist John Maynard Keynes) are the various macroeconomic theories and models of how aggregate demand (total spending in the economy) strongly influences economic output and inflation. In the Keynesian view, aggregate demand does not necessarily equal the productive capacity of the economy. It is influenced by a host of factors that sometimes behave erratically and impact production, employment, and inflation.

Keynesian economists generally argue that aggregate demand is volatile and unstable and that, consequently, a market economy often experiences inefficient macroeconomic outcomes, including recessions when demand is too low and inflation when demand is too high. Further, they argue that these economic fluctuations can be mitigated by economic policy responses coordinated between a government and their central bank. In particular, fiscal policy actions taken by the government and monetary policy actions taken by the central bank, can help stabilize economic output, inflation, and unemployment over the business cycle. Keynesian economists generally advocate a regulated market economy – predominantly private sector, but with an active role for government intervention during recessions and depressions.

Keynesian economics developed during and after the Great Depression from the ideas presented by Keynes in his 1936 book, The General Theory of Employment, Interest and Money. Keynes' approach was a stark contrast to the aggregate supply-focused classical economics that preceded his book. Interpreting Keynes's work is a contentious topic, and several schools of economic thought claim his legacy.

Keynesian economics has developed new directions to study wider social and institutional patterns during the past several decades. Post-Keynesian and New Keynesian economists have developed Keynesian thought by adding concepts about income distribution and labour market frictions and institutional reform.

Keynesian economics, as part of the neoclassical synthesis, served as the standard macroeconomic model in the developed nations during the later part of the Great Depression, World War II, and the post-war economic expansion (1945–1973). It was developed in part to attempt to explain the Great Depression and to help economists understand future crises. It lost substantial influence following the oil shock and resulting stagflation of the 1970s, with neoliberalism largely replacing Keynesianism as the dominant economic paradigm starting in the late 1970s. Keynesian economics was later redeveloped as New Keynesian economics, becoming part of the contemporary new neoclassical synthesis, that forms current-day mainstream macroeconomics. Today, governments still tend to use Keynesian or otherwise interventionist tools during major crises; the 2008 financial crisis sparked the 2008–2009 Keynesian resurgence by governments around the world.

Critics from the Austrian school (such as Friedrich Hayek and Ludwig von Mises) and monetarists (such as Milton Friedman) have argued that Keynesian policies distort market price signals through artificial credit expansion and deficit spending, leading to malinvestment, inflation, unsustainable public debt, and prolonged business cycles rather than genuine stabilization.

Historical context Pre-Keynesian macroeconomics Macroeconomics is the study of the factors applying to an economy as a whole. Important macroeconomic variables include the overall price level, the interest rate, the level of employment, and income (or equivalently output) measured in real terms.

The classical tradition of partial equilibrium theory had been to split the economy into separate markets, each of whose equilibrium conditions could be stated as a single equation determining a single variable. The theoretical apparatus of supply and demand curves developed by Fleeming Jenkin and Alfred Marshall provided a unified mathematical basis for this approach, which the Lausanne School generalized to general equilibrium theory.

For macroeconomics, relevant partial theories included the Quantity theory of money determining the price level and the classical theory of the interest rate. In regards to employment, the condition referred to by Keynes as the "first postulate of classical economics" stated that the wage is equal to the marginal product, which is a direct application of the marginalist principles developed during the nineteenth century (see The General Theory). Keynes sought to supplant all three aspects of the classical theory.

Precursors of Keynesianism

Although Keynes's work was crystallized and given impetus by the advent of the Great Depression, it was part of a long-running debate within economics over the existence and nature of general gluts. A number of the policies Keynes advocated to address the Great Depression (notably government deficit spending at times of low private investment or consumption), and many of the theoretical ideas he proposed (effective demand, the multiplier, the paradox of thrift), had been advanced by authors in the 19th and early 20th centuries. (E.g. J. M. Robertson raised the paradox of thrift in 1892.) Keynes's unique contribution was to provide a general theory of these, which proved acceptable to the economic establishment.

An intellectual precursor of Keynesian economics was underconsumption theories associated with John Law, Thomas Malthus, the Birmingham School of Thomas Attwood, and the American economists William Trufant Foster and Waddill Catchings, who were influential in the 1920s and 1930s. Underconsumptionists were, like Keynes after them, concerned with failure of aggregate demand to attain potential output, calling this "underconsumption" (focusing on the demand side), rather than "overproduction" (which would focus on the supply side), and advocating economic interventionism. Keynes specifically discussed underconsumption (which he wrote "under-consumption") in the General Theory, in Chapter 22, Section IV and Chapter 23, Section VII.

Numerous concepts were developed earlier and independently of Keynes by the Stockholm school during the 1930s; these accomplishments were described in a 1937 article, published in response to the 1936 General Theory, sharing the Swedish discoveries.

Keynes's early writings In 1923, Keynes published his first contribution to economic theory, A Tract on Monetary Reform, whose point of view is classical but incorporates ideas that later played a part in the General Theory. In particular, looking at the hyperinflation in European economies, he drew attention to the opportunity cost of holding money (identified with inflation rather than interest) and its influence on the velocity of circulation.Robert Dimand, The origins of the Keynesian revolution, p. 7.

In 1930, he published A Treatise on Money, intended as a broad treatment of its subject "which would confirm his stature as a serious academic scholar, rather than just as the author of stinging polemics",Dimand, op. cit., p. 23. and marks a large step in the direction of his later views. In it, he attributes unemployment to wage stickinessDimand, op. cit., p31. and treats saving and investment as governed by independent decisions: the former varying positively with the interest rate,Dimand, op. cit., p. 36. the latter negatively.Dimand, op. cit., p35. The velocity of circulation is expressed as a function of the rate of interest.Dimand, op. cit., p. 38. He interpreted his treatment of liquidity as implying a purely monetary theory of interest.Dimand, op. cit., p133.

Keynes's younger colleagues of the Cambridge Circus and Ralph Hawtrey believed that his arguments implicitly assumed full employment, and this influenced the direction of his subsequent work.Dimand, op. cit., pp. 136–141. During 1933, he wrote essays on various economic topics "all of which are cast in terms of movement of output as a whole".Editorial introduction to the General Theory  in Keynes's Collected Writings.

Development of The General Theory At the time that Keynes wrote the General Theory, it had been a tenet of mainstream economic thought that the economy would automatically revert to a state of general equilibrium: it had been assumed that, because the needs of consumers are always greater than the capacity of the producers to satisfy those needs, everything that is produced would eventually be consumed once the appropriate price was found for it. This perception is reflected in Say's law and in the writing of David Ricardo, which states that individuals produce so that they can either consume what they have manufactured or sell their output so that they can buy someone else's output. This argument rests upon the assumption that if a surplus of goods or services exists, they would naturally drop in price to the point where they would be consumed.

Given the backdrop of high and persistent unemployment during the Great Depression, Keynes argued that there was no guarantee that the goods that individuals produce would be met with adequate effective demand, and periods of high unemployment could be expected, especially when the economy was contracting in size. He saw the economy as unable to maintain itself at full employment automatically, and believed that it was necessary for the government to step in and put purchasing power into the hands of the working population through government spending. Thus, according to Keynesian theory, some individually rational microeconomic-level actions such as not investing savings in the goods and services produced by the economy, if taken collectively by a large proportion of individuals and firms, can lead to outcomes wherein the economy operates below its potential output and growth rate.

Prior to Keynes, a situation in which aggregate demand for goods and services did not meet supply was referred to by classical economists as a general glut, although there was disagreement among them as to whether a general glut was possible. Keynes argued that when a glut occurred, it was the over-reaction of producers and the laying off of workers that led to a fall in demand and perpetuated the problem. Keynesians therefore advocate an active stabilization policy to reduce the amplitude of the business cycle, which they rank among the most serious of economic problems. According to the theory, government spending can be used to increase aggregate demand, thus increasing economic activity, reducing unemployment and deflation.

Origins of the multiplier