This article was adapted from “The Price of Everything: Solving the Mystery of Why We Pay What We Do,” by Eduardo Porter, an editorial writer for The New York Times. The book, to be published on Jan. 4 by Portfolio, examines how pricing affects all of our choices.