Vector Calculus
Vector Fields
A vector field is an assignment of a vector to each point in a subset of Euclidean space.Learning Objectives
Describe construction of vector fieldsKey Takeaways
Key Points
- A vector field in the plane, for instance, can be visualized as a collection of arrows with a given magnitude and direction each attached to a point in the plane.
- Vector fields can be constructed out of scalar fields using the gradient operator.
- Vector fields can be thought to represent the velocity of a moving flow in space, and this physical intuition leads to notions such as the divergence (the rate of change of volume of a flow) and curl (the rotation of a flow).
Key Terms
- vector field: a construction in which each point in a Euclidean space is associated with a vector; a function whose range is a vector space
- bijective: both injective and surjective
Fig 1
Gradient field: Vector fields can be constructed out of scalar fields using the gradient operator (denoted by the del: ∇). A vector field V defined on a set S is called a gradient field or a conservative field if there exists a real-valued function (a scalar field) f on S such that:
The associated flow is called the gradient flow.
Examples
- A vector field for the movement of air on Earth will associate for every point on the surface of the Earth a vector with the wind speed and direction for that point.
- A gravitational field generated by any massive object is a vector field. For example, the gravitational field vectors for a spherically symmetric body would all point towards the sphere's center, with the magnitude of the vectors reducing as radial distance from the body increases.
- Magnetic field lines can be revealed using small iron filings.
- In the case of the velocity field of a moving fluid, a velocity vector is associated to each point in the fluid.
Conservative Vector Fields
A conservative vector field is a vector field which is the gradient of a function, known in this context as a scalar potential.Learning Objectives
Identify properties of conservative vector fieldsKey Takeaways
Key Points
- Conservative vector fields have the following property: The line integral from one point to another is independent of the choice of path connecting the two points; it is path-independent.
- Conservative vector fields are also irrotational, meaning that (in three dimensions) they have vanishing curl.
- A vector field is said to be conservative if there exists a scalar fieldsuch that.
Key Terms
- vector field: a construction in which each point in a Euclidean space is associated with a vector; a function whose range is a vector space
- bijective: both injective and surjective
Conversely, path independence is equivalent to the vector field's being conservative. Conservative vector fields are also irrotational, meaning that (in three dimensions) they have vanishing curl. In fact, an irrotational vector field is necessarily conservative provided that a certain condition on the geometry of the domain holds: it must be simply connected.
Definition: A vector field
For any scalar field
Fig 1: The above field
Path Independence
A key property of a conservative vector field is that its integral along a path depends only on the endpoints of that path, not the particular route taken. Suppose that
Line Integral Over Scalar Field: The line integral over a scalar field
Line Integrals
A line integral is an integral where the function to be integrated is evaluated along a curve.Learning Objectives
Calculate the value of a line integralKey Takeaways
Key Points
- The value of the line integral is the sum of the values of the field at all points on the curve, weighted by some scalar function on the curve (commonly arc length or, for a vector field, the scalar product of the vector field with a differential vector in the curve).
- Many simple formulae in physics (for example, ) have natural continuous analogs in terms of line integrals (). The line integral finds the work done on an object moving through an electric or gravitational field, for example.
- In qualitative terms, a line integral in vector calculus can be thought of as a measure of the total effect of a given field along a given curve.
Key Terms
- vector field: a construction in which each point in a Euclidean space is associated with a vector; a function whose range is a vector space
- bijective: both injective and surjective
The function to be integrated may be a scalar field or a vector field. The value of the line integral is the sum of the values of the field at all points on the curve, weighted by some scalar function on the curve (commonly arc length or, for a vector field, the scalar product of the vector field with a differential vector in the curve). This weighting distinguishes the line integral from simpler integrals defined on intervals. Many simple formulae in physics (for example,
In qualitative terms, a line integral in vector calculus can be thought of as a measure of the total effect of a given field along a given curve. More specifically, the line integral over a scalar field can be interpreted as the area under the field carved out by a particular curve. This can be visualized as the surface created by

Line Integral Over Scalar Field: The line integral over a scalar field
Line Integral of a Scalar Field
For some scalar fieldwhere
Line Integral of a Vector Field
For a vector fieldwhere
Fundamental Theorem for Line Integrals
Gradient theorem says that a line integral through a gradient field can be evaluated from the field values at the endpoints of the curve.Learning Objectives
Discuss application of the gradient theorem in physicsKey Takeaways
Key Points
- The gradient theorem implies that line integrals through irrotational vector fields are path-independent.
- Work done by conservative forces, described by a vector field, does not depend on the path followed by the object, but only the end points, as the above equation shows.
- Any conservative vector field can be expressed as the gradient of a scalar field.
Key Terms
- differentiable: having a derivative, said of a function whose domain and co-domain are manifolds
- vector field: a construction in which each point in a Euclidean space is associated with a vector; a function whose range is a vector space
- conservative force: a force with the property that the work done in moving a particle between two points is independent of the path taken
Let
It is a generalization of the fundamental theorem of calculus to any curve in a plane or space (generally
The gradient theorem implies that line integrals through irrotational vector fields are path-independent. In physics this theorem is one of the ways of defining a "conservative force." By placing
Electric Field Lines of a Positive Charge: Electric field lines emanating from a point where positive electric charge is suspended over a negatively charged infinite sheet. Electric field is a vector field which can be represented as a gradient of a scalar field, called electric potential. Therefore, electric force is a conservative force.
Proof
IfNow suppose the domain
where the definition of the line integral is used in the first equality and the fundamental theorem of calculus is used in the third equality.
Green's Theorem
Green's theorem gives relationship between a line integral around closed curveLearning Objectives
Explain the relationship between the Green's theorem, the Kelvin–Stokes theorem, and the divergence theoremKey Takeaways
Key Points
- Green's theorem is a special case of the Kelvin–Stokes theorem, when applied to a region in the -plane.
- Considering only two-dimensional vector fields, Green's theorem is equivalent to the two-dimensional version of the divergence theorem.
- Green's theorem can be used to compute area by line integral.
Key Terms
- double integral: An integral extended to functions of more than one real variable
- line integral: An integral the domain of whose integrand is a curve.
Let
where the path of integration along
In physics, Green's theorem is mostly used to solve two-dimensional flow integrals, stating that the sum of fluid outflows at any point inside a volume is equal to the total outflow summed about an enclosing area. In plane geometry and area surveying, Green's theorem can be used to determine the area and centroid of plane figures solely by integrating over the perimeter.
Green's theorem is a special case of the Kelvin–Stokes theorem, when applied to a region in the
Computing area by line integral:
Curl and Divergence
The four most important differential operators are gradient, curl, divergence, and Laplacian.Learning Objectives
Calculate the direction and the magnitude of the curl, and the magnitude of the divergenceKey Takeaways
Key Points
- The curl is a vector operator that describes the infinitesimal rotation of a three-dimensional vector field.
- The direction of the curl is the axis of rotation, as determined by the right-hand rule, and the magnitude of the curl is the magnitude of rotation.
- Divergence is a vector operator that measures the magnitude of a vector field's source or sink at a given point in terms of a signed scalar.
Key Terms
- gradient: of a function or the graph of such a function, the rate of change ofwith respect to; that is, the amount by whichchanges for a certain (often unit) change in

Four Most Important Differential Operators: Gradient, curl, divergence, and Laplacian are four most important differential operators.
Curl
The curl is a vector operator that describes the infinitesimal rotation of a 3-dimensional vector field. At every point in the field, the curl of that field is represented by a vector. The attributes of this vector—length and direction—characterize the rotation at that point.The direction of the curl is the axis of rotation, as determined by the right-hand rule, and the magnitude of the curl is the magnitude of rotation. If the vector field represents the flow velocity of a moving fluid, then the curl is the circulation density of the fluid. A vector field whose curl is zero is called irrotational. The curl is a form of differentiation for vector fields. The corresponding form of the fundamental theorem of calculus is Stokes' theorem, which relates the surface integral of the curl of a vector field to the line integral of the vector field around the boundary curve.
The curl of a vector field
Curl is defined by:
Divergence
Divergence is a vector operator that measures the magnitude of a vector field's source or sink at a given point in terms of a signed scalar. More technically, the divergence represents the volume density of the outward flux of a vector field from an infinitesimal volume around a given point.In physical terms, the divergence of a three-dimensional vector field is the extent to which the vector field flow behaves like a source or a sink at a given point. It is a local measure of its "outgoingness"—the extent to which there is more exiting an infinitesimal region of space than entering it. If the divergence is nonzero at some point, then there must be a source or sink at that position. (Note that we are imagining the vector field to be like the velocity vector field of a fluid (in motion) when we use the terms flow, sink, and so on.)
More rigorously, the divergence of a vector field
where
Parametric Surfaces and Surface Integrals
A parametric surface is a surface in the Euclidean spaceLearning Objectives
Define the surface integral and identify a parametric surfaceKey Takeaways
Key Points
- Parametric representation is the most general way to specify a surface. The curvature and arc length of curves on the surface can both be computed from a given parametrization.
- The same surface admits many different parametrizations.
- A surface integral is a definite integral taken over a surface. It can be thought of as the double integral analog of the line integral.
Key Terms
- electric potential: the potential energy per unit charge at a point in a static electric field; voltage
- gradient: of a function or the graph of such a function, the rate of change ofwith respect to; that is, the amount by whichchanges for a certain (often unit) change in
- curl: the vector field denoting the rotationality of a given vector field
Parametric Surface
A parametric surface is a surface in the Euclidean spaceExamples
- The simplest type of parametric surfaces is given by the graphs of functions of two variables: ;.
- Using the spherical coordinates, the unit sphere can be parameterized by .
- The straight circular cylinder of radius about the-axis has the following parametric representation:.
The same surface admits many different parametrizations. For example, the coordinate
Surface integral
A surface integral is a definite integral taken over a surface. It can be thought of as the double integral analog of the line integral. Given a surface, one may integrate over its scalar fields (that is, functions which return scalars as values), and vector fields (that is, functions which return vectors as values). Surface integrals have many applications in physics, particularly within the classical theory of electromagnetism. We will study surface integral of vector fields and related theorems in the following atoms.Kelvin-Stokes' Theorem: An illustration of the Kelvin–Stokes theorem, with surface
Surface Integrals of Vector Fields
The surface integral of vector fields can be defined component-wise according to the definition of the surface integral of a scalar field.Learning Objectives
Explain relationship between surface integral of vector fields and surface integral of a scalar fieldKey Takeaways
Key Points
- The flux is defined as the quantity of fluid flowing through in unit amount of time.
- To find the flux, we need to take the dot product of with the unit surface normal toat each point, which will give us a scalar field, and integrate the obtained field.
- This is expressed as .
Key Terms
- vector field: a construction in which each point in a Euclidean space is associated with a vector; a function whose range is a vector space
- parametrization: Is the process of deciding and defining the parameters necessary for a complete or relevant specification of a model or geometric object.
- flux: the rate of transfer of energy (or another physical quantity) through a given surface, specifically electric flux, magnetic flux
Alternatively, if we integrate the normal component of the vector field, the result is a scalar. Imagine that we have a fluid flowing through
This illustration implies that if the vector field is tangent to
Kelvin-Stokes' Theorem: An illustration of the Kelvin–Stokes theorem, with surface
Example
An electric field from a point charge (where
Stokes' Theorem
Stokes' theorem relates the integral of the curl of a vector field over a surface to the line integral of the field around the boundary.Learning Objectives
Describe application of Stokes' theorem in electromagnetismKey Takeaways
Key Points
- The generalized Stokes' theorem says that the integral of a differential form ω over the boundary of some orientable manifold is equal to the integral of its exterior derivativeover the whole of.
- Given a vector field, the Kelvin-Stokes theorem relates the integral of the curl of the vector field over some surface to the line integral of the vector field around the boundary of the surface. The Kelvin–Stokes theorem is a special case of the generalized Stokes' theorem.
- By applying the Stokes' theorem, you can show that the work done by electric field is path-independent.
Key Terms
- curl: the vector field denoting the rotationality of a given vector field
- electric potential: the potential energy per unit charge at a point in a static electric field; voltage
- gradient: of a function or the graph of such a function, the rate of change ofwith respect to; that is, the amount by whichchanges for a certain (often unit) change in
The Kelvin–Stokes theorem, also known as the curl theorem, is a theorem in vector calculus on
Kelvin-Stokes' Theorem: An illustration of the Kelvin–Stokes theorem, with surface
Application in Electromagnetism
Electric field is a conservative vector field. Therefore, electric field can be written as a gradient of a scalar field:Applying the Kelvin-Stokes theorem and substituting in
Since
As we have seen in our previous atom on gradient theorem, this simply means:
which is equivalent to saying that work done by the electric field only depends on the initial and final point of the motion. The scalar field
The Divergence Theorem
The divergence theorem relates the flow of a vector field through a surface to the behavior of the vector field inside the surface.Learning Objectives
Apply the divergence theorem to evaluate the outward flux of a vector field through a closed surfaceKey Takeaways
Key Points
- The divergence theorem states that the outward flux of a vector field through a closed surface is equal to the volume integral of the divergence over the region inside the surface.
- In physics and engineering, the divergence theorem is usually applied in three dimensions. However, it generalizes to any number of dimensions.
- Applying the divergence theorem, we can check that the equation is nothing but an equation describing Coulomb force written in a differential form.
Key Terms
- flux: the rate of transfer of energy (or another physical quantity) through a given surface, specifically electric flux, magnetic flux
- divergence: a vector operator that measures the magnitude of a vector field's source or sink at a given point, in terms of a signed scalar
More precisely, the divergence theorem states that the outward flux of a vector field through a closed surface is equal to the volume integral of the divergence over the region inside the surface. Intuitively, it states that the sum of all sources minus the sum of all sinks gives the net flow out of a region. The divergence theorem is an important result for the mathematics of engineering, in particular for electrostatics and fluid dynamics.
In physics and engineering, the divergence theorem is usually applied in three dimensions. However, it generalizes to any number of dimensions. In one dimension, it is equivalent to the fundamental theorem of calculus. The theorem is a special case of the generalized Stokes' theorem.
Theorem
SupposeThe left side is a volume integral over the volume
The Divergence Theorem: The divergence theorem can be used to calculate a flux through a closed surface that fully encloses a volume, like any of the surfaces on the left. It can not directly be used to calculate the flux through surfaces with boundaries, like those on the right. (Surfaces are blue, boundaries are red.)
Example
The first equation of the Maxwell's equations is often written asThe surface integral on the right hand side (RHS) becomes:
Combining RHS and LHS, we get:
This is simply the electric field for the Coulomb force.
Licenses and Attributions
More Study Resources for You
The materials found on Course Hero are not endorsed, affiliated or sponsored by the authors of the above study guide