The correct inference based on the information in the sentences is:
**Libraries are working hard to remain relevant in the digital age by expanding their offerings.**
This option reflects the library's efforts to provide diverse services and materials beyond just traditional books.