Carbocation
A carbocation (IPA pronunciation: Template:IPA) is an ion with a positively-charged carbon atom. The charged carbon atom in a carbocation is a "sextet", i.e. it has only six electrons in its outer valence shell instead of the eight valence electrons that ensures maximum stability (octet rule). Therefore carbocations are often reactive, seeking to fill the octet of valence electrons as well as regain a neutral charge.  A typical carbocation has sp2 hybridization with a trigonal planar molecular geometry.

# Definitions
A carbocation was previously often called a carbonium ion but questions arose on the exact meaning . In present day chemistry a carbocation is any positively charged carbon atom. Two special types have been suggested: carbenium ions are trivalent and carbonium ions are pentavalent or hexavalent. University level textbooks only discuss carbocations as if they are carbenium ions , or discuss  carbocations with a fleeting reference to the older phrase of carbonium ion  or carbenium and carbonium ions . One textbook to this day clings on to the older name of carbonium ion for carbenium ion and reserves the phrase hypervalent carbenium ion for CH5+ .

# History
The history of carbocations dates back to 1891 when G. Merling  reported that he added bromine to tropylidene (cycloheptatriene) and then heated the product to obtain a crystalline, water soluble material, C7H7Br.  He did not suggest a structure for it; however Doering and Knox  convincingly showed that it was tropylium (cycloheptatrienylium) bromide. This ion is predicted to be aromatic by the Huckel Rule.
In 1902 Norris and Kehrman independently discovered that colorless triphenylmethanol gave deep yellow solutions in concentrated sulfuric acid. Triphenylmethyl chloride similarly formed orange complexes with aluminium and tin chlorides. Adolf von Baeyer recognized in 1902 the salt like character of the compounds formed.
He dubbed the relationship between color and salt formation halochromy of which malachite green is a prime example.
Carbocations are reactive intermediates in many organic reactions. This idea, first proposed by Julius Stieglitz in 1899 (On the Constitution of the Salts of Imido-Ethers and other Carbimide Derivatives; Am. Chem. J. 21, 101; ISSN: 0096-4085) was further developed by Hans Meerwein in his 1922 study  of the Wagner-Meerwein rearrangement. Carbocations were also found to be involved in the SN1 reaction and E1 reaction and in rearrangement reactions such as the Whitmore 1,2 shift. The chemical establishment was reluctant to accept the notion of a carbocation and for a long time the Journal of the American Chemical Society refused articles that mentioned them.
The first NMR spectrum of a stable carbocation in solution was published by Doering et al. . It was the heptamethylbenzenonium ion, made by treating hexamethylbenzene with methyl chloride and aluminium chloride. The stable 7-norbornadienyl cation was prepared by Story et al.  by reacting norbornadienyl chloride with silver tetrafluoroborate in sulfur dioxide at -80C  . The NMR spectrum established that it was nonclassically bridged (the first stable non-classical ion observed).
In 1962 Olah directly observed the tert-butyl carbocation by Nuclear magnetic resonance as a stable species on dissolving tert-butyl fluoride in magic acid. The NMR of norbornyl cation was first reported by Schleyer et al.  and it was shown to undergo proton scrambling over a barrier by Saunders et al. .

# Properties
In organic chemistry, a carbocation is often the target of nucleophilic attack by nucleophiles like OH- ions or halogen ions.
Carbocations are classified as primary, secondary, or tertiary depending on the number of carbon atoms bonded to the ionized carbon.  Primary carbocations have one or zero carbons attached to the ionized carbon, secondary carbocations have two carbons attached to the ionized carbon, and tertiary carbocations have three carbons attached to the ionized carbon.
Stability of the carbocation increases with the number of alkyl groups bonded to the charge-bearing carbon. Tertiary carbocations are more stable (and form more readily) than secondary carbocations; primary carbocations are highly unstable because, while ionized higher-order carbons are stabilized by Hyperconjugation, unsubstituted (primary) carbons are not. Therefore, reactions such as the SN1 reaction and the E1 elimination reaction normally do not occur if a primary carbocation would be formed.  An exception to this occurs when there is a carbon-carbon double bond next to the ionized carbon.  Such cations as allyl cation CH2=CH-CH2+ and benzyl cation C6H5-CH2+ are more stable than most other carbocations. Molecules which can form allyl or benzyl carbocations are especially reactive.
Carbocations undergo rearrangement reactions from less stable structures to equally stable or more stable ones with rate constants in excess of 1.0E9/sec.  This fact complicates synthetic pathways to many compounds.  For example, when 3-pentanol is heated with aqueous HCl, the initially formed 3-pentyl carbocation rearranges to a statistical mixture of the 3-pentyl and 2-pentyl.  These cations react with chloride ion to produce about 1/3 3-chloropentane and 2/3 2-chloropentane.
Some carbocations such as the norbornyl cation exhibit more or less symmetrical three centre bonding.  Cations of this sort have been referred to as non-classical ions.  The energy difference between "classical" carbocations and "non-classical" isomers is often very small, and there is generally little, if any activation energy involved in the transition between "classical" and "non-classical" structures. The "non-classical" form of the 2-butyl carbocation is essentially 2-butene with a proton directly above the centre of what would be the carbon-carbon double bond.  "Non-classical" carbocations were once the subject of great controversy.  One of George Olah's greatest contributions to chemistry was resolving this controversy .