what are the rules of writing iupac names
Here is a simple list of rules to follow. Some examples are given at the end of the list.
Identify the longest carbon chain. This chain is called the parent chain.
Identify all of the substituents (groups appending from the parent chain).
Number the carbons of the parent chain from the end that gives the substituents the lowest numbers. When compairing a series of numbers, the series that is the "lowest" is the one which contains the lowest number at the occasion of the first difference. If two or more side chains are in equivalent positions, assign the lowest number to the one which will come first in the name.
If the same substituent occurs more than once, the location of each point on which the substituent occurs is given. In addition, the number of times the substituent group occurs is indicated by a prefix (di, tri, tetra, etc.).
If there are two or more different substituents they are listed in alphabetical order using the base name (ignore the prefixes). The only prefix which is used when putting the substituents in alphabetical order is iso as in isopropyl or isobutyl. The prefixes sec- and tert- are not used in determining alphabetical order except when compared with each other.
If chains of equal length are competing for selection as the parent chain, then the choice goes in series to:
a) the chain which has the greatest number of side chains.
b) the chain whose substituents have the lowest- numbers.
c) the chain having the greatest number of carbon atoms in the smaller side chain.
d)the chain having the least branched side chains.
A cyclic (ring) hydrocarbon is designated by the prefix cyclo- which appears directly in front of the base name.