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
Reference frame constructed from trajectories of reference points
Given a finite set of trajectories , where each is a point in a -dimensional affine space, this function constructs a reference frame. The construction requires that at every time , the set of points is affinely independent and spans the entire space (meaning they form an affine basis). One of these trajectories is selected as the origin of the frame, and the coordinate basis vectors are defined as the displacements from this origin to the remaining points in the set, i.e., .
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 and any indices , the inner product of the -th and -th basis vectors at time is equal to their inner product at time : where denotes the -th basis vector of the frame at time , and denotes the inner product on the underlying displacement space.
Orthonormal reference frame
A reference frame in -dimensional space is said to be orthonormal if, for every time , the basis vectors associated with the frame form an orthonormal basis for the space of displacements. This means that at any given time , the basis satisfies .
Orthonormal reference frames conserve their metric
If a reference frame in -dimensional space is orthonormal, meaning that at any given time its basis vectors satisfy , then the frame satisfies the property of metric conservation. That is, for any two times and any indices , the inner product of the basis vectors remains constant:
Orthonormality implies metric conservation for reference frames
If a reference frame in -dimensional space is orthonormal, then its metric is conserved. Specifically, if for every time the basis vectors of the frame satisfy , then for any two times and , the inner product of the basis vectors remains constant: .
Velocity of an inertial frame's origin
For an inertial reference frame in -dimensional space, this definition provides the constant, time-independent velocity vector of the frame's coordinate origin. This value is extracted from the property that the origin of an inertial frame moves uniformly through space.
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 and , and any indices , the inner product of the basis vectors and of the frame is time-independent: where denotes the inner product on the underlying displacement space.
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 and is independent of time , such that for any times and any indices : where denotes the inner product on the underlying displacement space.
Equivalence
For a reference frame in a -dimensional space, this definition establishes an equivalence (bijection) between the type of vectors associated with that frame () and their representation as coordinate components in , modeled as functions from the index set to the real numbers .
is an additive commutative group
For a given reference frame in a -dimensional space, the type , which represents coordinate vectors relative to that frame, is equipped with the structure of an additive commutative group. This means that vectors in 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 via the equivalence .
is a vector space over
For a given reference frame in a -dimensional space, the type (representing coordinate vectors relative to that frame) is equipped with the structure of a module over the real numbers . Because is a field, this defines 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 .
Linear equivalence
For a reference frame in a -dimensional space, this definition establishes a linear equivalence (an isomorphism of real vector spaces) between the type of vectors relative to that frame, , and the space of coordinate components , modeled as functions from the index set to the real numbers .
Linear equivalence for geometric displacements at time
For a given reference frame and a time , this definition establishes a linear equivalence (an isomorphism of real vector spaces) between the space of coordinate vectors relative to the frame, , and the space of geometric displacements, modeled as the Euclidean space . This equivalence is defined by the basis of the reference frame at time , allowing coordinate-based vectors to be interpreted as physical displacements in space.
Topological space structure on induced by
For a reference frame in a -dimensional space, the set of frame vectors is endowed with a topological space structure. This topology is defined as the product topology on the coordinate components, induced by the equivalence between and (modeled as functions ).
Continuous linear equivalence
For a given reference frame in a -dimensional space, this definition establishes a continuous linear equivalence (a topological vector space isomorphism) between the space of coordinate vectors relative to that frame, , and the space of coordinate components , modeled as the type of functions .
is finite-dimensional over
For a given reference frame in a -dimensional space, the space of coordinate vectors is a finite-dimensional vector space over the real numbers .
Continuous linear equivalence at time
For a given reference frame and a time , this definition establishes a continuous linear equivalence (a topological vector space isomorphism) between the space of coordinate vectors and the space of geometric displacements in -dimensional space, represented as the Euclidean space . This mapping is determined by the frame's basis at time .
is a normed additive commutative group if
For a reference frame that satisfies the property of metric conservation (i.e., holds), the space of coordinate vectors is equipped with the structure of a normed additive commutative group. The norm of a vector is defined as the physical length of its corresponding geometric displacement, pulled back from the Euclidean space of displacements at time .
is an inner product space over
For a reference frame that satisfies the property of metric conservation (i.e., holds), the space of coordinate vectors is equipped with the structure of a real inner product space. The inner product of two vectors is defined by pulling back the standard inner product from the space of geometric displacements at time : where is the linear equivalence (`dispEquiv 0`) that maps coordinate vectors to physical displacements at the initial time .
in an orthonormal reference frame
In an orthonormal reference frame, for any coordinate vector , the square of its norm is equal to the sum of the squares of its components: where denotes the -th component of the vector .
in an Orthonormal Reference Frame
In an orthonormal reference frame, for any two coordinate vectors and , their inner product is equal to the sum of the products of their corresponding components: where and denote the -th components of the vectors and respectively.
