a² − b² = (a + b)(a − b), or written another way, a² = (a + b)(a − b) + b²
Picture: cut a strip of width b off a square of side a and move it to the bottom. You get a rectangle (a + b) by (a − b), with a small b × b square left over.
Around 750 CE, Śhrīdharāchārya used this to square numbers quickly:
55² = (55 + 5)(55 − 5) + 5² = 60 × 50 + 25 = 3025.
Try it: 35² = 40 × 30 + 25 = 1225; 65² = 70 × 60 + 25 = 4225; 85² = 90 × 80 + 25 = 7225; 105² = 110 × 100 + 25 = 11025. A number ending in 5 squares to (tens digit × next number) followed by 25.
Products near a middle number: 104 × 96 = (100 + 4)(100 − 4) = 10000 − 16 = 9984. 23 × 17 = 20² − 3² = 391. 17 × 21 = 19² − 2² = 357.
Factoring: 36s² − 49t² = (6s + 7t)(6s − 7t).
Tap the diagram to enlarge it
- a² = (a + b)(a − b) + b²
- 55² = 60 × 50 + 25
- 104 × 96 = 100² − 4²