I'm trying to derive the expression of the time evolution operator, $\hat U$, in terms of the Hamiltonian of a system, $\hat H$. This operator $\hat U$ is defined so that $\Psi(x,t)=\hat U(t)\Psi(x,0)$.
My attempt at a solution
I have substituted $\Psi(x,t)$ by $\hat U(t)\Psi(x,0)$ in the time-dependent Schrödinger equation:
$$\hat{H} \Psi(x,t)=i \hbar \frac{\partial}{\partial t}\Psi(x,t)$$
$$\hat{H}\left(\hat{U}(t) \psi(x, 0)\right)=i \hbar \frac{\partial}{\partial t}\left(\hat{U}(t) \psi(x, 0)\right)$$
At this point I make two assumptions of which I am not very sure: $(1)$ I assume that $\psi(x, 0)\neq0$, and that I can divide by it the equation, and $(2)$ I assume such a thing as dividing by an operator can be done. This leads us to
$$\frac{1}{\hat U} \frac{\partial \hat U}{\partial t}=- \frac {i} {\hbar}\hat H $$
Integrating, and supposing that the constant of integration can be taken to be $1$, I get the expression we where looking for:
$$\hat{U}(t)=\exp \left(-\frac{i t}{\hbar} \hat{H}\right)$$
The result I get is correct, but is the process I have followed valid?