This book grew out of my lecture notes for a graduate course on optimal control theory which I taught at the University of Illinois at Urbana-Champaign during the period from 2005 to 2010. While preparing the lectures, I have accumulated an entire shelf of textbooks on calculus of variations and optimal control systems.