This is not a theoretical description of Portfolio Theory. It simply describes an overview of the maths used in the solution. There are many books and references online that describe the maths and the theory in more detail.