However,if a precipitate is formed in the monolayer,a brittle ,rigid monolayer results. This monolayer has no flexibility and is easily ruptured. This is why water containing calcium and magnesium under many condition cannot form a good foam with anionic surfactant