If a surface S representing the equation z=f(x,y) is “smooth” near the point P=(x0,y0,z0), where z0=f(x0,y0), then it will have a tangent plane (see Fig. 1). In this section, we will derive the equation of this plane.

Figure 1

Later in this chapter, we will learn under which conditions the surface is smooth.

 

Read more about the derivation of the equation of the tangent plane

 

The equation of the tangent plane to the surface z=f(x,y) at the point P=(x0,y0,z0) is given by:
(*)z=z0+fx(x0,y0)(xx0)+fy(x0,y0)(yy0), where z0=f(x0,y0).

 

  • If fx(x0,y0)=fy(x0,y0)=0, the tangent plane is perpendicular to the z-axis and is given by
    z=z0.

 

  • Because n=(fx(x0,y0),fy(x0,y0),1) is perpendicular to S at (x0,y0,z0), the equation of the line normal to S at the point P is:
    xx0fx(x0,y0)=yy0fy(x0,y0)=zz01.
    If either fx(x0,y0)=0 or fy(x0,y0)=0, the above equation needs to be modified.
Example
Find the tangent plane and the normal line to the surface S given by z=x2yx+2 at the point (1,0,1).
Solution
First we calculate zx(1,0) and zy(1,0):
zx=2xy1zx(1,0)=1
zy=x2zy(1,0)=1
Therefore the equation of the tangent plane at (1,0,1) is:
z=z0=1+zx(x0,y0)=1(xx0=1)+zy(x0,y0)=1(yy0=0)
z=1(x1)+y

The equation of the line normal to S at (1,0,1) is:
x11=y01=z11