When the substance being absorbed is held together by chemical bonds.
Explanation:
In chemistry, water(s) of crystallization or water(s) of hydration are water molecules that are present inside [crystal]s. Water is often incorporated in the formation of crystals from aqueous solutions. ... Water of crystallization can generally be removed by heating a sample but the crystalline properties are often lost
There’s no formula that relates solubility to temperature, but you can look up the solubility constant Ksp of substance given and then take the square root of that to find solubility.