The Mathematics Behind It