Temporary hardness of water is caused due to the presence of bicarbonates of calcium and magnesium, i.e., while the permanent hardness of water is due to the presence of soluble chlorides and sulfates of calcium and magnesium, i.e.,
Hence the Correct option is (4).