What point on the line $y=2x+4$ is closest to the origin in $\mathbb{R}^2$? What is the distance from this point to the origin?
I know the point closest to the origin is perpendicular to the origin, however I am not sure how to find the specific point. I just know its $(x, 2x+4)$ and the distance is just the norm of $(x, 2x+4)$.

Hint:
The gradient of a perpendicular to a line of gradient $m$ has gradient $-1/m$. So you can find the equation of the perpendicular. Then find where they intersect by solving these two equations simultaneously.