a b a = b a b
We are given the equation above for natural numbers a and b (not necessarily distinct).
How many solutions for ( a , b ) are there if a + b ≤ 1 0 0 0 ?
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.
This is not a complete solution. It doesn't explain why "For k > 0 , there are no solutions other than b = 1 ".
Well done Dylan.Something tells me that this can also be solved using inequalities don't you think?Just an intuition by the way ...
Log in to reply
Yes, I think so. Consider a = b + k for k > 0 . ( b + k ) ( b b + k ) = ( b ) ( b + k ) b At b = 1 , there is equality ( k = k ) and so any value of a is acceptable. By symmetry, we now have the two cases a = 1 and b = 1 .
These two functions are both increasing at different rates after b = 1 with k > 0 , meaning that one is always greater than the other and there cannot be equality. However, at k = 0 these rates are the same giving the case a = b .
Log in to reply
That is not a complete solution. It doesn't explain why "For k > 0 , there are no solutions other than b = 1 ".
Log in to reply
@Calvin Lin – I think my reasoning was something like this: we have two smooth increasing functions f , g that grow at different rates. f intersects g at x = 1 , and grows faster after x = 1 . Hence after the intersection, f ( x ) > g ( x ) . f initially grows slower and f ( 0 ) = g ( 0 ) = 0 so before x = 1 we have g ( x ) > f ( x ) .
Log in to reply
@Dylan Pentland – That idea is not explicit, nor has that been shown.
I agree that if f ′ ( k ) < g ′ ( k ) , then there is at most one solution (over that domain). So if we can demonstrate that and quantify when exactly we have f ′ < g ′ for k > 0 , then since f ( 0 ) = g ( 0 ) , hence there is no more solutions.
I'm not sure the logs are correct. I got L H S = l o g ( a b a ) = l o g a + a l o g b a n d R H s = l o g b + b l o g a
Log in to reply
You are right, but it appears the expression I made is equivalent.
EDIT: I have no clue how I got that, I think I was just fiddling around while making this question and found that the graph overlapped on the graphing calculator, and didn't think about it past that. I'm replacing it with my solution I gave Arian.
If you divide both sides of the equation by ab the LHS becomes b^(a-1) and the RHS becomes a^(b-1).
Now CASE (1) for equality is a=1 and b is any value from 1 to 999.
CASE (2) for equality is b=1 and a is any value from 1 to 999.
CASE (3) for equality is a=b and that can happen 500 times (1,1),(2,2),...,(500,500) since a+b<=1000.
But the (1,1) solution has been counted in 3 times so we subtract 2.
Finally we get 2*999 + 500 - 2 = 2496
It is not apparent to me why the only solutions are of the form a = 1 , b = 1 or a = b . How does b a − 1 = a b − 1 allow us to arrive at that conclusion?
In particular, if we wanted to solve a b = b a , would you miss out { 2 , 4 } ?
It is not apparent to me why the only solutions are of the form a = 1 , b = 1 or a = b . How does b a − 1 = a b − 1 allow us to arrive at that conclusion?
In particular, if we wanted to solve a b = b a , would you miss out { 2 , 4 } ?
Log in to reply
If a=1 then b has exponent 0 and LHS = 1 with RHS = 1 because we'll have 1 to an exponent. If b=1 then a has exponent 0 and RHS = 1 with LHS = 1 because we'll have 1 to an exponent. If a=b both sides are equivalent.
Log in to reply
I agree that "There are 3 cases where we have solutions." This tells us that we have at least 2496 solutions.
You have not explained why "There are no other cases where we have solutions." In particular, how do we know that there isn't a 2497th solution? For example, if a = 2 , why must we have b = 2 or b = 1 ? Why can't we have another solution?
Log in to reply
@Calvin Lin – Because no matter what Natural Number 'a' you give me, the ONLY two values of 'b' which make LHS=RHS is either b=a or b=1. If 'b' is any other Natural Number then you will not achieve equality in the equation. By the way, your a^b=b^a equation did appear as a Brilliant question once - and I did not miss the ordered solutions {2,4} and {4,2} because I knew how special they are. Ever since I memorized the powers of 2, I keep in mind that 2^4=16 and 4^2=16 ..... in case it might be relevant. I wonder if that is the ONLY pair of Natural Numbers for which that's true. I haven't found another such pair !! I realize that is not a proof but no counter example after many efforts implies it might be.
Log in to reply
@Bob Kadylo – Right, so that is where your solution has a gap.
Note that the "lack of counter example" doesn't mean "the gap is filled". It suggests that "the gap can be filled", and I believe that Dylan is on a good path towards that.
Problem Loading...
Note Loading...
Set Loading...
Consider a = b + k for k > 0 . ( b + k ) ( b b + k ) = ( b ) ( b + k ) b At b = 1 , there is equality and so any value of a is acceptable. By symmetry, we now have the two cases a = 1 and b = 1 .
These two functions are both increasing at different rates after b = 1 with k > 0 , meaning that one is always greater than the other and there cannot be equality. However, at k = 0 these rates are the same giving the case a = b .
To start with, exclude ( a , b ) = ( 1 , 1 ) . From the first case there are 4 9 9 solutions, the second there are 9 9 8 and the third there are 9 9 8 by symmetry. By adding the extra case of ( a , b ) = ( 1 , 1 ) , we now know there are 5 0 0 + 2 ( 9 9 8 ) = 2 4 9 6 solutions.