Where Science Fiction is the writing of stories derived from some form of extrapolation from the laws and theory of science, there is a subgenre of books which take well-established settings and worlds and take a documentarian, analytical view of how that setting fits into, illustrates, or contrasts with the "real world".
There are many reasons for this. It'd be nice to say that a lot are written because the author is using the known milieu and expanding the understanding of why the stories speak so strongly to the reader, for great stories do not exist in a vacuum. We are hopefully led to a deeper appreciation of both the stories and the world around us.
However, there is more than ample evidence to make the argument that a lot of it is either merchandising, trying to milk a franchise, or a Fan Wank gone horribly and publicly wrong.
- How William Shatner Changed the World
- The Star Trek : The Next Generation Technical Manual
- The Physics of Star Trek
- The Science of Superheroes It differs from most of the others in this category in that it is Science texbook first, superhero fan material second.
- The Science of Harry Potter
- The Science of His Dark Materials
- The Biology of B-Movie Monsters
- Averted in The Science of Discworld series, where the chapters alternate between "story" and "science", and illuminate each other. In the story chapters, the wizards of Unseen University study a world they created that lacks magic and impossibly runs without narrative causality - just scientific laws. The science chapters explain what's happening in the story - how scientists work, the formation of Earth, and so forth, serious explanations of the real science that the wizards have encountered. The writers mention the Fiction Science trope in the introduction, and say that they are not doing it.
- Physics of the Impossible by Michio Kaku, also the television series Sci-fi Science: Physics of the Impossible
- What's Science Ever Done for Us? looks at The Simpsons through a scientific lens.
- Law and the Multiverse, an entertaining blog about the application of real-world law in science fiction universes, often superhero worlds but venturing into other genres. The blog has spun off a book of superhero-specific legal commentary, The Law of Superheroes.
Note that while a lot of the books are in fact science-oriented, this is not the only topic. Thus we also have:
- The Tao of Pooh and the companion The Te of Piglet
- The Religions of Star Trek
- The Gospel According to Peanuts and The Parables of Peanuts
- in The Enemy Papers (expanded Enemy Mine book by Longyear) novels are supplemented with excerpt of The Talman (Drac "bible") and Drac for Travelers (sort of phrase-book).
- Open Court's Popular Culture and Philosophy® series: including Star Wars, Transformers, superheroes, and their book of the undead.