To find the total number of books in Lydia's room, we can multiply the number of shelves by the number of books on each shelf:
Number of shelves = 4
Number of books per shelf = 9
Total number of books = Number of shelves × Number of books per shelf
Total number of books = 4 × 9 = 36
So, the answer is 36.