The general formula of carboxylic acids is:
R–COOH
Here:
- R represents a hydrogen atom, an alkyl group, or an aryl group.
- COOH is the carboxyl functional group, which makes the compound a carboxylic acid.
For example:
- If R = H, the compound is formic acid.
- If R = CH₃, the compound is acetic acid.