Proof of $f \in C^\infty(\mathbb{R})$ and $f(x) = \beta \sin(x)$ for all $x \in \mathbb{R}$

48 Views Asked by At

In a book it is written the following:

Let $f \in C^2(\mathbb{R})$ be a function with $(\forall x\in\mathbb R):f''(x) + f(x) = 0$, $f(0) = 0$, and $f'(0) = \beta \in \mathbb{R}$ . It follows that $f \in C^\infty(\mathbb{R})$ and $f(x) = \beta \sin(x)$ for all $x \in \mathbb{R}$.

How can one prove that?

I thought about how $f^{(n)}(0)$ looks like and what follows for $R_n(x) \to 0$ for $n \to \infty$, but it doesn't help me.

2

There are 2 best solutions below

2
On BEST ANSWER

Let $g(x)=f(x)-\beta\sin(x)$. Then $g(0)=0$, $g'(0)=0$ and $(\forall x\in\mathbb R):g''(x)=-g(x)$. But then$$(g^2+g'^2)'=2gg'+2g'g''=2g'(g+g'')=0.$$So, $g^2+g'^2$ is constant. Since $g(0)=g'(0)=0$, it follows that $g$ is the null function. In other words,$$(\forall x\in\mathbb R):f(x)=\beta\sin(x).$$

0
On

The accepted answer gives a very simple proof that $y=\beta\sin(t)$, hence $y\in C^\infty$. Someone should point out that even if we didn't know that $y=\beta\sin(t)$ it would still be more or less obvious that $y\in C^\infty$, just from the DE:

We have $$y''=-y.$$Since $y\in C^2$ this shows that $y''$ is differentiable, with $$y'''=-y'.$$Hence $y'''$ is continuous, so $y\in C^3$.

And so on; show by induction that $$y^{(n)}=-y^{(n-2)},\quad(n\ge2),$$hence $y\in C^n$.