The principle of mathematical induction is used to prove statements for all natural numbers. It involves showing that if a statement holds for a certain natural number, and if the truth of that statement for a given number implies its truth for the next number, then the statement holds for all natural numbers.