Sturm-Liouville theories