Andesite is an igneous, volcanic rock, of intermediate composition, with aphanitic to porphyritic texture. The mineral assemblage is typically dominated by plagioclase plus pyroxene and/or hornblende. Biotite, quartz, magnetite, sphene are common accessory minerals. Alkali feldspar may be present in minor amounts. The quartz-feldspar abundances in andesite and other volcanic rocks are illustrated in QAPF diagrams. Relative alkali and silica contents are illustrated in TAS diagrams.
Andesite can be considered as the extrusive equivalent of plutonic diorite. Andesites are characteristic of subduction zones, such as the western margin of South America. The name andesite is derived from the Andes mountain range.
Water in the subducted oceanic lithosphere 'boils off' from the slab by dehydration of hydrous minerals such as amphibole, zeolites, chlorite etc, which are formed in the oceanic lithosphere during hydrothermal circulation at the mid-ocean-ridge. As these minerals are subjected to Barrovian Facies Sequence or Franciscan Facies Sequence metamorphism during subduction, they change to more stable, dehydrated forms, releasing water and soluble elements into the overlying wedge of mantle.
The slab itself, or the overlying mantle wedge, may melt. If the slab melts, it may include subducted sediment as well. The water and initial slab melts rise into the mantle wedge, prompting melting of the peridotite to produce basaltic magma with a distinctive enrichment of soluble elements (e.g. K, Ba, and Pb) compared to insoluble elements (e.g. Nb and Ti).
On its way to the surface, the melt stalls and cools, enabling the fractional crystallization of silica poor minerals, thus raising the silica content of the remaining melt and resulting in andesitic magma.
Alternatively, the basaltic melt may heat up the overlying arc, prompting partial melting, and may even assimilate sediments, previous volcanic rocks, etcetera, whilst undergoing fractional crystallisation. These rocks are subordinate due to the difficulty in assimilating sufficient cold material by magmas without cooling to a degree that they become immobile.
Ultimately, the resultant composition of andesite and intermediate magmas is the result of fractional crystallisation, assimilation, partial melting and contamination by the subducted slab. These may take considerable effort to resolve the individual components.