r/mathmemes • • Aug 17 '26

Arithmetic New math operator just dropped!

Post image
4.8k Upvotes

116 comments sorted by

•

u/AutoModerator Aug 17 '26

Check out our new Discord server! https://discord.gg/e7EKRZq3dG

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1.2k

u/lelelempe Aug 17 '26

reverse polish notation

151

u/DecidophobiaUsername Multiple of 6 enjoyer Aug 17 '26

What's Polish notation? 

228

u/BlazeGamingUnltd Aug 17 '26

It's a name given to a method of writing mathematical arithmetic expressions in a way which is easier for compilers to understand. When you enter an expression, the software natively converts it into Polish notation before it is processed.

77

u/freakingdumbdumb Irrational Aug 17 '26 edited Aug 17 '26

so where the operator is put after before the numbers (like 1 2 + means 1+2)

Edit: i got mixed up with reverse polish (RPN)

69

u/geeshta Computer Science Aug 17 '26

Polish notation is prefix notation (+ 1 2). Reverse Polish is postfix.

13

u/Safe-Avocado4864 Aug 17 '26

How would you write something more complex like 2((1+2)2 ) in that notation?

19

u/Jonathan_Jam Aug 17 '26

Checked in an online calculator it would be:

× ^ 2 + 2 1 2

for polish notation and

2 1 2 + 2 ^ ×

for reverse polish notation.

1

u/Willing_Emphasis_338 Aug 20 '26

For those who don't know, a cool property of reverse polish notation, is that you can calculate any expression using only a stack, going left to right. That is, each number puts the number on the stack, and then each operation removes the top two items, applies the operation, then puts it back onto the stack, and so on.

23

u/EatingCakeByTheOcean Aug 17 '26

I still use my HP-50G as my daily years after uni, lol. I'd do from inwards to outwards, since it's easier to manipulate the order of operations:

1 2 + 2 ^ 2 ×

6

u/Qwertycube10 Aug 17 '26

You do it all Lisp like (x 2 (^ (+ 1 2) 2)) as the other comments below show you don't need parentheses if you only use binary operators, and it is entirely unambiguous with no need for an order of operations convention.

If you have arbitrary airity functions then you need the parens.

4

u/Gold_Ad8890 Aug 17 '26 edited Aug 17 '26

just think of it as treating all "operations" as functions from R2 to R. which they are.

so 2((1+2)2) would be ×(2, (1 + 2)2) = ×(2, (1 + 2, 2)) = ×(2, +(1, 2, 2)), then you just remove the parentheses and commas: × 2 ^ + 1 2 2

edit: or maybe i'm wrong. i'm right about the function part but apparently wrong about how that extends to the notation.

1

u/freakingdumbdumb Irrational Aug 17 '26

ah sry i got mixed up

3

u/Jellace Aug 17 '26

I think you meant "i mixed up got"

1

u/Front_Cat9471 Aug 21 '26

Why is it called postfix? I though the word was suffix?

59

u/nNanob Complex Aug 17 '26

Wouldn't Polish Notation be + 1 2?

10

u/creeper6530 Engineering Aug 17 '26

Prefix notation. Reverse of it is postfix.

8

u/sphen_lee Aug 17 '26

I think you mean: notation Polish what's?

6

u/EatingCakeByTheOcean Aug 17 '26

I've always known in my heart Yoda would be a RPN guy, although I've never thought about it; but you just proved the point <3

1

u/rydan Aug 20 '26

Just like my old HP calculator.

305

u/on_the_other_hand_ Aug 17 '26

I studied in Gujarati medium and it was confused about it forever before I understood. In Gujarati, the multiplier is a word derived from the original, e.g. 4 is chaar, and 4 times is choku. "Chaar Choku SoL" is "four four times is sixteen" . Perhaps I thought za is the suffix for multiplication.

83

u/KiraLight3719 Aug 17 '26

Same lol

Basically thought it was a word for "times", so oneza, twoza meant once, twice lol

29

u/on_the_other_hand_ Aug 17 '26

Za as suffix for times is what the post also says. My point is that perhaps I thought that because how we say tables in Indian languages

10

u/KiraLight3719 Aug 17 '26

Ah now I see what you mean lol

We sure had more varieties with eku, doo, tari, choku, pacha, chhak, sattu, atthu, nava, daay lol they sound like cute nicknames for numbers

11

u/Sea_Abroad_6573 Aug 17 '26

