Suppose that i have some function $f:\mathbb{R}^3 \rightarrow \mathbb{R}$, and a point $P$ in space where $f$ is differentiable. Now, i want to find the equation of a plane $L$ such that $L$ is tangent to the level surface where $P$ is located. So, for example: $f(x,y,z) = \frac{1}{x^2 + y + z^2}$, and the point $P=(2,-7,2)$. So, what i did was:
1) Calculate the value of $f$ in $P$. This will be the value of the surface level.
$f(x,y,z) = \frac{1}{1} = 1$.
2) Find the equation for the surface level:
$1 = \frac{1}{x^2+y+z^2} \implies z = \sqrt{1-x^2-y}$
3) Calculate the value of the derivatives:
$\frac{\partial z}{\partial x} = -1$
$\frac{\partial z}{\partial y} = -\frac{1}{4}$
4) Use the equation of a tangent plane:
$z-z_0 = \frac{\partial z}{\partial x}(x-x_0) + \frac{\partial z}{\partial y}(y-y_0)$
so
$z-2 = -(x-2) -\frac{1}{4}(y+7)$.
Is this method correct?