From square of b, take 4ac;
Square root extract, and b subtract;
Divide by 2a; you’ve x, hooray!
I am not sure of the origins of this mnemonic. The earliest version I could find was from J. S. Mackay in 1894, but he says the mnemonic was given to him by a member of the Edinburgh Mathematical Society.
Here’s another mnemonic for the quadratic formula:
And let’s not forget the Quadratic Formula Rap: