Introduction

A real-valued function may be called a scalar field. The word ‘field’ indicates a mathematical structure that assigns a concrete object of a certain fixed type to every point in space. A function may be interpreted as assigning a scalar value, the output , to each point in space.

A vector field assigns a vector value to each point of space. The data of a vector field can be conveyed as a collection of coordinate functions, where each coordinate function takes a point in space as input:

(In 3D, the vector field has 3 coordinate functions.) We can also represent the same data as:

Attachments/Pasted image 20231020124504.png
Attachments/Pasted image 20231020124534.png
Vector fields in 3D are harder to visualize:
Attachments/Pasted image 20231020125001.png
Vector fields are often used to represent a fluid flow (the vector gives flow velocity) or a force field (vector gives force). Both types of data require the assignment of a vector to each point in space.

Gradient

Given a function , a natural vector field may be formed using its partial derivative functions. This is called the gradient of , and is called the potential function of this vector field:

In 3D, the gradient of has components .

Recall that the partial is large when increases steeply in the direction, and it is large and negative when increases steeply in the direction. These facts generalize with the combined components: points in the direction of steepest increase of . This can be understood by recalculating the formula for :

Gradient and directional derivative

If we consider unit vectors pointing in various directions, we see that the greatest value of occurs when aligns with . This means that points in the direction in which is largest, i.e. the direction of steepest incline.

Gradient (part 2)

Attachments/Pasted image 20231020130900.png
Attachments/Pasted image 20231020131013.png

The level curves of a function are the sets of points satisfying for various . The gradient vector is perpendicular to the level curves:
Attachments/Pasted image 20231020144022.png

Proposition: Gradient level curves

The level curves to are perpendicular to the gradient vector.

Proof: Let parametrize the level curve , so for all . Then:

so .

This result can be generalized to surfaces. The level surfaces of a function are given by . Any curve in such a level surface satisfies , and therefore . This means the tangent plane to a level surface has normal vector given by at any given point.

Gradient (part 3)

If you follow the gradient vectors, you will go up or down a path of steepest ascent. This is also the path that crosses levels curves most quickly.
Attachments/Pasted image 20231020151007.png