Corpfin, Mod 7: Long and Short Portfolios
The comments in this thread are correct. Just as we borrow or lend at the risk-free rate, we buy and sell stock portfolios. Small investor rarely sell stocks short; hedge funds do this all the time. The hedge funds are the arbitragers who keep the market efficient.
The weights for each portfolio are derived algebraically, as done by Forum Guru.