For p variables, p principal components are formed as follows:

Help created on 10/11/2018