Prove that the tangent plane to $x^2+y^2+z^2=50$ at $(3,4,5)$ is $3x+4y+5z=50$
My workings are shown below but get the answer wrong completly, have I made a simple mistake is my method flawed.
So if the surface is said to be $f(x,y,z)$ then $$\frac{\partial f}{\partial x}=2x\qquad \frac{\partial f}{\partial y}=2y$$
Therefore $f_x(3,4)=6$ and $f_y(3,4)=8$
Now using the $$z=f(a,b)+(x-a)f_x(a,b)+(y-b)f_y(a,b)$$ I get a plane with the equation $$z=5+(x-3)(6)+(y-4)(8)$$ $$z=6x+8y-45$$
Any help on how to get the correct answer would be apprciated.
A few comments:
However, hope is not lost. The given point $(3,4,5)$ lies on the upper hemisphere, and a hemisphere is the graph of a function $z=f(x,y)$. What function is it? Well in this case we have $$z^{2}=50-x^{2}-y^{2}$$ so the top hemisphere is given by $$z=\sqrt{50-x^{2}-y^{2}}=(50-x^{2}-y^{2})^{1/2}$$ This is our $f(x,y)$. I'll point out that the lower hemisphere is given by $-f(x,y)$. Now, with this $f$, we have $$\frac{\partial f}{\partial x}=\frac{1}{2}(50-x^{2}-y^{2})^{-1/2}\cdot(-2x)$$ and $$\frac{\partial f}{\partial y}=\frac{1}{2}(50-x^{2}-y^{2})^{-1/2}\cdot(-2y)$$
Plugging in $x=3,y=4$ we have $$f_{x}(3,4)=-\frac{3}{5}$$ and $$f_{y}(3,4)=-\frac{4}{5}$$ Since $f(3,4)=5$, the tangent plane has equation $$z=5-\frac{3}{5}(x-3)-\frac{4}{5}(y-4)$$ which, after some algebra, becomes $$3x+4y+5z=50$$