Spacetime diagrams. Assumes c=1.
Version 0.4
To do:
(i) Better/faster wavy light signal.
(ii) Improve interval plotter to better handle purely timelike (vertical) intervals.
(iii) Construct Lorentzian inner product to simplify point definitions (so I can use vectors)
(iv) Express Lorentz transform in matrix form as well?
(v) Add ...
Velocity of S' relative to S.
![]()
Rapidity
![]()
Lorentz transformation – space, time, longitudinal velocity.
![]()
Invariant interval.
![]()
![]()
Worldline plotter – (a,b) = point through which wordline passes; B = velocity.
![]()
![]()
Interval plotter. Not currently good at vertical (b=B) intervals.
![function(I,a,b,A,B,X)=branch(if((B-b)/(A-a+d)*[X-a]+b,a<X<A),if((B-b)/(A-a+d)*[X-a]+b,A<X<a))](formula14.png)
Light signal plotter – a,b = initial x,t; l = length of signal. Negative l is left-moving.

Wavy light signal plotter [write 0=K]
![function(K,a,b,l,X,Y)=branch(if(Y-X+0.1*cos([15*[X+Y]])-a+b,a<X<a+l/sqrt(2)),if(-Y-X+0.1*cos([15*[X-Y]])+a+b,a+l/sqrt(2)<X<a))](formula18.png)
S's coordinate axes in S'
![]()
![]()
![]()
![]()
S''s coordinate axes in S
![]()
![]()
![]()
![]()
Invariant hyberbolae through origin.
![]()
![]()
Invariant hyberbolae. (Twitchy; must have H on RHS.)
![]()
![]()
![]()
Light signals. (Happen to be from event (a,b) specified in S at the moment.)
![]()
![]()
![]()
Event (a,b) in S and its image in S' [or vice-versa]; invariant hyberbola through it. Worldline through (a,b) with velocity V1. Events simultaneous with (a,b) in S/S'.
![]()
![]()
![]()
(a,b) in S and its image in S'...


![]()
![]()
![]()
![]()
![]()
(a,b) in S' and its image in S...


![]()
![]()
![]()
Event (p,q) in S and its image in S' [or vice-versa]. Worldline through (a,b) with velocity V2.
![]()
![]()
![]()
(p,q) in S and its image in S' ...


![]()
![]()
(p,q) in S' and its image in S ...


![]()
![]()
Interval connecting event (a,b) to (p,q) specified in S and its image in S'....
![]()
![]()
![]()
![]()
Interval connecting event (a,b) to (p,q) specified in S' and its image in S....
![]()
![]()
Length contraction. Rod at rest in S'. Worldines of ends of rod. Length of rod in S is separation between worldlines (ends of rod) at same moment of time in S. Length is greatest in rest frame of rod (S').
![]()
![]()
![]()
![]()
Time dilation. Clock at rest in S'. Time between ticks of clock is shortest in rest frame of clock (S').
![]()
![]()
Author: David A. Craig <http://web.lemoyne.edu/~craigda/>
This file was created by Graphing Calculator 3.5.
Visit Pacific Tech to download the helper application to view and edit these equations live.