By studying directional derivatives and their relationship to the gradient, we observed that the gradient of a function is always perpendicular to its level curves. That is, we proved the following theorem.

Now, suppose we have a curve defined implicitly. For example, the Folium of Descartes is the curve defined by the equation

Suppose we wanted to find an equation for the tangent line to this curve at the point . Using our knowledge from single variable calculus, there are a couple ways we could approach this problem. We could try to solve for in terms of , and use the standard single variable methods to find an equation for the tangent line. We could also use implicit differentiation, and find an equation for the tangent line that way.

We will now introduce a new method for finding an equation for the tangent line to this curve, that will use our above observations about the gradient of a function and level sets.

Tangent lines

Tangent planes

We can use a similar method to find equation for tangent planes to surfaces.