The Mathematics of (Hacking) Passwords

At one time or another, we have all been frustrated by trying to set a password, only to have it rejected as too weak. We are also told to change our choices regularly. Obviously such measures add safety, but how exactly?

https://www.scientificamerican.com/article/the-mathematics-of-hacking-passwords/