Lawrence H. Summers resigned yesterday as president of Harvard University after a relatively brief and turbulent tenure of five years, nudged by Harvard’s governing corporation and facing a vote of no confidence from the influential Faculty of Arts and Sciences.