These ideas are from instructor's Manuel for Gregory Mankiw's Principles of Economics, 2nd ed. Chapter 1.