{
  "id": "vector-field",
  "title": "Vector Field",
  "lang": "en",
  "source_lang": "en",
  "summary": "A vector field assigns a vector to each point of a space, describing quantities such as velocity, force, or local directions of motion.",
  "category": "mathematics",
  "subcategory": "analysis",
  "type": "concept",
  "aliases": [
    "Vector-field"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/vector-field/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/vector-field/",
      "json": "https://aiwiki.page/zh/vector-field.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "A vector field is an assignment of a vector to each point of a specified space or region. In elementary calculus, it is a vector-valued function on a region of Euclidean space, commonly represented by arrows whose directions and lengths indicate the assigned vectors. In differential geometry, a vector field on a manifold assigns each point a vector in that point’s tangent space. Vector fields provide mathematical descriptions of fluid velocity, gravitational attraction, and other quantities that vary with position. (openstax.org)"
    },
    {
      "heading": "Definition and representation",
      "text": "On a region \\(U\\subseteq\\mathbb R^n\\), a vector field is a map\n\n\\[\\mathbf F:U\\longrightarrow\\mathbb R^n, \\qquad \\mathbf F(\\mathbf x)= \\bigl(F_1(\\mathbf x),\\ldots,F_n(\\mathbf x)\\bigr).\\]\n\nThe functions \\(F_i\\) are its components. For differential calculus, \\(U\\) is usually an open set, and the components are assumed to have the continuity or differentiability required by the operation under consideration. A field is continuous, continuously differentiable, or smooth when its components have the corresponding regularity. (openstax.org)\n\nIn three-dimensional Euclidean space, a field can be written\n\n\\[\\mathbf F(x,y,z)=P(x,y,z)\\mathbf e_x+ Q(x,y,z)\\mathbf e_y+R(x,y,z)\\mathbf e_z,\\]\n\nwhere the \\(\\mathbf e_i\\) form the standard basis. Its magnitude is\n\n\\[\\|\\mathbf F\\|=\\sqrt{P^2+Q^2+R^2}.\\]\n\nAn arrow plot samples the field at selected points; it is a visualization rather than the field itself. A unit vector field has magnitude one everywhere and records direction without a varying magnitude. (openstax.org)\n\nA scalar field assigns a number, rather than a vector, to each point. For example, temperature is ordinarily modeled as a scalar field, while fluid velocity is modeled as a vector field. A time-dependent vector field additionally depends on a parameter \\(t\\), so its value is written \\(\\mathbf F(\\mathbf x,t)\\). (ocw.mit.edu)"
    },
    {
      "heading": "Basic examples",
      "text": "Several simple fields illustrate distinct geometries:\n\n- Constant field: \\(\\mathbf F(x,y)=(a,b)\\). All arrows have the same magnitude and direction.\n- Radial field: \\(\\mathbf F(x,y)=(x,y)\\). Arrows point away from the origin, with magnitude increasing with distance.\n- Rotational field: \\(\\mathbf F(x,y)=(-y,x)\\). Arrows are tangent to circles centered at the origin and point counterclockwise.\n- Gradient field: \\(\\mathbf F=\\nabla\\phi\\), obtained by differentiating a scalar function \\(\\phi\\).\n\nThese examples distinguish uniform translation, outward motion, circular motion, and motion governed by a scalar potential. (ocw.mit.edu)\n\nThe rotational field also shows why the geometry of arrows alone does not determine whether a field has sources: \\((-y,x)\\) has zero divergence, despite its varying direction and magnitude. (openstax.org)"
    },
    {
      "heading": "Differential operations",
      "text": "The main local differential operations on vector fields measure how their components change with position. The following formulas use Cartesian coordinates.\n\nGradient fields\n\nThe gradient of a differentiable scalar function \\(\\phi\\) is\n\n\\[\\nabla\\phi= \\left( \\frac{\\partial\\phi}{\\partial x_1},\\ldots, \\frac{\\partial\\phi}{\\partial x_n} \\right).\\]\n\nWith the Euclidean metric, it points in the direction of greatest local increase of \\(\\phi\\), when the gradient is nonzero. A field expressible as \\(\\nabla\\phi\\) is called a gradient field or conservative field. For physical forces derived from potential energy \\(V\\), the conventional relation instead uses a minus sign:\n\n\\[\\mathbf F=-\\nabla V.\\]\n\n(ocw.mit.edu)\n\nDivergence\n\nThe divergence of a differentiable vector field is the scalar function\n\n\\[\\nabla\\cdot\\mathbf F= \\sum_{i=1}^{n}\\frac{\\partial F_i}{\\partial x_i}.\\]\n\nIt measures local net outward flux per unit volume. For a velocity field, positive divergence indicates local expansion and negative divergence local compression. A field satisfying \\(\\nabla\\cdot\\mathbf F=0\\) is called divergence-free or solenoidal. This does not require the field to be constant or nonrotating. (openstax.org)\n\nCurl\n\nIn three dimensions, the curl is\n\n\\[\\nabla\\times\\mathbf F= \\left( \\frac{\\partial R}{\\partial y}-\\frac{\\partial Q}{\\partial z}, \\frac{\\partial P}{\\partial z}-\\frac{\\partial R}{\\partial x}, \\frac{\\partial Q}{\\partial x}-\\frac{\\partial P}{\\partial y} \\right).\\]\n\nIt measures local circulation; for a fluid velocity field it describes local rotation. A field with zero curl is called irrotational. For a planar field \\((P,Q)\\), the corresponding scalar curl is\n\n\\[\\frac{\\partial Q}{\\partial x}-\\frac{\\partial P}{\\partial y}.\\]\n\n(ocw.mit.edu)\n\nFor sufficiently smooth functions,\n\n\\[\\nabla\\times(\\nabla\\phi)=0, \\qquad \\nabla\\cdot(\\nabla\\times\\mathbf F)=0.\\]\n\nThese identities follow from the equality of mixed partial derivatives. The familiar vector-valued curl formula is specific to three dimensions; more general formulations use differential forms. (ocw.mit.edu)"
    },
    {
      "heading": "Integration, circulation, and flux",
      "text": "A vector field can be integrated along a curve or across a surface, producing different geometric quantities.\n\nFor a piecewise smooth curve \\(\\mathbf r(t)\\), \\(a\\leq t\\leq b\\), its line integral is\n\n\\[\\int_C\\mathbf F\\cdot d\\mathbf r = \\int_a^b \\mathbf F(\\mathbf r(t))\\cdot\\mathbf r'(t)\\,dt.\\]\n\nWhen \\(\\mathbf F\\) is a force field, this integral gives work. Around a closed curve, it is often called circulation. (openstax.org)\n\nThe flux across an oriented surface \\(S\\) is\n\n\\[\\iint_S\\mathbf F\\cdot\\mathbf n\\,dS,\\]\n\nwhere \\(\\mathbf n\\) is the chosen unit normal. Only the component normal to the surface contributes. For a fluid velocity field, the integral measures signed volume flow per unit time through the surface. (openstax.org)\n\nTwo fundamental theorems connect these integrals with local differential operations:\n\n- The divergence theorem states\n\n\\[\\iint_{\\partial V}\\mathbf F\\cdot\\mathbf n\\,dS = \\iiint_V\\nabla\\cdot\\mathbf F\\,dV,\\]\n\nwith outward boundary orientation.\n- Stokes’ theorem states\n\n\\[\\oint_{\\partial S}\\mathbf F\\cdot d\\mathbf r = \\iint_S(\\nabla\\times\\mathbf F)\\cdot\\mathbf n\\,dS,\\]\n\nwith compatible surface and boundary orientations.\n\nTheir application requires appropriate smoothness of the field and regularity of the region or surface. Singularities inside an integration region cannot simply be ignored. (openstax.org)"
    },
    {
      "heading": "Conservative fields and domain topology",
      "text": "If \\(\\mathbf F=\\nabla\\phi\\), then\n\n\\[\\int_C\\mathbf F\\cdot d\\mathbf r =\\phi(\\mathbf r(b))-\\phi(\\mathbf r(a)).\\]\n\nConsequently, the integral depends only on the endpoints, and every closed-curve integral is zero. On a connected open domain, path independence is equivalent to the existence of a scalar potential for a continuous field. (openstax.org)\n\nZero curl is a necessary condition for a continuously differentiable conservative field, but it is not sufficient on every domain. On a simply connected open region in two or three dimensions, a continuously differentiable curl-free field is conservative. The domain’s topology therefore matters, not just its local derivatives. (ocw.mit.edu)\n\nA standard counterexample on the punctured plane is\n\n\\[\\mathbf F(x,y)= \\left( -\\frac{y}{x^2+y^2}, \\frac{x}{x^2+y^2} \\right).\\]\n\nIts scalar curl is zero everywhere it is defined, but its circulation around the counterclockwise unit circle is \\(2\\pi\\). Thus, it has no globally single-valued scalar potential on that domain. The excluded origin prevents the usual curl test from establishing global conservativeness. (ocw.mit.edu)"
    },
    {
      "heading": "Integral curves and flows",
      "text": "An integral curve of a vector field is a parametrized curve satisfying\n\n\\[\\frac{d\\mathbf x}{dt}=\\mathbf F(\\mathbf x(t)).\\]\n\nIts velocity equals the field vector at its current position. This turns a vector field into an autonomous differential equation. For a time-dependent field, the equation becomes\n\n\\[\\frac{d\\mathbf x}{dt}=\\mathbf F(\\mathbf x(t),t).\\]\n\n(math.stanford.edu)\n\nUnder suitable local Lipschitz continuity, the initial position determines a unique local solution. A smooth field satisfies this local condition. Solutions need not exist for all time: they may leave the domain or become unbounded in finite time. A field whose integral curves exist for every real time is called complete. (math.stanford.edu)\n\nFor a steady fluid velocity field, integral curves are streamlines and coincide with particle trajectories. For an unsteady field, instantaneous streamlines and particle trajectories generally differ. Zeros of the field are equilibrium points, represented by constant integral curves. (ocw.mit.edu)"
    },
    {
      "heading": "Vector fields on manifolds",
      "text": "On a smooth manifold \\(M\\), the vector assigned at \\(p\\) belongs to its tangent space \\(T_pM\\):\n\n\\[X_p\\in T_pM.\\]\n\nEquivalently, a smooth vector field is a smooth section of the tangent bundle \\(TM\\). In local coordinates,\n\n\\[X=\\sum_i X^i\\frac{\\partial}{\\partial x^i}.\\]\n\nWhen coordinates change, the components transform with the coordinate-change Jacobian matrix, while the underlying tangent vector remains unchanged. (math.stanford.edu)\n\nA vector field also acts on smooth scalar functions as a directional derivative:\n\n\\[X(f)=\\sum_iX^i\\frac{\\partial f}{\\partial x^i}.\\]\n\nThis operation obeys the product rule. The commutator of two such operations defines their Lie bracket, another vector field. (math.stanford.edu)\n\nGlobal topology can restrict the existence of vector fields with particular properties. The hairy ball theorem states that every continuous tangent vector field on the two-dimensional sphere has a zero somewhere. A field drawn on a curved surface must therefore respect both tangency and global topological constraints. (math.stanford.edu)"
    },
    {
      "heading": "Applications and scope",
      "text": "In physics, vector fields model velocity, force per unit mass, the electric field, and the magnetic field. Their derivatives and integrals connect local behavior with observable circulation, transport, and flux. In particular, Maxwell’s equations use divergence and curl to express electromagnetic relations. (openstax.org)\n\nMathematically, the choice of domain, regularity, and geometric structure is essential. Cartesian formulas cannot be transferred unchanged to arbitrary curved coordinates, and local differential conditions do not automatically imply global potentials or globally defined flows. Vector fields on manifolds address these distinctions by treating vectors as point-dependent tangent objects rather than merely lists of component functions. (math.stanford.edu)"
    }
  ],
  "links": [
    "calculus",
    "mathematical-function",
    "differential-geometry",
    "open-set",
    "euclidean-space",
    "basis-linear-algebra",
    "scalar-field",
    "gradient",
    "potential-energy",
    "partial-derivative",
    "differential-form",
    "line-integral",
    "work-physics",
    "divergence-theorem",
    "stokes-theorem",
    "topology",
    "differential-equation",
    "lipschitz-continuity",
    "manifold",
    "tangent-space",
    "tangent-bundle",
    "jacobian-matrix",
    "directional-derivative",
    "hairy-ball-theorem",
    "physics",
    "electric-field",
    "magnetic-field",
    "maxwells-equations"
  ],
  "sources": [
    {
      "title": "1 Vector Fields — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-1-vector-fields"
    },
    {
      "title": "2 Line Integrals — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-2-line-integrals"
    },
    {
      "title": "3 Conservative Vector Fields — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-3-conservative-vector-fields"
    },
    {
      "title": "5 Divergence and Curl — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-5-divergence-and-curl"
    },
    {
      "title": "6 Surface Integrals — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-6-surface-integrals"
    },
    {
      "title": "7 Stokes’ Theorem — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-7-stokes-theorem"
    },
    {
      "title": "8 The Divergence Theorem — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-8-the-divergence-theorem"
    },
    {
      "title": "Chapter 6 Key Concepts — Calculus Volume 3",
      "url": "https://openstax.org/books/calculus-volume-3/pages/6-key-concepts"
    },
    {
      "title": "Chapter 15: Vector Calculus",
      "url": "https://ocw.mit.edu/courses/res-18-001-calculus-fall-2023/mitres_18_001_f17_ch15.pdf"
    },
    {
      "title": "Part B: Vector Fields and Line Integrals",
      "url": "https://ocw.mit.edu/courses/18-02sc-multivariable-calculus-fall-2010/pages/3.-double-integrals-and-line-integrals-in-the-plane/part-b-vector-fields-and-line-integrals/"
    },
    {
      "title": "MIT 3.016 Lecture 13",
      "url": "https://ocw.mit.edu/courses/3-016-mathematics-for-materials-scientists-and-engineers-fall-2005/c940826122ae748cde28ebc7f5c73cd6_lecture_13.pdf"
    },
    {
      "title": "MIT 18.02 Lecture 24 Transcript",
      "url": "https://ocw.mit.edu/courses/18-02-multivariable-calculus-fall-2007/ead3ef2b6dd8d030502e38b8378ce805_PnPIqh7Frlw.pdf"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}