• The order of operations is made from consensus.

    No it isn’t. It’s a natural consequence of the definitions in the first place. e.g. 2x3 is shorthand for 2+2+2, so if you don’t do multiplication before addition then you get the wrong answer, hence the order of operations rules.

    • deaf_fish
      link
      fedilink
      0
      edit-2
      9 months ago

      Your argument is circular in nature. The right answer is dependent upon the order that you do the operations. So you can’t use the argument that the order of operation matters. Because if you do the math not using the correct order of operations, the answer comes out incorrectly.

      For example, we could just do away with order of operations all together and explicitly use parentheses everywhere. While the system would be extremely painful to use, it would result in a consistent mathematics.

      So there’s nothing inherently correct about our current order of operations. I will say that I like it and that it makes sense to me.

      If you want a fun Wikipedia trip look up reverse polish notation (RPN). If I have to do away with the current order of operations, I might look to this as a possible alternative.

      • Your argument is circular in nature

        No it isn’t. The order of operations rules are derived from the definitions of the operators - there’s nothing circular about that.

        The right answer is dependent upon the order that you do the operations

        And so to get the correct answer, you have to do the operations in the correct order, yes.

        So you can’t use the argument that the order of operation matters

        But you just said it did when you said “The right answer is dependent upon the order that you do the operations”!

        if you do the math not using the correct order of operations, the answer comes out incorrectly

        Exactly! Glad you agree with me. :-)

        we could just do away with order of operations all together and explicitly use parentheses everywhere

        Except I showed here that most people put brackets in the wrong place to begin with.

        So there’s nothing inherently correct about our current order of operations

        I already gave the proof of why it is. We already know that 2x3=2+2+2 by definition, so therefore 2+2x3=2+6=8. If you did addition first you’d get 2+2x3=4x3=12, which is demonstrably wrong. Welcome to how the order of operations rules were derived to begin with.

        I will say that I like it and that it makes sense to me

        It makes sense because it’s been proven to be correct.

        • deaf_fish
          link
          fedilink
          19 months ago

          Ok, but why does 2 * 3 = 2 + 2 + 2 mean that we should prioritize multiplication and division over addition and subtraction? I don’t understand this argument. This seems to be your central point, but I don’t see how math would be broken if we flipped the order? It just feel like a story you are overly attached to. I’ll take a source if you got one.

          Take 2 + 3 * 4 for example. If you use our normal order of operations. We would interpret this as (2 + (3 * 4)) = 14. This is correct and fine. If you flip the order of operations it becomes ((2 + 3) * 4) = 20. This is also correct and fine. All the order of operations does is dictate how we interpret the equation. As I listed in my post there are even notations where equations can be written without considering the order of operations like RPN. In RPN ((2 + 3) * 4) becomes 4 2 3 + *

          And so yeah, if everyone agreed to flip the order of operations, we would need to re-write a lot of equations, but we could do it and there wouldn’t be an issue. Heck we could all agree to switch to RPN and then we could get rid of the order of operations all together, because it just a way to interpret equations that are ambiguous due to infix notation. I am not saying we should, I am saying we could and nothing would break.

          • Ok, but why does 2 * 3 = 2 + 2 + 2 mean that we should prioritize multiplication and division over addition and subtraction?

            Because multiplication is shorthand for addition, and if you don’t expand it before doing the addition you get wrong answers. Let me show you…

            Multiply first (i.e. correct)

            2+3x4=2+3+3+3+3=14 - the right answer, by the very definition of 3x4=3+3+3+3

            Now let’s see what happens if we do the addition first…

            2+3x4=5x4=5+5+5+5=20 - which we know is the wrong answer! (because we already know the right answer is 14, because we already know that the actual original fully expanded expression was 2+3+3+3+3, so the rules of Maths have to guide us back to getting the same thing the original author started with, or it all breaks down! The author took 2+3+3+3+3 and wrote it as 2+3x4, so the rules of Maths have to make sure when we see that we get back to 2+3+3+3+3)

            So the fact that we know multiplication is shorthand for addition, means we have to multiply before we add. Similarly, exponents are shorthand for multiplication (2³=2x2x2), so we have to do exponents before we do multiplication… which we have to do before we do addition! It all comes from what these very things have been defined as meaning in the first place.

            I’ll take a source if you got one

            Well, I just showed you by doing the Maths myself, which is one of the great things about Maths - some things you can prove it to yourself! :-) And that’s another topic I wrote about here and here.

            • deaf_fish
              link
              fedilink
              19 months ago

              I still don’t see where the correctness is coming from. Also, when I was asking for sources I was looking for other experts to backup your claims. Otherwise I can just counter source you with my previous posts.

              2 + 3 * 4 only has a correct answer if you assume the current order of operations. Without order of operations, this equation is meaningless and has no value. This is why I’m saying your arguments are circular. You are saying that 14 is the correct answer because of the order of operations. And you’re saying the current order of operations is correct because the answer is 14. These arguments don’t stand on anything except for themselves. Am I missing something?

              • You are saying that 14 is the correct answer because of the order of operations

                No, I am saying that is because that’s the number that we started with and we wrote the expression based on the operator definitions.

                Let me try this again, but be more explicit about each step…

                Teacher is writing a test. Has decided the answer for this question is going to be 14. What can he make the question? Well, we can throw in some addition, so let’s change it to 2+3+3+3+3. What else can we do?

                Well, that 3+3+3+3 part there, we have a shorthand version of that in multiplication, that being 3x4, so now let’s change it to 2+3x4.

                So, now we’ve turned 14 into 2+3x4. None of that had anything to do with order of operations, just the definitions of the operators - + means addition, and x is shorthand for multiple additions.

                So, we already know that the answer is 14, because that’s what the teacher started with.

                Now we need some rules of Maths to make sure that anyone who tries this question gets 14 as the answer.

                And as we already saw, we have to do multiplication first or we arrive at the wrong answer - 20. And the reason we can only get the correct answer from doing multiplication first is because multiplication is shorthand for repeated additions, which was the first step the teacher made from having started from 14.

                Similarly, we have defined exponents as being shorthand for multiplication, so for the very same reason we will need to solve exponents before we solve multiplication or we won’t end up at 14.

                And welcome to the order of operations rules! As I said, they are a natural consequence of the way that we have defined the operators. So, with the way we have defined addition, multiplication, and exponents, solving any such expression requires that we do them in the order E M A. In other words, we have to undo all the shorthand in the opposite way to how it was written to begin with, until we end up with just additions, and from there we arrive at the correct answer of 14.

                Let’s say though, way back in time, that instead they had defined exponents as shorthand for multiplication, and x as shorthand for exponents. Then, with these different definitions the order of operations rules would be M E A (because these definitions have exponents and multiplication the opposite way around to how we actually have defined them).

                Do you see it now? If there’s something you don’t understand, then just ask me.

                • deaf_fish
                  link
                  fedilink
                  09 months ago

                  I think I understand what your argument is now. My problem is I just don’t find it convincing. In fact, I find it pretty unrelated to the problem.

                  Sigh…

                  I looked back through the conversation to figure out what initially sparked this debate. You seem to take issue with my claim that the order of operations is based on consensus and that any order could be used. I still think this claim is true.

                  What I will say is I think that your rationale is probably the basis for the current order of operations that we use. So from a historical perspective I think it has some merit.

                  But it doesn’t prevent us from using any other order of operations. Literally any order of operations can be used because it’s not really a math thing, it’s more of a reading an equation off the page thing. There exist systems (RPN) where the order of operations is not needed. If our entire world was built off of RPN we wouldn’t even be having this debate. Order of Operations would not even exist.

                  I feel like you and I have been repeating ourselves a lot in this thread and if this doesn’t convince you, I think we’re at an impasse.

                  Feel free to reply if you want, but I’m probably going to stop at this point in time.

                  • the order of operations is based on consensus and that any order could be used

                    No, as per example I gave, if you changed the order to addition first, you get a different answer (20 instead of 14), therefore demonstrably you can’t use a different order of operations. You can only have a different order if you have different definitions of the operators to begin with… and again the order of operations would be derived from what definitions you used in that case.

                    I still think this claim is true

                    So you didn’t understand the proof then.

                    your rationale is probably the basis for the current order of operations that we use

                    It’s not my rationale - it’s a mathematical proof. We started with 14. We therefore know any rules we make have to end up back at 14. Any rules which don’t lead you back to 14 are demonstrably wrong and ruled out. That is the whole purpose of the rules of Maths in the first place - there is only 1 correct answer, and we have to have rules which can only give you that 1 answer when you follow them. It’s the same thing the original authors of the order of operations would’ve done. There’s no “consensus”, there’s just a Mathematician doing Maths and arriving at the rules which work. Then tells others what they are so that they don’t have to go through working it out themselves (though some might if they want to confirm that what they’ve been told is correct. As I said, that’s the beauty of Maths - you can do the Maths yourself and confirm that what you’ve been told is correct, like I just did).

                    But it doesn’t prevent us from using any other order of operations.

                    Of course it does. If you try using a different order of operations you no longer get 14 (as demonstrated when we do addition before multiplication with our current operator definitions).