Georg Cantor
Mathematics: German mathematician Georg Cantor (1845-1918) invented set theory (Mengenlehre). He also realized that there are different types of infinity. Cantor suffered from manic-depressive illness and ended up in mental institution.