right|thumb|250px|a portion of the vector field (sin&nbsp;y,&nbsp;sin&nbsp;x) in vector calculus, a vector field is an assignment of a vector to each point in a subset of space. 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 are often used to model, for example, the speed and direction of a moving fluid throughout space, or the strength and direction of some force, such as the magnetic or gravitational force, as it changes from point to point. the elements of differential and integral calculus extend to vector fields in a natural way. when a vector field represents force, the line integral of a vector field represents the work done by a force moving along a path, and under this interpretation conservation of energy is exhibited as a special case of the fundamental theorem of calculus. vector fields can usefully be thought of as representing the velocity of a moving flow in space, and this physical intuition leads to notions such as the divergence (which represents the rate of change of volume of a flow) and curl (which represents the rotation of a flow). in coordinates, a vector field on a domain in n-dimensional euclidean space can be represented as a vector-valued function that associates an n-tuple of real numbers to each point of the domain. this representation of a vector field depends on the coordinate system, and there is a well-defined transformation law in passing from one coordinate system to the other. vector fields are often discussed on open subsets of euclidean space, but also make sense on other subsets such as surfaces, where they associate an arrow tangent to the surface at each point (a tangent vector). more generally, vector fields are defined on differentiable manifolds, which are spaces that look like euclidean space on small scales, but may have more complicated structure on larger scales. in this setting, a vector field gives a tangent vector at each point of the manifold (that is, a section of the tangent bundle to the manifold). vector fields are one kind of tensor field. ==definition== ===vector fields on subsets of euclidean space===  given a subset s in rn, a vector field is rep
Differential_topology Vector_calculus