how to derive the aggregate demand curve mathematically from is lm module

IS LM model QuickiWiki

A few equations are necessary in order to derive the IS curve Mathematically the LM curve is each point on the aggregate demand curve is an outcome of the

derivation of as curve

Derivation of the aggregate supply and aggregate demand curves Aggregate supply curve The aggregate supply AS curve is derived from the full employment FE curve