Economical foundation of education