Tutorials › Calculus III › Graph Surfaces and Their Tangent Geometry

Parametrized Surfaces · Tutorial 831 of 999

Graph Surfaces and Their Tangent Geometry

Learn how a graph’s partial derivatives determine its tangent directions and upward-pointing normal vector.

Intermediate 10 min read

What You'll Learn

  • Write the graph of a function as a parametrized surface over its domain.
  • Compute the coordinate tangent vectors from the partial derivatives.
  • Derive the cross-product formula for an upward normal.
  • Distinguish an unnormalized normal from a unit normal.
  • Check tangent vectors and normals using dot products and lengths.

Graphs as Parametrized Surfaces

A function of two variables can be pictured as a surface in three-dimensional space: each input \((x,y)\) determines a height \(z=f(x,y)\). When \(f\) is differentiable, its partial derivatives describe how the height changes in the two coordinate directions. Those changes determine the surface’s tangent vectors and normal direction.

To make this description precise, let \(D\) be a region in the \(uv\)-plane, and let \(f\) be a continuously differentiable function on an open set containing \(D\). The graph over \(D\) consists of points \((u,v,f(u,v))\). Using \(u,v\) as parameters gives a map from the parameter domain into three-dimensional space.

Definition: The graph of \(f\) over \(D\) is parametrized by \( \mathbf{r}(u,v)=(u,v,f(u,v)) \), for \((u,v)\in D\). Its coordinate tangent vectors are the partial derivatives \( \mathbf{r}_u \) and \( \mathbf{r}_v \). An upward normal is a normal vector whose third component is positive.

The parameters \(u\) and \(v\) give the horizontal coordinates directly. Holding one parameter fixed and varying the other traces a coordinate curve on the graph. The corresponding tangent vectors describe the instantaneous directions of those curves.

Coordinate Tangent Vectors

Differentiate the parametrization component by component. When \(v\) is held fixed, changing \(u\) changes the first coordinate at rate \(1\), the second at rate \(0\), and the height at rate \(f_u(u,v)\). When \(u\) is held fixed, the corresponding rates are \(0\), \(1\), and \(f_v(u,v)\). Thus

$$ \mathbf{r}_u(u,v)=(1,0,f_u(u,v)), \qquad \mathbf{r}_v(u,v)=(0,1,f_v(u,v)). $$

These vectors are linearly independent at every point where they are defined. Indeed, if \(a\mathbf{r}_u+b\mathbf{r}_v=\mathbf{0}\), the first component gives \(a=0\), and the second gives \(b=0\). Consequently their cross product is nonzero, so it supplies a normal direction at every such point.

More generally, if the parameters change instantaneously at rates \(a\) and \(b\), the corresponding tangent direction is the linear combination

$$ a\mathbf{r}_u+b\mathbf{r}_v = (a,b,af_u+bf_v). $$

This expression shows how the graph’s height changes along a chosen direction in its parameter domain. The tangent vectors and their combinations describe local directions along the surface; the normal vector, by contrast, is perpendicular to those directions.

Deriving the Upward Normal

For vectors in three dimensions, the cross product is perpendicular to both factors. Apply it in the parameter order \(\mathbf{r}_u\times\mathbf{r}_v\). Computing the determinant gives

$$ \begin{aligned} \mathbf{r}_u\times\mathbf{r}_v &= \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k}\\ 1 & 0 & f_u\\ 0 & 1 & f_v \end{vmatrix}\\ &=(-f_u,-f_v,1). \end{aligned} $$

The third component is \(1\), which is positive. Therefore this cross product points upward and is an upward normal. Reversing the cross-product order changes its sign: \(\mathbf{r}_v\times\mathbf{r}_u=(f_u,f_v,-1)\), which points downward.

Theorem: If \(f\) is continuously differentiable, then the graph parametrization \( \mathbf{r}(u,v)=(u,v,f(u,v)) \) has coordinate tangent vectors \( (1,0,f_u) \) and \( (0,1,f_v) \). Their cross product in that order is the upward normal \( (-f_u,-f_v,1) \).

Here is a direct verification of perpendicularity. Using the components of the vectors,

