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

Help created on 7/12/2018