Solution:
Let f(x)=x2+x. The equation is 4f(a)=f(b), i.e.,
4(a2+a)=b2+b.
Expanding:
4a2+4a=b2+b
Bring all terms to one side:
4a2+4a−b2−b=0
4a2+4a=b2+b
Let us try to solve for b in terms of a:
b2+b−4a2−4a=0
This is a quadratic in b:
b2+b−(4a2+4a)=0
The discriminant must be a perfect square for integer solutions:
The quadratic formula gives:
b=2−1±1+16a2+16a
So 1+16a2+16a must be a perfect square.
Let 1+16a2+16a=k2 for some integer k.
So:
k2−16a2−16a=1
k2−16(a2+a)=1
Let a be a positive integer. Then a2+a is always even, so 16(a2+a) is divisible by 32.
Let us try small values of a:
If a=1: 12+1=2, 16×2=32, k2=1+32=33 (not a perfect square).
If a=2: 22+2=6, 16×6=96, k2=1+96=97 (not a perfect square).
If a=3: 32+3=12, 16×12=192, k2=1+192=193 (not a perfect square).
If a=4: 42+4=20, 16×20=320, k2=1+320=321 (not a perfect square).
If a=5: 52+5=30, 16×30=480, k2=1+480=481 (not a perfect square).
In general, k2=16a2+16a+1=(4a+2)2−3.
So k2+3=(4a+2)2.
Thus, (4a+2)2−k2=3.
So (4a+2−k)(4a+2+k)=3.
The only integer factorizations of 3 are (1,3) and (−1,−3).
Case 1: 4a+2−k=1, 4a+2+k=3
Add: 2(4a+2)=4, so 4a+2=2, so a=0 (not positive integer).
Case 2: 4a+2−k=−1, 4a+2+k=−3
Add: 2(4a+2)=−4, so 4a+2=−2, so a=−1 (not positive integer).
Case 3: 4a+2−k=3, 4a+2+k=1
Add: 2(4a+2)=4, so 4a+2=2, a=0 (not positive integer).
Case 4: 4a+2−k=−3, 4a+2+k=−1
Add: 2(4a+2)=−4, 4a+2=−2, a=−1 (not positive integer).
Therefore, there are no positive integer solutions for a.
Therefore, the equation 4f(a)=f(b) has no solutions in positive integers a and b.