Game Theory. There’s a really good TED ED video on it using the example of two ice cream salesmen working on the same beach. It simplifies things a bit but essentially it comes down to having multiple competitors in the same area being the best way to maximise your market share, even if a more spread out arrangement is better for the customers.
Latest Answers