Quaternized nitrogen containing compounds
This application is a continuation-in-part of co-pending U.S. patent application Ser. No. 922,923, filed Oct. 24, 1986, entitled Quaternized Nitrogen Containing Compounds now U.S. Pat. No. 4,732,990. 
    
    
     QUATERNIZED NITROGEN CONTAINING COMPOUNDS 
     In one aspect the invention relates to novel quaternized compounds which possess viscosity enhancing and hair conditioning properties, particularly in the presence of anionic surfactants. In another aspect the invention relates to novel quaternized compounds having bactericidal properties. Still another aspect of the invention relates to the preparation of said quaternized compounds and in still another aspect, the invention relates to the use of said compounds in several fields of application. 
     BACKGROUND OF THE INVENTION 
     The selection of components for hair and skin treating formulations presents numerous difficulties involving compatibility. Several hair treatment and shampoo formulations have been developed which aim to provide conditioning action during cleansing so as to leave the hair soft, manageable and lustrous and thus to eliminate a separate application of creme rinses or conditioning treatments. Problems arise from the limited compatibility of anionic detergents with commercial cationic conditioning agents which precipitate out of solution in shampoo formulations. 
     Shampoo formulations have employed conventional anionic surfactants such as sodium lauryl sulfate, ammonium lauryl sulfate, ammonium lauryl ether sulfates and sodium lauryl ether sulfates which have been found to be incompatible with most cationic conditioning at effective concentration levels. 
     Additionally, reproducible thickening for formulations containing anionic detergents such as sodium α-olefin sulfonates is very difficult to achieve. 
     Still another problem encountered in hair conditioning shampoos is one of a preservative nature. It has been found that shampoos, containing inadequate preservative, on standing develop strands of pseudomonas aerouginosa which are clearly visible in the liquid and which may cause scalp infection. Consequently, separate biocidal agents are added to the formulation to prevent development of this bacteria and prevent skin infection. These and many other problems are encountered in the formulation of various shampoos, conditioners and cream rinses. Certain of these difficulties are also encountered in skin lotions, healing salves, mouthwashes, etc. 
     Accordingly it is an object of this invention to minimize or obviate the above problems while providing additional benefits in hair and skin treating formulations. 
     Another object of the invention is to provide novel quaternized nitrogen containing compounds having unique properties. 
     Another object is to provide novel quaternized nitrogen containing compounds having excellent hair conditioning and thickening properties when incorporated into a shampoo and having high compatibility with components of hair and skin treating formulations. 
     Another object is to provide an economical and commercially feasible method for the preparation of said novel quaternized nitrogen containing compounds. 
     Still another object is to provide processes for the use of said quaternized compounds. 
     These and other objects will become apparent from the following description and disclosure. 
     THE INVENTION 
     According to this invention there is provided quaternized compounds having unique properties and defined by the formula ##STR3## wherein m is an integer having a value of from 1 to 4; R is alkylene having from 3 to 8 carbon atoms and is optionally substituted with C 1  to C 4  alkyl; R 4  is alkylene having from 1 to 4 carbon atoms, phenyl or naphthyl optionally substituted with lower alkyl; Y is ##STR4## R 6  is hydrogen or lower alkyl; R 7  is alkyl of from 1 to 30 carbon atoms; R 2  and R 3  are each independently selected from the group of --R 4  --Y--R 7 , alkyl, alkyleneoxyalkyl, alkylhydroxy, aryl, aralkyl, aralkenyl, alkaryl and alkyleneamidoalkyl radicals, said groups having from 1 to 30 carbon atoms and at least one of R 7 , R 2  and R 3  being a radical having at least 8 carbon atoms and X -  is a chloride, bromide or iodide anion. 
     Preferred compounds within the above group are those wherein m is 1; R is --CH 2  --CH 2  --CH 2  --; at least one of R 2  and R 3  is methyl; Y is ##STR5## and X -  is a chloride anion. The most preferred compounds of this group are those wherein R 7  is alkyl containing at least 8 carbon atoms in a linear chain. Examples of compounds within this preferred group include: 
     N-methyl-N-allyloxybutyl-N-[(2-pyrrolidonyl)methyl]-N-(3-dodecanamidopropyl)ammonium chloride 
     N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-octadecanamido-propyl)ammonium chloride 
     N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-heptadecanamidopropyl)ammonium chloride 
     N-methyl-N-ethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-octadecanamidopropyl)ammonium chloride 
     N-methyl-N-styryl-N-[(2-pyrrolidonyl)methyl]-N-(3-nonanamidopropyl)ammonium chloride 
     N-methyl-N-tolyl-N-[(2-pyrrolidonyl)methyl]-N-(3-octadecanamidopropyl)ammonium chloride 
     N-methyl-N-phenyl-N-[(2-pyrrolidonyl)methyl]-N-(3-hexadecanamidopropyl)ammonium chloride 
     N-decyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(3-dodecanamidopropyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-di(3-hexadecanamidopropyl)ammonium chloride 
     N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(undecanamidophenyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-bis(3-undecanamidopropyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-bis(undecanamidophenyl)ammonium chloride 
     N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-octanamidopropyl)ammonium chloride 
     N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-dodecanamidopropyl)ammonium chloride 
     N-butyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(3-dodecanamidopropyl)ammonium chloride 
     N-phenyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(4-tetradecanamidobutyl)ammonium chloride 
     N-benzyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(2-hexadecanamidoethyl)ammonium chloride 
     N-octadecyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(3-octadecanamidopropyl)ammonium chloride 
     N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-eicosanamidopropyl)ammonium chloride 
     N-dodecyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(4-docosanamidobutyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-bis(3-decanamidopropyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-bis(2-dodecanamidoethyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-bis(tetradecanamidomethyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-bis(3-hexadecanamidopropyl)ammonium chloride 
     N-methyl-N-[(2-pyrrolidonyl)methyl]-N,N-bis(3-octadecanamidopropyl)ammonium chloride 
     N-decyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(3-propanamidopropyl)ammonium chloride 
     N-dodecyl-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(4-propanamidobutyl)ammonium chloride 
     N-methyl-N-(3-octadecanamidopropyl)-N-[(2-pyrrolidonyl)-methyl]-N-(3-tetradecanamidopropyl)ammonium chloride 
     N-methyl-N-styryl-N-[(2-pyrrolidonyl)methyl]-N-(3-eicosyl-amidopropyl)ammonium chloride and 
     N-methyl-N-(hydroxyhexyl)-N-[(2-pyrrolidonyl)methyl]-N-(4-docosanamidobutyl)ammonium chloride, etc. 
     However, it is to be understood that other halide salts and that the following quaternary compounds represent examples also within the scope of this invention. 
     N-methyl-N-(hydroxyethyl)-N-[(2-pyrrolidonyl)ethyl]-N-(3-dodecanamidopropyl)ammonium salt 
     N-ethyl-N-hexadecyl-N-[(2-pyrrolidonyl)methyl]-N-(2-octadecanamidoethyl)ammonium salt 
     N,N-bis(2-allyloxyethyl)-N-[(2-pyrrolidonyl)methyl]-N-(8-propanamidooctyl)ammonium salt 
     N-methyl-N-benzyl-N-[(2-pyrrolidonyl)methyl]-N-(14-hexanamidotetradecyl)ammonium salt 
     N,N-distyryl-N-[(2-pyrrolidonyl)methyl]-N-(3-hexadecanamidopropyl)ammonium salt 
     N-ethyl-N-[(ethylamino)ethyl]-N-[(2-pyrrolidonyl)methyl]-N-(3-octadecanamidopropyl)ammonium salt 
     N,N-bis(4-butyloxybutyl)-N-[(2-pyrrolidonyl)methyl]-N-(3-ecosanamidopropyl)ammonium salt 
     N,N-di(3-propanamidopropyl)-N-[(2-pyrrolidonyl)methyl]-N-(4-tetradecanamidobutyl)ammonium salt 
     N,N-ditolyl-N-[(2-pyrrolidonyl)methyl]-N-(3-octadecanaminopropyl)ammonium salt 
     N,N-dipropyl-N-[(2-pyrrolidonyl)methyl]-N-(4-decanamidobutyl)ammonium salt 
     N,N-dioctyl-N-[(2-pyrrolidonyl)methyl]-N-(3-hexanamidopropyl)ammonium salt 
     N,N-diphenyl-N-[(2-pyrrolidonyl)methyl]-N-(2-decanamidoethyl)ammonium salt 
     N-[(2-pyrrolidonyl)methyl]-N,N,N-tris(3-tridecanamidopropyl)ammonium salt 
     N-[2-(2-pyrrolidonyl)ethyl]-N,N,N-tris(pentadecanamidophenyl)ammonium salt 
     N-methyl-[(2-pyrrolidonyl)methyl]-N,N-bis(tetradecanamidonaphthyl)ammonium salt 
     N-[(2-decylcarbamoyl)phenyl]-N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]ammonium salt 
     N-[(2-octadecylcarbamoyl)ethyl]-N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]ammonium salt 
     N-[(2-pyrrolidonyl)methyl]-N,N,N-tris-(3-octadecanamidopropyl)ammonium salt 
     N-[(2-pyrrolidonyl)methyl]-N,N,N-tris-(3-tridecanamidopropyl)ammonium salt 
     N,N-didecyl-N-[(2-pyrrolidonyl)methyl]-N-(6-hexadecanamidohexyl)ammonium salt 
     N-[(2-pyrrolidonyl)methyl]-N,N,N-tris(3-heptadecanamidopropyl)ammonium salt 
     N,N-dimethyl-N-[(4-methyl-2-pyrrolidonyl)methyl]-N-(6-pentadecanamidohexyl)ammonium salt 
     N-methyl-N-[(4-butyl-2-pyrrolidonyl)methyl]-N,N-bis(8-heptadecanamidooctyl)ammonium salt 
     N,N-dimethyl-N-[(2-piperidinonyl)methyl]-N-(2-heptadecanamidoethyl)ammonium salt 
     N-methyl-N-[(2-azacycloheptanonyl)methyl]-N,N-bis(octadecanamidobutyl)ammonium salt 
     N-methyl-N-[(2-azacyclodecanonyl)methyl]-N,N-bis(3-tetradecanamidopropyl)ammonium salt 
     N-methyl-N-[(2-azacyclononanonyl)methyl]-N,N-bis(dodecanamidohexyl)ammonium salt and others, and other alkylcarbamoylalkyl and N-heterocyclic counterparts of the above alkylamidoalkyl ammonium salts. 
     The present quaternary compounds possess unique properties, among which is their ability to build viscosity, for example for liquid having a viscosity less than 50 centipoises, while simultaneously providing a hair and skin conditioning capability in cosmetic formulations containing anionic surfactants. In the context of this application, &#34;conditioning&#34; is intended to include the functions of moisturizing, softening, cleansing, penetrating, disinfecting, luster enhancing, hair combability, dye leveling, thickening, dye retaining and others. These compounds are highly compatible with sulfates and α-olefin sulfonates and anionic surfactant salts conventionally employed in shampoos, skin lotions and textile treating products. Their compatibility is such that up to 5% by weight or more of the quaternized compounds can be incorporated in the formulation, a characteristic which permits the formation of effective formulations as liquids or gels. In contrast, most prior quaternary viscosity building conditioning compounds are incorporatable only up to 0.5 or 1 wt. percent based on total anionic formulations. The pyrrolidonyl compounds which contain an octadecyl moiety on the quaternary nitrogen are particularly outstanding for their compatability, viscosity building and fiber and hair conditioning properties. The pyrrolidonyl products having a hexadecyl moiety on the quaternized nitrogen possess biocidal properties and can be used in a mouthwash or as a highly compatable preservative in shampoo, hair conditioners and hand or body lotions. It is contemplated that mixtures of the pyrrolidonyl compounds, such as the C 16  and C 18  terminally substituted compounds, can be employed in shampoos, hair conditioners and lotions as well as textile treating compositions as an agent which incorporates thickening, conditioning and preservative qualities in one additive; thus eliminating the need for separate chemical components to accomplish these individual needs. These mixtures may also be used to control dandruff or bacterial infections of the scalp and body skin. Generally, the quaternary compounds of this invention are mixed with a standard formulation of shampoo, cream rinse, hand or body lotion or creams, mouthwash, etc., in an effective amount which ranges from between about 0.05 to about 8% by weight, preferably between about 0.5 and about 5% by weight, of the total formulation. The compatability of the present compounds with anionic α-olefin sulfonates is surprising since most anionic compounds cause precipitation of cationic agents. However, the present compounds in concentrations up to 5% by weight show no tendency to precipitate after extended periods including periods up to 6 months or more. 
     The quaternary pyrrolidonyl compounds of this invention are prepared by an economically feasible process which involves the reaction between the corresponding tertiary amine which may be a polyamine or an amino amide and a N-haloalkyl lactam having a 5 to 10 membered ring. A general equation for the preparation is defined by the equation: ##STR6## wherein m, R, R 7 , R 4 , R 2 , R 3 , Y and X --  are as defined above and X is chloro, bromo or iodo. 
     Examples of suitable N-haloalkyl lactam reactants include the N-chloroethyl, N-chloropropyl, N-chlorobutyl, N-chloromethyl, N-bromomethyl and N-iodopropyl derivatives of 2-pyrrolidone, 4-methyl-2-pyrrolidone, 4-butyl-2-pyrrolidone, 2-piperidone, methyl-2-piperidone, 2-azacycloheptanone, 2-azacyclooctanone, 2-azacyclononanone, 2-azacyclodecanone and C 1  to C 4  alkyl substituted derivatives located on an alkylene group in the heterocyclic ring of these lactams. Mixtures of these lactam reactants can also be employed to provide a correspondingly mixed quaternary product, if desired. Of these lactam reactants, the N-halomethyl-2-pyrrolidones, N-halomethyl 2-piperidones and 2-azacycloheptanones are preferred and the N-chloromethyl lactams are most preferred. 
     Preferred tertiary amido amine coreactants employed in the present process include methyl and ethyl tertiary amido amines having one or more C 8  to C 22  alkyl groups, for example 
     N-methyl-N-dodecyl-N-(3-decanamidopropyl)amine; 
     N-ethyl-N-methyl-N-(3-dodecanamidopropyl)amine; 
     N,N-dimethyl-N-(3-tetradecanamidobutyl)amine; 
     N,N-bis(hydroxyethyl)-N-(2-octanamidoethyl)amine, 
     N-ethyl-N-decyl-N-(3-octadecanamidopropyl)amine; 
     N-butyl-N-methyl(2-hexadecanamidoethyl)amine; 
     N,N-dimethyl-N-(4-decanamidobutyl)amine; 
     N-methyl-N-tetradecyl-N-(butyramidobutyl)amine; 
     N-methyl-N,N-(3-tetradecanamidopropyl)amine; 
     N-methyl-N-phenyl-N-(3-hexadecanamidopropyl)amine; 
     N,N-dibenzyl-N-(2-octadecanamidoethyl)amine; 
     N-methyl-N,N-bis(3-undecanamidopropyl)amine 
     N-propyl-N,N-bis(undecanamidophenyl)amine etc. 
     Other suitable coreactants including any of the carbamoyl amine counterparts of the above compounds. e.g. N-butyl-N,N-bis[(decylcarbamoyl)phenyl]amine, and any of the tertiary amines corresponding to the aforenamed quaternized products of this invention, are also suitably employed. 
     Also included in the scope of this invention are tertiary amido amines or carbamoyl amines wherein a C 8  to C 30  alkyl group represented by R 2 , R 3  or R 7  is itself substituted with alkyl or alkoxy of 1 to 4 carbon atoms, phenyl, tolyl, xylyl, halo substituted mono cyclic aromatics, styryl, benzyl, amido. Tris C 8  to C 22  alkylamidoalkyl coreactants can also be employed in the reaction, examples of which include tri(3-hexadecanamidopropyl)amine, tri(4-octadecanamidobutyl)amine, tri(2-dodecanamidoethyl)amine, tri(3-decanamidopropyl)amine, etc. 
     The most preferred amino coreactants of this invention are those wherein R 3  is methyl, R 2  is methyl or R 4  --Y--R 7  and at least one of R 2 , R 3  and R 7  is C 8  to C 22  alkyl. 
     The process is effected by reacting the tertiary amine coreactant and the haloalkyl lactam reactant at a temperature between about 25° and about 150° C., preferably between about 60° and about 100° C., under a pressure of from about 0 to about 50 psig, preferably atmospheric pressure, for a period up to about 10 hours, usually not more than 5 hours is required to complete the reaction. From the above, it is seen that stoichiometric amounts of haloalkyl lactam and amine are used in the reaction. However, an excess of one or the other of the components is practicible in the process. Generally, for economic considerations, a mole ratio of between 1:1.5 and about 1.5:1 is employed; although, a slight excess of the tertiary amine is recommended to insure complete reaction of the lactam. Accordingly, the most preferred mole ratio of lactam to amine is about 1:1.01-1:1.03. 
     It is also recommended that the haloalkyl lactam be added gradually or dropwise to the amine at the beginning of the ensuing exothermic reaction. At the completion of the reaction, a solid product is formed and recovered. Since the reaction is quantitative, the product can be used as is or, when a slight excess of the amine is employed, it can be neutralized with a weak acid such as acetic, lactic or citric acid. 
     For incorporating into a standard formulation of shampoo, cream rinse, hand or body lotion, textile treating formulations etc., the present product is dissolved in an inert solvent such as water, propylene glycol, ethanol, etc., and the solution in the desired amount is mixed into the formulation to provide a homogeneous liquid, gel, cream or lotion. Incorporation of the present product is usually affected at room temperature under atmospheric pressure and requires no special formulating technique. However, for certain formulations incorporation of the present product can be effected at temperatures up to about 85° C. Amphoteric-containing shampoo formulations are best prepared by initially preparing an aqueous solution of the quaternized product and the amphoteric surfactant and then adding the solution to the shampoo formulation. 
     Having generally described the invention, reference is now had to the accompanying examples which set forth preferred embodiments, but which are not to be construed as limiting to the scope of the invention as more broadly set forth above and in the appended claims. 
    
    
     EXAMPLE I 
     To a 1 liter, 4-neck flask equipped with mechanical stirrer, reflux condenser, thermometer, and dropping funnel is added N,N-dimethyl-N-(3-octadecanlamidopropyl)amine (0.505 mole) which is heated with stirring to 70° C. under N 2  blanket after which the heating source is removed and N-chloromethyl-2-pyrrolidone (0.5 mole) is added to the amine dropwise over a period of 25 minutes. An exothermic reaction ensues and is controlled at 100° C. by the rate of addition of N-chloromethyl-2-pyrrolidone. The reaction mixture changes from a liquid to a paste during the addition of N-chloromethyl-2-pyrrolidone and finally to a solid on completion of the reaction. The yield of N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-octadecanamidopropyl)ammonium chloride, m.p. 45°-50° C. is quantitative; the content of the quaternary product being determined by titration. (Mercuric Acetate method as described by Sidney Siggia, &#34;Quantitative Organic Analysis via Functional Group&#34;, 1963, 3d Ed., John Wiley &amp; Sons, pages 552-554). 
     EXAMPLE II 
     The reaction of Example I was repeated except that the amine used was N,N-dimethyl-N-(3-docosanamidopropyl)amine (at a 2% molar excess with respect to N-chloromethyl-2-pyrrolidone). The product, N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-docosanamidopropyl)ammonium chloride, was recovered in quantitative yield. 
     EXAMPLE III 
     The reaction of Example II is repeated except that the amine used is N,N-dimethyl-N-(2-decanamidoethyl)amine. The corresponding N,N-dimethyl-N-[(2-pyrrolidinyl)-methyl]-N-(2-decanamidoethyl)ammonium chloride, is recovered in quantitative yield. 
     EXAMPLE IV 
     The reaction of Example II is repeated except that the amine used is N-methyl-N,N-bis-(2-decanamidoethyl)amine. The corresponding N-methyl-N-[(2-pyrrolidonyl)-methyl]-N,N-bis-(2-decanamidoethyl)ammonium chloride, is recovered in quantitative yield. 
     EXAMPLE V 
     The reaction of Example II is repeated except that the amine used is N-hexadecyl-N-methyl-N-(4-octanamidobutyl)amine. The corresponding N-hexadecyl-N-methyl-N-[(2-pyrrolidonyl)-methyl]-N-(4-octanamidobutyl)ammonium chloride, is recovered in quantitative yield. 
     EXAMPLE VI 
     The reaction of Example II is repeated except that the amine used is N-(hydroxypropyl)-N-methyl-N-(2-tetradecanamidoethyl)amine. The corresponding N-(hydroxypropyl)-N-methyl-N-[(2-pyrrolidonyl)methyl]-N-(2-tetradecanamidoethyl)ammonium chloride, is recovered in quantitative yield. 
     EXAMPLE VII 
     The reaction of Example II is repeated except that the amine used is N,N-dioctadecyl-N-(3-hexanamidopropyl)amine. The corresponding N,N-dioctadecyl-N-[(2-pyrrolidonyl)methyl]-N-(3-hexanamidopropyl)ammonium chloride, is recovered in quantitative yield. 
     EXAMPLE VIII 
     The reaction of Example II is repeated except that the amine used is N,N-didecyl-N-(2-propionamidoethyl)amine. The product, N,N-didecyl-N-[(2-pyrrolidonyl)methyl]-N-(2-propionamidoethyl)ammonium chloride is recovered in quantitative yield. 
     EXAMPLE IX 
     The reaction of Example II is repeated except that the amine used was N-methyl-N,N-bis(3-undecanamidopropyl)amine. The product N-methyl-N-[(2-pyrrolidonyl)methy]-N,N-bis(3-undecanamidopropyl)ammonium salt was obtained in quantitative yield. 
     EXAMPLE X 
     The reaction of Example II is repeated except that the amine used is N,N-dimethyl-N-[(2-octadecylcarbamoyl)phenyl]amine. The corresponding N,N-dimethyl-N-[(2-octadecylcarbamoyl)phenyl]-N-[(2-pyrrolidonyl)methyl]ammonium chloride is recovered in high yield. 
     EXAMPLE XI 
     The reaction of Example II is repeated except that the amine used is N,N,N-tris(pentadecanamidophenyl)amine. The corresponding N-[(2-pyrrolidonyl)methyl]-N,N,N-tris(pentadecanamidophenyl)ammonium salt is obtained in high yield. 
     EXAMPLE XII 
     The reaction of Example II is repeated except that the amine used is N,N-dimethyl-N-(3-docosanamidopropyl)amine. The product, N,N-dimethyl-N-[(2-pyrrolidonyl)methyl]-N-(3-docosanamidopropyl)ammonium chloride, mp. 62°-66° C., obtained in quantitative yield. 
     EXAMPLE XIII 
     The reaction of Example II is repeated except that the lactam used is N-bromomethyl-2-azacycloheptanone. A high yield of the product, N,N-dimethyl-N-[(3-azacycloheptanonyl)methyl](3-docosanamidopropyl)ammonium bromide is recovered as a solid. 
     Other products described herein are prepared by the general procedure outlined above with the substitution of the desired 2-pyrrolidonyl-, 2-piperidonyl-, 2-azacycloheptanonyl-, 2-azacycloctanonyl-, 2-azacyclononanonyl-, or 2-azacyclodecanonyl-lactam reactant and/or the substitution of the desired tertiary amine. 
     Although all of the present quaternized compounds possess excellent surfactant properties, certain members are particularly recommended for incorporation into specific types of cosmetic formulations. Table I lists some of such uses for individual quaternized products within the scope of this invention, together with a brief description of the benefits derived from their incorporation. 
     Generally, the present products are added to the formulations in amounts between about 0.1 and about 5 wt. %, based on active ingredients. The quaternized compounds in Table I have the general formula: ##STR7## except No. 15 which has the formula: ##STR8## and No. 16 which has the formula: ##STR9## 
     
                       TABLE I                                                     
______________________________________                                    
     Compd where  For Formula-                                            
No.  Z is         tion In     Benefits Achieved                           
______________________________________                                    
 1   3-octadecan- cream rinse improved wet/dry                            
     amidopropyl              combing improved                            
     or                       luster &amp; shine                              
     4-(octa-                                                             
     decylcarba-                                                          
     moyl)phenyl                                                          
 2   3-octadecan- hair condi- improved wet/dry                            
     amidopropyl  tioner      combing overall                             
     or                       conditioning &amp;                              
     4-hexadecan-             improved luster &amp;                           
     amidobutyl               shine                                       
 3   3-hexadecan- blow-dry styl-                                          
                              protection from                             
     amidopropyl  ing lotion  heat, improved                              
     or                       luster, shine, body &amp;                       
     2-octadecan-             overall conditioning,                       
     amidoethyl               preservation and                            
                              styling                                     
 4   3-octadecan- moisturizing                                            
                              facilitates rub-in,                         
     amidopropyl  lotion      smoother feel &amp; high                        
     or                       compatability with                          
     undecan-                 other components                            
     amidophenyl                                                          
 5   3-octadecan- bubble bath high compatability,                         
     amidopropyl              smooth after-feel &amp;                         
     or                       viscosity enhancement                       
     4-octadecan-                                                         
     amidophenyl                                                          
 6   2-hexadecan- mouthwash   good germidical                             
     amidoethyl               properties clean,                           
                              pleasant taste                              
 7   3-dodecan    syndet bar  high compatability                          
     amidopropyl              &amp; improved feel                             
 8   3-octadecan- after-sun   high compatability,                         
     amidopropyl  lotion      smoother feel &amp;                             
     or                       facilitates rub-in                          
     hexadecyl-                                                           
     carbamoyl-                                                           
     phenyl                                                               
 9   3-octadecan- non-alcoholic                                           
                              conditioning, im-                           
     amidopropyl  mousse      proved body, luster                         
                              &amp; shine, softer feel                        
10   2-octadecan- self-heating                                            
                              high compatability,                         
     amidoethyl   aerosol shave                                           
                              smoother skin feel,                         
                  cream       thermal stability &amp;                         
                              improved spread-                            
                              ability                                     
11   3-octadecan- mousse hand improved rub-in and                         
     amidopropyl  &amp; body      smoother after-feel                         
     or                       lotion                                      
     hexadecan-                                                           
     amidophenyl                                                          
12   Compound where                                                       
                  conditioning                                            
                              combined overall con-                       
     Z is a mixture                                                       
                  shampoo     ditioning and cleaning,                     
     of 3-octadecan-          compatability with                          
     amido propyl +           anionic components,                         
     3-hexadecan-             improved wet/dry                            
     amidopropyl in           combing, luster &amp;                           
     n-dodecyl-2-             shine, viscosity                            
     pyrrolidone              enhancement &amp; extra                         
                              body                                        
13   Compound where                                                       
                  oily hair   &#34;greaseless&#34; condi-                         
     Z is 2-octa- shampoo     tioning, viscosity                          
     decanamido               enhancement &amp; im-                           
     ethyl in                 proved wet/dry                              
     n-dodecyl-2-             combability, shine &amp;                        
     pyrrolidone              luster                                      
14   Compound where                                                       
                  hair mist   improved wet/dry                            
     Z is a mixture                                                       
                  conditioner combability, luster &amp;                       
     of 3-octa-               shine, preservation                         
     decanamido-              and conditioning                            
     propyl and    hot oil    improved condition-                         
     2-hexadecan  treatment   ing, luster, shine,                         
     amidoethyl               wet/dry combability,                        
                              hair body &amp;                                 
                              preservation                                
                  after shave improved rub-in,                            
                  balm        skin conditioning &amp;                         
                              preservation and                            
                              smoother skin feel                          
15   3-octadecan- conditoning dry compatability,                          
     amidopropyl  hair spray  improved luster,                            
                              shine and managea-                          
                              bility.                                     
16   dodecanamido-                                                        
                  sun blocking                                            
                              filters out harmful                         
     phenyl       agent       rays good skin                              
                              substantivity                               
17   octanamido-  sun tan agent                                           
                              filters out harmful                         
     phenyl                   rays good skin                              
                              substantivity                               
18   hexadecyl-   sun tan agent                                           
                              filters out harmful                         
     carbamoyl-   and hair    rays good skin                              
     phenyl       conditioner substantivity plus                          
                              good hair combability                       
19   decanamido-  hair        improved hair                               
     tolyl        conditioner combability, luster                         
                              and shine                                   
20   nonanamido-  sun tan     filters out harmful                         
     xylyl        agent       rays good skin                              
                              substantivity                               
______________________________________                                    
 
    
     Examples of specific formulations for the above uses achieving the benefits noted are presented as follows. 
     
         ______________________________________                                    
EXAMPLE XIX                                                               
Ingredients           Parts by Weight                                     
______________________________________                                    
CREAM RINSE                                                               
Compounds No. l in Table I                                                
                      2.0                                                 
cetyl alcohol         2.0                                                 
emulsifying wax       2.0                                                 
citric acid to pH     4                                                   
deionized water       qs                                                  
fragrance             qs                                                  
preservative          qs                                                  
HAIR CONDITIONER                                                          
Compounds No. 2 in Table I                                                
                      4.0                                                 
PEG-8 Distearate      2.5                                                 
mineral oil           1.5                                                 
lanolin alcohol       l.0                                                 
stearic acid          l.0                                                 
PPG-20 methyl glucose ether                                               
                      1.0                                                 
hydrolized animal protein                                                 
                      0.25                                                
citric acid to pH     4                                                   
deionized water       qs                                                  
preservative          qs                                                  
fragrance             qs                                                  
BLOW DRY STYLING LOTION                                                   
Compounds No. 3 in Table I                                                
                      1.5                                                 
ethanol               3.0                                                 
polyquaternium* 11    2.0                                                 
PEG-10 Castor oil     0.2                                                 
fragrance             0.2                                                 
phosphoric acid to pH 6                                                   
deionized water       qs                                                  
CONDITIONING HAIR SPRAY                                                   
Compound No. 15 in Table I                                                
                      0.6                                                 
ethanol               75.0                                                
ethyl ester of PVM/MA** copolymer                                         
                      4.1                                                 
2-amino-2-methyl-1-propanol 99%                                           
                      0.1                                                 
fragrance             0.2                                                 
propellant            20.0                                                
 *the quaternized ammonium polymer formed by reacting dimethyl sulfate and
 a copolymer of vinyl pyrrolidone and dimethylamino methylacrylate        
 **vinyl methyl ether/maleic anhydride                                    
 
    
     
         CONDITIONING SHAMPOO                                                      
Compound mixture of No. 12                                                
in Table I                                                                
Z is 3-hexadecanamidopropyl                                               
                      1.5                                                 
Z is 3-octadecanamidopropyl                                               
                      1.5                                                 
N--dodecyl-2-pyrrolidone                                                  
                      0.6                                                 
polyquaternium 11     0.5                                                 
sodium laureth-4-phosphate                                                
                      0.8                                                 
ammonium lauryl sulfate                                                   
                      40.0                                                
silk protein          0.25                                                
tetrasodium ethylenediamine                                               
                      0.2                                                 
tetra-acetic acid                                                         
deionized water       qs                                                  
colorant              qs                                                  
fragrance             qs                                                  
MOISTURIZING LOTION                                                       
Compounds No. 4 in Table I                                                
                      2.0                                                 
mineral oil 70 CTS    2.0                                                 
stearic acid          3.0                                                 
emulsifying wax       3.0                                                 
Dimethicone* 200 CTS  1.5                                                 
Carbomer 934**        0.15                                                
Oleth-20***           1.0                                                 
triethanolamine 98%   1.0                                                 
deionized water       qs                                                  
preservative          qs                                                  
fragrance             qs                                                  
 *a mixture of methylated siloxane polymers endblocked with trimethyl     
 siloxy units (dimethylpolysiloxane)                                      
 **crosslinked polymer of acrylic acid                                    
 ***PEG ether of oleyl alcohol                                            
 
    
     
         BUBBLE BATH                                                               
Compounds No. 5 in Table I                                                
                      3.0                                                 
ammonium nonoynol-4-sulfate                                               
                      30.0                                                
sodium cocoyl isothionate                                                 
                      10.0                                                
cocamidopropyl hydroxysultaine                                            
                      10.0                                                
cocamide diethanolamide                                                   
                      6.0                                                 
sodium methyl cocyl taurate                                               
                      20.0                                                
aloe vera gel         1.0                                                 
coconut oil           1.0                                                 
glycol stearate       1.0                                                 
deionized water       qs                                                  
preservative          qs                                                  
colorant              qs                                                  
SHAMPOO FOR OILY HAIR                                                     
Compound No. 13 in Table I                                                
                      3.0                                                 
n-dodecylpyrrolidone  1.0                                                 
tetrasodium ethylenediamine                                               
                      0.2                                                 
tetra-acetic acid                                                         
sodium lauryl sulfate 20.0                                                
alpha-olefin sulfonate                                                    
                      20.0                                                
polyquaternium 11     0.5                                                 
deionized water       qs                                                  
preservative          qs                                                  
colorant              qs                                                  
fragrance             qs                                                  
added inorganic salts as desired                                          
for viscosity modification                                                
MOUTHWASH                                                                 
Compound No. 6 in Table I                                                 
                      0.05                                                
alcohol, 190°  20.00                                               
thymol                0.03                                                
glycerine             10.00                                               
flavor                2.0                                                 
distilled water       qs                                                  
polysorbate 80        2.00                                                
SYNDET BAR (Superfatted)                                                  
Compound No. 7 in Table I                                                 
                      0.5                                                 
stearic acid, triple pressed                                              
                      32.00                                               
kettle soap           9.80                                                
sodiumcocoyl isethionate                                                  
                      49.00                                               
sodium methyl cocoyl taurate                                              
                      6.90                                                
citric acid, 50% aqueous                                                  
                      0.60                                                
titanium dioxide      0.20                                                
fragrance             1.00                                                
WATER RESISTANT EMOLLIENT                                                 
AFTER SUN LOTION                                                          
Compounds No. 8 in Table I                                                
                      3.0                                                 
mink Oil, Light Fraction                                                  
                      11.00                                               
glyceryl stearate, self emulsifying                                       
                      1.00                                                
stearic acid          2.50                                                
mineral oil and lanolin alcohol                                           
                      2.00                                                
myristyl myristate     3.000                                              
mineral oil           10.00                                               
PVP/Eicosene copolymer                                                    
                      2.00                                                
triethanolamine       0.70                                                
sorbitol              3.00                                                
hydroxyethylcellulose 0.30                                                
distilled water       qs                                                  
preservative          qs                                                  
fragrance             qs                                                  
NON-ALCOHOLIC CONDITIONING MOUSSE                                         
Compound No. 9 in Table I                                                 
                      5.00                                                
PVP K-30              2.00                                                
Oleth-20              0.50                                                
fragrance             qs                                                  
deionized water       77.50                                               
propellant A-46       15.00                                               
SELF-HEATING AEROSOL SHAVING CREAM                                        
Employed dual dispensing valve for metering oxidant from                  
H.sub.2 O.sub.2 container and reductant from aerosol can.                 
Compound No. 10 in Table I                                                
                      2.00                                                
stripped coconut fatty acid                                               
                      1.10                                                
sorbitol              10.00                                               
stearic acid          4.20                                                
PEG-40 soritan peroleate                                                  
                      2.00                                                
triethanolamine       3.0                                                 
potassium hydroxide   1.00                                                
potassium sulfite     9.00                                                
fragrance             0.80                                                
butyrated hydroxy toluene (BHT)                                           
                      0.01                                                
butyrated hydroxy anisole (BHA)                                           
                      0.01                                                
deionized water       qs                                                  
propellant            qs                                                  
HAIR MIST CONDITIONER (w/o added preservative)                            
50/50 Mixture No. 14 in Table I                                           
                      1.00                                                
propylene glycol dicaprylate/                                             
                      0.30                                                
dicaprate copolymer                                                       
oleamidopropyl dimethylamine                                              
                      0.50                                                
deionized water       98.2                                                
CATIONIC MOUSSE HAND/BODY LOTION                                          
(Used 85 Parts of the following formula to 15 parts                       
propellant A-46)                                                          
Compounds No. 11 in Table I                                               
                      0.50                                                
acetylated polyoxyethylene lanolin                                        
                      2.00                                                
ethoxylated lanolin alcohols                                              
                      1.00                                                
glyceryl stearate, self-emulsifying                                       
                      5.50                                                
cetyl alcohol         1.50                                                
mineral oil, 70 CTS   l.50                                                
stearyl alcohol       1.50                                                
glycerin              3.00                                                
isopropyl myristate   4.00                                                
dimethicone, 100 CTS  2.00                                                
water                 qs                                                  
preservative          qs                                                  
fragrance             qs                                                  
HOT OIL TREATMENT - (w/o added preservative)                              
50/50 mixture No. 14 in Table I                                           
                      1.50                                                
oleamidopropyl dimethyl amine                                             
                      1.00                                                
polyethylene glycol 6000 distearate                                       
                      2.00                                                
hexylene glycol       4.00                                                
lactic acid, 88% to pH                                                    
                      4.4                                                 
color                 qs                                                  
deionized water       qs                                                  
AFTER SHAVE BALM                                                          
50/5 mixture No. 14 in Table I                                            
                      1.00                                                
Carbomer 941          0.20                                                
tetrasodium ethylene diamine tetra-                                       
                      0.10                                                
acetic acid                                                               
cetearyl alcohol* and polyethylene                                        
glycol ether of cetearyl alcohol                                          
                      2.50                                                
isopropyl myristate   1.00                                                
Oleth-20              1.00                                                
methyl gluceth 20     2.00                                                
triethanolamine, 98%  0.20                                                
propylene glycol      3.00                                                
SDA denatured alcohol 7.50                                                
PVP/dimethylaminoethyl methacrylate                                       
                      7.00                                                
fragrance             1.00                                                
distilled water       qs                                                  
 *50/50 mixture of cetyl and stearyl alcohols                             
 
    
     
         SUN BLOCK LOTION                                                          
Compound No. 16 in Table I                                                
                      7.93                                                
Acetylated lanolin    1.22                                                
Isooctyl acrylate/octadecyl                                               
                      3.05                                                
acylate/acrylic acid terpolymer                                           
(mol ratio = 40/40/20)                                                    
C.sub.11-13 isoparaffin solvent                                           
                      9.15                                                
Isopropyl palmitate   9.15                                                
Isostearyl alcohol    4.27                                                
Carnation mineral oil 4.27                                                
Deionized water       60.96                                               
SKIN TANNING LOTION                                                       
Compound No. 19 in Table I                                                
                      5.0                                                 
Cetyl alcohol, NF     3.6                                                 
Coceth-6              0.9                                                 
Hydroxyethylcellulose (Cellosize                                          
                      0.6                                                 
QP-100 M; Union Carbide Corp.)                                            
PEG-8 (humectant)     1.0                                                 
Perfume               0.4                                                 
Titanium dioxide      0.15                                                
Ethanol               53.5                                                
Water (balance) 35%                                                       
______________________________________                                    
 
    
     The above examples are representative or preferred embodiments of the present invention; however, it will be understood that other species of instant quaternized lactams can be substituted in the above formulations to provide the benefits indicated. Also, in the preparation of the quaternized lactams described in Examples I-XII, other lactam and/or tertiary amine reactants described herein can be substituted to provide the corresponding quaternized products which are also included within the scope of this invention. Particularly recommended among these substituted species are the halomethyl-2-piperidonyl reactants and the other tertiary amido amine reactants which also provide useful bactericidal and viscosity enhancing properties.