$$ \begin{aligned} (-f_u,-f_v,1)\cdot(1,0,f_u)&=-f_u+f_u=0,\\ (-f_u,-f_v,1)\cdot(0,1,f_v)&=-f_v+f_v=0. \end{aligned} $$

Thus the vector is perpendicular to each coordinate tangent vector. Since every tangent direction of the parametrization is a linear combination of those two vectors, it is perpendicular to every such direction as well.

The cross product gives a normal vector, but it need not have length \(1\). Its length is

$$ \left\|(-f_u,-f_v,1)\right\| = \sqrt{f_u^2+f_v^2+1}. $$

This length is always positive because its square is at least \(1\). Dividing by it gives the upward unit normal:

$$ \widehat{\mathbf{n}}_{\mathrm{up}} = \frac{(-f_u,-f_v,1)} {\sqrt{1+f_u^2+f_v^2}}. $$

The positive third component is essential to the word “upward.” The unnormalized normal is often convenient for calculations, while the unit normal is required whenever a direction vector of length \(1\) is needed.

Worked Example: A Paraboloid

Worked Example: A Paraboloid

Find the coordinate tangent vectors, an upward normal, and the upward unit normal to the graph \(z=u^2+v^2\) at \((u,v)=(1,-1)\). Check the results.

Here \(f(u,v)=u^2+v^2\). Its partial derivatives are

$$ f_u(u,v)=2u,\qquad f_v(u,v)=2v. $$

At \((1,-1)\), the height is \(f(1,-1)=1+1=2\), so the surface point is \((1,-1,2)\). The partial derivatives there are \(f_u=2\) and \(f_v=-2\). Therefore

$$ \mathbf{r}_u=(1,0,2), \qquad \mathbf{r}_v=(0,1,-2). $$

The upward normal is their cross product:

$$ \mathbf{r}_u\times\mathbf{r}_v = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k}\\ 1 & 0 & 2\\ 0 & 1 & -2 \end{vmatrix} =(-2,2,1). $$

Its length is \(\sqrt{(-2)^2+2^2+1^2}=\sqrt{9}=3\). Hence the upward unit normal is \((-2/3,2/3,1/3)\). To check perpendicularity,

$$ (-2,2,1)\cdot(1,0,2)=-2+2=0, \qquad (-2,2,1)\cdot(0,1,-2)=2-2=0. $$

Its third component is positive, and the proposed unit normal has squared length \(4/9+4/9+1/9=1\), as required.

Worked Example: A Saddle-Shaped Graph

Worked Example: A Saddle-Shaped Graph

For \(z=uv\), find the tangent vectors and upward unit normal at \((u,v)=(2,-1)\), and verify the calculations.

Set \(f(u,v)=uv\). Differentiating with respect to each variable gives \(f_u=v\) and \(f_v=u\). At \((2,-1)\), these values are \(-1\) and \(2\), and the height is \(f(2,-1)=-2\). The surface point and coordinate tangent vectors are therefore

$$ \mathbf{r}(2,-1)=(2,-1,-2),\qquad \mathbf{r}_u=(1,0,-1),\qquad \mathbf{r}_v=(0,1,2). $$

The cross product and its length are

$$ \mathbf{r}_u\times\mathbf{r}_v = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k}\\ 1 & 0 & -1\\ 0 & 1 & 2 \end{vmatrix} =(1,-2,1), \qquad \|(1,-2,1)\|=\sqrt{1+4+1}=\sqrt{6}. $$

Thus the upward unit normal is \((1/\sqrt{6},-2/\sqrt{6},1/\sqrt{6})\). The dot-product checks are

$$ (1,-2,1)\cdot(1,0,-1)=1-1=0, \qquad (1,-2,1)\cdot(0,1,2)=-2+2=0. $$

The normal points upward because its third component is \(1\), and the unit vector has squared length \((1+4+1)/6=1\).

Worked Example: A Trigonometric Graph

Worked Example: A Trigonometric Graph

For \(z=\sin u\cos v\), calculate the coordinate tangent vectors and upward unit normal at \((u,v)=(\pi/3,\pi/4)\). Verify the normal’s direction, perpendicularity, and length.

