this post was submitted on 03 Dec 2023
407 points (99.5% liked)

196

16593 readers
2122 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 1 year ago (2 children)

I think when a number or variable is adjacent a bracket or parenthesis then it's distribution to the terms within should always take place before any other multiplication or division outside of it. I think there is a clear right answer and it's 1.

[–] [email protected] 14 points 1 year ago (2 children)

No there is no clear right answer because it is ambiguous. You would never seen it written that way.

Does it mean A÷[(B)(C)] or A÷B*C

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It means

A ÷ B(C) which is equivalent to A ÷ (B*C)

I literally just explained this. The Parenthesis takes priority over multiplication and division outright.

Maybe
B*C = B(C)
But
A ÷ B(C) =! A ÷ B * C
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

No. It's ambiguous. In a math book or written by anyone that actually uses math, you don't have a "%"

You group stuff below the line, and you use parens and brackets to group things like (a + b) and (x)(y) so that it is not ambiguous.

2/xy would be almost always interpreted differently than 2/x(x+y) which is ambiguous and could mean (2/x)(x+y) or 2/[(x)(x+y)]

[–] [email protected] 2 points 1 year ago

You continue to say it's ambiguous, but the most commonly used convention on earth very clearly prioritizes parenthesis. It is not ambiguous.

[–] [email protected] 4 points 1 year ago

It's 16, addition in bracket comes first