Let A, B, and C be frames of reference with coordinates (ct,x), (ct~,x~), and (ct,x). Let the velocity of B be v1 with respect to A, and the velocity of C be v2 with respect to B. If we let βv1=v1/c, βv2=cv2, γv1=1/1−βv12, and γv2=1/1−βv22, we can write