Kepler's third law of planetary motion can be demonstrated to be frame invariant in two ways
- By dividing the Kepler constant K by $\gamma^2$ which makes Kepler's third law absolutely frame invariant
$$\frac{R^3}{T^2}=\frac{K}{\gamma^2}$$
Let's work the problem to make sure. In the solar system's frame $K$ has the numerical value $7.5x10^{-6}$ when the orbital period $T$ is measured in $days$, the semi-major axis of the orbit $R$ is measured in astronomical units $AU$ and $\gamma = 1$
$$\frac{1AU^3}{365days^2}=\frac{7.5}{1}\times10^{-6}\frac{AU^3}{days^2}$$
While in the distant observer's frame where $\gamma=2$ and hence the Earth's orbital period is 730 days, we have
$$\frac{1AU^3}{730days^2}=\frac{7.5}{4}\times10^{-6}\frac{AU^3}{days^2}$$
Which is also true.
- By using Kepler's law in its general form as he used it,
which automatically compensates for relativistic time dilation. Consider the orbital periods $T$ and semi-major axes $R$ for the Earth and Mars. In this case Kepler's third law can be expressed as
$$\bigg(\frac{T_{Mars}}{T_{Earth}}\bigg)^2=\bigg(\frac{R_{Mars}}{R_{Earth}}\bigg)^3$$
In the frame of the solar system the Earth's orbital period is 365 days, Mars orbital period is 687 days and their ratio is 1.88. In the distant observer's frame where $\gamma=2$, the Earth's orbital period is 730 days, Mars orbital period is 1374 and their ratio is still 1.88. The manner in which the question is set up guarantees that the semi-major axes of the Earth and Mars remain unchanged in both frames. So Kepler's third law of planetary motion is shown again to be strictly frame invariant.
Crucial to these demonstrations is that the solar system's spacetime curvature is ignored. When spacetime curvature is taken into account the above results break down, as can be seen in the Big Ben Paradox? which is a recent and novel challenge to general and special relativity.