the piano sonata no. 11 in a major, k. 331 is a piece of music for the piano. it was written by wolfgang amadeus mozart. it was published in vienna, austria by artaria in 1784. it is the second of a group of three piano sonatas. mozart probably wrote the group in salzburg in the summer of 1783. it was then that he brought his wife constance (weber) to his hometown to introduce her to his father leopold. the first sonata in the group is no. 10 in c major, k. 330. the third is no. 12 in f major, k. 332. mozart numbered this group of sonatas 1 through 3. he spent much time teaching during his early years in vienna. it is likely that these sonatas were written for his pupils.