L3 (Maschberger 2013)
Form
Maschberger (2013) suggest an IMF that can capture the high and low mass behaviour we observe, while being continuous, and suggest the following form
With the values
Note
We typically define power laws like \(M^\alpha\), with \(\alpha < 0\), as opposed to having \(\alpha > 0\) and \(M^{-\alpha}\). This is an exception, as it would potentially be more confusing to switch all the signs compared to the original paper.
Implemented in
This is implemented in the L3IMF class, where the user is free to pick whatever parameters they like or use the default (same as above).
Integrals
The integrals of interest are provided in the original paper, Maschberger (2013), modulo some manipulation. As such we do not derive the integrals from first principles, like other IMFs, but rather describe how to convert them into a form we are interested in.
For this we will use the auxillary function:
It is informative to first take the derivative
and note the relation to the IMF
Total number of stars
For this integral we use the form of the IMF directly above. See also eqn 21 of Maschberger (2013).
Total mass of stars
For this integral we use the parameterisation in eqns 24–25 of Maschberger (2013). This requires the incomplete beta function. Under the hood we will use scipy.special.beta and scipy.special.betainc.
Define the incomplete beta function \(B(a, b, t)\) as it is by scipy:
with the fact \(\int^{b}_{a}f(x)\mathrm{d}x = \int^{b}_{0}f(x)\mathrm{d}x - \int^{a}_{0}f(x)\mathrm{d}x\) we can write the integral with arbitrary limits
We will also use the substitution and it’s derivative
with \(a = \frac{2-\alpha}{1-\alpha}, b = \beta - a\).