Calcium sulfate

# Overview
Calcium sulfate is a common laboratory and industrial chemical. In the form of -anhydrite (the nearly anhydrous form), it is used as a desiccant. It is also used as a coagulant in products like tofu.  In the natural state, unrefined calcium sulfate is a translucent, crystalline white rock. When sold under the name Drierite, it appears blue or pink due to impregnation with cobalt chloride, which functions as a moisture indicator. The hemihydrate (CaSO4.~0.5H2O) is better known as plaster of Paris, while the dihydrate (CaSO4.2H2O) occurs naturally as gypsum.  The anhydrous form occurs naturally as -anhydrite.  Depending on the method of calcination of calcium sulfate dihydrate, specific hemihydrates are sometimes distinguished:  alpha-hemihydrate and beta-hemihydrate.  They appear to differ only in crystal size.  Alpha-hemihydrate crystals are more prismatic than beta-hemihydrate crystals and when mixed with water form a much stronger and harder superstructure ( ITS ALSO FOUND IN WONDER BREAD!!).

# Commercial production and recovery
The main sources of calcium sulfate are naturally-occurring gypsum and anhydrite which occur at many locations worldwide as evaporites.  These may be extracted by open-cast quarrying or by deep mining.  World production of natural gypsum is around 100 million tonnes per annum.
In addition to natural sources, calcium sulfate is produced as a by-product in a number of processes:
- In flue gas desulfurization, exhaust gases from fossil-fuel-burning power stations and other processes (e.g. cement manufacture) are scrubbed to reduce their sulfur oxide content, by injecting finely ground limestone or lime.  This produces an impure calcium sulfite, which oxidizes on storage to calcium sulfate.
- In the production of phosphoric acid from phosphate rock, calcium phosphate is treated with sulfuric acid and calcium sulfate precipitates.
- In the production of hydrogen fluoride, calcium fluoride is treated with sulfuric acid, precipitating calcium sulfate.
- In the refining of zinc, solutions of zinc sulfate are treated with lime to co-precipitate heavy metals such as barium.
- Calcium sulfate can also be recovered and re-used from scrap drywall at construction sites.
These precipitation processes tend to concentrate radioactive elements in the calcium sulfate product.  This is particularly the case with the phosphate by-product, since phosphate rocks naturally contain actinides. Over 200 million tonnes per annum of calcium sulfate waste is produced by the phosphate industry worldwide.

# Dehydration reactions
Heating gypsum to between 100 C and 150 C (302 F) partially dehydrates the mineral by driving off approximately 75% of the water contained in its chemical structure. The temperature and time needed depend on ambient partial pressure of H2O. Temperatures as high as 170 C are used in industrial calcination, but at these temperatures -anhydrite begins to form.
The reaction for the partial dehydration is:
The partially dehydrated mineral is called calcium sulfate hemihydrate or calcined gypsum (commonly known as plaster of Paris) (CaSO4nH2O), where n is in the range 0.5 to 0.8.
The dehydration (specifically known as calcination) begins at approximately 80 C (176 F), although in dry air, some dehydration will take place already at 50 C. The heat energy delivered to the gypsum at this time (the heat of hydration) tends to go into driving off water (as water vapor) rather than increasing the temperature of the mineral, which rises slowly until the water is gone, then increases more rapidly.
The endothermic property of this reaction is exploited by drywall to confer fire resistance to residential and other structures. In a fire, the structure behind a sheet of drywall will remain relatively cool as water is  lost from the gypsum, thus preventing (or substantially retarding) damage to the framing (through combustion of wood members or loss of strength of steel at high temperatures) and consequent structural collapse.
In contrast to most minerals, which when rehydrated simply form liquid or semi-liquid pastes, or remain powdery, calcined gypsum has an unusual property: when mixed with water at normal (ambient) temperatures, it quickly reverts chemically to the preferred dihydrate form, while physically "setting" to form a rigid and relatively strong gypsum crystal lattice:
This reaction is exothermic and is responsible for the ease with which gypsum can be cast into various shapes including sheets (for drywall), sticks (for blackboard chalk), and molds (to immobilize broken bones, or for metal casting). Mixed with polymers, it has been used as a bone repair cement. Small amounts of calcined gypsum are added to earth to create strong structures directly from cast earth, an alternative to adobe (which loses its strength when wet). The conditions of dehydration can be changed to adjust the porosity of the hemihydrate, resulting in the so-called alpha and beta hemihydrates (which are more or less chemically identical).
On heating to 180 C, the nearly water-free form, called -anhydrite (CaSO4.nH2O where n=0 to 0.05) is produced. -Anhydrite reacts slowly with water to return to the dihydrate state, a property exploited in some commercial desiccants.  On heating above 250 C, the completely anhydrous form called -anhydrite or "natural" anhydrite is formed.  Natural anhydrite does not react with water, even over geological timescales, unless very finely ground.
The variable composition of the hemihydrate and -anhydrite, and their easy inter-conversion, is due to their possessing nearly-identical crystal structures, containing "channels" that can accommodate variable amounts of water, or other small molecules such as methanol.