I know the second derivative of y wrt x: $\frac{d^2y}{dx^2}$ means $\frac{d}{dx}(\frac{dy}{dx})$, but is there a mathematical reason you square the $d$ in the numerator but the $x$ in the denominator?
I've wondered if it's because the $d$ in the denominator represents some arbitrary infinitely tiny amount, and the $d$ in the numerator is that same $d$, only squared to account for the second derivative.
Does that make sense, and/or am I missing something significant about derivatives?