A whodunit or whodunnit (for "Who [has] done it?" or "Who did it?") is a complex, plot-driven variety of the detective story in which the audience is given the opportunity to engage in the same process of deduction as the protagonist throughout the investigation of a crime. The reader or viewer is provided with the clues from which the identity of the perpetrator may be deduced before the story provides the revelation itself at its climax. The investigation is usually conducted by an eccentric, amateur, or semi-professional detective.
Journalist Wolfe Kaufman claimed that he coined the word "whodunit" around 1935 while working for Variety magazine. However, an editor of the magazine, Abel Green, attributed it to his predecessor, Sime Silverman. The earliest appearance of the word "whodunit" in Variety occurs in the edition of August 28, 1934, in reference to a film adaptation of the play Recipe for Murder, as featured in the headline, "U's Whodunit: Universal is shooting 'Recipe for Murder,' Arnold Ridley's play". The film was eventually titled Blind Justice.
The "whodunit" flourished during the so-called "Golden Age" of detective fiction, between 1920 and 1950, when it was the predominant mode of crime writing. Many of the best-known writers of whodunits in this period were British — notably Agatha Christie, Nicholas Blake, G. K. Chesterton, Christianna Brand, Edmund Crispin, Michael Innes, Dorothy L. Sayers, Gladys Mitchell, and Josephine Tey. Others – S. S. Van Dine, John Dickson Carr, and Ellery Queen — were American, but imitated the "English" style. Still others, such as Rex Stout, Clayton Rawson, and Earl Derr Biggers, attempted a more "American" style.
Over time, certain conventions and clichés developed which limited surprise on the part of the reader - vis-à-vis details of the plot - the identity of the murderer. Several authors excelled, after successfully misleading their readers, in revealing an unlikely suspect as the real villain of the story. They often had a predilection for certain casts of characters and settings, with the secluded English country house at the top of the list.
One reaction to the conventionality of British murder mysteries was American "hard-boiled" crime fiction, epitomized by the writings of Raymond Chandler, Dashiell Hammett, and Mickey Spillane, among others. Though the settings were grittier, the violence more abundant and the style more colloquial, plots were, as often as not, whodunits constructed in much the same way as the "cozier" British mysteries.
Currently popular are live "whodunit" experiences, including game form, where guests at a private party might use cards, a board, or video from a pre-packaged box, to perform the roles of the suspects and detective; and there are a number of murder mystery dinner theaters, where either professional or community theatre performers take on those roles, and present the murder mystery to an audience, usually in conjunction with a meal. Typically before or immediately following the final course, the audience is given a chance to offer their help in solving the mystery.
Examples of whodunits
Recent additions to the subgenre of the whodunit include Simon Brett, the Thackery Phin novels of John Sladek, Lawrence Block's The Burglar in the Library (1997) (which is a spoof set in the present in an English-style country house), Kinky Friedman's Road Kill (1997), Ben Elton's Dead Famous (2001), and Gilbert Adair's The Act of Roger Murgatroyd (2006).
An important variation on the whodunit is the inverted detective story (also referred to as a "howcatchem" or "howdunnit") in which the guilty party and the crime are openly revealed to the reader/audience and the story follows the investigator's efforts to find out the truth while the criminal attempts to prevent it. The Columbo TV movie series is the classic example of this kind of detective story (Law & Order: Criminal Intent and The Streets of San Francisco also fit into this genre). This tradition dates back to the inverted detective stories of R Austin Freeman, and reached an apotheosis of sorts in Malice Aforethought written by Francis Iles (a pseudonym of Anthony Berkeley). In the same vein is Iles's Before the Fact (1932), which became the Hitchcock movie Suspicion. Successors of the psychological suspense novel include Patricia Highsmith's This Sweet Sickness (1960), Simon Brett's A Shock to the System (1984), and Stephen Dobyns's The Church of Dead Girls (1997).
Parody and spoof
In addition to standard humor, parody, spoof, and pastiche have had a long tradition within the field of crime fiction. Examples of pastiche are the Sherlock Holmes stories written by John Dickson Carr, and hundreds of similar works by such authors as E. B. Greenwood. As for parody, the first Sherlock Holmes spoofs appeared shortly after Conan Doyle published his first stories. Similarly, there have been innumerable Agatha Christie send-ups. The idea is to exaggerate and mock the most noticeable features of the original and, by doing so, amuse especially those readers who are also familiar with that original.
There are also "reversal" mysteries, in which the conventional structure is deliberately inverted. One of the earliest examples of this is Trent's Last Case (1914) by E. C. Bentley (1875–1956). Trent, a very able amateur detective, investigates the murder of Sigsbee Manderson. He finds many important clues, exposes several false clues, and compiles a seemingly unassailable case against a suspect. He then learns that that suspect cannot be a murderer, and that while he found nearly all of the truth, his conclusion is wrong. Then, at the end of the novel, another character tells Trent that he always knew the other suspect was innocent, because "I shot Manderson myself." These are Trent's final words to the killer:'[...] I'm cured. I will never touch a crime-mystery again. The Manderson affair shall be Philip Trent's last case. His high-blown pride at length breaks under him.' Trent's smile suddenly returned. 'I could have borne everything but that last revelation of the impotence of human reason. [...] I have absolutely nothing left to say, except this: you have beaten me. I drink your health in a spirit of self-abasement. And you shall pay for the dinner.'
Another example of a spoof, which at the same time shows that the borderline between serious mystery and its parody is necessarily blurred, is U.S. mystery writer Lawrence Block's novel The Burglar in the Library (1997). The burglar of the title is Bernie Rhodenbarr, who has booked a weekend at an English-style country house just to steal a signed, and therefore very valuable, first edition of Chandler's The Big Sleep, which he knows has been sitting there on one of the shelves for more than half a century. Alas, immediately after his arrival a dead body turns up in the library, the room is sealed off, and Rhodenbarr has to track down the murderer before he can enter the library again and start hunting for the precious book.
Murder by Death is Neil Simon's spoof of many of the best-known whodunit sleuths and their sidekicks. In the 1976 film, Sam Spade (from The Maltese Falcon) becomes Sam Diamond, Hercule Poirot becomes Milo Perrier, and so on. The characters are all gathered in a large country house and given clues to solve the mystery.
Tom Stoppard's The Real Inspector Hound is a send-up of crime fiction novels and features a bumbling detective.
The 2001 film Gosford Park paid homage to the classic whodunit premise, while at the same time presenting an original story.
The term whodunit is also used among homicide investigators to describe a case in which the identity of the killer is not quickly apparent. Since most homicides are committed by people with whom the victim is acquainted or related, a whodunit case is usually more difficult to solve.