CITE THIS NOTEBOOK: Generalization of the Galilei- and Lorentz-transformations by Oliver Seipel. Wolfram Community JAN 3 2023.
If you want to know what a theorems means, you have to look what its proof proofs.
Ludwig Wittgenstein.

Motivation

You may have seen the Galilei-Transformations:(G1)
x'=x-vt
x=x'+vt'
​(G2)
t'=t
t=t'
​from classical physics.And the Lorentz-Transformations:(L1)
x'=γ(x-vt)
x=γ(x'+vt')
​(L2)
t'=γt-
v
2
c
x
t=γt'+
v
2
c
x'
​from special theory of relativity with
1
γ
=
1-
2
v
2
c
.Together with the principle of relativity the addition theorem follows:(G3)
u=u'+v
​(L3)
u=
u'+v
1+
u'v
2
c
​And for the speed of light we have(G4)
c'=c-v
​(L4)
c’=c
The question of concern here is:
What are the general transformations derived from the principle of relativity alone (i.e. neither using
c'=c
like in special theory of relativity nor
t'=t
as in classical physics)?
This will be the answer:(S1)
x'=k(x-vt)
,
k=
1
1-
v
c
1+
v
c'

>0
​(S2)
t'=kt-k-
1
k
x
v
​and the addition theorem(S3)
u=
u'+v
1+
k-
1
k
kv
u'
​And for the speed of light(S4)
c'=c-αv
for some constant
0<=α<=1
.
α=0
is (L4),
α=1
is (G4)
k
reduces with (L4) to the SRT case:
In[]:=
Simplify
1
1-
v
c
1+
v
cp
/.cp->c
Out[]=
1
1-
2
v
2
c
k
reduces with (G4) to the classic case:
In[]:=
Simplify
1
1-
v
c
1+
v
cp
/.cp->c-v
Out[]=
1
Remark:
The reference frame S has coordinates
x,t
and reference frame S’ has coordinates
x'
, t’. Reference frame S’ moves with
v
relativ to S and reference frame S moves with
-v
relativ to S’. Both systems are inertial frames of reference.

Derivation of the transformations (S1) and (S2)

Remark: x’ is interpreted as Derivative:
In[]:=
FullForm[x']
Out[]//FullForm=
Derivative[1][x]
So we do some formatting trick:
In[]:=
Format[xp]:="x'"​​Format[tp]:="t'"​​Format[up]:="u'"​​Format[cp]:="c'"
In[]:=
principleofrelativity={v->-v,t->tp,tp->t,xp->x,x->xp,u->up,up->u,c->cp,cp->c}
Out[]=
{v-v,tt',t't,x'x,xx',uu',u'u,cc',c'c}
A straight uniform motion requires a linear transformation:
x'=
k
1
x+
k
2
t
The origin
x'=0
of S’ is moving with
x=vt
as seen from S.
In[]:=
Simplify[xp==
k
1
x+
k
2
t/.First[Solve[0==
k
1
vt+
k
2
t,
k
2
]]]
Out[]=
x'(-tv+x)
k
1
So we really have only a single constant
k
:
In[]:=
S1=xp==k(x-vt)
Out[]=
x'k(-tv+x)
Remark: You can change this equation into a rule by:
In[]:=
Rule@@S1
Out[]=
x'k(-tv+x)
With the principle of relativity it follows ( and
k=k'
must also hold, otherwise the principle of relativity is violated)
In[]:=
S1p=S1/.principleofrelativity
Out[]=
xk(t'v+x')
For the time-transformation it follows:
In[]:=
S2p=Equal@@Apart[First[First[Solve[S1,t]]]/.Rule@@S1p]
Out[]=
tkt'+
(-1+
2
k
)x'
kv
And with the principle of relativity:
In[]:=
S2=S2p/.principleofrelativity
Out[]=
t'kt-
(-1+
2
k
)x
kv
Remark:
k>0
otherwise the time could move backwards .

Relativity of simultaneity

In[]:=
Format[Δxp]:="Δx'"​​Format[Δtp]:="Δt'"​​Format[Δx]:="Δx"​​Format[Δt]:="Δt"
In[]:=
replacewithdifferences={x->Δx,t->Δt,tp->Δtp,xp->Δxp}
Out[]=
{xΔx,tΔt,t'Δt',x'Δx'}
Time difference in S’ for vanishing time differences in S:
In[]:=
S2/.replacewithdifferences/.Δt->0
Out[]=
Δt'-
(-1+
2
k
)Δx
kv
This is zero if
2
k
=1
. Only in classical physics all oberservers agree with simultaneity.

Relativity of length

Space difference in S’ for vanishing time differences in S:
(We do measure the lenght at the same time in S’ only in classical physics.)
In[]:=
S1/.replacewithdifferences/.Δt->0
Out[]=
Δx'kΔx
Space difference in S for vanishing time differences in S’:
(We do measure the lenght at the same time in S only in classical physics.)
In[]:=
S1p/.replacewithdifferences/.Δtp->0
Out[]=
ΔxkΔx'
You have to be carfull at what conditions you are measuring the length!

Relativity of time

Time difference in S’ for vanishing space differences in S: (i.e. a clock resting in S, moving in S’)
In[]:=
S2/.replacewithdifferences/.Δx->0

Addition of speed

A body is moving in S on a straight line at constant speed:
The same body is moving in S’ on a straight line at constant speed:
We do some hand optimization:
They are really the same:

The speed of light in different reference frames

A lightning as seen from S:
And S’:
We solve the equation “Lightning” for t and insert it in S1:
We solve the equation “Lightningp” for t’ and insert it in S1’:
And optimized by a human:
But they are all the same:
To simplify we need the assumption that the speed of light is positive:
Now we parameterize the speed of light:
Classical physics:
Special Relativity:
Generalized physics:
some hand optimization:
They are really the same:
Addition of speeds for this case:
Ans from the general case above:
They are the same:

Fizeau 1851

Fizeau measured the speed of light in moving water:
Comparing the coefficients gives:
But it’s not with classical physics:
The best value for α from Fizeau is:
Further Reading:
​https://en.wikipedia.org/wiki/Special_relativity​
​https://en.wikipedia.org/wiki/Fizeau_experiment