When a company announces a $10 billion stock buyback, its earnings per share can rise even if the company's actual total profit doesn't grow at all. That's not a trick, exactly — it's simple math. If a company has 1 billion shares and buys back 100 million of them, the same total profit is now divided among 900 million shares instead of 1 billion, mechanically raising the profit-per-share number.
Companies buy back stock for real reasons: returning excess cash to shareholders (an alternative to paying a dividend), signaling confidence that the stock is undervalued, and offsetting the dilution from employee stock compensation.
AAPL's real, most recently reported annual buyback dollar figure from SEC filings.
Correct moves you up, wrong moves you down — reach 100 to master this lesson.