Acetylide anions are excellent nucleophiles and readily react with alkyl halides via an SN2 (bimolecular nucleophilic substitution) mechanism. This reaction is a cornerstone of alkyne synthesis, allowing for the formation of new carbon-carbon bonds and the extension of carbon chains.
In the SN2 reaction, the acetylide anion (nucleophile) attacks the alkyl halide, displacing the halide ion (leaving group) from the opposite side. This "backside attack" leads to an inversion of stereochemistry at the carbon center. The reaction is generally favored with primary alkyl halides due to less steric hindrance.
Because acetylide anions are also strong bases, they can compete with E2 (bimolecular elimination) reactions, especially with secondary and tertiary alkyl halides or at elevated temperatures. E2 reactions lead to the formation of alkenes instead of the desired substituted alkyne. Bulky bases like t-butoxide will favor E2. For example, if you tried to react an acetylide with a secondary halide like isopropyl bromide, you'd get a significant amount of elimination product (propene) in addition to the substitution product.
Therefore, when synthesizing alkynes using acetylide anions, it is crucial to choose appropriate alkyl halides (generally primary) to minimize or avoid E2 elimination and ensure the desired SN2 substitution occurs efficiently.