An ylide can be prepared rather straightforwardly. Typically, triphenylphosphine is allowed to react with an alkyl halide in a mechanism analogous to that of an SN2 reaction. This forms an alkyltriphenylphosphonium salt which is then allowed to react with a strong base to form the ylide.
The salt products are not shown. Also, the product shown here is shown in the ylide form; however, it could also be shown as the phosphorane form in which the bond to phosphorus is a double bond with the methylene group. Due to an inductive effect, the trio of phenyl groups allows phosphorus to bear such a buildup of positive charge and shifts the negative charge to carbon, creating a reactive species.
Due to the SN2 mechanism, a less sterically hindered alkyl halide reacts more favorably with triphenylphosphine than an alkyl halide with significant steric hindrance (such as tert-butyl bromide). Because of this, there will typically be one synthetic route in a synthesis involving such compounds that is more favorable than another.
Ylide types
The most common ylids are phosphonium ylids, used in the Wittig reaction for double bond synthesis from carbonyl groups (C=O). The positive charge in these Wittig reagents is carried by a phosphorus atom with three phenyl substituents and one bond to a carbon bearing a negative charge and two substituents, commonly alkyl groups. Ylids can be 'stabilised' or 'non-stabilised'. Non-stabilised ylids react readily with both aldehydes and ketones whereas stabilised will only react with aldehydes.
Iminophosphoranes (also called:phosphazides) with general structure R3P+-N-R are intermediates in the Staudinger reduction.
The active form of Tebbe's reagent is often considered a titanium ylide. Like the Wittig reagent, it is able to replace the oxygen atom on carbonyl groups with a methylene group. Compared with the Wittig reagent, it has more functional group tolerance.
^ Ferguson, Marcelle L.; Senecal, Todd D.; Groendyke, Todd M.; Mapp, Anna K. (2006). "[3,3]-Rearrangements of Phosphonium Ylides". J. Am. Chem. Soc.128 (14): 4576–4577. doi:10.1021/ja058746q.
^ Ramesh M. Patel and Narshinha P. Argade (2007). "Facile SN2' Coupling Reactions of Wittig Reagents with Dimethyl Bromomethylfumarate: Synthesis of Enes, Dienes, and Related Natural Products". J. Org. Chem.72 (13): 4900–4904. doi:10.1021/jo070728z.