No history yet

Vector Calculus Fundamentals

Fields of Arrows

Imagine a weather map, but instead of showing just temperatures, it shows wind. At every single point on the map, there's an arrow indicating the wind's speed and direction. That's a vector field. It’s a space where every point has a vector attached to it.

In two dimensions, a vector field is a function F\vec{F} that assigns a vector P(x,y),Q(x,y)\langle P(x,y), Q(x,y) \rangle to each point (x,y)(x,y). In three dimensions, it assigns a vector P(x,y,z),Q(x,y,z),R(x,y,z)\langle P(x,y,z), Q(x,y,z), R(x,y,z) \rangle to each point (x,y,z)(x,y,z). These fields can represent forces like gravity or magnetism, or the flow of a fluid like water or air.

Paths Through the Field

Now that we have a field, let's travel through it. A line integral calculates the total effect of a vector field along a given path. Think about walking through a windy city. If the wind is at your back, it helps you along. If it’s in your face, it pushes against you. The line integral adds up all that help and hindrance over your entire journey.

It measures the accumulation of the vector field's component that is parallel to the path.

We write the line integral of a vector field F\vec{F} along a curve CC like this:

CFdr\int_C \vec{F} \cdot d\vec{r}

Here, drd\vec{r} is a tiny vector pointing along the path. The dot product, Fdr\vec{F} \cdot d\vec{r}, isolates the part of the field vector F\vec{F} that points in the same direction as your path. If the field and path are aligned, the contribution is positive. If they are opposed, it's negative. If they're perpendicular, the contribution is zero.

To solve this, we parameterize the curve CC with a function r(t)=x(t),y(t)\vec{r}(t) = \langle x(t), y(t) \rangle for atba \le t \le b. Then, the integral becomes a standard single-variable integral:

abF(r(t))r(t)dt\int_a^b \vec{F}(\vec{r}(t)) \cdot \vec{r}'(t) \,dt

Surfaces in the Field

What if we want to measure how much of something is flowing through a surface, not just along a path? For that, we use a surface integral. Imagine holding a net in a river. A surface integral would calculate the total volume of water passing through your net per second. This is also called flux.

To calculate flux, we need to know the orientation of the surface at every point. This is given by a unit normal vector, n^\hat{n}, which is a vector of length one that is perpendicular to the surface.

Lesson image

The surface integral of a vector field F\vec{F} over a surface SS is written as:

SFdS=SFn^dS\iint_S \vec{F} \cdot d\vec{S} = \iint_S \vec{F} \cdot \hat{n} \,dS

The dot product Fn^\vec{F} \cdot \hat{n} isolates the component of the vector field that is perpendicular to the surface. If the field passes straight through the surface, the flux is high. If it runs parallel to the surface, the flux is zero because nothing is actually crossing it.

Source and Spin

Two key operations in vector calculus, divergence and curl, help us understand the behavior of a vector field at a single point. They use the del operator, \nabla, which in Cartesian coordinates is:

=x,y,z\nabla = \left\langle \frac{\partial}{\partial x}, \frac{\partial}{\partial y}, \frac{\partial}{\partial z} \right\rangle

divergence

noun

A scalar value that measures the rate at which a vector field flows outward from a point.

Divergence tells us if a point is a source or a sink. A positive divergence means the field is expanding or flowing away from the point (a source). A negative divergence means the field is contracting or flowing into the point (a sink). Zero divergence means the flow in equals the flow out, like water in an incompressible fluid. It's calculated with a dot product:

divF=F=Px+Qy+Rz\text{div} \vec{F} = \nabla \cdot \vec{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}

curl

noun

A vector that describes the rotation or circulation of a vector field at a point.

Curl measures the microscopic rotation of the field at a point. Imagine placing a tiny paddlewheel in a flowing river. If the river's current makes the paddlewheel spin, the field has a curl at that point. The curl is a vector: its direction is the axis of rotation (found using the right-hand rule), and its magnitude is the speed of rotation. It's calculated with a cross product:

curlF=×F=ijkxyzPQR\text{curl} \vec{F} = \nabla \times \vec{F} = \\ \begin{vmatrix} \\ \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ P & Q & R \\ \end{vmatrix}

These concepts are the building blocks for the major theorems of vector calculus. Understanding them is key to unlocking a deeper view of how fields behave.