Big consumer-products companies are going back to school.

Businesses including Sprint Nextel Corp., Levi Strauss & Co. and Mattel Inc. are sponsoring college classes and graduate-level research to get help with their online marketing from the young and hyperconnected. Sprint, for example, supplies a class at Boston’s Emerson College with smartphones and unlimited service in exchange for students working gratis on the company’s local Internet push.