Physlib

Physlib.SpaceAndTime.ReferenceFrame

Reference frames

A point in space and a list of coordinates are different kinds of data. Assigning coordinates to a point requires an origin and a basis for measuring displacements from that origin. A `ReferenceFrame` records those choices at every time.

This distinction is built into `Space d`, which is an affine space. Two points determine a displacement, but no point is automatically the zero point. The chosen origin therefore belongs to the frame, not to space itself. Similarly, a displacement has coordinate components only after a basis has been chosen.

Most applications should use frames that are both inertial and orthonormal. In orthonormal frames, the norm and inner product of coordinate vectors are given by the familiar Euclidean formulas. The extra generality here also permits nonorthonormal coordinate grids. Giving every coordinate tuple the standard Euclidean norm and dot product, independently of its basis, would make coordinate transformations involving such a grid non-isometric: the same geometric displacement could acquire different lengths, or a pair of displacements a different angle, merely by changing frames. Instead, the metric on frame vectors is pulled back from geometric displacement space through the frame basis. The usual component formulas are recovered for orthonormal frames.

A. Reference frames

A reference frame can be pictured as a coordinate grid carried through time. It is part of how motion is described, not an additional physical object moving with the particles.

B. Inertial reference frames

In Newtonian mechanics, an inertial coordinate grid does not rotate or change scale, and its origin moves in a straight line at constant velocity. These conditions restrict the frame, not the particles described in that frame.

C. Vectors in a reference frame

`frame.Vector` is the common coordinate carrier for vector quantities expressed relative to `frame`. It intentionally records the coordinate frame but not the physical dimension, so relative position, velocity, acceleration, force, momentum, and similar quantities can use the same componentwise calculations. Their different physical roles, units, and transformation laws must be supplied by the surrounding definitions. When a vector represents a displacement, `dispEquiv` converts its coordinates into the corresponding geometric displacement at a given time.

21 declarations

definition

Reference frame constructed from trajectories of reference points

Given a finite set of trajectories {pi(t)}iI\{p_i(t)\}_{i \in I}, where each pi:TimeSpace dp_i: \text{Time} \to \text{Space } d is a point in a dd-dimensional affine space, this function constructs a reference frame. The construction requires that at every time tt, the set of points {pi(t)}\{p_i(t)\} is affinely independent and spans the entire space Space d\text{Space } d (meaning they form an affine basis). One of these trajectories is selected as the origin o(t)\mathbf{o}(t) of the frame, and the coordinate basis vectors bj(t)\mathbf{b}_j(t) are defined as the displacements from this origin to the remaining dd points in the set, i.e., bj(t)=pj(t)o(t)\mathbf{b}_j(t) = p_j(t) - \mathbf{o}(t).

definition

Metric conservation of a reference frame

The property that a reference frame's basis induces a time-independent inner product on coordinates. A reference frame satisfies this property if for any times t1,t2t_1, t_2 and any indices i,ji, j, the inner product of the ii-th and jj-th basis vectors at time t1t_1 is equal to their inner product at time t2t_2: bi(t1),bj(t1)=bi(t2),bj(t2) \langle \mathbf{b}_i(t_1), \mathbf{b}_j(t_1) \rangle = \langle \mathbf{b}_i(t_2), \mathbf{b}_j(t_2) \rangle where bk(t)\mathbf{b}_k(t) denotes the kk-th basis vector of the frame at time tt, and ,\langle \cdot, \cdot \rangle denotes the inner product on the underlying displacement space.

definition

Orthonormal reference frame

A reference frame in dd-dimensional space is said to be orthonormal if, for every time tt, the basis vectors associated with the frame form an orthonormal basis for the space of displacements. This means that at any given time tt, the basis ei(t)\mathbf{e}_i(t) satisfies ei(t),ej(t)=δij\langle \mathbf{e}_i(t), \mathbf{e}_j(t) \rangle = \delta_{ij}.

theorem

Orthonormal reference frames conserve their metric

If a reference frame in dd-dimensional space is orthonormal, meaning that at any given time tt its basis vectors {ei(t)}i=1d\{\mathbf{e}_i(t)\}_{i=1}^d satisfy ei(t),ej(t)=δij\langle \mathbf{e}_i(t), \mathbf{e}_j(t) \rangle = \delta_{ij}, then the frame satisfies the property of metric conservation. That is, for any two times t1,t2t_1, t_2 and any indices i,ji, j, the inner product of the basis vectors remains constant: ei(t1),ej(t1)=ei(t2),ej(t2) \langle \mathbf{e}_i(t_1), \mathbf{e}_j(t_1) \rangle = \langle \mathbf{e}_i(t_2), \mathbf{e}_j(t_2) \rangle

