MUSIC LESSON
FREE ACCESS

Writing a Two-Part Invention

Applying All Counterpoint Skills in an Original Composition

Bach's two-part inventions are the pedagogical apex of two-voice counterpoint. This lesson guides the student through the process of writing an original invention, from subject design through complete composition.

The Two-Part Invention as Compositional Form

Bach's 15 Two-Part Inventions (BWV 772-786) were composed primarily as teaching pieces — Bach described them as pieces "showing clearly not only how to play both parts cleanly and in correct style, but also how to create a good singing tone, to develop taste in composition, and to achieve a good musical imagination." They are the ideal model for student contrapuntal composition because they are short enough to compose completely (most are 24-40 measures); built on simple imitative technique accessible to any student who has completed species counterpoint; and musically beautiful and satisfying, demonstrating that technical rigour and aesthetic pleasure are not opposed.

Bach composed the inventions for the education of his own children and students, and they were collected in a clavier book for his eldest son Wilhelm Friedemann in 1720, then revised and fair-copied in 1723. The 15 inventions traverse 15 different keys (avoiding only those with too many sharps or flats to be comfortable on the harpsichord of the period). Each is a compact masterpiece of two-voice writing, and the set as a whole forms a complete pedagogical curriculum in itself.

Subject Design

The first step in writing a two-part invention is designing the subject — the opening 1-2 bar melodic idea from which the invention will be derived. A good invention subject has the following qualities:

Structure of a Two-Part Invention

A typical two-part invention structure unfolds in six stages:

This structure is not fixed — Bach's inventions vary considerably. The C major invention (BWV 772) is more loosely structured around continuous figuration; the F minor invention (BWV 780) is more rigorously formal with clear sectional divisions. But the alternation of subject entries (giving direction and formal articulation) with episodic sequences (providing harmonic development) is the invariable underlying logic.

Writing the Countersubject or Free Counterpoint

After the subject enters, voice 1 must continue with material that harmonises with voice 2's statement of the subject. There are two approaches:

Free counterpoint: Voice 1 invents new melodic material that simply harmonises well with the subject and follows good voice-leading principles. This is more flexible but provides less unity.

Countersubject: Voice 1 plays a fixed melody (the countersubject) that will accompany every statement of the subject throughout the invention. The countersubject must be written in invertible counterpoint with the subject so that it works above or below. This provides greater motivic unity at the cost of compositional flexibility.

Bach uses both approaches in different inventions. The C major (BWV 772) uses essentially free counterpoint with continuous figuration; the B-flat major (BWV 785) has a clearer countersubject that recurs throughout.

Practical Composition Guidelines

Step-by-step procedure for writing your own two-part invention:

Sources and Further Reading

LISTENING GUIDE

Bach Invention No. 8 in F major, BWV 779

Clear two-voice counterpoint with prominent imitation. Listen while following the score (IMSLP). Identify: subject entry (right hand), imitated answer (left hand), first episode (sequence), and key areas.

Bach Invention No. 14 in Bb major, BWV 785

Unusually expressive for an invention. The subject has a distinctive arching shape. Try to identify where the subject appears in each voice throughout the piece.

Bach Invention No. 11 in G minor, BWV 782

Minor mode with characteristically darker affect. Compare the subject design (minor key, angular) to the major inventions. The same structural logic applies regardless of mode.

SOURCES

ALL LESSONS CLOUD ATELIER