Let $f$ be a real valued function such that$f(x)$+ $2f \left(\dfrac{2002}{x}\right) =3x$, find $f(x)$
Attempt:
Substituting $x=1$ and $x=2002$ and solving the simultaneous equations obtained, I got:
$f(2002)= -2000$ and $f(1)= 4003$
Now, $f(1)+f(2002)= 2003$
Also, there are $2003-1$ integers between $1$ and $2002$ (inclusive).
How do I proceed? Any hints?
We have
$$f\left(\frac{2002}{x}\right)+2f(x)=3\left(\frac{2002}{x}\right)$$
Solving,
$$f(x)=\frac{4004}{x}-x$$