How is an aggregate demand curve derived? What would cause the aggregate demand curve to shift to the right? Explain what would cause the government purchases function to increase. Will a change in social security spending affect government purchases?