Skip to main content

Case analysis

Proving by considering different cases is often used when we are not sure about the truth of some statement, and the trick is that, often, we do not really need the knowledge about its validity. Let us look at a concrete example.

Example 14

There exist irrational x,yx, y such that xyx^y is rational.

Proof:

Let us start with x=2x = \sqrt{2} and y=2y = \sqrt{2}. Now consider xy=22x^y = \sqrt{2}^{\sqrt{2}}. We do not know whether this number is rational or not, so let us try to consider both cases:

  • In the first case, if xyx^y is rational, we are already done since we explicitly present the values of xx and yy.

  • In the second case, if xyx^y is irrational, we can define z=xyz = x^y . Now notice that zy=(22)2=2z^y = \left(\sqrt{2}^{\sqrt{2}}\right)^{\sqrt{2}} = 2, which is rational. Therefore, zz and yy are the two numbers that validate the statement we want to prove.

Notice that, in either case, we establish the validity of the statement we are proving. Therefore, whether 22\sqrt{2}^{\sqrt{2}} is rational or not does not really matter!