this post was submitted on 13 Feb 2024
-37 points (21.5% liked)

Showerthoughts

29786 readers
718 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    • 3.1) NEW RULE as of 5 Nov 2024, trying it out
    • 3.2) Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    • 3.3) Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct

founded 1 year ago
MODERATORS
 

If we're supposed to be able to understand math as easily as a language, we should be able to read it from left to right like a language.
Yes, I know there's lots other languages that go right to left or top to bottom, but the point is you don't have to go jumping around the page or sentence figuring out which word should be read first based on which characters it contains.
We put the first word first, then the second word second, etc.
Why can't we just write equations in the order they were meant to be solved?

all 31 comments
sorted by: hot top controversial new old
[–] FiskFisk33@startrek.website 29 points 9 months ago* (last edited 9 months ago)

we can if we want, its called Polish notation
https://en.m.wikipedia.org/wiki/Polish_notation

instead of x + y we write + x y
then 2 + 3 * (3 + 7) + 6 becomes + 2 + * 3 + 3 7 6

no order of operations to remember, but good luck parsing it.

[–] droning_in_my_ears@lemmy.world 21 points 9 months ago

Morally wrong? What does morality have to do with any of this?

This is a matter of conventions. Which way we do it doesn't actually matter that much as long as we all agree on a way. Maybe you think PEMDAS is counterintuitive, maybe others disagree. That doesn't make it morally wrong.

[–] db2@lemmy.world 21 points 9 months ago

Some of you have never read a Choose Your Own Adventure book and it shows.

[–] gratux@lemmy.blahaj.zone 19 points 9 months ago (4 children)

Reverse Polish Notation works almost like you describe. You put the operands first, then the operation. For example:

  • 3 + 4 --> 3 4 +
  • 3 • (5 + 2) --> 5 2 + 3 •

Probably the reason why we are not using it is because most tools today use algebraic notation, and it would be a lot of effort to switch

[–] lemmyng@lemmy.ca 4 points 9 months ago (1 children)

I loved my HP48GX calculator with RPN.

[–] Shurimal@kbin.social 3 points 9 months ago

Best system for calculators IMO. Especially if you need to add many numbers together (eg doing price calculations)—just enter all the numbers to the register, double-check for errors, then add together. Way less error prone than traditional calculators.

[–] Olmai@lemmy.world 2 points 9 months ago

It's just less readable for humans, great for programs though

[–] MeanEYE@lemmy.world 19 points 9 months ago (2 children)

Is it just me or people actually writing and using math daily never complain about this stuff? Only "it's been a while I forgot the rules" crowd.

[–] Rhynoplaz@lemmy.world 7 points 9 months ago

But it said that 98% of people will get this wrong! I have to prove to my Facebook friends that I'm smarter than them and the rules of math keep ruining it for me!!!!

[–] Haus@kbin.social 13 points 9 months ago (1 children)

PEMA is technically correct. Division and subtraction are illusions.

[–] SmartmanApps@programming.dev 0 points 8 months ago

Actually multiplication and division are shorthand notations for addition and subtraction - e.g. 2x3=2+2+2 - so everything boils down to addition and subtraction.

[–] cali_ash@lemmy.wtf 8 points 9 months ago

Why can’t we just write equations in the order they were meant to be solved?

I mean, you can. No one is stopping you.

[–] pruwybn@discuss.tchncs.de 5 points 9 months ago

My guess is that in real world applications, it makes more sense to think about things in terms of multiplying values together and then adding the total. Like if you have a list of products, with prices and quantities for each, to get the total value you multiply each quantity by its price and then add them all together.

[–] livus@kbin.social 4 points 9 months ago (3 children)

Could you give an example of how you think it should be written? I'm having trouble envisaging it.

[–] Bob_Robertson_IX@lemmy.world 4 points 9 months ago* (last edited 9 months ago)

I'm guessing it's CCM=e, though I'm not sure what any of it has to do with morals.

[–] APassenger@lemmy.world 2 points 9 months ago

PE(MD)(AS)?

[–] limitedduck@awful.systems 4 points 9 months ago (1 children)

Not all equations have a solution right away. PEMDAS, or BEDMAS as I was taught, helps you navigate these novel equations. It's a natural way to think when exploring problems outside of a textbook.

[–] Witchfire@lemmy.world 3 points 9 months ago (1 children)
[–] limitedduck@awful.systems 1 points 9 months ago

My Xmas starts and ends with a good old bedmas

[–] olorin99@kbin.earth 4 points 9 months ago (1 children)

Yes having equations written in a more straightforward way might make it easier for laypeople to understand but I think that the people who use their head for anything more complicated than a+b and don't just use a calculator can probably figure it out fine.

[–] olorin99@kbin.earth 13 points 9 months ago

Also don't understand the "morally wrong" argument. Just because something is slightly more complicated than it could be doesn't make it "morally wrong".

[–] ElectroVagrant@lemmy.world 3 points 9 months ago

A more fun variation on this would be to contest mathematical notation. PEMDAS is one thing, but mathematical notation? Not only might you get lost in the order of operations, now you're lucky if you can even read it without committing yourself to the maths cubicles.

Yeah, they don't get dungeons, they get cubicles because it's a geometrically appropriate hell.

[–] tiredofsametab@kbin.social 2 points 9 months ago

read it from left to right like a language

A number of languages are not left-to-right, BTW.

[–] MrJameGumb@lemmy.world 2 points 9 months ago

Maybe just stick to using a calculator?

[–] SmartmanApps@programming.dev 0 points 8 months ago* (last edited 8 months ago)

You can if you wrote everything as just addition and subtraction, but then we made some shorthand notations for that, such as 2x3=2+2+2, and so now you have to do multiplication before addition otherwise you get a wrong answer, and if you wrote all multiplications before all additions there'd still be no problem, but as someone else pointed out, there are cases where it's easier to have a different order, and so voila! Order of operations rules.