# how to prove the following relation

Let $f$ be a continuous function on [0,1] differentiable on (0,1) such that $f(1)=0$ then prove that for some $c$ $$cf'(c)+ f(c)=0$$

Hint: Consider the function $g(x)=xf(x)$, and apply Rolle's theorem.
• @BCLC $g(x)$ is the product of two functions which are continuous in $[0,1]$, and is thus continuous there. Similarly $g(x)$ is the product of two functions which are differentiable in $(0,1)$, and is thus differentiable there. – user1337 May 17 '14 at 15:58
• @user142634 You shouldn't. The key here is to recognize the expression in your question as the product rule applied to $xf(x)$ at the point $x=c$. This might require some experience. – user1337 May 17 '14 at 16:00