If a soap is treated with an acid stronger than its own, the latter is set free, while the new acid combines with the base. The following equation, for instance, shows the action of hydrochloric acid on the stearic soap.

Sodium Stearate Hydro-
chloric
acid
Stearic acid Sodium
chloride
C17H35CO.ONa+HCl=C17H35CO.OH+NaCl.

If any soap be dissolved in hot water, and sufficient hydrochloric or sulphuric acid added to render the solution acid, the latter will turn first milky, and (if it be kept warm) the fatty acid will finally rise in an oily layer to the surface, which in many cases will harden, as it cools, to a solid mass. The amount of fatty acid in a soap may be roughly determined by weighing 25 grm., dissolving in 50 c.c. of boiling water, and adding excess of acid, and allowing the reaction to take place in a graduated cylinder, or a flask with a graduated neck, in a vessel of boiling water. When the fatty acid has risen to the top, its volume may be noted, and each c.c. may be roughly reckoned as 0·9 grm. (For more detailed methods cp. L.I.L.B., Sect. XVII.).

Soaps are insoluble in strong caustic alkaline solutions, and therefore saponification (as the decomposition of fats by alkalis is called), does not readily take place in them, and for this reason the soap-boiler generally dilutes his caustic soda solutions to a strength not exceeding 18° Tw. (sp. gr. 1·090) in gravity, and separates the soap at the end of the operation, by the addition of brine, in which it is insoluble. An easier method, and one which is often useful for the preparation of small quantities of special soaps for fat liquors and the like, is as follows.[160] 10 lb. of a good caustic soda, free from common salt, is dissolved in 4 gallons of water, and 75 lb. of oil or fat is warmed to about 25° C. or just sufficiently to render it liquid, and the soda solution is added in a thin stream, with constant stirring, which must be continued until the mass becomes too pasty. It is now set aside in a warm place for at least twenty-four hours, during which saponification gradually takes place. For leather purposes, a neutral soap, with a slight excess of fat, is generally advantageous, so that the fat may be increased to 80 lb.; or, in place of this, the operation will be facilitated by the addition of 5 lb. of commercial oleic acid. If soft soap is desired, 14 lb. of caustic potash may be used in place of the 10 lb. of caustic soda. The hardness or softness of soaps varies to some extent with the fat used, but potash soaps are always much softer than the corresponding soda soaps. It is obvious that with soaps made in this way, all the glycerin remains mixed with the soap. If, on testing, the soap does not prove to be free from caustic, it may be re-melted, which will generally complete the reaction. Before attempting to work with large quantities, a laboratory experiment is desirable, using 10 grm. of soda in 40 c.c. of water, and 75 to 80 grm. of oil or fat. The neutrality or freedom of the soap from caustic alkali may be tested by touching a freshly cut surface with an alcoholic solution of phenolphthalein, which the least trace of caustic soda or potash will render pink.

[160] Carpenter, ‘Soap, Candles and Lubricants,’ p. 144.

If solutions of soaps are mixed with those of salts of the heavy metals or of the alkaline earths, a mutual decomposition takes place, the acid of the salt combining with the alkali of the soap; and the fatty acid with the metallic base, to form a metallic soap. Most of these soaps are sticky masses, insoluble in water, but not unfrequently soluble in turpentine or petroleum spirit, if previously thoroughly dried, so that some of them have been applied to the production of varnish. Alumina soaps are occasionally used to thicken mineral oils, or render them more viscous. The general reaction of the stearin soap with calcium sulphate is shown in the following equation, though in practice it is sometimes more complex:

Stearin soap Calcium
sulphate
Sodium
sulphate
Calcium stearate
2C17H35CO.ONa+CaSO4=Na2SO4+(C17H35CO.O)2Ca

This is the reaction which causes the curdling of soap by hard water, [page 93].

True fats cannot be distilled alone without decomposition. When distilled in a current of steam, some undecomposed fat passes over, but the greater part is broken up into free fatty acid and glycerin; and hydrocarbons practically identical with mineral oils are also formed.

Fats and oils are insoluble in water, and in most cases only sparingly soluble in alcohol, but freely soluble in ether, petroleum spirit, benzene, and most other hydrocarbons, as well as in chloroform, carbon tetrachloride, and carbon disulphide. Petroleum spirit, often called benzine, is largely used for their extraction, and for de-greasing leather, and removing grease from clothes. In the laboratory, carbon disulphide, or carbon tetrachloride is to be preferred. Castor oil is an exception to the rule, owing to the large proportion of oxygen which it contains, being readily soluble in alcohol, and very sparingly in petroleum-spirit; and other oils, when oxidised, usually become more soluble in alcohol, and less so in hydrocarbons.