I am trying to find the distance from point $(8, 0, -6)$ and plane $x+y+z = 6$. I tried solving it but I am still getting it wrong. Can anyone help me on this? Any help I would very much appreciate.
The following is my work:
$$d = \sqrt{(x-8)^2 + (y-0)^2 + (z+6)^2}$$
since $x+y+z = 6$, $z = 6-x-y$, so
\begin{align*} d &= \sqrt{(x-8)^2 + (y-0)^2 + (-x-y+12)^2} \\ d^2 &= (x-8)^2 + (y-0)^2 + (-x-y)^2 \end{align*}
Find partial derivative $f_x$ and $f_y$ and critical points
\begin{align*} f_x &= 2(x-8) + 2(-x-y+12) \\ &= 24-2y \quad (\text{set }= 0) \\ &= \text{critical point }y = 4 \\ f_y &= 2y + 2(-x-y+12) \\ &= 24 - 2x \quad (\text{set }= 0) \\ &= \text{critical point }x = 12 \\ \end{align*}
Plug in $x = 12$ and $y = 4$ to original equation
$$d = \sqrt{(x - 8)^2 + (4)^2 + (-12-4+12)^2} = \sqrt{48}$$
It's $$\frac{|8+0-6-6|}{\sqrt{1^2+1^2+1^2}}=\frac{4}{\sqrt3}.$$ I used the following formula.
The distance from the point $(x_1,y_1,z_1)$ to the plane $ax+by+cz+d=0$ it's $$\frac{|ax_1+by_1+cz_1+d|}{\sqrt{a^2+b^2+c^2}}.$$
Also, we can end your way.
Indeed, by C-S $$\sqrt{(x-8)^2+y^2+(z+6)^2}=\frac{1}{\sqrt3}\sqrt{(1^2+1^2+1^2)((x-8)^2+y^2+(z+6)^2)}\geq$$ $$\geq\frac{1}{\sqrt3}\sqrt{(x-8+y+z+6)^2}=\frac{4}{\sqrt3}$$ and we got the distance again.