mixed difficulty

Why might a socially inefficient outcome persist in a market even when external costs or benefits are present?