Let f:R→R be continuous and satisfy, for every a<b,
f(2a+b)=2mab+Mab
where mab=minx∈[a,b]f(x) and Mab=maxx∈[a,b]f(x).
Let us fix a<b and consider the function f on [a,b].
Since f is continuous on [a,b], it attains its minimum and maximum at some points x1,x2∈[a,b]:
mab=f(x1),Mab=f(x2)
Let us consider the value at the midpoint m=2a+b:
f(m)=2f(x1)+f(x2)
But f(m) must also be between mab and Mab, i.e., f(m)∈[mab,Mab].
Suppose f is not constant on [a,b]. Then mab<Mab, and f(m) is strictly between them unless f(m) equals one of the endpoints. But f(m) is the average of the minimum and maximum, so unless f is constant, f(m) is strictly between mab and Mab.
Now, let us consider the following:
Let f be strictly increasing. Then mab=f(a), Mab=f(b), and f(m)=2f(a)+f(b).
But for a strictly increasing continuous function, f(m) is strictly less than f(b) and strictly greater than f(a), unless f is linear.
Let us try f(x)=cx+d (affine function).
Then f(a)=ca+d, f(b)=cb+d, f(m)=c2a+b+d=2ca+cb+d=2f(a)+f(b).
On [a,b], since f is affine, the minimum and maximum are at the endpoints:
If c>0, mab=f(a), Mab=f(b).
If c<0, mab=f(b), Mab=f(a).
If c=0, f is constant.
In both cases, f(m)=2f(a)+f(b), and mab+Mab=f(a)+f(b), so the condition is satisfied.
Now, suppose f is not affine. For example, suppose f is quadratic: f(x)=x2.
On [a,b], the minimum is at a or b (if 0∈/[a,b]), or at 0 (if 0∈[a,b]).
Suppose a<0<b.
Then mab=0, Mab=max{a2,b2}.
But f(m)=(2a+b)2.
Is it always true that f(m)=2mab+Mab? For a=−1, b=1, m=0, f(m)=0, mab=0, Mab=1, so 2mab+Mab=21. But f(m)=0=21.
Therefore, f(x)=x2 does not satisfy the condition.
Suppose f is constant: f(x)=d.
Then mab=d, Mab=d, f(m)=d, 2mab+Mab=d.
So the condition is satisfied.
Therefore, the only continuous functions f:R→R satisfying the condition are the affine functions f(x)=cx+d.
Let us check for c<0:
Then mab=f(b), Mab=f(a), f(m)=2f(a)+f(b), 2mab+Mab=2f(a)+f(b).
So the condition is satisfied.
Thus, all continuous functions f:R→R of the form f(x)=cx+d for c,d∈R satisfy the condition.
Final answer:
All continuous functions f:R→R of the form f(x)=cx+d for c,d∈R.