Interest in network effects and phase changes in systems is bringing statistical mechanics to the heart of science and engineering. This rigorous introduction for advanced undergraduate or beginning graduate students in mathematics and physics teaches important concepts by studying specific models, and includes many exercises, with solutions.