# Orbital state vectors

{{ safesubst:#invoke:Unsubst||$N=Unreferenced |date=__DATE__ |$B=
{{#invoke:Message box|ambox}}
}}
In astrodynamics and celestial dynamics, the **orbital state vectors** (sometimes **state vectors**) of an orbit are
cartesian vectors of position () and velocity () that together with their time (epoch) () uniquely determine the trajectory of the orbiting body in space.

## Frame of reference

State vectors are defined with respect to some frame of reference, usually but not always an inertial reference frame. One of the more popular reference frames for the state vectors of bodies moving near the earth is the earth-centered equatorial system defined as follows:

- The origin is the earth's center of mass;
- The Z axis is coincident with the earth's rotational axis, positive northward;
- The X/Y plane coincides with the earth's equatorial plane, with the +X axis pointing toward the vernal equinox and the Y axis completing a right-handed set.

This reference frame is not truly inertial because of the slow, 26,000 year precession of the earth's axis, so the reference frames defined by the earth's orientation at a standard astronomical epoch such as B1950 or J2000 are also commonly used.

Many other reference frames can be used to meet various application requirements, including those centered on the Sun or on other planets or moons, the one defined by the barycenter and total angular momentum of the solar system, or even a spacecraft's own orbital plane and angular momentum.

## Position vector

The **position vector** describes the position of the body in the chosen frame of reference, while the
**velocity vector** describes its velocity in the same frame at the same time. Together, these two vectors and the time at which they are valid uniquely describe the body's trajectory.

The body does not actually have to be in orbit for its state vector to determine its trajectory; it only has to move ballistically, i.e., solely under the effects of its own inertia and gravity. For example, it could be a spacecraft or missile in a suborbital trajectory. If other forces such as drag or thrust are significant, they must be added vectorially to those of gravity when performing the integration to determine future position and velocity.

For any object moving through space, the velocity vector is tangent to the trajectory. If is the unit vector tangent to the trajectory, then

### Derivation

The **velocity vector** can be derived from **position vector** by differentiation with respect to time:

An object's state vector can be used to compute its classical or Keplerian orbital elements and vice versa. Each representation has its advantages. The elements are more descriptive of the size, shape and orientation of an orbit, and may be used to quickly and easily estimate the object's state at any arbitrary time provided its motion is accurately modeled by the two-body problem with only small perturbations.

On the other hand, the state vector is more directly useful in a numerical integration that accounts for significant, arbitrary, time-varying forces such as drag, thrust and gravitational perturbations from third bodies as well as the gravity of the primary body.

The state vectors ( and ) can be easily used to compute the angular momentum vector as .

Because even satellites in low earth orbit experience significant perturbations (primarily from the non-spherical shape of the earth), the Keplerian elements computed from the state vector at any moment are only valid at that time. Such element sets are known as osculating elements because they coincide with the actual orbit only at that moment.