I am currently trying to proof the following exercise:
Let $n\in \mathbb N$ and $g:\mathbb R \to \mathbb R$ a $n$-times continuously differentiable function with $g^{(j)}(0) = 0$ for all $j\in \{0, 1, ... ,n-1\}$ where $g^{(j)}$ denotes the $j$-th derivative. Proof that $g(x) = O(\lvert x\rvert^n)$ for $x\to 0$.
I tried to proof this via induction over $n$:
$n=1$: I have to show that there are $C>0, \delta > 0$ with $\lvert x\rvert < \delta \Rightarrow \lvert g(x) \lvert \leq C\lvert x \rvert$.
Since $g$ is continously differentiable on $\mathbb R$ so it is on (without loss of generality) $[0;a]$. Then $g'$ is continuous on $[0;a]$ and in particular $C:=\sup g' \in [0;a]$ with $C<\infty$.
By the mean value theorem there is $\xi \in ]0,a[$ with $$g'(\xi) =\frac{g(0)-g(a)}{0-a} = \frac{g(a)}{a}$$
which implies, choosing $\delta := a$ $$|g(x)| \leq C|x|$$for $|x| < \delta$. Now I don't know if this is correct so far, but assuming it is, I don't know how to proceed with $n \to n+1$. Any hints appreciated!