18 Introduction
At the end of our course, we will dive into one of the areas in mathematics where all the tools we’ve developed come together: the calculus of vector fields. A vector field is a function which assigns a vector to each point in space. We have mostly been dealing with scalar functions so far, which assign a single number to each point, but we have of course met one very important example of a vector field, the Gradient.
We are very familiar with vector fields from day-to-day life however, for example the wind vector field which assigns each point
Vector fields are ubiquitous throughout science. Generalizing the wind example above, they play a role in our mathematical modeling of all fluids, where we track a scalar quantity (the pressure) as well as a vector quantity (the velocity) at each point in space. Below the pressure field is shown in color (warmer colors = high pressure, cool colors = low pressure) superimposed with the velocity field drawn as arrows.
Electricity and magnetism are given by force fields, which assign to each point in space a vector from which one can compute the force felt by an object at that location (for the Electric field, this force is directly in the direction given by the vector, for the magnetic field, the force is in the direction of the cross product of this vector with the object’s velocity)
The force of gravity is also descried by a force field, with vectors pointed in the direction an object is pulled by gravity (more on this below!).
The take away here is that vector fields, just like scalar fields, show up all over in mathematics and the sciences, so we should like to extend our theory of multivariable calculus to include them as well. In this brief introductory section we look at how to write down vector fields and how to plot them; in the following sections we will consider their derivatives (curl and divergence) and their integrals (line and surface integrals of vector fields).
18.1 Working with Vector Fields
We will write things down for the 2 dimensional case here, but everything we say applies in all higher dimension (and, we will give 3D examples to follow). A 2 dimensional vector has two components
or, if we wish to use the basis vector notation,
And similarly in 3 dimensions where we may write
The constant vector fields
Other vector fields vary in magnitude but not direction, by taking a fixed vector and scalar multiplying it by a function of
The vector fields
Or, a vector field can vary in direction without changing magnitude, such as a field of all unit vectors. Such a vector field can be written down by taking any nonzero vector field and dividing by its magnitude, for example.
The vector fields
General vector fields vary in both magnitude and direction, like the wind. Here’s a quick desmos program that you can use to draw your own
And below is another graphing calculator I wrote that you can use to plot vector fields in the plane.
18.1.1 Example: Gravity
Let’s try to use vector fields to write down the gravitational force. First, let’s start with Galileo’s approximation that gravity is constant and pointed straight down towards the surface of the earth.
If we model space here as the
This approximation works perfectly well on the surface of the earth, as we know from mathematical modeling experience in highschool or introductory college physics (where, neglecting air resistance, one finds that objects thrown into the air follow parabolas.) However at the larger scale of planetary dynamics, Newton proposed an updated law, which reads like this in words:
The gravitational acceleration of experienced from an object points in the direction of that object, and has magnitude proportional to the mass of the object divided by the square of the distance that object is away.
Let’s convert this into a formula for the gravitational field
Because we are given information about both the direction and magnitude in the description, it might be useful to record this direction as a unit vector so all the magnitude information can be scalar multipled by it. This gives
The distance to the origin is
Multiplying this by the direction gives the acceleration, and the force is given by then further multiplying by the mass of you (the object at