According to Wikipedia, one way of defining the sine and cosine functions is as the solutions to the differential equation $y'' = -y$.
How do we know that sin and cos (and linear combinations of them, to include $y=e^{ix}$) are the only solutions to this equation?
It seems like a clever combination of inverse polynomials or exponentials could do the same.
Without the need for other technology, it follows from the existence and uniqueness theorem for solutions of differential equations (Cauchy-Lipschitz, or Picard-Lindelöf, according to sources) in $\mathbb{R}^n$. Write the system in the linearized form $$ \begin{cases} y'=z\\ z' = -y \end{cases} $$ (this is clearly equivalent to $y''=-y$, after introducing an auxiliary variable).
Let $y(x)$ (together with $z(x)=y'(x)$) be any solution of this system of differential equations with initial values $y(0)=y_0,z(0)=z_0$.
Then, you can find $c_1,c_2$ such that the function $\hat{y}(x) = c_1 \sin x + c_2 \cos x$ solves the differential equation and has the same initial conditions $\hat{y}(0)=y_0, \hat{y}'(0) = z_0$. Hence, by the uniqueness theorem, $y(x)=\hat{y}(x)$, which is the result you need.