I have a quantum mechanics problem asking me to prove that the commutator of $x$ and $p$ is equal to some value. In my computation I get something along the lines of
$$ (a*x) \frac{d}{dx} - (b)\frac{d(x)}{dx} $$
Is this expression equivalent to the expression
$$ (a*x) \frac{d(\textbf{1})}{dx} - (b)\frac{d(x)}{dx} $$ Where $\textbf{1}$ is the one function, not the number one.
$\frac{d}{dx}:C^1 \to C$ is an operator, while $\frac{d1}{dx}$ is a function of $x$.
Here $C^1$ denotes the space of first order differentiable functions, and $C$ denotes continuous functions.