Algebraic Method To Balance Equations