I made a copy of a television program that's relevant to my class. Since it cannot be purchased or rented, can the library retain the copy?

No, other than the exemptions provided by the fair use guidelines, the copyright owner has the exclusive right to perform or distribute the program.