Can you write the diagonal of a one-metre square cricket mat as an exact fraction?
Your cricket mat is a square, one metre on each side. Pythagoras tells you that its diagonal is root two metres long. A calculator can give you a decimal approximation. Can you write the exact length as a fraction?
A rational number can be written as a fraction of two integers, with a non-zero denominator. You can always reduce that fraction to lowest terms. Then the highest common factor of the numerator and denominator is one.
Fifteen is three times five. Squaring gives two copies of each prime factor. The same thing happens when you square any positive integer: no new prime factors appear. So if a prime divides the square, it also divides the original number.
Suppose a positive integer n has a square that is divisible by five. What must be true about n itself? Pick the statement that has to be true every time.
Assume root two equals a over b in lowest terms. Square both sides and multiply by b squared. Two divides a squared, so write a as two k. Substitute and divide by two. Now two divides b squared, so it divides b. That common factor contradicts lowest terms, so root two is irrational.
When you try the proof for root three, you get a squared equals three b squared. Since three divides a squared, you can write a as three k. Pick the equation you get when you substitute and simplify.
Assume root three is a fraction in lowest terms. Square and clear the denominator. Three divides a squared, so write a as three k. Substitute and divide by three. Three divides b squared and therefore b. The common factor three contradicts lowest terms, so root three is irrational.
Assume root five is a fraction in lowest terms. Square and clear the denominator. Five divides a squared, so write a as five k. Substitute and divide by five. Five divides b squared and therefore b. The common factor five contradicts lowest terms, so root five is irrational.
A calculator shows root five as about two point two three six zero six eight. You might think that seeing no repeating block proves there isn't one. A finite display can't show what happens later. The algebra proves irrationality: the assumed lowest-terms fraction has a common factor of five.
How would you prove that three plus twice root five is irrational? Assume it equals a over b. Subtract three and divide by two. Root five is now written as a fraction of integers with a non-zero denominator. That contradicts the proof you just saw, so the original expression is irrational.