A Mathematical Analysis of Q