The main reason why it is profitable to establish a firm would seem to be that there is a cost of using the price mechanism. The most obvious cost of 'organizing' production through the price mechanism is that of discovering what the relevant prices are.
Ronald Coase