Explain why alkyl groups act as electron donors when attached to a π system.
Alkyl groups act as electron donors when attached to a system due to hyperconjugation. When an alkyl group is attached to a system (such as a positively charged carbon atom in a carbocation), the electrons from the adjacent bond of the alkyl group overlap with the system.
This overlap allows the electron density from the adjacent bond to be donated into the system, which helps in dispersing the positive charge and stabilising the structure. Therefore, the greater the number of alkyl groups attached to the positively charged carbon atom, the greater is the hyperconjugation interaction and the overall stabilisation of the cation.
Explanation
The textbook context explains that alkyl groups are electron-donating groups. When attached to a positively charged carbon atom (a π system), the adjacent σ bond of the alkyl group undergoes hyperconjugation. This overlap transfers electron density from the σ bond into the π system, dispersing the positive charge and stabilising the carbocation.