Perfect & Imperfect Competitions & Condition for Equilibrium