Raga Journeya curious exploration of Carnatic ragas
‹ Curious Corner

The Math Behind Melakarta

The number is not a matter of convention. It follows from four conditions and a multiplication.

The count of melakarta ragas was not arrived at by choice or by tradition. It is the result of applying a small set of strict conditions to the twelve positions of the octave and enumerating every scale that satisfies them. That enumeration yields 72. Under those conditions, no other total is possible.

The conditions are set out below, each with the factor it contributes to the total.

The four conditions

  1. Every scale contains all seven swaras. S R G M P D N in ascent, and the same seven in descent, in strict order — no swara omitted and no vakra (zig-zag) movement. This is precisely what the term melakarta denotes: a complete parent scale. the condition that makes enumeration possible
  2. Shadjam and Panchamam are fixed. They are the invariant poles of the octave and the reference for the drone. Each admits exactly one position and therefore contributes no choice. × 1 each
  3. Madhyamam takes one of two forms. Shuddha Madhyamam (M1) or Prati Madhyamam (M2). × 2
  4. Rishabham and Gandharam share three positions between them, as do Dhaivatam and Nishadam. Rishabham may occupy position 1, 2 or 3; Gandharam may occupy 2, 3 or 4. Nine combinations therefore arise on paper. × 6 each — see below

Nine combinations, six admissible

Two constraints apply: Gandharam must lie above Rishabham, and the two cannot occupy the same position. Three of the nine combinations violate one of these and are consequently not scales at all.

= the two names denote the same position · ↓ Gandharam would fall below Rishabham

Dhaivatam and Nishadam present an identical structure: three positions against three, the same two constraints, and the same six admissible pairs.

The product

6× 2× 6= 72

Rishabham–Gandharam pairs  ×  Madhyamam  ×  Dhaivatam–Nishadam pairs

That constitutes the entire derivation. The total is 72 because six multiplied by two multiplied by six is 72, and for no other reason.

Construct one

Three selections, each one narrowing the set of remaining possibilities.

72 ragas remain possible

1 Rishabham and Gandharam
2 Madhyamam
3 Dhaivatam and Nishadam

The counterpart thirty-six places away

Madhyamam is the middle factor in the product, and it therefore divides the list precisely in half: ragas 1–36 take M1, and 37–72 repeat the identical sequence with M2.

Every melakarta consequently has a counterpart exactly 36 places away, identical in every swara but Madhyamam. Sankarabharanam is 29 and Kalyani is 65; 65 − 36 = 29, and the two differ in nothing but which Madhyamam is used.

The scales the conditions exclude

Were the only requirement that a scale begin on Shadjam and use seven of the twelve positions, there would be 462 such scales. Requiring Panchamam as well reduces the number to 252. Adding the remaining condition — that each of Rishabham, Gandharam, Madhyamam, Dhaivatam and Nishadam appear exactly once, within its own range and in order — excludes a further 180.

Seventy-two remain. The conditions are therefore not ornamental: they are what makes the set finite, ordered, and possible to learn in full.

Where the remaining ragas come from

The 72 are parent scales. A janya raga is derived from a melakarta by altering how that parent's swaras are used — omitting one in ascent or descent, introducing vakra movement, or placing emphasis differently. Mohanam, for example, is derived from Harikambhoji with two swaras omitted. The greater part of the performed repertoire consists of such derived ragas, and unlike the melakartas their number is not fixed.

Browse all 72 melakartas and their janyas ›