Vedic maths › Squaring with the duplex

Squaring any number with the duplex

ऊर्ध्वतिर्यग्भ्याम् Ūrdhva-tiryagbhyām “vertically and crosswise”, a sutra of Vedic maths. The duplex, dvandva yoga, is how this sutra squares a number.

Squaring is multiplying a number by itself, so vertically and crosswise works. Because both numbers are the same, every crosswise pair comes up twice, and Vedic maths saves the work with the duplex (dvandva yoga): double one product instead of adding two equal ones.

The duplex of one digit is its square: 4 gives 16. Of two digits, twice their product: 43 gives 2 × 4 × 3 = 24. Of three digits, twice the outer two’s product plus the middle one’s square: 312 gives 2 × 3 × 2 + 1² = 13.

The method

  1. Take the digits from the left in growing groups: the first, the first two, the first three… up to the whole number.
  2. Then drop digits from the left until only the last is left.
  3. Write the duplex of each group. Those are the parts of the answer.
  4. Carry from the right, keeping one digit in each part.

Worked examples

43²

  1. The duplex of 4.4² = 16
  2. The duplex of 43.2 × 4 × 3 = 24
  3. The duplex of 3.3² = 9
  4. Put the parts side by side.16 | 24 | 9
  5. Carry from the right, keeping one digit in each part.9; 24: keep 4, carry 2; 16 + 2 = 18 → 1849

43² = 1849

76²

  1. The duplex of 7.7² = 49
  2. The duplex of 76.2 × 7 × 6 = 84
  3. The duplex of 6.6² = 36
  4. Put the parts side by side.49 | 84 | 36
  5. Carry from the right, keeping one digit in each part.36: keep 6, carry 3; 84 + 3 = 87: keep 7, carry 8; 49 + 8 = 57 → 5776

76² = 5776

312²

  1. The duplex of 3.3² = 9
  2. The duplex of 31.2 × 3 × 1 = 6
  3. The duplex of 312.2 × 3 × 2 + 1² = 13
  4. The duplex of 12.2 × 1 × 2 = 4
  5. The duplex of 2.2² = 4
  6. Put the parts side by side.9 | 6 | 13 | 4 | 4
  7. Carry from the right, keeping one digit in each part.4; 4; 13: keep 3, carry 1; 6 + 1 = 7; 9 → 97344

312² = 97344

Why it works

(10a + b)² = 100a² + 10 × 2ab + b², so the parts are a², 2ab and b²: the duplexes of a, ab and b.

With three digits, (100a + 10b + c)² = 10,000a² + 1000 × 2ab + 100 × (2ac + b²) + 10 × 2bc + c². Each bracket is a duplex.

Watch out

Try these

Work each one out, then tap it to see the answer.

  1. 23²

    4 | 12 | 9 → 529

  2. 58²

    25 | 80 | 64 → 3364

  3. 91²

    81 | 18 | 1 → 8281

  4. 123²

    1 | 4 | 10 | 12 | 9 → 15129

  5. 214²

    4 | 4 | 17 | 8 | 16 → 45796

Practise mental maths in the game: play Make Me Smarter, free, with no sign-up.

Source: This method is from Bharati Krishna Tirtha’s Vedic Mathematics (1965). The explanation, examples and questions here are our own.

More Vedic maths

Where Vedic maths comes from, all 16 sutras, and our sources: Vedic maths, explained.