• a_fine_hound@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    11 months ago

    Well that’s just wrong… Multiplication and division have equal priorities so they are done from left to right. So: 8 / 2 * (2 + 2)=8 / 2 * 4=4 * 4=16

    • nutcase2690@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      Not quite, pemdas can go either from the left or right (as long as you are consistent) and division is the same priority as multiplication because dividing by something is equal to multiplying by the inverse of that thing… same as subtraction being just addition but you flip the sign.

      8×1/2=8/2 1-1=1+(-1)

      The result is 16 if you rewrite the problem with this in mind: 8÷2(2+2)=8×(1/2)×(2+2)