"The Last Question" is a science fiction short story by American writer Isaac Asimov. The story centers around Multivac, a self-adjusting and self-correcting computer. Multivac had been fed data for decades, assessing data and answering questions, allowing man to reach beyond the planetary confines of Earth. However, in the year 2061, Multivac began to understand deeper fundamentals of humanity. In each of the first six scenes, a different character presents the computer with the same question, how the threat to human existence posed by the heat death of the universe can be averted: "How can the net amount of entropy of the universe be massively decreased?" That is equivalent to asking, "Can the workings of the second law of thermodynamics (used in the story as the increase of the entropy of the universe) be reversed?" Multivac's only response after much "thinking" is "INSUFFICIENT DATA FOR MEANINGFUL ANSWER."
The story jumps forward in time into later eras of human and scientific development. These new eras highlight humanity's goals of searching for "more"; more space, more energy, more planets to inhabit once the current one becomes overcrowded. As humanity's imprint on the universe expands, computers have subsequently become more compact, as evidenced in the "Microvac", a smaller and more advanced iteration of Multivac, noted in the second era of the story, which details humanity's inhabitation on "Planet X-23". In each era, someone decides to ask the ultimate "last question" regarding the reversal and decrease of entropy. Each time that Multivac's descendant is asked the question, it finds itself unable to solve the problem, and all it can answer is (linguistically increasingly-sophisticated) "THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER."
In the last scene, the god-like descendant of humanity, the unified mental process of over a trillion, trillion, trillion humans who have spread throughout the universe, watches the stars flicker out, one by one, as matter and energy end, and with them, space and time. Humanity asks AC ("Analog Computer"[a]), Multivac's ultimate descendant that exists in hyperspace beyond the bounds of gravity or time, the entropy question one last time, before the last of humanity merges with AC and disappears. AC is still unable to answer but continues to ponder the question even after space and time cease to exist. AC ultimately realizes that it has not yet combined all of its available data in every possible combination and so begins the arduous process of rearranging and combining every last bit of information that it has gained throughout the eons and through its fusion with humanity. Eventually AC discovers the answer—that the reversal of entropy is, in fact, possible—but has nobody to report it to, since the universe is already dead. It therefore decides to answer by demonstration. The story ends with AC's pronouncement:
And AC said: "LET THERE BE LIGHT!" And there was light—