Unit normal vector of a surface
Learn how to find the vector that is perpendicular, or "normal", to a surface. You will need this skill for computing flux in three dimensions.
- Partial derivatives of parametric surfaces
- In particular, make sure you have a strong intuition for the partial derivatives of a function parameterizing a surface, and what they represent.
- Cross product (video)
What we're building to
- If a surface is parameterized by a function , the unit normal vector to this surface is given by the expression
- You always have two choices for a unit vector function. If a surface is closed, like a sphere or a torus, those choices can be interpreted as outward-facing and inward-facing vectors.
- This is useful for the idea of flux in three-dimensions, covered in the next article.
Unit normal vector
Let's say you have some surface, . If a vector at some point on is perpendicular to at that point, it is called a normal vector (of at that point). More precisely, you might say it is perpendicular to the tangent plane of at that point, or that it is perpendicular to all possible tangent vectors of at that point.
When a normal vector has magnitude , it is called a unit normal vector. Notice, there will always be two unit normal vectors, each pointing in opposite directions:
Why do we care? To compute surface integrals in a vector field, also known as three-dimensional flux, you will need to find an expression for the unit normal vectors on a given surface. This will take the form of a multivariable, vector-valued function, whose inputs live in three dimensions (where the surface lives), and whose outputs are three-dimensional vectors.
Example: How to compute a unit normal vector
Consider the surface described by the following parametric function:
In the range where and , here's what that surface looks like:
For what follows, I am assuming you know that the two partial derivatives of a parametric surface give vectors which are each tangent to the surface, but in different directions.
Step 1: Find a (not necessarily unit) normal vector
Concept check: Which of the following will give a vector which is perpendicular to the surface parameterized by at the point ?
This is a pretty complicated expression, with two vector-valued partial derivatives and a cross product. If you have computed some surface integrals before, you are all-too familiar with the expression and how ugly it can be to compute.
Once again, here's how is defined:
Concept check: Now compute the cross product of the partial derivatives of . Do this for a general point , meaning each component of your answer will be a function of and . As described in the previous problem, this will give you a function for normal vectors of the surface.
For example, if we plugged in , here's what we'd get:
This is a vector which is perpendicular to the surface at the point . However, it is not a unit vector, as you can see by computing its magnitude:
Step 2: Make that a unit normal vector
So we have this expression that gives us a normal vector for each point . The next step is to massage this a bit to get an expression for a unit normal vector.
Concept check: What is the unit normal vector to our surface at the point ?
Concept check: More generally, what is the unit normal vector to our surface at an arbitrary point , as a function of and ?
Bada boom bada bang, you've got yourself a unit normal vector.
If you plug in any value to this expression, you will get a vector which has magnitude , and is normal to the surface parameterized by the function at the point .
Notice, if you multiply your function for a unit normal vector by , it will still produce unit normal vectors. They will all just point in the opposite directions. The choice of direction for the unit normal vectors of your surface is what's called an orientation of that surface.
You will see the significance of this in the next article on three-dimensional flux. In short, orienting your surface is analogous to giving a one-dimensional curve a direction.
When your surface is closed, like a sphere or a torus, the two choices for unit normal vectors are often called outward-facing and inward-facing unit normal vectors.
- Given a surface parameterized by a function , to find an expression for the unit normal vector to this surface, take the following steps:
- Step 1: Get a (non necessarily unit) normal vector by taking the cross product of both partial derivatives of :
- Step 2: Turn this vector-expression into a unit vector by dividing it by its own magnitude:
- You can also multiply this expression by , and it will still give unit normal vectors.
- The main reason for learning this skill is to compute three-dimensional flux.
Want to join the conversation?
- Is there any source code for the formulas on this page? I want to work with calculating the xyz points representing the 3D surface.
- I think the cross product result in explanation's picture of step 1 question has wrong direction(2 votes)