Let $$A=\begin{pmatrix}5&-10&-15\\ -1&2&3\\2&-4&-6\end{pmatrix}\in \mathbb R^{3\times 3}.$$
Fix $v\in\mathbb R^3$. How can I find $$\min_{b\in \ker A}\|b-v\| \ \ ?$$
I know that I can find an orthonormal basis of $\ker A$, complete in a orthonormal basis of $\mathbb R^3$ and then take the orthogonal projection of $v$ onto $\ker A$. But I would like to use the mean square method. But I know how to use it only if I have to minimize $\min_{u\in\mathbb R^3}\|Au-c\|$ when column of $A$ are linearly independent.
Hint
Compute $\ker(A)$. Let say it's $Span\{v_1,v_2\}$. Then Apply the method you know with the matrix $$M=(v_1\ v_2)\in \mathcal M_{3\times 2}(\mathbb R).$$