I have an SDE $$d X_t = \left(a(t) + b(t) X_t\right) dt + \left(c(t) + e(t) X_t\right) dW_t $$ where $a, b, c, e$ are deterministic functions.
I would like to derive the ODE for $s(t) = \mathrm{Var}(X_t)$.
I have come up with a derivation, but I don't know how to formalize it.
$$ \begin{aligned} \mathrm{Var}(X_{t+dt}) &= \mathrm{Var}(X_{t+dt}) \\ &= \mathrm{Var}(X_t + dX_t) \\ &= \mathrm{Var}(X_t + \left(a(t) + b(t) X_t\right) dt + \left(c(t) + e(t) X_t\right)dW_t) \\ &= \mathrm{Var}(X_t) + b(t)^2 dt^2 \mathrm{Var}(X_t) + c(t)^2 dt + e(t)^2 \left(\mathrm{Var}(X_t) + E(X_t)^2\right)dt + \text{cov terms} \end{aligned} $$
If I continue by dropping the $dt^2$ and $dW_t dt$ terms above, I'm able to derive an ODE.
Is it okay to do this? If so, is there a theorem I could use here?