this post was submitted on 14 May 2026
32 points (100.0% liked)

Asklemmy

54335 readers
183 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 7 years ago
MODERATORS
 

I have seen several people saying the order operation is

  • Brackets/Parenthesis
  • Orders (roots and powers)
  • Divisions
  • Multiplications
  • Subtractions
  • Additions

But I was taught it as

  • Brackets/Parenthesis
  • Roots and powers, left to right (independently of the exact operation)
  • Divisions and multiplications, left to right (independently of the exact operation)
  • Subtractions and additions, left to right (independently of the exact operation)

So, what order were you taught and/or use today?

you are viewing a single comment's thread
view the rest of the comments
[–] heh@lemmy.world 7 points 2 days ago* (last edited 2 days ago) (2 children)

It’s because in any higher level math these rules aren’t needed. Everyone just uses brackets(and mathematical notation) to clearly define an order of operations. There’s no confusion as you’ll never see something potentially ambiguous like “x * y / z / a” .

And even if you did, the division operators would likely be horizontal lines to make it clear what is being divided.

[–] blackbrook@mander.xyz 1 points 1 day ago

And I think writing "3x" implies the precedence in a way that "3 * x" doesn't.

[–] MatSeFi@lemmy.liebeleu.de 0 points 1 day ago

Right the brackets .. and functional notation..

Just had a quick read on wikipedia s order of operations an now I know why I can not remember any more.. Every peace of software does its own Thing so one can not relay on conventions.