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

196

16557 readers
1876 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
[–] SmartmanApps@programming.dev 1 points 8 months ago

We agree that the two situations are separate

Ok, that's a start.

but the first result is 4 ÷ a the second result is 4a

Exactly! So when a=2 then 4÷a=2, and 4a=8, which isn't the same thing. Welcome to why 2a and 2xa (and therefore also 2.a) aren't the same thing.

I use the dot as an expression of the same term rather than separate.

But that is incorrect. A dot is used for multiplication. i.e. it separates terms. If you use a . for 2.a, then you are writing the same thing as 2xa, not the same thing as 2a.

This is matter of my notational convention

Well, that's fine enough if you keep it to yourself, but don't use it in anything anyone else is going to read, or you're going to run into the issues I just pointed out