Let’s not do engagement bait here 😭
Precedences are just made up social constructs, don’t let the system restrict you, you can evaluate this expression however you want. Go wild.
My education system didn’t fail me, I failed it.
Any PEMDAS enjoyers in chat?
I assume p is for “parentheses”, because where I grew up it was BEDMAS, for brackets.
Blease Excuse My Dear Aunt Sally
Yes, indeed - it encompasses parantheses, brackets, and braces.
2+5(8-5)
For anyone wanting to see a different way of solving it with distribution:
2+58-55 2+40-25 42-25 17
So long as you follow the basic math rules, you can solve it in many different ways to get the same result.
Worth a reminder that *'s get converted to italics. At first I saw the 2+58-55 and was very concerned for your education.
With formatting fixed:
2+5*8-5*5 2+40-25 42-25 17use backslashes pefore asterisks so that the markdown parser won’t think you inted to write in italics
\*like this\**like this*
Pemdas, parenthesis first, for a total of 3. Then multiplication, 15, then addition. 17. What’s hard about this?
What’s hard about it is people are fucking stupid.
No, it’s written poorly to drive engagement. People read left to right and try to do math that way too, but if you want to be mean to people who don’t remember things they learned in elementary school then never applied in real life you write it like OP.
(8-5)5+2
Far easier for most people, but then you don’t get the arguments…
you go the other direction below the equator
Legit gave me pause for like half a second. Damnit lol
Isn’t the southern hemisphere above the equator if you live there
depends if you are normal or planar in ENU coordinates
I fucking suck at math and totally just re-proved it to myself with this problem lmao.
It didn’t make sense to me to multiply the 3 & the 5 with zero consideration for the “2”. I have ALWAYS struggled with the steps to solve these types of equations.
So the answer I got was 21. Some of us are just bad with numbers, I s’pose.
This is absolutely not a problem of being bad with numbers. That’s like if I had trouble reading a Chinese sentence about gardening and said I’m just bad with plants. My issue is that I’m not familiar with the notation used to explain the concept - not a problem with the concept itself that the notation merely arbitrarily symbolizes.
Being good or bad at math is not really an inherent thing, aside from some geniuses and some people with disabilities. If you want to be good at math, you can be!
The numbers in the equation and their totals are completely irrelevant to the order you perform the operations.
I don’t think it’s an issue of “being bad with numbers”, I think the issue is not understanding the logic or being able to understand the bottom up type of thinking or something.
Some other parent’s thesis.
(* (+ 2 5) (- 8 5))Hope some LISP can clear this up
Edit:
( + 2 ( * 5 ( - 8 5 ) ) )Is this a meme? Shouldn’t it be
( + 2 ( * 5 ( - 8 5 ) ) )Damn you are right haha.
Mine evals to 21.
So, if
2 5 8 5 - × +is “RPN” does that mean that the LISP version is Polish Notation?Explain yourself sir
This is called “prefix notation”. The operator comes before the operands and every expression goes in parentheses.
For instance you could write:
(+ 1 2 3 4)Which would evaluate to 10.
This syntax is from a family of programming languages usually called LISP.
Also, you can use this for more than just arithmetic. The first thing in the list is the name of the function, and everything else is something that you pass to the function. So you could instead write
(plus 1 2 3 4)Which would be like
plus(1, 2, 3, 4)in other kinds of programming languages.Awesome thanks for explaining that. That’s cool as hell.
I understand prefix notation, but you got the order of operations wrong…
Yeah I’m stupid
Knowing is half the battle!
I’m sorry but isn’t this elementary school math?
It became a meme a few years ago, people would post problems like this and argue about whose was right, as if there were no objective truth. It hurt to watch.
Arguably, there is no objective truth, since the symbols and rules of mathematics are assigned arbitrarily, and are basically a social contract, just like language!
…Wait, that means there’s no objective meaning of “objective”, crap
Well yeah take enough shrooms and everything is suddenly exposed as the artificial construct that it is. But we don’t have time to wake up and reinvent language every morning ;)
ya this one is super unambiguously PEMDAS, the one that has more of an argument is the one with the division of whether
a/b(c)isa / (b * c)or(a / b) * c
In the rest of the world: yes.
In the US: I highly doubt it.
This is just basic math, if you can’t figure this out you’re probably 8 years old.
Probably some backwards-ass red state / red town shenanigans.
Math was always taught in my Blue cities. The atrocities of the US’s history was never left out of the curriculum.
We need to actually finish doing reconstruction and fix this country.
Fix? It’s a duster fire. It may be hard to deal with, but a total collapse and completely rebuilding it feels like the better solution to the problem (so not based on a constitution made in completely different times with muskets and without internet etc).
So you were taught math. What languages did you learn besides English? What history did you learn, just US or also of other countries and the rest of the world? And talking about the rest of the world, how much did you learn about that? Countries, cultures, cities, geographic features like mountains, seas, etc. and how they were formed? What religions were taught about? What about history of music and art?
In all fairness, I grew up in a small town in a very red state, but the education system there proved better than larger, more progressive parts of the state. The education I received was likely an outlier and not representative of the norm, but it did teach me that educators in an area do not necessarily mirror the rest of the population.
I think that ordering of calculation was taught around 5th grade back in my day (11yo)
My memory is shit, it was apparently 27 years ago if you’re right but I have no recollection to when it was. But it’s like cycling: it’s simple and once learned you never forget it.
Now I’m learning how to weld. We’re learning Ohm’s law, which is the same as order of calculation: easy basic shit, a bit far in my memory but you never forget it. But others in my class are really struggling with it. I don’t get it.
U = I R so R = U / I and I = U / R. P = U I so U = P / I and I = U / P. U=Volt, I=Ampère, R=Ω(Ohm), P=Watt
This was first year in high school if I remember correctly.
Thanks for confirming. I probably sounded too condescending but I wasn’t sure if it was a false memory.
I loved math as a kid though, so I ran through the curriculum as fast as I could to get to the good stuff. I think having older siblings helped - it gave me a preview of more interesting material.
Definitely taught in parts of the US, it’s a regional thing though
In most of the world? Yes.
We didn’t learn elements until high school tbf
Let’s keep it easy. There’s 2 + all the other number who results in 15 = 17.
Someone may mistake by doing 2+5 then the rest of the operation, resulting in 21. But is wrong.
Could also fuck up and get 51
I got some people really angry at me when I suggested writing some math expression with parenthesis so it would be clearer. I think someone told me that order of operations is like a natural law and not a convention, and thus everyone should know it or be able to figure it out.
Using parenthesis can really help if you want to simplify a term or need to rewrite something. I do that all the time because a lot of times you then can just cross stuff out fast on equations or get a common term that just has some factor instead of having a convolutet equation.
I sometimes like to add unnecessary parentheses or brackets to section things off and improve legibility, but I don’t do any math stuff collaboratively, so I have no idea whether others would find that disruptive or helpful.
I do this, sometimes it helps reveal a natural pattern when some parts of earlier terms have “disappeared” to simplification
I got really angry because the prettier code formatter insists on removing parentheses, making things less clear. Because it’s an “opinionated” formatter you can’t tell it not to do that without using ugly hacks.
Sure, logically there are times when you don’t need them. But, often it helps to explain what’s happening in the code when you can use parentheses to group certain things. It helps in particular when you want to use “&&” and “||” to say “do X only if Y fails”.
I think you can do
// prettier-ignore, because I remember facing that exact situation.I’ve done that, but that’s ugly.
I mean, there are very few ambiguous cases when you know how the order of operations works.
deleted by creator
2 5 8 5 - × + for you RPN fans =)
Actually:
2 <enter> 5 <enter> 8 <enter> 5 - x +
10 keystrokes
I use RPN on my phone calculator for fun but it can also be annoying sometimes.
On my CASIO FX-260 Solar II calculator (super cheap, really nice and simple but also powerful) that would be:
2 + 5 ( 8 - 5 ) =
9 keystrokes
You could do
8 <enter> 5 - 5 × 2 +-> 8 keystrokes
8 5 - 5 * 2 + CR .
But that’s a specific optimization where you can no longer read the numbers left to right, the original intent of RPN.
Im terrible at math, what is this though?
RPN or Reverse Polish Notation is a notation for calculators to be less ambiguous. The last numbers use the operator to their right, repeat. So no need for parenthesis or PEMDAS.
- 2 5 8 5 - × +
- (8 - 5 = 3)
- 2 5 3 × +
- (5 × 3 = 15)
- 15 2 +
- (15 + 2 = 17)
- 17
This might actually help me thank you!
This might actually help me thank you!
I feel like I am getting trolled
Isn’t 17 the actual right answer?
Some people insist there’s no “correct” order for the basic arithmetic operations. And worse, some people insist the correct order is parenthesis first, then left to right.
Both of those sets of people are wrong.
I mean, arithmetic order is just convention, not a mathematical truth. But that convention works in the way we know, yes, because that’s what’s… well… convention
Social conventions are real, well defined things. Some mathematicians like to pretend they aren’t, while using a truckload of them; that’s a hypocritical opinion.
That’s not to say you can’t change them. But all of basic arithmetic is a social convention, you can redefine the numbers and operations any time you want too.
Hopefully you can see where their confusion might come from, though. PEMDAS is more P-E-MD-AS. If you have a bunch of unparenthesized addition and subtraction, left to right is correct. A lot of like, firstgrader math problems are just basic problems that are usually left to right (but should have some extras to highlight PEMDAS somewhere I’d hope).
So they’re mostly telling you they only remember as much math as a small child that barely passed math exercizes.
If you have a bunch of unparenthesized addition and subtraction, left to right is correct
If you have a bunch of unparenthesized addition and subtraction, left to right doesn’t matter.
1 + 2 + 3 = 3 + 2 + 1
If you have a bunch of unparenthesized addition and subtraction, left to right doesn’t matter.
Right, because 1-2-3=3-2-1.
True, but as with many things, something has to be the rule for processing it. For many teachers as I’ve heard, order of appearance is ‘the rule’ when commutative properties apply. … at least until algebra demands simplification, but that’s a different topic.
something has to be the rule for processing it
Well the rule is: any order goes. Summation is commutative.
Yes thank you! If you have a sum it is really great to order it in a way that makes it better to ad in your head and i think that lots of people do that without thinking about it. X=2+3+1+6+2+4+7+5 X=2+3+5+4+6+7+1+2 X=5+5 + 10 +7+1+2 X=10 + 10 + 7+3 X=10 + 10 + 10
No, you completely misunderstood my point. My point is not to describe all valid interpretations of the commutative property, but the one most slow kids will hear.
OFC the actual rule is the order doesn’t matter, but kids that don’t pick up on the nuance of the commutative property will still remember, “order of appearance is fine”.
Huh I just remembered the orders of arithmetic but parentheses trump all so do them first (I use them in even the calculator app). Mean I assume that’s that that says but never learned that acronym is all. Now figuring out categories of words;really does my noodle in sometimes. Cause some words can be either depending on context. Math when it’s written out has (mostly) the same answer. I say mostly because somewhere in the back of my brain there are some scenarios where something more complicated than straight arithmetic can come out oddly but written as such should come out the same.
PE(MD)(AS)
Now just remember to account for those parentheses first…
Exactly
So it’s just an unfunny meme?
I think it’s meant to play with your expectations. Normally someone’s take being posted is to show them being confidently stupid, otherwise it isn’t as interesting and doesn’t go viral.However, because we’re primed to view it from that lens, we feel crazy to think we’re doing the math correctly and getting the “wrong answer” from what we assume is the “confident dipshit”.
There’s layers beyond the superficial.
I fell for it. It’s crazy to think how heavily I’ve been trained to believe everything I see is wrong in the most embarrassing and laughable way possible. That’s pretty depressing if you think about it.
More like a sad realization of the state of (un)education in some parts of the so-called civilized world.
You laugh not to cry.As most memes are.
Not even a meme.
There is no answer. Because there is no question.
That is a problem, tho
I know the solution
deleted by creator
Yeah I know that. But I was feeling confused as to why it was here. That’s why I was feeling trolled, because it made me doubt basic math for being posted in a memes community.
They did the joke wrong. To do it right you need to use the ÷ symbol. Because people never use that after they learn fractions, people treat things like a + b ÷ c + d as
a + b ----- c + dOr (a + b) ÷ (c + d) when they should be treating it as a + (b ÷ c) + d.
That’s the most common one of these “troll math” tricks. Because notating as
a + b + d - cIs much more common and useful. So people get used to grouping everything around the division operator as if they’re in parentheses.
Treat
a + b/c + dasa + b/(c + d)I can almost understand, I was guilty of doing that in school with multiplication, but auto-parenthesising the first part is really crazy take, imoOr
12 / 2(6)
And trying to argue this is 36.Now that’s a good troll math thing because it gets really deep into the weeds of mathematical notation. There isn’t one true order of operations that is objectively correct, and on top of that, that’s hardly the way most people would write that. As in, if you wrote that by hand, you wouldn’t use the
/symbol. You’d either use ÷ or a proper fraction.It’s a good candidate for nerd sniping.
Personally, I’d call that 36 as written given the context you’re saying it in, instead of calling it 1. But I’d say it’s ambiguous and you should notate in a way to avoid ambiguities. Especially if you’re in the camp of multiplication like
a(b)being different fromaband/ora × b.Well, now you might be running into syntax issues instead of PEMDAS issues depending on what they’re confused about. If it’s 12 over 2*6, it’s 1. If it’s 12 ÷ 2 x 6, it’s 36.
A lot of people try a bunch of funky stuff to represent fractions in text form (like mixing spaces and no spaces) when they should just be treating it like a programmer has to, and use parenthesis if it’s a complex fraction in basic text form.
The P in PEMDAS means to solve everything within parentheses first; there is no “distribution” step or rule that says multiplying without a visible operator other than parentheses comes first. So yes, 36 is valid here. It’s mostly because PEMDAS never shows up in the same context as this sort of multiplication or large fractions
Alternatively, the poster calculated the wrong answer, thus assuming this guy was wrong.
Gotcha gotcha, sorry
Removed by mod
This shit take got deleted right in front of my eyes
The system works
Oh so just like me on !lemmyshitpost@lemmy.world
My dumbahh did 2+5 like it was in parentheses and got 21
The high-and-mightiness quotient in this thread is reaching critical levels
This is an antimeme
Lot of people seeming to miss that point here!
























