This is “Search”, section 13.5 from the book Beginning Economic Analysis (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:

Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.

DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

- How should a consumer go about finding the lowest price when available prices are random?

In most communities, grocery stores advertise sale prices every Wednesday in a newspaper insert, and these prices can vary from week to week and from store to store. The price of gasoline can vary as much as 15 cents per gallon in a one-mile radius. Should you decide that you want to buy a specific Sony television, you may see distinct prices at Best Buy and other electronics retailers. For many goods and services, there is substantial variation in prices, which implies that there are gains for buyers to search for the best price.

The theory of consumer search behavior is just a little bit arcane, but the basic insight will be intuitive enough. The general idea is that, from the perspective of a buyer, the price that is offered is random and has a probability density function *f*(*p*). If a consumer faces a cost of search (e.g., if you have to visit a store—in person, telephonically, or virtually—the cost includes your time and any other costs necessary to obtain a price quote), the consumer will set a reservation priceThe maximum acceptable price a consumer will pay without visiting another supplier., which is a maximum price that he or she will pay without visiting another store. That is, if a store offers a price below *p**, the consumer will buy; otherwise, he or she will visit another store, hoping for a better price.

Call the reservation price *p**, and suppose that the cost of search is *c*. Let *J*(*p**) represent the expected total cost of purchase (including search costs). Then *J* must equal
$J(p*)=c+{\displaystyle {\int}_{0}^{p*}pf(p)dp}+{\displaystyle {\int}_{p*}^{\infty}J(p*)f(p)dp}\text{.}$

This equation arises because the current draw (which costs *c*) could either result in a price less than *p**, in which case observed price, with density *f*, will determine the price paid *p*; or the price will be too high, in which case the consumer is going to take another draw, at cost *c*, and on average get the average price *J*(*p**). It is useful to introduce the cumulative distribution function *F*, with $F(x)={\displaystyle {\int}_{0}^{x}f(p)dp}\text{.}$
Note that something has to happen, so *F*(∞) = 1.

We can solve the equality for *J*(*p**),
$J(p*)=\frac{{\displaystyle {\int}_{0}^{p*}pf(p)dp}+c}{F(p*)}\text{.}$

This expression has a simple interpretation. The expected price *J*(*p**) is composed of two terms. The first is the expected price, which is ${\int}_{0}^{p*}p\frac{f(p)}{F(p*)}dp}\text{.$
This has the interpretation of the average price conditional on that price being less than *p**. This is because $\frac{f(p)}{F(p*)}$
is, in fact, the density of the random variable which is the price given that the price is less than *p**. The second term is $\frac{c}{F(p*)}\text{.}$
This is the expected search cost, and it arises because $\frac{1}{F(p*)}$
is the expected number of searches. This arises because the odds of getting a price low enough to be acceptable is *F*(*p**). There is a general statistical property underlying the number of searches. Consider a basketball player who successfully shoots a free throw with probability *y*. How many balls, on average, must he throw to sink one basket? The answer is 1/*y*. To see this, note that the probability that exactly *n* throws are required is (1 – *y*)^{n–1} *y*. This is because *n* are required means that *n* – 1 must fail (probability (1 – *y*)^{n–1}) and then the remaining one goes in, with probability *y*. Thus, the expected number of throws is

Our problem has the same logic—where a successful basketball throw corresponds to finding a price less than *p**.

The expected total cost of purchase, given a reservation price *p**, is given by
$J(p*)=\frac{{\displaystyle {\int}_{0}^{p*}pf(p)dp}+c}{F(p*)}\text{.}$

But what value of *p** minimizes cost? Let’s start by differentiating

Thus, if *p** < *J*(*p**), *J* is decreasing, and it lowers cost to increase *p**. Similarly, if *p** > *J*(*p**), *J* is increasing in *p**, and it reduces cost to decrease *p**. Thus, minimization occurs at a point where *p** = *J*(*p**).

Moreover, there is only one such solution to the equation *p** = *J*(*p**) in the range where *f* is positive. To see this, note that at any solution to the equation *p** = *J*(*p**), ${J}^{\prime}(p*)=0$
and

This means that *J* takes a minimum at this value, since its first derivative is zero and its second derivative is positive, and that is true about any solution to *p** = *J*(*p**). Were there to be two such solutions, ${J}^{\prime}$
would have to be both positive and negative on the interval between them, since *J* is increasing to the right of the first (lower) one, and decreasing to the left of the second (higher) one. Consequently, the equation *p** = *J*(*p**) has a unique solution that minimizes the cost of purchase.

Consumer search to minimize cost dictates setting a reservation price equal to the expected total cost of purchasing the good, and purchasing whenever the price offered is lower than that level. That is, it is not sensible to “hold out” for a price lower than what you expect to pay on average, although this might be well useful in a bargaining context rather than in a store searching context.

Example (Uniform): Suppose that prices are uniformly distributed on the interval [*a*, *b*]. For *p** in this interval,

Thus, the first-order condition for minimizing cost is $0={J}^{\prime}(p*)=\text{\xbd}-\frac{c(b-a)}{{(p*-a)}^{2}}\text{,}$ implying $p*=a+\sqrt{2c(b-a)}.$

There are a couple of interesting observations about this solution. First, not surprisingly, as *c* → 0, *p** → α; that is, as the search costs go to zero, one holds out for the lowest possible price. This is sensible in the context of the model, but in real search situations delay may also have a cost that isn’t modeled here. Second, *p** < *b*, the maximum price, if 2*c* < (*b* – *a*). In other words, if the *most* you can save by a search is twice the search cost, then don’t search, because the expected gains from the search will be half the maximum gains (thanks to the uniform distribution) and the search will be unprofitable.

The third observation, which is much more general than the specific uniform example, is that the expected price is a concave function of the cost of search (second derivative negative). That is, in fact, true for any distribution. To see this, define a function $H(c)=\underset{p*}{\mathrm{min}}J(p*)=\underset{p*}{\mathrm{min}}\frac{{\displaystyle {\int}_{0}^{p*}pf(p)dp}+c}{F(p*)}\text{.}$ Since ${J}^{\prime}(p*)=0\text{,}$ ${H}^{\prime}(c)=\frac{\partial}{\partial c}J(p*)=\frac{1}{F(p*)}\text{.}$

From here it requires only a modest effort to show that *p** is increasing in *c*, from which it follows that *H* is concave. This means that there are increasing returns to decreasing search costs in that the expected total price of search is decreasing at an increasing rate as the cost of search decreases.

- For many goods, prices vary across location and across time. In response to price variation, consumers will often search for low prices.
- In many circumstances the best strategy is a reservation price strategy, where the consumer buys whenever offered a price below the reservation price.
- Consumer search to minimize cost dictates setting a reservation price equal to the expected total cost of purchasing the good, and purchasing whenever the price offered is lower than that level.

- Suppose that there are two possible prices, one and two, and that the probability of the lower price one is
*x*. Compute the consumer’s reservation price, which is the expected cost of searching, as a function of*x*and the cost of search*c*. For what values of*x*and*c*should the consumer accept two on the first search or continue searching until the lower price one is found?