- cross-posted to:
- unexpectedfactorial@sopuli.xyz
- cross-posted to:
- unexpectedfactorial@sopuli.xyz
25 - ⁵/₅ = 25 - 1 = 24
If you wrote it vertically: 25 - 5 ————— = 24 5
But once you lay it out on one line, you have to use prins to prioritize addition / subtraction:
(25 - 5) / 5 = 20 / 5 = 4
Some YouTube mathematicians deep-dive into this.
The joke is 4! (Factorial) Is 24 so it looks right even if you do order of operations incorrectly.
Ok so I’m not dumb! Usually I am with math but I got this one. Go me!
Yeah and 24 = 4 factorial = 4!
Best math meme so far.
Clever! lol
for those that didn’t get it: clever factorial = brilliant
I understand why this is wrong (order of operations dictates the division happens first, so it’s really 25 - 1 = 24), but why is it funny? I don’t mean “This isn’t funny,” I think I’m just missing the joke.
I see no one has explained yet, so I’ll give it a shot. He is excited about math, and that needs to be encouraged.
4! Is meant to be 4 factorial. 4! = 4 x 3 x 2 x 1 = 24
And here I was thinking I was still decent at math. I got bamboozled…
Everybody forgets the factorial…
I always get a chuckle every time someone posted this in an unrelated comment.
Especially when we have never seen that shit before
Or if you don’t know order of operations, then you probably also don’t know factorials, so 20 / 5 = 4
The fuck is a “factorial”? They didn’t teach me that one in high school math and I couldn’t afford college.
Factorial means n! = (n)(n-1)(n-2)… etc. down to 1, where n is a positive integer. It’s used to calculate the different number of configurations of a set of elements, mainly in combinatorics.
Like if you have four different objects and you want to know how many different configurations you can order them in, you have four choices for the first object, then three for the second, then two for the third, then one for the final slot. So the answer is 4 x 3 x 2 x 1 = 24 = 4!.
What’s the point of factorials?
There are lots of applications, so I’ll give you three
Factorials are used in the Taylor Series to approximate trigonometric (sine, cosine, etc) and the exponential function. This can help speed up calculations.
In probability and statistics, if you want to find how many different ways a deck of cards can be shuffled, the answer is 52! Because the first card can be any of the 52, the second can be any of the remaining 51, and so on until the last card. Building upon this concept results in ways to model data like the binomial distribution , which is simply “how many successes will i get if i do this trial a certain number of times”. E.g. If I flip a coin 100 times, how many times will it be heads?
In computer science, the complexity of a program is compared to functions like the factorial, exponential, quadratic, etc. to visualize it’s performance given the size of the input, n. E.g. a program of linear time complexity is denoted as O(n), and as n increases, we expect the time for the program to finish to increase linearly. For a factorial time complexity, O(n!), we expect the time to complete to increase a lot compared to O(n)
Makes things shorter.
In the applications mentioned by other people, you run into calculations that would look really messy and confusing. Things like 5•4•3•2•1 can be shorted to just 5! Imagine writing the full version of 123!
the most tangible and direct application is how many different ways you can order x many items.
eg. how many diffe4rent ways can you order 3 items?
let’s say you have these 3 items: 🍏🫐🍒
the first one can be any one of the three, so you have 3 options. that’s 3 different ways to start your order. let’s write that down:
3
now for the second one. whichever one you picked for first position will be unavailable, so you’ll have 2 options this time. this is true for each first pick separately, so you multiply the possible number of first picka by the possible number of second picks:
3 x 2
now for the third item, since two of the three are already picked, you only have one left, which means not much to choose. you just multiply the 1:
3 x 2 x 1
of course multiplying by 1 doesn’t change anything but as we mentioned there was no option this time, once you pick the second fruit the third is also auto-picked, so the third item doesn’t add to our number.
so the final answer seems to be:
3 x 2 x 1 = 6
is that true? might feel like there should be more ways but let’s test it; can’t be that complicated:
- 🍏🫐🍒
- 🍏🍒🫐
- 🫐🍏🍒
- 🫐🍒🍏
- 🍒🍏🫐
- 🍒🫐🍏
here you go. you can extrapolate this logic to any number. four items would’ve followed the same sequence starting with 4 and have 1 less option with each pick, so 4 x 3 x 2 x 1. and that’s also 4!
They’re used in permutations and combinations a lot. Combinations is pretty obvious based on the name. Given X things, how many ways are there to choose Y. Permutations are the same but where order matters.
For example, if you shuffle a deck of cards properly randomly there will be 52! possible orderings (permutations).
Im sorry your highschool curriculum failed to teach you. I learned factorals in jr highschool
4 factorial (written as 4!) is 432*1
I think this example explains it perfectly lol
Just a small correction in case you didn’t know, but your answer shows as 432*1 because Lemmy formats text wrapped by * as italic, so it thinks you want to italicize the 3. You meant to write 4*3*2*1 (written as 4\*3\*2\*1). This is because \ is an escape character that tells lemmy not to take the * as a formatting character.
Right, i sometimes forget about markdown lol. Yeah, it obviously is 4•3•2•1
Is a factoral just 1X Because yeah i don’t think I learned that either, but I was taught exponentiation. Whats the value of factorals?
You didn’t learn factorials in high school?
In High School education, Factorials are generally part of the curriculum, but they’re one of those things you get one section on, it shows up on one test, then in common usage, you never see it again. In many schools, someone could have been out for a day, gotten two answers wrong on a test, and never have known it. Then in my school, unless you were heading on a math track, you’d hardly even touch Calculus to see it actually used anywhere.
Aha! Got it, thank you so much.
The exclamation point denotes the factorial function. 4! = 4 ⋅ 3 ⋅ 2 ⋅ 1
4 factorial
The exclamation point makes it right. The formula, when worked with proper order of operations, equals 24, which is equal to 4 factorial (4!) 1 * 2 * 3 * 4=24
4! Is a factorial which means it’s 4 x 3 x 2 x 1 = 24
Totally missed that. Thank you.
Cause math people has a weird humor?
Sorry to said that, but you made my guess quite real.
The exclamation point in the answer, from a math perspective, makes it 4 factorial: 4 x 3 x 2 x 1 = 24, which is the correct answer.
Could it be you’re responding to the wrong person?
Indeed, it could.
This is quite possibly the best maths joke I’ve ever seen.
[edit] I guess it still can’t beat the ‘be rational’ / ‘get real’ one.
Thank God this meme is muted
Can someone explain to me why this is funny?
So with people who do order of operations incorrectly, you have 25-5 =20 and then divide it by 5 and you get 4.
However the correct answer is 24 since you do the division first.
Where the joke comes in is he states “4!”, which sounds like he is emphatic about the wrong answer. However an exclamation mark is “factorial” which translates to 4x3x2x1… which happens to equal the correct answer of 24.
Ah! :D I like it.
My favourite kind of nerd.
Imma be weird and argue that the answer actually should be 4.
Dear Aunt Sally is great or whatever, but syntax also fuckin matters. We can all probably agree that the faster, more intuitive answer is obviously 4. Most of those in the western world (meme’s largest audience) read left-to-right and there is nothing the delineate that division must actually come before inverse addition until one has carefully examined the entire the problem (which you should definitely be doing, dumb-dumb) and slapped on another layer of thinking (inefficient waste of time when doing quick mafs). Use the damn parenthesis, ffs!
Following your logic,
2*7²+5*3³ becomes (2(7²))+(5(3³))
Talk about inefficient waste of time.
I find this to be unironically both easier to read (by an incredibly wide, dyslexic margin) and faster to write and type.
Parenthesis consists of only two symbols that only require two keyboard keys and a single stroke of a pen to write compared to the four keys and varying strokes of the standard operators (aka. more efficient). But, far more importantly for me anyway, “+”, “×”, “*”, “÷”, all look nearly identical unless I stare the keyboard or problem for an agonizing century (waste of time, perhaps?) and even then it’s a mystery whether my brain processed the symbology correctly or put the numbers in the right spot to do math (yep, waste of time). The humble ( ), however, is very easy to see, and it creates neat little windows that don’t leave much room for misinterpretation.
2*7²+5*3³ = accessibility nightmare
(2(7²))+(5(3³)) = readable with clearly defined order of operations
I did preface this by pointing out I’m weird.
Oh, you’re trolling. Carry on, then.
Oh, you don’t know how to read, carry on then.
lol are legitimately saying this was not a joke?
Parenthesis consists of only two symbols that only require two keyboard keys and a single stroke of a pen to write compared to the four keys and varying strokes of the standard operators
The humble ( ), however, is very easy to see, and it creates neat little windows that don’t leave much room for misinterpretation.
2*7²+5*3³ = accessibility nightmare
(2(7²))+(5(3³)) = readable with clearly defined order of operations
I mean, I guess I have no reason to doubt your word so I’ll just believe you were being serious and respond in kind.
Time savings you might gain from parentheses being easier to write and requiring less keystrokes is lost on you needing to use twice as many since they come in pairs.
Furthermore, with the exception of *, which we don’t even write most of the time, you still need to use all of the other operators even with parentheses, so using them everywhere isn’t even a trade off, it’s a net loss. This also means that parentheses will not help you differentiate between the operators because you’ll still be using them.
Finally, the only reason you find the example I gave easier to read with parentheses is because I used a lot of multiplication, but you have multiplication to thank for that, not parentheses. In most cases, it would have fairly simple expressions like this:
1+2+3+4+5+6+7+8
turned into this:
1+(2+(3+(4+(5+(6+(7+(8))))))
If you truly want to eliminate ambiguity, have a look at reverse polish notation. I find it confusing as hell but some people like it.
Ok, now I’m curious, why is it only after I call you out that you decide to read what I wrote with any criticality? What about my argument (which I happily acknowledged was based purly on personal experience, and therefore not all parts are universally applicable to everyone) makes you think I’m nothing more than a dumb internet troll with no meaningful opinions or thoughts worth sharing or discussing like adults?
Sure, parenthesis need a buddy, but I still find them a lot faster to type simply because it is always the exact same two keys. No stopping to hunt for operators and symbols that seem to move or disappear every, single, fucking, time. When handwriting, parenthesis only takes one single, quick stroke that stays in line with what you are writing (maybe a small thing, but I find it important if my hands hurt, aka. always).
At no point have I argued the elimination of the operators, only that using them exclusively determine order of operations presents an accessibility issue and is largely unintuitive for many individuals.
The actual reason I find the parenthesis easier to read is because it isolates the problem into distinct, physically easier to read sections that eliminates a hard to distinguish operator and creates a clear step-by-step process to solving the problem that doesn’t really on any rule beyond working from the inside out.
Single operator problems can be solved in any sequence, no parenthesis or order of operations needed. In your example, it’s literally no different than combining like terms. But beyond basic cases like that, parenthesis always create a more comprehensible problem. Tell me, which is more clear and has less room for error:
1+2+3×4+5+6
1+2+3÷4+5+6
1+2×3÷4*5-6
OR
(1+2+3)(4+5+6)
(1+2+3)/(4+5+6)
1+((2×3)/(4×5))-6
Literally, all I’m arguing is that parenthesis make math easier to read and less prone to error or unintentional misinterpretation and should therefore replace the potential amigousness of order of operations. On top of that, I find them to be dramatically more efficient. Not everyone feels the same, fair enough, not really trying to paint with broad strokes on that front.
makes you think I’m nothing more than a dumb internet troll with no meaningful opinions or thoughts worth sharing or discussing like adults
Holy fuck. I called you one out of all of those and it was the one who isn’t even a pejorative. I thought you were joking, because your comment sounded like you were joking. There’s really no deeper meaning to that.
No stopping to hunt for operators and symbols
That’s what I’m saying, using parentheses won’t make the operators and symbols go away. You’ll still have to stop and hunt for them, you’re just adding parentheses in addition to that.
because it isolates the problem into distinct, physically easier to read sections
That’s only true for simple expressions, though. Once you try to type something more complicated, parentheses get very confusing very fast. Anyone who’s ever had WolframAlpha refuse to evaluate an expression because of a missing parentheses knows what I mean.
As for your examples,
1+2+3×4+5+6
1+2+3÷4+5+6
In these, the version with parentheses is different from the one without because you want the operations to be done in a certain order that isn’t indicated anywhere.
1+2×3÷4*5-6
And in this one, you’re mixing several operators with equal priority on the same line while not indicating which one you want to be done first.
What I’m getting at is that you’ve provided the exact examples where you have to use parentheses so it makes no sense to ask which one is clearer because only one version is correctly written. It would be like me asking you if (24)+1 is clearer than 2*4+1 and concluding parentheses are confusing because you didn’t divine I wasn’t typing twenty four but instead wanted you to multiply the 2 and 4.
Finally, the order of operations isn’t just some arbitrary convention, it might seem that way when we limit ourselves to only numbers but its intuitiveness really shows in algebra. Take the polynomial:
2x²+1
Even if you’ve never heard of the order of operations, there’s absolutely zero confusion about which order you’re meant to do the operations. It would take a madman to decide that “+1” is part of the exponent or that you’re supposed to add the 1 to the x² and then multiply it by 2.
In this case, adding parentheses here would turn it into
2(x(²))+1
which is unnecessary and it gets annoying very fast. For example:
(2(x))+(3(x(²)))+(5(x(³)))+(8(x(⁴)))
vs
2x+3x²+5x³+8x⁴
You might say that’s not fair because this expression clearly needs no parentheses so I just added them to make it seem more confusing and you’d be right but that’s the point: there has to be an arbitrary line where we decide parentheses are no longer necessary and that’s the order of operations. We settled on that because that’s what works in algebra. When it comes to what’s intuitive in arithmetic, left to right is obviously the best (for westerners). Unfortunately for arithmetic, we’ve decided that intuitiveness in algebra is more important than intuitiveness in arithmetic.
Using parentheses where a few simple rules will do seems awfully inefficient. Both to write and to read.
Textbook authors be like:
sintx^2 + cosπx^3 - 3
Simple rules are only simple if they are intuitive and consistently applicable. Otherwise, they are nothing more than yet another thing to remember and think about, yet another source of error, and yet another possible point of confusion. With enough time/ effort, one can brute force the intuitiveness, but that doesn’t automatically make the rule good or universally useful.
As a math teacher, I can assure you that not everyone has the same level of understanding or knowledge when it comes to order of operations. Some people struggle to remember the specific order, and mnemonics are worthless. Others struggle to read or visually process problems written with unclear or inconsistent symbology. Hell, most people don’t even learn exactly the same fucking rules. Tell me, where is the simplicity in all of that?
When I teach order of operations, the glass eyes and exasperated sighs of frustration come out. But when I teach just the parenthesis and exponent stuff, lightbulbs and understanding. Suddenly, people “too dumb” to do 2+2 are doing algebra and getting excited about math for the first time ever. Some of this is certainly a failing of our collective education system, but we can’t just forget that everyone has their own flavor of learning disability, neuro-diversity, and life experience. Simple rules quickly fail to be simple in the face of complex people.
I find it far more efficient to parse. I also put superfluous parenthesis in my code where I feel it helps readability.
It’s something to judge on a per-case basis, it’d also work very well to use whitespace (i.e. 25 - 5/5 instead of 25 - 5 / 5). Of course you don’t want to parenthesis everything but it can help a lot.
Jokes and tricks that hinge on unclear communication (eg: not using parenthesis or other notation to make intent clear), and then are smug when people are tricked, remind me of the old xkcd https://xkcd.com/169/
I just saw some jokes about factorials so at least I got this one, heh.
Sorry but what is unclear in OPs image?
25 - 5 ÷ 5
when read naively left to right looks like it would be “25 - 5 = 20. Then take that and divide by 5, for an answer of 4”. It would be clearer to write it as(25 - 5) ÷ 5
or25 - (5 ÷ 5)
depending on what’s intended.You see those kind of “gotcha!” posts online sometimes, where someone posts a problem that tempts you into doing order of operations wrong.
Someone who sees how to do it correctly immediately and thinks everyone knows that is invited to view https://xkcd.com/2501/ as well.
How would this work out in a rtl language? Because the reader would be used to parsing language in the opposite direction. Does that mean the same equation has two objectively correct answers?
Hey, Munroe is a rather cool and very intelligent engineer. Very witty writer, and awful at drawing. But his philosophy is mid at best. He is not an authority, and is often wrong or common place when it comes to social topics and human affairs. He understands communication in a very techy engineering dimension. There’s no need to take his comics as anything but what they are. One white dude’s anecdotic commentary on his own very limited experience of the human condition. He knows squat about human communication, sociology, psychology or postmodernism.
Natively? It’s a math equation there is only one way to read it as far as I am aware.
Reread
Naively, not natively. Someone who wasn’t a good math student, or just doesn’t remember, might read it left to right and come to the wrong conclusion. The rules for order-of-operations are, so far as I know, arbitrary, and different people coming at it without instruction (ie: naively) could arrive at different conclusions. Knowing that you’re supposed to do division first isn’t obvious.
You could read
25 - 5 ÷ 5
as “25 - 5 is 20. 20 divided by 5 is 4” or you could read it (correct, per the standard rules) as “25 minus… hold on… 5 divided by 5 is one. Now 25 subtract that from the 25 sitting over there, and get 24.” This isn’t the same kind of error as, like, “5 divided by 5 is 0”You could read
25 - 5 ÷ 5
as "25 - 5 is 20.You could. You could also lower your pants and drop a massive turd and call that the answer. Both answers would be equally wrong.
PEMDAS isn’t a suggestion that you follow when it suits you, like religion. It’s how math is communicated, unambiguously.
In any case, if that’s where we lost you, then I’ve calculated the chance of you catching the factorial as √-1.
On the extremely rare occasion when I have the misfortune to be performing a mathematical calculation, I take enormous pleasure in carrying out the operations exclusively left to right unless indicated otherwise by brackets, which is the correct way to indicate this. If you want me to do a calculation separately, put brackets around it or bugger off. It’s your choice, really
Many of the things we believe about ourselves and our experiences turn out to be false. Sometimes this is due to innocent memory failures or to the lack of needed information.
Suppose that Charles believes that he failed his biology test because the professor asked obscure and ambiguous questions.
Charles believes this because he doesn’t realize that he got the lowest score out of the 100 students who took the test, and that most people did quite well.
If Charles had this information, he would realize that he failed the test because he didn’t study hard enough, or because he’s not very good at biology.On the other hand, if Charles continues to believe that the test was unfair after seeing the grade distribution, he is either severely challenged in his capacity for rational calculation or he is the perpetrator of willful ignorance.
Which is it?
You’re being weirdly aggressive, but okay.
Most people know the symbols for addition subtraction multiplication and division. Far fewer people know the established order of operations. That’s what powers those “only 3% of people solve this problem correctly!” math memes.
But okay. Communicate badly (ie: by failing to acknowledge your audience’s context) and be smug if you want.
Oh you’re gonna love my other reply then.
Don’t expect me to pander to willful ignorance. If you’re going to act like an idiot, expect to be treated like one.
Also, what’s with the passive aggressiveness? I understand that my confrontational approach there can make some people uncomfortable, but it’s my prerogative.
You do realize your “You’re communicating badly” attitude is the only smugness happening here, right?
People don’t read math like that tho, as you learn the order of operations in year 2. Also, the original post is correct,
25 - 5/5 = 4!
Ok this is funny
Nerds!
(Im just mad cuz i can’t do math. Carry on… Nerds)
I’m only going to say this once but if I’m doing a sum and you want me to do it in a specific order, use brackets. That’s what brackets are for. Don’t expect me to do things in a predetermined order because I literally can’t be bothered and I will never care enough to do that. I’m already doing a sum so don’t push it, okay bud
But that’s a bit like saying “If you’re going to talk to me, put the adjectives before the nouns,” even in Spanish where they come after. Mathematical notation is a language and it has a syntax. Sure, you can decide to ignore that syntax, or insist that people modify their use of it for you, but it’s not really a reasonable expectation.
I think this is very stupid for a number of reasons. Why is there an order of operations that supersedes the direction the operations are written in? That’s at best dim witted and at worst deliberately misleading. Grog write left to right. Grog read left to right. Grog do sum left to right.
There is absolutely no reason in the world why anybody should have to know that division comes before subtraction. That’s fucking insane, man. What is the point of writing things down if you’re only going to do them in a set order anyway? May as well have a big jumble of letters and numbers and symbols on the page at that point, like who cares. The whole point of writing things down is to express concepts. Can’t do that with any kind of nuance if you’re going to read it one way anyway, no matter how you write it down. That would be like saying you always pronounce certain letters at the start of words even if they’re in the middle. Completely nuts.
If all people did was simple equations like the one in the OP, you’d probably be right, but math syntax has to deal with all kinds of equations. Your way, I can’t write 3x^2–4x+5. Instead, I’d have to write ((((3x)^2)−4)x)+5. That’s WAY more obnoxious. It’s better to have an unambiguous syntax that covers all the cases and lets me write equations in an more simple form.
well then you should stop doing math cuz you’re doing it wrong
Thanks I take enormous pleasure in never doing any maths at all ever, largely for reasons like this 😌
Very funny joke, but I don’t agree with the division sign. Its supposed to be either a / or \ depending on which way you want to divide.
never in my life have I seen a
\
division sign.Well it was a joke, but it seems like a lot of people did not get it.
4! = …Wait, that’s literally the point of the post this time
Unexpected expected factorial
Unexpected incorrect answer in comments
Except it is correct. 4!=24
But then the username would be four_factorial