The Beta Function Explained (and why it's useful)