Quote by AntiElephant

Don't know if you already solved your problem but it seems simple to me. There is an error in your statement "and hence works for all transformations", it does not work for all transformations it only works for reversible transformations. In case the transformation is not reversIble the correct equation is [itex] dG ≤ 0 [/itex], where P is the external preasure and T is the source temperature that are supposed to be constant, the preasure and temperature of the system not even defined por a non equiblibrium state