I'd like to answer the two questions below. I believe my solution to the first one is right, but it'd help if someone could please help verify this, as I am working through this book independently through self-study. I don't know how to do the second one, which is a continuation of the first problem. I'm pretty sure both questions utilize a Theorem stated in my book, so I've provided that as well.
Suppose $f : (-1, 1) \rightarrow \mathbb{R}$ has $n$ derivatives and its $n^{\text{th}}$, suppose its $n^{\text{th}}$ derivative $f^{(n)} : (-1, 1) \rightarrow \mathbb{R}$ is bounded. Finally, suppose we have
$$f(0) = f'(0) = f''(0) = \cdots f^{(n - 1)}(0) = 0.$$
Prove there exists a positive number $M$ such that $$|f(x)| \leq M|x|^{n}.$$
Second question:
Suppose $f : (-1, 1) \rightarrow \mathbb{R}$ has $n$ derivatives and there is a positive number $M$ such that $$|f(x)| \leq M|x|^{n}.$$ Prove $$f(0) = f'(0) = \cdots f^{(n - 1)}(0) = 0.$$
Also, here's the theorem I was referring to:
Theorem: Let $I$ be an open interval and $n$ be a natural number and suppose that the function $f : I \rightarrow \mathbb{R}$ has $n$ derivatives. Suppose also at the point $x_{0}$ in $I$, $$f^{(k)}(x_{0}) = 0$$ for $0 \leq k \leq n - 1$. Then, for each point $x \neq x_{0}$ in $I$, there is a point $z$ strictly between $x$ and $x_{0}$ at which $$f(x) = \frac{f^{(n)}(z)}{n!}(x - x_{0})^{n}.$$
Here's my attempt at problem $1$:
By the Theorem above, for each $x \in (-1, 1)$, $x \neq 0$, there's a point $z$ between $x$ and $0$ such that $$f(x) = \frac{f^{(n)}(z)}{n!}x^{n}.$$
Using the fact that $f^{(n)}$ is bounded, we know there exists a bound $N$ such that $|f^{(n)}(x)| \leq N$ for all $x$ in $(-1, 1)$. Therefore,
$$|f(x)| = \left|\frac{f^{(n)}(z)}{n!}x^{n}\right| \leq |\frac{N}{n!}x^{n}| = (N/n!)|x|^{n} $$
So setting $M = N/n!$ suffices.
Is this correct? How do I do the next one?