instance

Orthonormality implies metric conservation for reference frames

If a reference frame in dd-dimensional space is orthonormal, then its metric is conserved. Specifically, if for every time tt the basis vectors {ei(t)}\{\mathbf{e}_i(t)\} of the frame satisfy ei(t),ej(t)=δij\langle \mathbf{e}_i(t), \mathbf{e}_j(t) \rangle = \delta_{ij}, then for any two times t1t_1 and t2t_2, the inner product of the basis vectors remains constant: ei(t1),ej(t1)=ei(t2),ej(t2)\langle \mathbf{e}_i(t_1), \mathbf{e}_j(t_1) \rangle = \langle \mathbf{e}_i(t_2), \mathbf{e}_j(t_2) \rangle.

definition

Velocity of an inertial frame's origin

For an inertial reference frame in dd-dimensional space, this definition provides the constant, time-independent velocity vector vRd\mathbf{v} \in \mathbb{R}^d of the frame's coordinate origin. This value is extracted from the property that the origin of an inertial frame moves uniformly through space.

theorem

Inertial Reference Frames Conserve their Coordinate Metric

If a reference frame is inertial, then it conserves its coordinate metric. This means that for any two times t1t_1 and t2t_2, and any indices i,ji, j, the inner product of the basis vectors bi\mathbf{b}_i and bj\mathbf{b}_j of the frame is time-independent: bi(t1),bj(t1)=bi(t2),bj(t2) \langle \mathbf{b}_i(t_1), \mathbf{b}_j(t_1) \rangle = \langle \mathbf{b}_i(t_2), \mathbf{b}_j(t_2) \rangle where ,\langle \cdot, \cdot \rangle denotes the inner product on the underlying displacement space.

instance

Inertial Reference Frames have Conserved Metrics

If a reference frame is inertial, then its metric is conserved. Specifically, for an inertial frame, the inner product of the basis vectors bi(t)\mathbf{b}_i(t) and bj(t)\mathbf{b}_j(t) is independent of time tt, such that for any times t1,t2t_1, t_2 and any indices i,ji, j: bi(t1),bj(t1)=bi(t2),bj(t2) \langle \mathbf{b}_i(t_1), \mathbf{b}_j(t_1) \rangle = \langle \mathbf{b}_i(t_2), \mathbf{b}_j(t_2) \rangle where ,\langle \cdot, \cdot \rangle denotes the inner product on the underlying displacement space.

definition

Equivalence f.VectorRdf.\text{Vector} \simeq \mathbb{R}^d

For a reference frame ff in a dd-dimensional space, this definition establishes an equivalence (bijection) between the type of vectors associated with that frame (f.Vectorf.\text{Vector}) and their representation as coordinate components in Rd\mathbb{R}^d, modeled as functions from the index set {0,,d1}\{0, \dots, d-1\} to the real numbers R\mathbb{R}.

instance

f.Vectorf.\text{Vector} is an additive commutative group

For a given reference frame ff in a dd-dimensional space, the type f.Vectorf.\text{Vector}, which represents coordinate vectors relative to that frame, is equipped with the structure of an additive commutative group. This means that vectors in f.Vectorf.\text{Vector} can be added and subtracted, and there exists a zero vector, with these operations following the standard commutative and associative laws. This group structure is derived from the component-wise operations on Rd\mathbb{R}^d via the equivalence f.VectorRdf.\text{Vector} \simeq \mathbb{R}^d.

instance

f.Vectorf.\text{Vector} is a vector space over R\mathbb{R}

For a given reference frame ff in a dd-dimensional space, the type f.Vectorf.\text{Vector} (representing coordinate vectors relative to that frame) is equipped with the structure of a module over the real numbers R\mathbb{R}. Because R\mathbb{R} is a field, this defines f.Vectorf.\text{Vector} as a real vector space. This structure allows for the scalar multiplication of coordinate vectors by real numbers, with the operations being defined component-wise via the equivalence f.VectorRdf.\text{Vector} \simeq \mathbb{R}^d.

definition

Linear equivalence f.VectorRRdf.\text{Vector} \simeq_{\mathbb{R}} \mathbb{R}^d

For a reference frame ff in a dd-dimensional space, this definition establishes a linear equivalence (an isomorphism of real vector spaces) between the type of vectors relative to that frame, f.Vectorf.\text{Vector}, and the space of coordinate components Rd\mathbb{R}^d, modeled as functions from the index set {0,,d1}\{0, \dots, d-1\} to the real numbers R\mathbb{R}.

definition

Linear equivalence f.VectorRRdf.\text{Vector} \simeq_{\mathbb{R}} \mathbb{R}^d for geometric displacements at time tt