Let \(f(u,v)=\sin u\cos v\). Its partial derivatives are

$$ f_u=\cos u\cos v,\qquad f_v=-\sin u\sin v. $$

At the specified parameters, \(\cos(\pi/3)=1/2\), \(\sin(\pi/3)=\sqrt{3}/2\), and both \(\sin(\pi/4)\) and \(\cos(\pi/4)\) equal \(\sqrt{2}/2\). Therefore

$$ f_u=\frac{1}{2}\frac{\sqrt{2}}{2}=\frac{\sqrt{2}}{4}, \qquad f_v=-\frac{\sqrt{3}}{2}\frac{\sqrt{2}}{2} =-\frac{\sqrt{6}}{4}. $$

The tangent vectors are \(\mathbf{r}_u=(1,0,\sqrt{2}/4)\) and \(\mathbf{r}_v=(0,1,-\sqrt{6}/4)\). The upward normal is

$$ \mathbf{r}_u\times\mathbf{r}_v = \left(-\frac{\sqrt{2}}{4},\frac{\sqrt{6}}{4},1\right). $$

Its squared length is \(2/16+6/16+1=8/16+1=3/2\), so its length is \(\sqrt{6}/2\). Dividing each component by that length gives

$$ \widehat{\mathbf{n}}_{\mathrm{up}} = \left( -\frac{\sqrt{3}}{6}, \frac{1}{2}, \frac{\sqrt{6}}{3} \right). $$

The third component is positive. The squared length is \(3/36+1/4+6/9=1/12+1/4+2/3=1\). For perpendicularity, the unnormalized normal has dot products \(-\sqrt{2}/4+\sqrt{2}/4=0\) with \(\mathbf{r}_u\), and \(\sqrt{6}/4-\sqrt{6}/4=0\) with \(\mathbf{r}_v\). Normalizing preserves these zero dot products.

A Common Sign and Normalization Error

A frequent mistake is to use the cross product in the wrong order and then call the result upward. For the graph \(z=u^2+v^2\), the vectors at \((1,-1)\) are \((1,0,2)\) and \((0,1,-2)\). Taking \(\mathbf{r}_v\times\mathbf{r}_u\) instead gives \((2,-2,-1)\). Although this is a valid normal, its third component is negative, so it points downward. The correction is to keep the stated order \(\mathbf{r}_u\times\mathbf{r}_v\), giving \((-2,2,1)\), whose third component is positive.

A different error is to divide by the wrong length when forming a unit normal. In the trigonometric example, the normal’s length is \(\sqrt{6}/2\). Its second component is \(\sqrt{6}/4\), so the normalized second component is

$$ \frac{\sqrt{6}/4}{\sqrt{6}/2} = \frac{\sqrt{6}}{4}\frac{2}{\sqrt{6}} = \frac{1}{2}, $$

not \(\sqrt{3}/2\). Checking that all three components have squared lengths summing to \(1\) is a useful way to catch normalization errors.

Why the Formulas Are Useful

For a graph, the horizontal coordinates of the parametrization are simply the parameters themselves. This makes the tangent vectors especially direct: their first two components are \((1,0)\) and \((0,1)\), while their vertical components are the partial derivatives of the height function. The normal formula follows immediately from those vectors and fixes the upward orientation without guesswork.

When applying the formulas, keep the steps distinct: differentiate \(f\), substitute the parameter values, form the cross product in the chosen order, and normalize only if a unit normal is required. At the end, check that the normal has positive third component, that its dot products with both tangent vectors vanish, and—if it is a unit normal—that its length is \(1\).

Check Your Understanding

Use the graph parametrization and normal formulas to answer these questions.

  1. For \(z=3u-v^2\), what are \(\mathbf{r}_u\), \(\mathbf{r}_v\), and the upward normal at \((u,v)=(1,2)\)?
  2. Why does \(\mathbf{r}_u\times\mathbf{r}_v\) point upward for every differentiable graph of the stated form?
  3. What changes when the cross-product order is reversed?
  4. For \(z=\sin u\cos v\), what are \(f_u\) and \(f_v\)?
  5. What checks show that a computed vector is an upward unit normal?