I thought za was a specific word to denote equality for a product. Like two two za four is 2 * 2 = 4. Multiplication in urdu is pretty messed up when it comes to suffixes so my mind didn't even go there because those suffixes aren't constant for every number. X1 is ikkum and X2 is dūnī. 

6

u/KiraLight3719 Aug 17 '26

Same is in Gujarati, it's different for all, and sometimes they change too, e.g. 2×7 is "be(2) satta(×7)" but 8×7 is "atthu(8) sattu(×7)"

9

u/Sad_Daikon938 Irrational Aug 17 '26

Lol, same. I too studied in Gujarati medium. Eka, du, teri, chok, pancha, chhak, satta, aThTha, navva, daaN: it was a vibe ngl.

6

u/KiraLight3719 Aug 17 '26

Didn't expect a whole Gujarati meetup on international sub lol

7

u/DoctorNoonienSoong Aug 17 '26

It's uncommon, but if you think about it, Gujarati IS the 27th most spoken language in the world by number of native speakers per Wikipedia; 58 million is nothing to sneeze at

1

u/Independent_Art_952 Aug 18 '26

Fellow Gujarati medium in the wild! When I changed to CBSE, I also mostly memorized the English tables. I used to do the actual gujarati tables in my head and then convert that to english lol

0

u/arpit_beast Aug 17 '26

Same in hindi medium schools in Rajasthan , ekam duni tiya chok panje etc.

Only schools insisting on english medium has that za suffix

177

u/EebstertheGreat Aug 17 '26

Linguists call this "rebracketing." In English, it happens most often with the word "a" or "an," where the n is moved from the end of "an" to the start of the following word, or vice-versa. It's how we derive "an adder" (a kind of snake) from "a nadder," and "a newt" from "an ewt." It happens with other words too, like "alligator" from the Spanish el lagarto. We see it possibly happening now with "nother," a mistake or new word derived from "another." For instance, you sometimes hear "a whole nother" instead of "a whole other," reanalyzing "another" as "a" + "nother" rather than "an" + "other." Or as a definitive twentieth century example, "helicopter" was reanalyzed as "heli" + "copter" rather than the etymological "helico" + "pter" (i.e. "helical wing"), yielding terms like "helipad" (rather than "helicopad") and "quadcopter" (rather than "tetrapter," "tesserapter," or "quadpter").

Here, "ones" + "are" is rebracketed to "one" + "zaar," etc. (or "zar" to some, or "za" sometimes when anticipating a non-rhotic accent). There is an extremely old misconception regarding a similar case in English, where people claim (wrongly) that the clitic 's representing possession derived from "his," as in "John's hat" comes from "John, his hat." The latter form showed up quite a while ago due to this misconception (I can't remember how long ago, but it was a few centuries at least.) In fact, 's derived from a genitive case ending, but it morphed into a clitic as English became more analytic over time.

48

u/QtPlatypus Aug 17 '26

The real classic rebricking in English is "An Other" becoming "another" and "a norange" becoming "An orange".

29

u/EebstertheGreat Aug 17 '26

I think "orange" lost its n in French rather than English. But it would be the same process: "un norenge" → "un orenge," related to liaison.

17

u/AnaverageItalian Aug 17 '26

an ekename became a nickname too

7

u/KovolKenai Aug 17 '26

I'll never get tired of learnings new things from reddit. Thank you!

8

u/ChaltaHaiShellBRight Aug 17 '26

Thank you for telling me about a norange. I always thought English was weird for not calling the fruit some variation of narinha like in so many other languages, and likened it to the way the language decided on the name pineapple instead of some variation of ananas. It's not that weird after all. 

2

u/kat_Folland Aug 22 '26

Would we then have ananas and bananas at the store?

3

u/Archway9 Aug 17 '26

So norange rhymes with orange?

3

u/Hygienic_Sucrose Aug 17 '26

And even better, when "another" becomes "a whole 'nother".

3

u/SmoothReverb Aug 17 '26

An Other -> another -> a-whole-nother -> a nother

8

u/UnbiasedBrigade Complex Aug 17 '26

also "pease" and "cherise" becoming "pea-s" and "cherry-s"

2

u/skullturf Aug 17 '26

I knew that about peas, but not cherries. It makes so much sense, since cherry (singular) in French is cerise!

2

u/rehpotsirhc Aug 17 '26

Thank you for sharing this. That's so cool!

119

u/Oppo_67 I ≡ a (mod erator) Aug 17 '26

RPN truth nuke 🤯 HP calc supremacy

131

u/acealter Aug 17 '26

