This article says:
It also turns out that these two equations [those given in question title], together with the conditions $g(0)=1$ and $h(0)=0$ [...] uniquely determine the functions $g$ and $h$.
Why is that so?
This article says:
It also turns out that these two equations [those given in question title], together with the conditions $g(0)=1$ and $h(0)=0$ [...] uniquely determine the functions $g$ and $h$.
Why is that so?
By derivation we see that the functions $g$ and $h$ satisfy the differential equation $y''=-y$. And with $g(0)=1$ and $g'(0)=-h(0)=0$ we get that $g=\cos$ and it's the unique solution due to the Cauchy Lipschitz theorem. The same reason for $h=\sin$.
This is an alternative to the existing answer that only uses elementary calculus.
You can define $G(x) = g(x) - \sin x$ and $H(x) = h(x) - \cos x$.
Consider $F(x) = G(x)^2 + H(x)^2$. Then $$F'(x) = 2(g(x) - \sin x)(g'(x) - \cos x) + 2 (h(x) - \cos x)(h'(x) + \sin x).$$ You can use the relationships $g' = h$ and $h' = -g$ to write this as $$F'(x) = 2(g(x) - \sin x)(h(x) - \cos x) + 2 (h(x) - \cos x)(-g(x) + \sin x)$$ which conveniently reduces to $0$. This means $F$ is constant. Moreover $g(0) = 0$ and $h(0) = 1$ implies that $F(0) = 0$, so $F$ is identically zero.
Since $G(x)^2 + H(x)^2 = 0$ for all $x$, it follows that $G(x)$ and $H(x)$ are both identically zero. Consequently $g(x) = \sin x$ and $h(x) = \cos x$.