https://en.wikipedia.org/wiki/The_Road_to_Reality
It is quite long and dense but explains the math from first princples like you want.