$f(x) = \begin{cases} x^a\log x, & \text{if $x \neq 0$,} \\[2ex] 0, & \text{if $x=0$. } \end{cases} $
What should be the value of $a$ so that f satisfies Rolle's theorem in [0,1] ??
What I have done is from $f'(x)=0,$ I get $x=e^{-\frac 1a}\in (0,1) \Rightarrow a>0$ and from $f^"(e^{-\frac 1a})>0$ whenever $a>0$. So is this the exact condition or I have missed any condition and $a$ can be refined more?
You need that f is continous on $[0,1]$ (apart from other prerequisites which are obviously fulfilled, that is), i.e. $\lim_{x\rightarrow 0} f(x) = 0$. By well known properties of $\log$ this is true for your $f$ iff $a>0$.