The Piano Sonata No. 17 in D minor, Op. 31, No. 2, was composed in 1801/02 by Ludwig van Beethoven. It is usually referred to as "The Tempest" (or Der Sturm in his native German), but the sonata was not given this title by Beethoven, or indeed referred to as such during his lifetime. The name comes from a claim by his associate Anton Schindler that the sonata was inspired by the Shakespeare play. However, much of Schindler's information is distrusted by classical music scholars. The British music scholar, Donald Francis Tovey, in his authoritative book A Companion to Beethoven's Pianoforte Sonatas, says that
With all the tragic power of its first movement the D minor Sonata is, like Prospero, almost as far beyond tragedy as it is beyond mere foul weather. It will do you no harm to think of Miranda at bars 31-38 of the slow movement... but people who want to identify Ariel and Caliban and the castaways, good and villainous, may as well confine their attention to the exploits of Scarlet Pimpernel when the Eroica or the C minor Symphony is being played (pg. 121).