I am given the following derivation in my lectures:
$$\frac{\partial}{\partial t} \langle \hat O \rangle = \frac{\partial}{\partial t}\int_{-\infty}^{\infty} \psi^* \hat O \ \psi \ dx$$
$$\implies \frac{\partial}{\partial t} \langle \hat O \rangle = \int_{-\infty}^{\infty} \frac{\partial}{\partial t}\left(\psi^* \hat O \ \psi \right) \ dx$$
$$\implies \frac{\partial}{\partial t} \langle \hat O \rangle = \int_{-\infty}^{\infty} \frac{\partial \psi^*}{\partial t} \ \hat O \ \psi \ dx + \int_{-\infty}^{\infty} \psi^* \ \hat O \ \frac{\partial \psi}{\partial t} \ dx$$
Which doesn't make sense to me. $\hat O$ and $\frac{\partial}{\partial t}$ are both linear operators, and for the farthest-right integral in the last line above, the implication is..
$$\frac{\partial}{\partial t} \left( \hat O \ \psi \right) = \hat O \ \frac{\partial \psi}{\partial t}$$
Which implies, generally, for two linear maps $S$ and $T$ respectively, applying to vector $\psi$ in vector space $H$ that
$$(S \ \circ\ T)(\psi) = (T \ \circ \ S)(\psi)$$ which is untrue, as far as I'm aware. The only situation where it might perhaps be true is if they are inverse maps of eachother, but this exception cannot prove the derivation generally which it aims to do.
What's going on here? Is it because $$\frac{\partial}{\partial t} \left( \hat O \ \psi \right) = \frac{\partial \hat O}{\partial t} \psi + \hat O \frac{\partial \psi}{\partial t}$$
If so, I suppose this is true, although in general, I find the concept of $\frac{\partial \hat O}{\partial t} $ generally weird if $\hat O$ is not applied to $\psi$ or anything.