What is the derivative of $x^2+C$, except if $C$ was set to the imaginary unit $i$? It wouldn't be possible to take, or would it simply be $2x$?
2026-05-17 08:09:10.1779005350
On
Is the derivative of $x^2 + C$?
167 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
4
There are 4 best solutions below
2
On
As others have said, if $x \in \mathbb{R}$, then $\frac{d}{dx} (x^2 + C) = 2x$, even if $C \in \mathbb{C}$.
However, this is not generally true if $x$ is complex-valued. Differentiability of complex functions is different than for real-valued functions.
As it turns out, if $x = a+bi$, then we have $x^2+C = (a^2-b^2) + 2abi + C$.
Let $u$ denote the real part and $v$ denote the imaginary parts of this function. Then,
$$\frac{du}{da} = 2a = \frac{dv}{db}$$ and $$\frac{du}{db} = -2b = -\frac{dv}{da}$$
Therefore, by coincidence, the complex-valued version of the function is differentiable, as well. But this is not necessarily the case for an arbitrary polynomial (and in fact is almost never the case).
We have, for any constant $C$, as $h \to 0$, $$ \frac{f(x+h)-f(x)}{h}=\frac{(x+h)^2+C-x^2-C}{h}=2x+h \to 2x. $$