# Lewis Structures

Lewis structures are used to show the connectivity of organic compounds.
A Lewis structure is a model that represents covalent bonds and nonbonding electrons with chemical symbols, dots, and lines. A valence electron is an electron in the outermost shell of an atom. Dots represent each valence electron, and dots or lines represent bonds between the atoms. Hydrogen has only one valence electron, which is represented by a single dot. Helium has two valence electrons, represented by a pair of dots. Carbon has four total valence electrons—two in the s subshell and two in the p subshell—so the carbon atom is represented with a pair of electrons on one side (from the s subshell) and a single electron on two other sides (from the p subshell). Single bonds between two atoms are represented by a single line. Double bonds are represented by a double line.

### Octet Rule

The octet rule states that atoms prefer to have eight valence electrons when forming compounds. Oxygen, nitrogen, and the halogens have lone pairs that are part of their valence shell. Boron is an exception because it forms compounds with only six valence electrons; hydrogen and helium are also exceptions as they follow the duet rule and only have two valence electrons.

Elements bond together by trading or sharing electrons to create a stable shell of eight electrons, satisfying the octet rule. The octet rule is the rule that states that atoms tend to share or donate electrons such that the valence shell contains eight electrons ($\text{octet}={\rm {ns}}+{\rm {np}}=8$). The valence electrons are determined by the column (or group) that an atom is in on the periodic table. The first group on the periodic table is the alkali metals, which all have one valence electron. Sodium, lithium, potassium, and all alkali metals have one valence electron. Elements in the second group (beryllium, magnesium, calcium,…) have two valence electrons. All the elements in group 13, sometimes called 3A, which includes boron and aluminum, have three valence electrons. The elements in the carbon group (group 14 or 4A), which includes carbon and silicon, have four valence electrons. The elements in groups 15 (5A), 16 (6A), 17 (7A), and 18 (8A) have five, six, seven, and eight electrons, respectively.

Organic chemistry focuses on a few elements. Hydrogen, carbon, nitrogen, oxygen, phosphorus, sulfur, and the halogens are the main elements that are found in organic molecules. All of these elements, except carbon and hydrogen, have one (nitrogen and phosphorus), two (oxygen and sulfur), or three (halogens) lone pairs. A lone pair is a valence electron pair that does not form a bond.

Boron and aluminum have three valence electrons, so they typically make compounds with three bonds and no lone pairs of electrons. Therefore, boron and aluminum often form compounds with only six valence electrons, which is an exception to the octet rule. Row 2 elements, such as boron, carbon, nitrogen, oxygen, and fluorine, cannot violate the octet rule by having more than eight electrons, but they may have fewer than eight electrons.

### Formal Charge

Formal charge determines the charge of each atom in a Lewis structure.

A neutral molecule may contain atoms that individually bear a positive and negative formal charge. A formal charge is the hypothetical charge assigned to an atom in a molecule with the assumption that bonding electrons are shared equally. The formal charge is the difference between the number of "owned" electrons in the Lewis structure and the number of electrons in the unbonded atomic state. For example, in nitromethane, CH3NO2, one oxygen shares a single bond with nitrogen, leaving the oxygen atom with six unbonded, or lone pair, electrons and a net negative (−1) charge, or a formal charge of −1. The nitrogen atom has a net positive (+1) charge, or a formal charge of +1. The double-bonded oxygen is neutral because its electron count in the molecule is the same as a neutral oxygen atom. Similarly, the hydrogens have one electron, both in the molecule and in the neutral elemental form.

Formal charge is calculated using the formal charge formula:

$\text{Formal charge}=\text{Valence electrons}\;\left(\text{Lone pair electrons}+\left(\frac12\right)(\text{bound electrons})\right)$

For O-methylhydroxylamine, H2NOCH3, the formal charge of each element is calculated using the formal charge formula.

Carbon: ${\text{Formal charge}}=4-\left(0+\left(\frac12\right)(8)\right)=4-4=0$

Nitrogen: $\text{Formal charge}=5-\left(2+\left(\frac12\right)(6)\right)=5-5=0$

Oxygen: $\text{Formal charge}=6-\left(4+\left(\frac12\right)(4)\right)=6-6=0$

Hydrogen: $\text{Formal charge}=2-\left(0+\left(\frac12\right)(4)\right)=2-2=0$

Hydrogen does not follow the octet rule because it has a maximum of two electrons. Hydrogen and helium follow a modification of the octet rule called the duet rule. The duet rule states that hydrogen and helium prefer to have two valence electrons when forming compounds.