CₙH₂ₙ₊₂
Where 'n' is the number of carbon atoms in the molecule.
Here's a breakdown:
* Cₙ: Represents the carbon atoms in the molecule, with 'n' indicating the number of carbon atoms.
* H₂ₙ₊₂: Represents the hydrogen atoms in the molecule. The number of hydrogen atoms is always two more than twice the number of carbon atoms.
Examples:
* Methane (CH₄): n = 1, so the formula is CH₄
* Ethane (C₂H₆): n = 2, so the formula is C₂H₆
* Propane (C₃H₈): n = 3, so the formula is C₃H₈
Important Notes:
* This formula is valid for alkanes, which are saturated hydrocarbons with single bonds between carbon atoms.
* Alkenes, with double bonds, and alkynes, with triple bonds, have slightly different formulas.
* Cyclic hydrocarbons have a different general formula as they form a ring structure.
I hope this explanation is helpful!