A curve $C$ in the $x-y$ plane is such that the line joining the origin to any point $P(x,y)$ on the curve and the line parallel to the $y$ axis through P are equally inclined to the tangent to the curve at P. Find the differential equation of the curve $C$.
Slope of the line from origin to $P(x,y)$ will be $\frac{y}x = m1$
Slope of the line from $P$ parallel to y axis = $\tan(90) = m2$
I am having trouble proceeding from here.
According to the specifications we have
$$ \frac{dy}{dx} = \tan\left(\frac{\arctan(\frac yx)+\frac{\pi}{2}}{2}\right) $$
hence
$$ \frac{dy}{dx} = \frac{\sin \left(\frac{1}{2} \tan ^{-1}\left(\frac{y}{x}\right)\right)+\cos \left(\frac{1}{2} \tan ^{-1}\left(\frac{y}{x}\right)\right)}{\cos \left(\frac{1}{2} \tan ^{-1}\left(\frac{y}{x}\right)\right)-\sin \left(\frac{1}{2} \tan ^{-1}\left(\frac{y}{x}\right)\right)} = \frac{y}{x}+\sqrt{\frac{y^2}{x^2}+1} $$
The solution to this DE is
$$ y = -x \sinh\left(C_0-\log x\right) $$