# Scaling Relations

In this picture , Keplers third law is written in a scaling relationship with solar mass.

$$a^3=\frac{G(m_1+m_2)}{4\pi^2}P^2 \rightarrow m_1+m_2 = \frac{4\pi^2a^3}{GP^2}$$

$$m_1+m_2=(1 M_{\odot})\, \left( \frac{a}{1\ \text{AU}}\right)^3\, \left(\frac{P}{1\ \text{year}}\right)^{-2}$$

original screenshot

I'm struggling in these scaling relationships.How that worked?

This example has less to do with scaling relations, and more to do with dimensional analysis - theoretical physicists like to express equations in terms of dimensionless ratios, because then it is really easy to plug in numbers and get a sense of how the equation behaves for certain parameter values.

In this case, you have Kepler's third law, which is a well-known result of the force of gravity and the laws of motion. To derive this form of Kepler's third law in dimensionless ratios, try to write the expression in terms of ratios that you want given the units that are relevant for the regime that you're interested in.

Kepler's third law states that the total mass of a binary system is

$$M = m_1 + m_2 = \frac{4\pi}{G} \frac{a^3}{T^2}$$

where $$G$$ is the gravitational constant, $$a$$ is the semimajor axis and $$T$$ is the period. Since the RHS of the above equation is equal to a quantity of mass, it must have dimensions of mass (otherwise we did algebra incorrectly), but we don't have units yet as these are all variables and known constants. To get units into the equation, multiply by 1 a couple times, and rearrange:

$$M = m_1 + m_2 = \frac{4\pi}{G} \bigg(\frac{a(1~AU)}{1~AU}\bigg)^3 \bigg(\frac{1yr}{T(1yr)}\bigg)^2$$

$$M = m_1 + m_2 = \frac{4\pi}{G} \bigg(\frac{1~AU^3}{1yr^2}\bigg) \bigg(\frac{a}{1~AU}\bigg)^3 \bigg(\frac{1yr}{T}\bigg)^2$$

Now we need to finish simplifying by substituting for $$G$$ in terms of the units that we already chose. The dimension of $$G$$ is: $$[G] = [length]^3/[mass][time]^2$$. You'll notice that $$G$$, by definition, has the exact dimensions that will cancel out the lengths and times to leave behind mass (this is a good way to check that you've done things correctly, especially when doing this for more complicated formulas). To put $$G$$ in terms of $$~AU$$ and $$yrs$$, carefully do the same thing to get:

$$G = 6.6\times10^{-11} \bigg( \frac{m^3}{kg~s^2} \bigg) \bigg(\frac{1~AU}{1.5\times10^{11}m}\bigg)^3 \bigg(\frac{2\times10^{30} kg}{1M_{\odot}}\bigg) \bigg(\frac{\pi\times10^7 s}{1 yr}\bigg)^2 = 38.6 \frac{~AU^3}{M_{\odot}yr^2}$$

Thus,

$$M = m_1 + m_2 = \frac{4\pi}{G} \bigg(\frac{1~AU^3}{1yr^2}\bigg) \bigg(\frac{a}{1~AU}\bigg)^3 \bigg(\frac{1yr}{T}\bigg)^2 \approx \frac{1}{3} \bigg(\frac{a}{1~AU}\bigg)^3 \bigg(\frac{1yr}{T}\bigg)^2 M_{\odot}$$

since $$4 \pi/38.6 \approx 1/3$$.

So, the equation in your image should be an approximately equal to sign, not an equal sign, since they've approximated the value of the numerical prefactor as i did, and especially since they just dropped the numerical prefactor as it is of order unity.

Once you get the hang of this process, it's kind of fun and is very helpful. :)