Theory
A rationalised denominator has no surd in the bottom of the fraction. You do not change the fraction's value: multiply numerator and denominator by the same non-zero expression, which is multiplying by 1.
For a single root in the denominator, multiply top and bottom by that root. For 1/√3, multiply by √3/√3 to get √3/3, because √3 × √3 = 3.
If the denominator includes a rational coefficient, keep it: 5/(2√3) × √3/√3 = 5√3/6. Simplify any numerical factors after multiplying.
For a denominator with two terms, use its conjugate: change the sign between the terms. For 1/(2 + √3), multiply by (2 − √3)/(2 − √3). The denominator becomes 2² − (√3)² = 4 − 3 = 1, giving 2 − √3.
This works because (a + b)(a − b) = a² − b². Check the conjugate is non-zero and simplify the final expression. Do not merely delete the root from the denominator; both top and bottom must be multiplied.