Skip to content

Commit 21ad5fa

Browse files
committed
Add math blog post
1 parent 10523f4 commit 21ad5fa

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

src/content/assets/math.png

14.6 MB
Loading
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: "I think I just found a new way to do large multiplacations easily"
3+
description: "Wait, what?"
4+
image: "../assets/math.png"
5+
createdAt: 08-19-2025
6+
draft: false
7+
tags:
8+
- math
9+
- discovery
10+
---
11+
12+
### The Idea
13+
Suppose you want to compute `a × b`.
14+
15+
1. Compute the **sum**: `S = a + b`.
16+
2. Compute the **gap**: `D = b - a`.
17+
3. Pick a nearby **easy number** `M` close to `S` (like 100, 200, 500, 1000, 2000…), since `` is easy.
18+
4. Work out the **offset**: `E = M - S`.
19+
5. Use the formula:
20+
21+
```
22+
a × b = (M² - 2ME + E² - D²) / 4
23+
```
24+
25+
- `` is easy to square.
26+
- `2M` is easy to multiply by.
27+
- `` and `` are small.
28+
6. Finally, just **divide by 4** (halve twice).
29+
30+
---
31+
32+
### Example 1: 996 × 1007
33+
- `S = 996 + 1007 = 2003`
34+
- `D = 1007 - 996 = 11`
35+
- Pick `M = 2000`, so `E = -3`
36+
- `M² = 4,000,000`
37+
- Subtract `2ME = 4000 × -3 = -12,000` → add 12,000
38+
- Add `E² = 9`
39+
- Subtract `D² = 121`
40+
- Total = `4,011,888`
41+
- Divide by 4 → **1,002,972**
42+
43+
---
44+
45+
### Example 2: 876 × 943
46+
- `S = 876 + 943 = 1819`
47+
- `D = 943 - 876 = 67`
48+
- Pick `M = 2000`, so `E = 181`
49+
- `M² = 4,000,000`
50+
- Subtract `2ME = 4000 × 181 = 724,000`
51+
- Add `E² = 32,761`
52+
- Subtract `D² = 4,489`
53+
- Total = `3,304,272`
54+
- Divide by 4 → **826,068**
55+
56+
I actually stumbled on this while I was messing around with a calculator and trying to find “shortcuts” for doing things in my head. I noticed that whenever two numbers were close together, the product seemed to connect really nicely to their average squared, with just a tiny adjustment.
57+
At first I was just doing it with easy pairs like `98 × 102` (which is basically `100² - 2²`), but then I wondered if I could generalize it to *any* pair of numbers. After scribbling on paper for a while (and making a few mistakes 😅), I realized I could always jump to a nearby “easy square” like `1000²` or `2000²`, then just correct it with those little offset and gap terms.
58+
What really surprised me is how *fast* it feels in practice — like you’re just doing one big square you already know, then some much smaller corrections, and finally halving twice. It almost feels like cheating when the numbers line up nicely.
59+
I gave it to my dad (who has a degree in maths at cambridge university, the uk one) and he found that when he expanded it out, and then simplified it, it came out as a x b. I hope this formula can help you, I was thinking about keeping it to myself as a secret sauce for making tests with no calculators easier, but I believe in open science, so I'm sharing it with you.
60+
Maybe I should write a basic paper on this? Idk, comment below if you think I should.

0 commit comments

Comments
 (0)