$f$ is a continuous real valued function on $[a,b]$ and also differentiable on $(a,b)$ such that $f(a)=0$. If there exists $k\geq 0$ such that $|f'(x)|\leq k|f(x)|$ for all $x \in (a,b)$ then show that $f(x)=0$ for all $x \in [a,b]$.
If i show that $f$ is constant function on $[a,b]$ then it will be done. But according to given condition I think Lagrange's MVT is required, but how to apply?
Let us fix some positive $\delta < 1/k$ (or $\delta = b-a$ if $k=0$).
Let us prove that $$ (1) \qquad f(x) = 0\quad \forall x\in [a, a+\delta]. $$ Once (1) is proved, then from the same argument will follow that $f(x) = 0$ for every $x\in [a+\delta, a+2\delta]$ and so on.
For the proof of (1) you can use the MVT. Namely, let $$ M := \max_{x \in [a, a+\delta]} |f(x)|, \quad D := \sup_{x \in (a, a+\delta)} |f'(x)| $$ By assumption, you have that $D \leq k\, M$. On the other hand, by the MVT, for every $x\in (a, a+\delta]$ there exists a point $\xi_x\in (a, x)$ such that $$ |f(x)| = |f(x) - f(a)| = |f'(\xi_x)|\cdot |x-a|\leq D \, \delta\leq k\, M \, \delta. $$ Takin the $\sup$ in this inequality for $x\in (a, a+\delta]$ we get $$ M \leq k\,\delta\, M. $$ Recalling that $k\, \delta < 1$, this inequality can be satisfied if and only if $M=0$, i.e. if and only if (1) holds.