ProShares UltraShort QQQ (SQQQ) Explained: How to Profit from NASDAQ's Downside Safely
The math is not complicated. SQQQ uses derivatives (futures contracts and swaps typically) to create this inverse relationship. You are not shorting any stocks yourself. You're buying an ETF that is a vehicle for you.
https://www.btcdana.com/magazine/blog/164