Electrocyclic reactions are reversible. The cyclic compound is favored for electrocyclic reactions that form six-membered rings whereas the open-chain compound is favored for reactions that form four-membered rings. Explain thoroughly in terms of the enthalpy changes that are occurring.