For a given reference frame ff and a time tt, this definition establishes a linear equivalence (an isomorphism of real vector spaces) between the space of coordinate vectors relative to the frame, f.Vectorf.\text{Vector}, and the space of geometric displacements, modeled as the Euclidean space Rd\mathbb{R}^d. This equivalence is defined by the basis of the reference frame at time tt, allowing coordinate-based vectors to be interpreted as physical displacements in space.

instance

Topological space structure on f.Vectorf.\text{Vector} induced by Rd\mathbb{R}^d

For a reference frame ff in a dd-dimensional space, the set of frame vectors f.Vectorf.\text{Vector} is endowed with a topological space structure. This topology is defined as the product topology on the coordinate components, induced by the equivalence between f.Vectorf.\text{Vector} and Rd\mathbb{R}^d (modeled as functions Fin dR\text{Fin } d \to \mathbb{R}).

definition

Continuous linear equivalence f.VectorLRdf.\text{Vector} \simeq_L \mathbb{R}^d

For a given reference frame ff in a dd-dimensional space, this definition establishes a continuous linear equivalence (a topological vector space isomorphism) between the space of coordinate vectors relative to that frame, f.Vectorf.\text{Vector}, and the space of coordinate components Rd\mathbb{R}^d, modeled as the type of functions Fin dR\text{Fin } d \to \mathbb{R}.

instance

f.Vectorf.\text{Vector} is finite-dimensional over R\mathbb{R}

For a given reference frame ff in a dd-dimensional space, the space of coordinate vectors f.Vectorf.\text{Vector} is a finite-dimensional vector space over the real numbers R\mathbb{R}.

definition

Continuous linear equivalence f.VectorLRdf.\text{Vector} \simeq_L \mathbb{R}^d at time tt

For a given reference frame ff and a time tt, this definition establishes a continuous linear equivalence (a topological vector space isomorphism) between the space of coordinate vectors f.Vectorf.\text{Vector} and the space of geometric displacements in dd-dimensional space, represented as the Euclidean space Rd\mathbb{R}^d. This mapping is determined by the frame's basis at time tt.

instance

f.Vectorf.\text{Vector} is a normed additive commutative group if f.IsMetricConservedf.\text{IsMetricConserved}

For a reference frame ff that satisfies the property of metric conservation (i.e., f.IsMetricConservedf.\text{IsMetricConserved} holds), the space of coordinate vectors f.Vectorf.\text{Vector} is equipped with the structure of a normed additive commutative group. The norm v\|\mathbf{v}\| of a vector vf.Vector\mathbf{v} \in f.\text{Vector} is defined as the physical length of its corresponding geometric displacement, pulled back from the Euclidean space of displacements at time t=0t=0.

instance

f.Vectorf.\text{Vector} is an inner product space over R\mathbb{R}

For a reference frame ff that satisfies the property of metric conservation (i.e., f.IsMetricConservedf.\text{IsMetricConserved} holds), the space of coordinate vectors f.Vectorf.\text{Vector} is equipped with the structure of a real inner product space. The inner product v,w\langle \mathbf{v}, \mathbf{w} \rangle of two vectors v,wf.Vector\mathbf{v}, \mathbf{w} \in f.\text{Vector} is defined by pulling back the standard inner product from the space of geometric displacements at time t=0t=0: v,w:=ϕ0(v),ϕ0(w)Rd \langle \mathbf{v}, \mathbf{w} \rangle := \langle \phi_0(\mathbf{v}), \phi_0(\mathbf{w}) \rangle_{\mathbb{R}^d} where ϕ0:f.VectorRd\phi_0 : f.\text{Vector} \xrightarrow{\simeq} \mathbb{R}^d is the linear equivalence (`dispEquiv 0`) that maps coordinate vectors to physical displacements at the initial time t=0t=0.

theorem

v2=ivi2\|v\|^2 = \sum_i v_i^2 in an orthonormal reference frame

In an orthonormal reference frame, for any coordinate vector vv, the square of its norm is equal to the sum of the squares of its components: v2=ivi2\|v\|^2 = \sum_{i} v_i^2 where viv_i denotes the ii-th component of the vector vv.

theorem

v,w=iviwi\langle v, w \rangle = \sum_i v_i w_i in an Orthonormal Reference Frame

In an orthonormal reference frame, for any two coordinate vectors vv and ww, their inner product v,w\langle v, w \rangle is equal to the sum of the products of their corresponding components: v,w=iviwi\langle v, w \rangle = \sum_{i} v_i w_i where viv_i and wiw_i denote the ii-th components of the vectors vv and ww respectively.