# Perifocal coordinate system

The perifocal coordinate (PQW) system is a frame of reference for an orbit. The frame is centered at the focus of the orbit, i.e. the celestial body about which the orbit is centered. The unit vectors $\mathbf {\hat {p}}$ and $\mathbf {\hat {q}}$ lie in the plane of the orbit. $\mathbf {\hat {p}}$ is directed towards the periapsis of the orbit and $\mathbf {\hat {q}}$ has a true anomaly ($\theta$ ) of 90 degrees past the periapsis. The third unit vector $\mathbf {\hat {w}}$ is the angular momentum vector and is directed orthogonal to the orbital plane such that:

$\mathbf {\hat {w}} =\mathbf {\hat {p}} \times \mathbf {\hat {q}}$ And, since $\mathbf {\hat {w}}$ is the angular momentum vector, it may also be expressed as:

$\mathbf {\hat {w}} ={\frac {\mathbf {h} }{\|\mathbf {h} \|}}$ where h is the specific relative angular momentum.

The position and velocity vectors can be determined for any location of the orbit. The position vector, r, can be expressed as:

$\mathbf {r} =\|r\|\cos \theta \mathbf {\hat {p}} +\|r\|\sin \theta \mathbf {\hat {q}}$ where $\theta$ is the true anomaly and the radius r may be calculated from the orbit equation.

The velocity vector, v, is found by taking the time derivative of the position vector:

$\mathbf {v} =\mathbf {\dot {r}} =({\dot {r}}\cos \theta -r{\dot {\theta }}\sin \theta )\mathbf {\hat {p}} +({\dot {r}}\sin \theta +r{\dot {\theta }}\cos \theta )\mathbf {\hat {q}}$ A derivation from the orbit equation can be made to show that:

${\dot {r}}={\frac {\mu }{h}}e\sin \theta$ where $\mu$ is the gravitational parameter of the focus, h is the specific relative angular momentum of the orbital body, e is the eccentricity of the orbit, and $\theta$ is the true anomaly. ${\dot {r}}$ is the radial component of the velocity vector (pointing inward toward the focus) and $r{\dot {\theta }}$ is the tangential component of the velocity vector. By substituting the equations for ${\dot {r}}$ and $r{\dot {\theta }}$ into the velocity vector equation and simplifying, the final form of the velocity vector equation is obtained as:

$\mathbf {v} ={\frac {\mu }{h}}[-\sin \theta \mathbf {\hat {p}} +(e+\cos \theta )\mathbf {\hat {q}} ]$ ## Transformation from equatorial coordinate system

The perifocal coordinate system can also be defined using the orbital parameters inclination (i), right ascension of the ascending node ($\Omega$ ) and the argument of periapsis ($\omega$ ). The following equations transform an orbit from the equatorial coordinate system to the perifocal coordinate system.

{\begin{aligned}p_{i}&=\cos \Omega \cos \omega -\sin \Omega \cos i\sin \omega \\p_{j}&=\sin \Omega \cos \omega +\cos \Omega \cos i\sin \omega \\p_{k}&=\sin i\sin \omega \\[8pt]q_{i}&=-\cos \Omega \sin \omega -\sin \Omega \cos i\cos \omega \\q_{j}&=-\sin \Omega \sin \omega +\cos \Omega \cos i\cos \omega \\q_{k}&=\sin i\cos \omega \\[8pt]w_{i}&=\sin i\sin \Omega \\w_{j}&=-\sin i\cos \Omega \\w_{k}&=\cos i\end{aligned}}

where

{\begin{aligned}\mathbf {\hat {p}} &=p_{i}\mathbf {\hat {I}} +p_{j}\mathbf {\hat {J}} +p_{k}\mathbf {\hat {K}} \\\mathbf {\hat {q}} &=q_{i}\mathbf {\hat {I}} +q_{j}\mathbf {\hat {J}} +q_{k}\mathbf {\hat {K}} \\\mathbf {\hat {w}} &=w_{i}\mathbf {\hat {I}} +w_{j}\mathbf {\hat {J}} +w_{k}\mathbf {\hat {K}} \end{aligned}}

and $\mathbf {\hat {I}}$ , $\mathbf {\hat {J}}$ , and $\mathbf {\hat {K}}$  are the unit vectors of the equatorial coordinate system.

## Applications

Perifocal reference frames are most commonly used with elliptical orbits for the reason that the $\mathbf {\hat {p}}$  coordinate must be aligned with the eccentricity vector. Circular orbits, having no eccentricity, give no means by which to orient the coordinate system about the focus.

The perifocal coordinate system may also be used as an inertial frame of reference because the axes do not rotate relative to the fixed stars. This allows the inertia of any orbital bodies within this frame of reference to be calculated. This is useful when attempting to solve problems like the two-body problem.