<P> Esters (R - CO-O-R') are named as alkyl derivatives of carboxylic acids . The alkyl (R') group is named first . The R - CO-O part is then named as a separate word based on the carboxylic acid name, with the ending changed from - oic acid to - oate . For example, CH CH CH CH COOCH is methyl pentanoate, and (CH) CHCH CH COOCH CH is ethyl 4 - methylpentanoate . For esters such as ethyl acetate (CH COOCH CH), ethyl formate (HCOOCH CH) or dimethyl phthalate that are based on common acids, IUPAC recommends use of these established names, called retained names . The - oate changes to - ate . Some simple examples, named both ways, are shown in the figure above . </P> <P> If the alkyl group is not attached at the end of the chain, the bond position to the ester group is infixed before "- yl": CH CH CH (CH) OOCCH CH may be called but - 2 - yl propanoate or but - 2 - yl propionate . </P> <P> Amines (R - NH) are named for the attached alkane chain with the suffix "- amine" (e.g. CH NH methanamine). If necessary, the bonding position is infixed: CH CH CH NH propan - 1 - amine, CH CHNH CH propan - 2 - amine . The prefix form is "amino -". </P> <P> For secondary amines (of the form R - NH - R), the longest carbon chain attached to the nitrogen atom becomes the primary name of the amine; the other chain is prefixed as an alkyl group with location prefix given as an italic N: CH NHCH CH is N - methylethanamine . Tertiary amines (R - NR - R) are treated similarly: CH CH N (CH) CH CH CH is N - ethyl - N - methylpropanamine . Again, the substituent groups are ordered alphabetically . </P>

Rules to write iupac name of organic compound