Spray (mathematics)
In differential geometry, a spray is a vector field H on the tangent bundle TM that encodes a quasilinear second order system of ordinary differential equations on the base manifold M. Usually a spray is required to be homogeneous in the sense that its integral curves t→Φ_{H}^{t}(ξ)∈TM obey the rule Φ_{H}^{t}(λξ)=Φ_{H}^{λt}(ξ) in positive reparameterizations. If this requirement is dropped, H is called a semispray.
Sprays arise naturally in Riemannian and Finsler geometry as the geodesic sprays, whose integral curves are precisely the tangent curves of locally length minimizing curves. Semisprays arise naturally as the extremal curves of action integrals in Lagrangian mechanics. Generalizing all these examples, any (possibly nonlinear) connection on M induces a semispray H, and conversely, any semispray H induces a torsionfree nonlinear connection on M. If the original connection is torsionfree it coincides with the connection induced by H, and homogeneous torsionfree connections are in onetoone correspondence with full sprays.^{[1]}
Contents
Formal definitions
Let M be a differentiable manifold and (TM,π_{TM},M) its tangent bundle. Then a vector field H on TM (that is, a section of the double tangent bundle TTM) is a semispray on M, if any of the three following equivalent conditions holds:
 (π_{TM})_{*}H_{ξ} = ξ.
 JH=V, where J is the tangent structure on TM and V is the canonical vector field on TM\0.
 j∘H=H, where j:TTM→TTM is the canonical flip and H is seen as a mapping TM→TTM.
A semispray H on M is a (full) spray if any of the following equivalent conditions hold:
 H_{λξ} = λ_{*}(λH_{ξ}), where λ_{*}:TTM→TTM is the pushforward of the multiplication λ:TM→TM by a positive scalar λ>0.
 The Liederivative of H along the canonical vector field V satisfies [V,H]=H.
 The integral curves t→Φ_{H}^{t}(ξ)∈TM\0 of H satisfy Φ_{H}^{t}(λξ)=Φ_{H}^{λt}(ξ) for any λ>0.
Let (x^{i},ξ^{i}) be the local coordinates on TM associated with the local coordinates (x^{i}) on M using the coordinate basis on each tangent space. Then H is a semispray on M if and only if it has a local representation of the form
on each associated coordinate system on TM. The semispray H is a (full) spray, if and only if the spray coefficients G^{i} satisfy
Semisprays in Lagrangian mechanics
A physical system is modeled in Lagrangian mechanics by a Lagrangian function L:TM→R on the tangent bundle of some configuration space M. The dynamical law is obtained from the Hamiltonian principle, which states that the time evolution γ:[a,b]→M of the state of the system is stationary for the action integral
 .
In the associated coordinates on TM the first variation of the action integral reads as
where X:[a,b]→R is the variation vector field associated with the variation γ_{s}:[a,b]→M around γ(t) = γ_{0}(t). This first variation formula can be recast in a more informative form by introducing the following concepts:
 The covector with is the conjugate momentum of .
 The corresponding oneform with is the Hilbertform associated with the Lagrangian.
 The bilinear form with is the fundamental tensor of the Lagrangian at .
 The Lagrangian satisfies the Legendre condition if the fundamental tensor is nondegenerate at every . Then the inverse matrix of is denoted by .
 The Energy associated with the Lagrangian is .
If the Legendre condition is satisfied, then dα∈Ω^{2}(TM) is a symplectic form, and there exists a unique Hamiltonian vector field H on TM corresponding to the Hamiltonian function E such that
 .
Let (X^{i},Y^{i}) be the components of the Hamiltonian vector field H in the associated coordinates on TM. Then
and
so we see that the Hamiltonian vector field H is a semispray on the configuration space M with the spray coefficients
Now the first variational formula can be rewritten as
and we see γ[a,b]→M is stationary for the action integral with fixed end points if and only if its tangent curve γ':[a,b]→TM is an integral curve for the Hamiltonian vector field H. Hence the dynamics of mechanical systems are described by semisprays arising from action integrals.
Geodesic spray
The locally length minimizing curves of Riemannian and Finsler manifolds are called geodesics. Using the framework of Lagrangian mechanics one can describe these curves with spray structures. Define a Lagrangian function on TM by
where F:TM→R is the Finsler function. In the Riemannian case one uses F^{2}(x,ξ) = g_{ij}(x)ξ^{i}ξ^{j}. Now introduce the concepts from the section above. In the Riemannian case it turns out that the fundamental tensor g_{ij}(x,ξ) is simply the Riemannian metric g_{ij}(x). In the general case the homogeneity condition
of the Finslerfunction implies the following formulae:
In terms of classical mechanical the last equation states that all the energy in the system (M,L) is in the kinetic form. Furthermore, one obtains the homogeneity properties
of which the last one says that the Hamiltonian vector field H for this mechanical system is a full spray. The constant speed geodesics of the underlying Finsler (or Riemannian) manifold are described by this spray for the following reasons:
 Since g_{ξ} is positive definite for Finsler spaces, every short enough stationary curve for the length functional is length minimizing.
 Every stationary curve for the action integral is of constant speed , since the energy is automatically a constant of motion.
 For any curve of constant speed the action integral and the length functional are related by
Therefore, a curve is stationary to the action integral if and only if it is of constant speed and stationary to the length functional. The Hamiltonian vector field H is called the geodesic spray of the Finsler manifold (M,F) and the corresponding flow Φ_{H}^{t}(ξ) is called the geodesic flow.
Correspondence with nonlinear connections
A semispray H on a smooth manifold M defines an Ehresmannconnection T(TM\0) = H(TM\0) ⊕ V(TM\0) on the slit tangent bundle through its horizontal and vertical projections
This connection on TM\0 always has a vanishing torsion tensor, which is defined as the FrölicherNijenhuis bracket T=[J,v]. In more elementary terms the torsion can be defined as
Introducing the canonical vector field V on TM\0 and the adjoint structure Θ of the induced connection the horizontal part of the semispray can be written as hH=ΘV. The vertical part ε=vH of the semispray is known as the first spray invariant, and the semispray H itself decomposes into
The first spray invariant is related to the tension
of the induced nonlinear connection through the ordinary differential equation
Therefore, the first spray invariant ε (and hence the whole semispray H) can be recovered from the nonlinear connection by
From this relation one also sees that the induced connection is homogeneous if and only if H is a full spray.
Jacobifields of sprays and semisprays
This section needs expansion. You can help by adding to it. (February 2013)

A good source for Jacobi fields of semisprays is Section 4.4, Jacobi equations of a semispray of the publicly available book FinslerLagrange Geometry by Bucătaru and Miron. Of particular note is their concept of a dynamical covariant derivative. In another paper Bucătaru, Constantinescu and Dahl relate this concept to that of the Kosambi biderivative operator.
For a good introduction to Kosambi's methods, see the article, What is KosambiCartanChern theory?.
References
 ^ I.Bucataru, R.Miron, FinslerLagrange Geometry, Editura Academiei Române, 2007.
 Sternberg, Shlomo (1964), Lectures on Differential Geometry, PrenticeHall.
 Lang, Serge (1999), Fundamentals of Differential Geometry, SpringerVerlag.