Assume that \(f(x,y)\) is a function of two variables. Its graph is a surface \(z=f(x,y)\). Our goal is to find an equation of the tangent plane passing trough a point \(A(x_0,y_0,z_0)\) on the surface.

In the picture above, you can see a graph of a surface \(z=f(x,y)\) and a point \(A\) on that graph. Our goal is to find the equation of the shaded plane. In order to do this, we just need to find the coordinates of the normal vector \(\overrightarrow{n}\).

Recall that in the single variable calculus, the quantity \(f^{\prime}(a)\) represented the *slope of the tangent line* to the graph of \(f\) at the point \(a\). The tangent vector is then equal to \(\overrightarrow T=\langle 1, f^{\prime}(a)\rangle\).

In multivariable calculus, the tangent to the surface is a plane, rather than a vector. The quantity \(f_x(x_0,y_0,z_0)\) also represents a slope of a certain vector. This vector belongs to the tangent plane, and is parallel to the \(xz\) plane. Let us call this vector \(\overrightarrow T_x\). Let us find its coordinates, i.e. let us find real numbers \(p\), \(q\), and \(r\) such that \[\overrightarrow T_x=\langle p,q,r\rangle.\]
First of all \(q\) is easy to find. It is equal to \(0\). The coordinates \(p\) and \(r\) are obtained in the same way as in single-variable calculus. We may take \(p=1\) and \(r=f_x(x_0,y_0)\). Therefore we have \[\overrightarrow T_x(x_0,y_0)=\langle 1,0,f_x(x_0,y_0)\rangle.\] Similarly, we obtain another vector that belongs to the tangent plane: \[\overrightarrow T_y(x_0,y_0)=\langle 0,1,f_y(x_0,y_0)\rangle.\]
And now we use a magnificent trick: Normal vector can be obtained as a cross product of \(\overrightarrow T_x\) and \(\overrightarrow T_y\). Thus:

\[\overrightarrow n(x_0,y_0)=
\overrightarrow T_x\times\overrightarrow T_y=\left|\begin{array}{ccc} \overrightarrow i& \overrightarrow j & \overrightarrow k \newline 1 & 0 & f_x \newline 0 & 1 & f_y \end{array}\right|=\langle -f_x,-f_y,1\rangle.
\]
We have obtained the following theorem:

Assume that the surface \(S\) is given by its parametric equations: \begin{eqnarray*} x&=& X(s,t)\\ y&=& Y(s,t)\\ z&=&Z(s,t), \end{eqnarray*} where \(X\), \(Y\), and \(Z\) are differentiable functions of two variables. Assume that we want to find the tangent plane to the surface \(S\) at the point \((x_0,y_0,z_0)\). Since each point of \(S\) is obtained when a particular pair \((s,t)\) is plugged into the equations above, we may assume that there exists a pair \((x_0,y_0)\) such that \((x_0,y_0,z_0)=(X(s_0,t_0),Y(s_0,t_0),Z(s_0,t_0))\). Consider the function \(\overrightarrow R(s,t)=\langle X(s,t), Y(s,t), Z(s,t)\rangle\).

We will now solve the same problem as in Example 2 by parametrizing the ellipsoid.

**(A)**\(x+y+z=5\cos s+5\sin s+t\)**(B)**\(3(x-5\cos s)+4(y-5\sin s)+(z-t)=0\)**(C)**\(z=5x+5y\)**(D)**\(4(x-3)+3(y-4)=0\)**(E)**\(3x+4y=25\)

**(A)**\(z=7-x-y\)**(B)**\(3(x+1)+(y+3)+z=0\)**(C)**\(3(x-1)+(y-3)+z-2=0\)**(D)**\(z=x+2y+3\)**(E)**\(x+y+z=1\)

**(I)**The vector \(\overrightarrow a\times \overrightarrow b\) is also a vector in the tangent plane \(\alpha\).**(II)**The vector \(\overrightarrow a+\overrightarrow b\) is also a vector in the tangent plane \(\alpha\).**(III)**The vector \(\overrightarrow a\times \overrightarrow b\) is a vector normal to the tangent plane \(\alpha\).

**(A)**The propositions**(I)**and**(II)**are true for every surface \(S\).**(B)**The propositions**(I)**and**(III)**are true for every surface \(S\).**(C)**The propositions**(II)**and**(III)**are true for every surface \(S\).**(D)**All three propositions**(I)**,**(II)**, and**(III)**are true for all surfaces \(S\).**(E)**There is a surface \(S\) for which none of the above propositions is true.