Detective fiction is a branch of crime fiction in which a detective (or detectives), either professional or amateur, investigate a crime, usually murder. Detective fiction is the most popular form of both mystery fiction and hardboiled crime fiction.
Commonly in detective fiction, the investigator has some source of income other than detective work and some undesirable eccentricities or striking characteristics. He or she frequently has a less able assistant (or foil) who acts as an audience surrogate for the explanation of the mystery at the end of the story.
The earliest known example of a detective story was "The Three Apples", one of the tales narrated by Scheherazade in the One Thousand and One Nights (Arabian Nights). In this tale, a fisherman discovers a heavy locked chest along the Tigris river and he sells it to the Abbasid Caliph, Harun al-Rashid, who then has the chest broken open only to find inside it the dead body of a young woman who was cut into pieces. Harun orders his vizier, Ja'far ibn Yahya, to solve the crime and find the murdererer within three days, or be executed if he fails his assignment.[1] Suspense is generated through multiple plot twists that occur as the story progesses.[2] This may thus be considered an archetype for detective fiction.[3]
The main difference between Ja'far in "The Three Apples" and later fictional detectives such as Sherlock Holmes and Hercule Poirot, however, is that Ja'far has no actual desire to solve the case. The whodunit mystery is solved by the murderer himself confessing his crime,[4] which in turn leads to another assignment in which Ja'far has to find the culprit who instigated the murder within three days or else be executed. Ja'far again fails to find the culprit before the deadline, but due to his chance discovery of a key item, he eventually manages to solve the case through reasoning, in order to prevent his own execution.[5]
Another strand of detective fiction is the Ming Dynasty Chinese detective fiction such as Bao Gong An (Chinese:包公案) and the 18th century novel Di Gong An (Chinese:狄公案). The latter was translated into English as Dee Goong An (Celebrated Cases of Judge Dee) by Dutch sinologist Robert Van Gulik, who then used the style and characters to write an original Judge Dee series.
The hero of these novels is typically a traditional judge or similar official based on historical personages such as Judge Bao (Bao Qingtian) or Judge Dee (Di Renjie). Although the historical characters may have lived in an earlier period (such as the Song or Tang dynasty) the novels are often set in the later Ming or Manchu period.
These novels differ from the Western tradition in several points as described by van Gulik:
Van Gulik chose Di Gong An to translate because it was in his view closer to the Western tradition and more likely to appeal to non-Chinese readers.
One of the earliest examples of detective fiction is Voltaire's Zadig (1748), which features a main character who performs feats of analysis.[6] The Norwegian crime novel "Mordet på Maskinbygger Rolfsen" ("The Murder of Engine Maker Rolfsen") by Maurits Hansen was published in 1839.[7]
Das Fräulein von Scuderi, by E.T.A. Hoffmann, in which Mlle de Scudery, a kind of 18th century Miss Marple, establishes the innocence of the police's favorite suspect in the murder of a jeweller, is sometimes cited as the first detective story and a direct influence on Edgar Allan Poe's "The Murders in the Rue Morgue".[8] However, detective fiction is more often considered to have begun in 1841 with the publication of "The Murders in the Rue Morgue" itself, [6] featuring "the first fictional detective, the eccentric and brilliant C. Auguste Dupin". Poe set up a plot formula that's been successful ever since, give or take a few shifting variables."[9] Poe followed with further Auguste Dupin tales: "The Mystery of Marie Roget" in 1843, and "The Purloined Letter" in 1844. Poe referred to his stories as "tales of ratiocination".[6] In stories such as these, the primary concern of the plot is ascertaining truth, and the usual means of obtaining the truth is through a complex and mysterious process combining intuitive logic, astute observation, and perspicacious inference. "Early detective stories tended to follow an investigating protagonist from the first scene to the last, making the unraveling a practical rather than emotional matter."[9]
"The Mystery of Marie Roget" is particularly interesting because it is a barely fictionalized account based on Poe's theory of what happened to the real-life Mary Cecilia Rogers. The style of the analysis, with its attention to forensic detail, makes it a precursor and perhaps inspiration for the stories about the most famous of all fictional detectives, Arthur Conan Doyle's Sherlock Holmes.[10] Indeed, Holmes mentions the Poe story in the first Conan Doyle novel.
Another early example of a whodunit is a sub-plot in the vast novel Bleak House (1853) by Charles Dickens. The conniving lawyer Tulkinghorn is killed in his office late one night, and the crime is investigated by Inspector Bucket of the Metropolitan police force. Numerous characters appeared on the staircase leading to Tulkinghorn's office that night, some of them in disguise, and Inspector Bucket must penetrate these mysteries to identify the murderer.
Dickens's protégé, Wilkie Collins (1824-1889) — sometimes referred to as the "grandfather of English detective fiction" — is credited with the first great mystery novel, The Woman in White. His novel The Moonstone (1868) was described by T. S. Eliot as "the first and greatest of English detective novels" and by Dorothy L. Sayers as "probably the very finest detective story ever written". Although technically preceded by Charles Felix's The Notting Hill Mystery (1865), The Moonstone can claim to have established the genre with several classic features of the twentieth-century detective story:
Some readers have suggested much earlier prototypes for the whodunnit, most notably the Old Testament story of Susanna and the Elders (Daniel 13; in the Protestant Bible this story is found in the apocrypha); "Oedipus Rex", Sophocles' dramatic masterpiece, in which the young Oedipus tries to find out what happened to his murdered father and to his mother; the story of the dog and the horse related in the third chapter of Voltaire's Zadig (1747).
Many English and some North American readers, in what became known as the Golden Age of Detective Fiction between the wars, generally preferred a type of detective story in which an outsider -- sometimes a salaried investigator or a police officer, but often a gifted amateur -- investigates a murder committed in a closed environment by one of a limited number of suspects. The most widespread subgenre of the detective novel became the whodunit (or whodunnit), where great ingenuity may be exercised in narrating the events of the crime, usually a homicide, and of the subsequent investigation in such a manner as to conceal the identity of the criminal from the reader until the end of the book, when the method and culprit are revealed. "The golden age of detective fiction began with high-class amateur detectives sniffing out murderers lurking in rose gardens, down country lanes, and in picturesque villages. Many conventions of the detective-fiction genre evolved in this era, as numerous writers -- from populist entertainers to respected poets -- tried their hands at mystery stories."[9]
The four original Queens of Crime were Agatha Christie, Dorothy L. Sayers, Ngaio Marsh and Margery Allingham. Apart from Ngaio Marsh (New Zealand) they were all female British writers; perhaps Josephine Tey could be added.
The most popular writer of the Golden Age whodunnit, and one of the most popular writers of all time, was Agatha Christie, who produced a long series of books featuring her detectives Hercule Poirot and Miss Marple, amongst others, and usually including a complex puzzle for the baffled and misdirected reader to try and unravel. Also popular were the stories featuring Dorothy L. Sayers's Lord Peter Wimsey and S. S. Van Dine's Philo Vance.
The 'puzzle' approach was carried even further into ingenious and seemingly impossible plots by John Dickson Carr - also writing as Carter Dickson - who is regarded as the master of the "locked room mystery" and Cecil Street, who also wrote as John Rhode, whose detective Dr. Priestley specialised in elaborate technical devices, while in the US the whodunnit was adopted and extended by Rex Stout and Ellery Queen, among others. The emphasis on formal "rules" during the Golden Age (as codified in 1929 by Ronald Knox) produced a variety of reactions. Most writers were content to follow the rules slavishly, some flouted some or all of the conventions, and some exploited the conventions with genius to produce new and startling results.