FIGURE 3-8: The Investment Function The investment function relates the quantity of investment I to the real interest rate r. Investment depends on the real interest rate because the interest rate is the cost of borrowing. The investment function slopes downward: when the interest rate rises, fewer investment projects are profitable.