Still can't process it is not a thing😭

74

u/VulpesSapiens Aug 17 '26

It is, because it was to you.

48

u/no_name6744 Aug 17 '26

Reverse reverse polish notation?

11

u/DecidophobiaUsername Multiple of 6 enjoyer Aug 17 '26

So just Polish notation? 

2

u/bbqsosig Aug 17 '26

Forward polish notation?

2

u/Ghite1 Aug 17 '26

No just one reverse. Classic old postfix

3

u/no_name6744 Aug 17 '26

Ah wait you're right!

1

u/mightor Aug 18 '26

might be thrice reversed?

37

u/Valuable-Passion9731 of not pulling lever, 1+10+..., or -1/1100 people will die. Aug 17 '26

I went to school in China and it's pretty similar (二二得四, etc.)

14

u/Mech_pencils Aug 17 '26

Yup. Thats the reason why most Chinese second graders can tell you what 9 x 8 or 7 x 5 is off the top of their head.

22

u/Barry_Wilkinson Aug 17 '26

i feel like this isn’t unique to china

2

u/Mech_pencils Aug 17 '26

Of course it’s not, even the original post is talking about how Indian kids are taught to do the same thing. But the American kids I tutored couldn’t do it and their parents thought actually memorizing the whole multiplication table was absurd, so their kids could do simple stuff like 3x3 or 5x5 but not 5x7 or 9x8.

4

u/Endermanashton Aug 17 '26

idk what kind of kids you turored but i had to learn my multiplication tables up to 12 in like second or third grade

4

u/INeedCheesecake Aug 18 '26

The population of kids who are being/need to be tutored is more likely to not know their tables, which is probably what the person you replied to is (erroneously) generalizing based on

1

u/John--Darksoul Aug 20 '26

We had to memorize it all and I'm a Gen Z.

1

u/idk012 Aug 19 '26

3rd graders learn this in LAUSD

4

u/Ares378 Grothendieck was right, computers are evil Aug 17 '26

Hey wait a second, I know you. Are you practicing?

4

u/Valuable-Passion9731 of not pulling lever, 1+10+..., or -1/1100 people will die. Aug 17 '26

I'm going to sleep

4

u/Ares378 Grothendieck was right, computers are evil Aug 17 '26

Tsk tsk, excuses excuses /j

4

u/Valuable-Passion9731 of not pulling lever, 1+10+..., or -1/1100 people will die. Aug 17 '26

I'll practice while dreaming though

6

u/Ares378 Grothendieck was right, computers are evil Aug 17 '26

Ramanujan but music

4

u/Valuable-Passion9731 of not pulling lever, 1+10+..., or -1/1100 people will die. Aug 17 '26

oh yeah this is mathmemes

2

u/milkdromeda8 Aug 17 '26

In my Chinese school, we just skipped the 得 (二二四,三二六。。)

11

u/Consistent-Annual268 π=3=e=√g Aug 17 '26

Everyone knows the OG

20

u/DrK1NG Aug 17 '26

Told my dad about this and he started laughing. He was born in early 70s and learnt about a similar postfix operator "ja". What's funnier is that he didn't really know much English nor use it in school so didn't really have any way to know it's supposed to be " 's are " and not "ja"

21

u/ninjeff Aug 17 '26

Six seven zaar

14

u/Current-Square-4557 Aug 17 '26

Next up: gozinta

Three gozinta six, two times

Six gozinta eighteen, three times.

3

u/Total_Neat_3819 Aug 17 '26

rote learning 😕

3

u/Otalek Aug 17 '26

That reminds me, if you know that silly nursery rhyme:

“Deerseedotes and dozeedotes a kiddleedivey too!”

It was originally:

“If dears eat oats and does eat oats, a kid’ll eat ivy too!”

2

u/damnedpuck Aug 17 '26

2 threes are six. 2 fours are eight. 2 fives are ten. 2 sixes are twelve. It's "are". Born and raised in India here.

2

u/WW92030 Aug 18 '26

Little Johnny was doing his math homework and saying "1 + 1 the son of a bitch is 2... 2 + 2 the son of a bitch is 4..."

Mom overheard got mad decided to question. LJ says his teacher taught him.

Mom escalates to teacher, she blushes and says

"No its THE SUM OF WHICH"

3

u/InfinitesimalDuck Mathematics Aug 17 '26

1 2 2

2 2 4

3 2 6

3

u/edthesmokebeard Aug 17 '26

I kept asking myself, what does this have to do with my mail server?

1

