So i have a function $f$ that is continuous on $[1,2]$ and that is differentable on $(1,2)$. Also, let $f(2)=2f(1)$
Now I have to prove that for some $a \in (1,2)$ is $f'(a)=\frac{f(a)}{a}$.
Since the function works for Rolle's theorem I thought this should be used.
So I thought I would define function $g(x)=\frac{f(x)}{x}$.
And since it's continuity and differentiability is the same as $f$ I might use it for Rolle's theorem.
So I got $g(1)=f(1)$ and $g(2)=f(1)$ hence there exists $a\in (1,2)$ such that $g'(a)=0$.
But somehow that didn't help me.
Did use the wrong concept, or am I missing something?
Any help would be appreciated.