Let y=f(x). The equation is:
x+x1=y+y1
Bring all terms to one side:
x+x1−y−y1=0
Or:
x−y+x1−y1=0
x−y+xyy−x=0
(x−y)(1−xy1)=0
So either x=y or xy=1.
Thus, for each x>0, f(x) must be either x or 1/x.
We are given that f is continuous on R+.
Suppose there exists x0>0 such that f(x0)=x0 and f(x1)=1/x1 for some x1=x0. Consider the set A={x>0:f(x)=x} and B={x>0:f(x)=1/x}. Both A and B are closed (since f is continuous and the preimage of a closed set under a continuous function is closed), and A∪B=R+.
Suppose A is nonempty and B is nonempty. Let x0∈A, x1∈B. Since f is continuous, for any sequence xn→x0 with xn∈B, f(xn)→f(x0)=x0, but f(xn)=1/xn→1/x0 as xn→x0. Thus, x0=1/x0, so x0=1. Similarly, at x=1, f(1)=1 or f(1)=1.
Thus, the only possible point where f(x) can switch from x to 1/x is at x=1. But for x=1, f must be constant on each side due to continuity.
Therefore, the only continuous functions are:
1. f(x)=x for all x>0.
2. f(x)=1/x for all x>0.
Both functions satisfy the given equation:
- For f(x)=x, x+1/x=x+1/x.
- For f(x)=1/x, x+1/x=1/x+x.
Thus, the solutions are f(x)=x and f(x)=1/x for all x>0.