A rational number can be written exactly in the form \(\frac{a}{b}\), where 𝑎 and 𝑏 are integers, while an irrational number cannot.