• mic_check_one_two@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    1 day ago

    This is actually a generational thing. Millennials were taught “PEMDAS”:

    1. Parenthesis
    2. Exponent
    3. Multiplication
    4. Division
    5. Addition
    6. Subtraction

    But younger generations have been taught “BEDMAS” instead:

    1. Brackets
    2. Exponent
    3. Division
    4. Multiplication
    5. Addition
    6. Subtraction

    Notably, Division and Multiplication are swapped on PEMDAS and BEDMAS, to make this “both happen at the same time” more straightforward. But that only applies if the entire operation can happen at the same time.

    For instance, let’s say 6/2(3) compared to 6÷2(3). At first glance, they both appear to be the same operation. But in the former, the 6 dividend would be over the entire 2(3) divisor. Which means you would need to simplify the divisor (by resolving the multiplication of 2•3) before you divide. So the former would simplify to 6/6=1, while the latter would divide first and become 3(3)=9.

    Technically, if you wanted to be completely clear, you would write it using multiple parenthesis as needed. For instance, you would write it as either:
    (6÷2)(3)=9 or 6÷(2(3))=1 to avoid the ambiguity. Then it wouldn’t matter if you’re using PEMDAS or BEDMAS.

    • AHemlocksLie@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      23 hours ago

      But in the former, the 6 dividend would be over the entire 2(3) divisor.

      I have never heard of or seen an example of anyone using / and ÷ in different ways. If you want multiple terms in your divisor, either write it as a large fraction with all relevant terms in the dividend or divisor, or use parentheses. This just seems like sloppy notation to me.

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        13 hours ago

        The slash was just because MarkDown doesn’t really make mathematical notation easy. The point is that with a slash, the 6 is over the entire 2(3) divisor. It’s the difference between these:

        You can even see that the automatic solution (in yellow) parses the two differently. In the first example, it correctly resolves the 2(3) first, because you should always simplify both the top and the bottom as much as possible before you resolve the division. But in the second, it parses the 6÷2 first, because it is left ambiguous. The slash is literally the horizontal bar, putting the dividend above the entire divisor. Except it’s in a single line, instead of taking up three lines of text for a single operation.