•  Queue   ( @queue@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    13
    edit-2
    6 months ago

    For anyone like me who has math as their worst subject: PEMDAS.

    PEMDAS is an acronym used to mention the order of operations to be followed while solving expressions having multiple operations. PEMDAS stands for P- Parentheses, E- Exponents, M- Multiplication, D- Division, A- Addition, and S- Subtraction.

    So we gotta do it in the proper order. And remember, if the number is written like 2(3) then its multiplication, as if it was written 2 x 3 or 2 * 3.

    So we read 8/2(2+2) and need to do the following;

    • Read the Parentheses of (2 + 2) and follow the order of operations within them, which gets us 4.
    • Then we do 2(4) which is the same as 2 x 4 which is 8
    • 8 / 8 is 1.

    The answer is 1. The old calculator is correct, the phone app which has ads backed into it for a thing that all computers were invented to do is inaccurate.

    • The problem with this is that the division symbol is not an accurate representation of the intended meaning. Division is usually written in fractions which has an implied set of parenthesis, and is the same priority as multiplication. This is because dividing by a number is the same as multiplying by the inverse, same as subtracting is adding the negative of a number.

      8/2(2+2) could be rewritten as 8×1/2×(2+2) or (8×(2+2))/2 which both resolve into 16.

      • Division is usually written in fractions

        Division and fractions aren’t the same thing.

        fractions which has an implied set of parenthesis

        Fractions are explicitly Terms. Terms are separated by operators (such as division) and joined by grouping symbols (such as a fraction bar), so 1÷2 is 2 terms, but ½ is 1 term.

        8/2(2+2) could be rewritten as 8×1/2×(2+2)

        No, it can’t. 2(2+2) is 1 term, in the denominator. When you added the multiply you broke it into 2 terms, and sent the (2+2) into the numerator, thus leading to a different answer. 8/2(2+2)=1.

    •  hallettj   ( @hallettj@beehaw.org ) 
      link
      fedilink
      English
      210 months ago

      The problem is that the way PEMDAS is usually taught multiplication and division are supposed to have equal precedence. The acronym makes it look like multiplication comes before division, but you’re supposed to read MD and as one step. (The same goes for addition and subtraction so AS is also supposed to be one step.) It this example the division is left of the multiplication so because they have equal precedence (according to PEMDAS) the division applies first.

      IMO it’s bad acronym design. It would be easier if multiplication did come before division because that is how everyone intuitively reads the acronym.

      Maybe it should be PE(M/D)(A/S). But that version is tricky to pronounce. Or maybe there shouldn’t be an acronym at all.

    • Turns out I’m wrong, but I haven’t been told how or why. I’m willing to learn if people actually tell me

      Well, I don’t know what you said originally, so I don’t know what it is you were told was wrong - 1 or 16? 😂 The correct answer is 1.

      Anyhow, I have an order of operations thread which covers literally everything there is to know about it (including covering all the common mistakes and false claims made by some). It includes textbook references, historical Maths documents, worked examples, proofs, memes, the works! I’m a high school Maths teacher/tutor - I’ve taught this topic many times.