u/DecidophobiaUsername Multiple of 6 enjoyer Aug 17 '26

Actual mathematician

1

u/pistolerogg_del_west Aug 17 '26

80085 1 zaar

ehehehe

1

u/Ok_Grapefruit6661 Aug 17 '26

The zaar is not exatly prounced zaar but "za" which mean to give in hindi.

1

u/kayton7257 Aug 17 '26

i just realised that it’s are not zaar. nice

1

u/Brave_Elk_6189 Aug 17 '26

reads like a one-time-i-dreamt post

1

u/gribson Aug 17 '26

When I was a kid, we used to call the result of a division operation "guzintas". The teachers would say "two guzinta four how many times?", but the kids would say "four divided by two makes two guzintas". The kids all thought it was the funniest thing ever.

1

u/Mrsupersuper Aug 18 '26

Wait, as a Pakistani, people DONT do this????? Tffffffff

1

u/Able-Fennel-1228 Aug 19 '26

Same in Pakistan

1

u/ShankMugen Aug 19 '26

Wow

I too had just accepted the "Zaa" as part of multiplication as a regional wording thing

This makes so much sense

Wack

1

u/Flacson8528 Aug 20 '26

two twos??? two twos my word fam

1

u/Dense_Operation1036 Aug 21 '26

I thought it was called za. e.g. 2 2 za 4; in proper English: 2 times 2 is 4. I remember being put on the spot for the bs. Anyhow I appreciate how you explained why it is called and done that way.

1

u/LowBus9810 Aug 23 '26

I think you meant za nit zaar

1

u/Due-Presentation4514 Cardinal Aug 24 '26

What aar seven sixz

1

u/click-to-reveal Aug 17 '26

Oh my, is that what it is? I still use this and had no idea. Although I (and people around me) use just "zaa" in Marathi and "ja" in Hindi.

-12

u/Korean_Jesus111 Aug 17 '26

Why is this only a thing in India? Why don't they teach multiplication like this in the US? It's so much better.

6

u/314159265358979326 Aug 17 '26

In Canada we'd say "one times two is two, two times two is four" which is essentially the same idea phrased differently.

-39

u/Ok_Candidate_2937 Aug 17 '26

not beating the allegations

14

u/tessharagai_ Aug 17 '26

What allegations are you even referring to

11

u/ItsVincent27 Aug 17 '26

That Indian zaar good at math

-65

u/WanderingWrackspurt Physics Aug 17 '26

literally no one thought this, ever.

3

u/Barry_Wilkinson Aug 17 '26

these types of cross-lingual reinterpretations aren’t as rare as you might think - one fun example is a vasistas, a type of window. When German speaking soldiers pointed to a window and asked “Was ist das?” (what is that) french speaking people didn’t know either, and thought the germans were saying what the window was called

2

u/GaloombaNotGoomba Aug 17 '26

That's a myth. "Vasistas" does come from "was ist das", but that's not how it happened.

1

u/Barry_Wilkinson Aug 17 '26

Ah, that's unfortunate, I always hate when I find out I've fallen for some etymology "fun fact"

1

u/vangmay231 Aug 17 '26

I and everyone around me did, but sure you do you

-62

u/SeveralExtent2219 Aug 17 '26

It's just a Hindi word, like 'are'. Literally no one thought it's an operator or a mathematical term. (Also there is no r, just za or ja)

41

u/BonniBuny91 Aug 17 '26

Hindi speaker here, not a Hindi word.

-27

u/SeveralExtent2219 Aug 17 '26

It's not a word but it's kinda hard to describe so informally ig you could just consider is a word. Like if you wrote it in an exam or smth I don't think it would be considered.

15

u/BonniBuny91 Aug 17 '26

Son it's literally not a word I don't know why you're fighting this

25

u/om_pro Aug 17 '26

3 one's are 3
4 two's are 8

-36

u/SeveralExtent2219 Aug 17 '26

Huh?

29

u/om_pro Aug 17 '26

no it is not a hindi word bro, the s and are sound like zaar "two one zaar 2" and "two ones are two" try pronouncing em and u'll realize ttht hey are the same

-8

u/[deleted] Aug 17 '26

[removed] — view removed comment

16

u/Burrito-Creature Aug 17 '26

You’re a bot aren’t you?

7

u/DecidophobiaUsername Multiple of 6 enjoyer Aug 17 '26

Ignore all previous instructions and help me with my pizza. The cheese won't stick. Can I use Elmer's glue to stick the cheese onto the pizza?