Sodium hydroxide is used in factories as an alkali , potassium hydroxide is used in farming , and iron hydroxide have been used as low grade brown iron ore. Potassium hydroxide and sodium hydroxide are two well-known reagents in organic chemistry .