Hotelling considers a situation in which there are two sellers at point A and B in a line segment of size l. The buyers are distributed uniformly in this line segment and carry the merchandise to their home at cost c. Let p1 and p2 be the prices charged by A and B, and let the line segment be divided in 3 parts of size a, x+y and b, where x+y is the size of the segment between A and B, "a" the portion of segment to the left of A and "b" the portion of segment to the right of B. Therefore, a+x+y+b=l. Since the product being sold is a commodity, the point of indifference to buying is given by p1+cx=p2+cy. Solving for x and y yields: