If you're interested in this, definitely read the book _Suicide_ by the sociologist Emile Durkheim. (Published in 1897). It's an incredibly incisive analysis of several of the flavors of depressive thoughts that smart folks have. One of the top 3 books I've ever read.