Ordered Pairs!

Find the number of positive integral ordered pairs ( a , b ) (a,b) satisfying the equation below.

a b + b a = 100 \large a^b+b^a=100

Challenge Post the solution


The answer is 4.

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.

4 solutions

Donglin Loo
Jun 22, 2018

We see that the equation is symmetrical in a way that the values of a , b a, b are interchangeable.

Without a loss in generality, we can let a b a\geq b

a b + b a b b + b b = 2 b b \therefore a^b+b^a\geq b^b+b^b=2b^b

2 b b 100 2b^b\leq 100

b b 50 b^b\leq 50

b = 1 , 2 , 3 b=1,2,3

When b = 1 b=1 , a 1 + 1 = 100 a = 99 a^1+1=100 \Rightarrow a=99

When b = 2 b=2 ,

a 2 + 2 a = 100 a^2+2^a=100

a b = 2 a\geq b=2

Also, a < 7 a<7 as 2 7 = 128 > 100 2^7=128>100

After some trials, we can verify that a = 6 a=6 .

When b = 3 b=3 ,

a 3 + 3 a = 100 a^3+3^a=100

a b = 3 a\geq b=3

a < 5 a<5 as 5 3 = 125 > 100 5^3=125>100

After some trials, we can verify that there is no solution.

Summing up, we have

a = 99 , b = 1 a=99,b=1

a = 6 , b = 2 a=6,b=2

a = 2 , b = 6 a=2,b=6

a = 1 , b = 99 a=1,b=99

The additional two solutions are due to interchangeability of values.

Tomáš Hauser
Jun 19, 2018

6^2+2^6 = 100 : Possible ordered pairs (2,6), (6,2)

1^99+99^1 = 100 : Possible ordered pairs (1,99), (99,1)

Steven Perkins
Jan 5, 2018

Since 2^6 + 6^2 = 100 we have two ordered solution pairs.

But it took me a while longer to see that we must also include 99^1 + 1^99 for two more ordered pairs.

Isnt it hit and trail? U must show a mathematical way

Md Zuhair - 3 years, 5 months ago

Log in to reply

Wlog let a be smaller or equal to b, Take cases for a=1/2/3 and you'll get the solution. For a=4 or above there can't be any solution since a^b+b^a=100 and both terms must be positive so b^a<100 and for a=4, b has to be smaller than 4. You'll get (99,1) (2,6) and nothing for a=3.

Zainul Niaz - 3 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...