this post was submitted on 03 Dec 2023
203 points (100.0% liked)

196

667 readers
35 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
[–] Malgas 21 points 11 months ago (2 children)

Left is correct; implicit multiplication takes precedence over explicit multiplication or division.

[–] 4am@lemm.ee 3 points 11 months ago (3 children)

What the fuck is the difference in implicit vs explicit? It’s the same operation, why the fuck does it matter if there is a symbol?

Multiplication comes first, then division.

[–] 0ops@lemm.ee 11 points 11 months ago

Division is a form of Multiplication, just as subtraction is a form of addition. You multiply and divide in the same step, left to right

[–] Malgas 8 points 11 months ago

No, multiplication and division are resolved from left to right in the same step. But implicit multiplication (xy, as opposed to x*y) happens first.

[–] SmartmanApps@programming.dev 1 points 7 months ago

the difference in implicit vs explicit? It’s the same operation

"implicit multiplication" isn't even a real thing in Maths, and isn't even multiplication to begin with - people use that umbrella term to either mean The Distributive Law - which is the first step is solving Brackets - or Terms, which are products, which is the result of a multiplication.

e.g. if a=2 and b=3, then...

axb=2x3 - 2 terms

ab=6 - 1 term

Multiplication comes first, then division

They can be done in either order, or even together, as long as you go left to right.

[–] SimplyTadpole@lemmy.dbzer0.com 1 points 11 months ago (1 children)

What's the difference between implicit multiplication and explicit multiplication?

[–] Malgas 6 points 11 months ago (1 children)

Implicit multiplication is xy or x(y), explicit multiplication is x*y.

Basically just whether or not there's an actual multiplication symbol.

[–] SmartmanApps@programming.dev 1 points 7 months ago

Right idea, but wrong terminology.

There's no such thing as implicit multiplication

xy is a Term - Terms are separated by operators (none in this case) and joined by grouping symbols.

x(y) is a Bracketed Term, and is therefore subject to The Distributive Law, which is the first step in solving Brackets.

And yes, a multiplication symbol is an operator - which therefore separates Terms (which is why ab and axb aren't the same thing - it's 1 term vs. 2 terms), and the "M" in the mnemonics refers literally to multiplication signs, and nothing else.