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

Help created on 9/19/2017