A curve $C$ has equation $\tan y=x$, for $x>0$.
(i) Use implicit differentiation to show that $$
\frac{\mathrm d^2y}{\mathrm dx^2}
=-2x\left(\frac{\mathrm dy}{\mathrm dx}\right)^2.
$$ [3]
(ii) Hence find the value of $\dfrac{\mathrm d^2y}{\mathrm dx^2}$ at the point $\left(1,\frac{\pi}{4}\right)$ on $C$. [2]