Let all the ordered pairs of distinct positive integer solutions of satisfying be .
Find .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Note that if ( p , q ) is a solution, then ( q , p ) is also a solution to the equation a b = b a .
None of a and b can be 1 .
Without the loss of generality, let a < b .
a ∣ b . Otherwise, a b ≡ 0 ≡ b a ( m o d a ).
Then a k = b , for some positive integer k ≥ 2 .
Now, a b = b a ⟺ a a k = b a ⟺ ( a k ) a = b a ⟺ a k = b (As none of a k and b is 1 or 0 , and a = 0 ).
a k = b and a k = b ⟹ a k = a k ⟹ k = a k − 1 (As a = 0 ).
So, k − 1 k = a
For k = 2 , a = k − 1 k = 2 and b = a k = 4 . ( 2 , 4 ) and ( 4 , 2 ) are solutions to the equation.
It can be proved by Induction on k that
which implies a k − 1 = k ⟹ there are no more solution ( a , b ) , other than ( 2 , 4 ) and ( 4 , 2 ) , to the equation a b = b a .
So, ( 2 + 4 ) + ( 4 + 2 ) = 1 2 is the answer.
Let's prove that for k ≥ 3 , a k − 1 > k , with a ≥ 2 .
Induction Basis (IB) : For k = 3 , a k − 1 = a 2 ≥ 2 2 = 4 > k = 3 . So, for k = 3 , the claim holds.
Induction Hypothesis (IH) : Let's assume for some m ≥ 3 , a m − 1 > m .
Inductive Step(IS) : a m − 1 > m ⟹ a m − 1 × a > a m ≥ 2 m > m + 1 (As m ≥ 3 > 1 ) ⟹ a m > m + 1 . So, the claim holds for k = m + 1 provided it holds for k = m .
Hence, By the Principle of Mathematical Induction, for k ≥ 3 , a k − 1 > k , with a ≥ 2 . (Proved)