2023-10-16 06:32 UTC
6/11
In 2+3*4, 3 is both associated with a + AND with *4. You know what it's NOT associated with - because + is a unary operator - the 2. So it IS associated with the 4, but not the 2, so we have to do the multiplication first! This is a natural consequence of * being a binary operator! It associates 2 numbers with each other, unlike a unary operator which is only associated with 1 number.
But let's put that aside for a moment and look at "addition first" from another angle...
Replies (1)
-
@SmartmanApps@dotnet.social 2023-10-16 06:33
7/11 Recall in The Distributive Law that we only multiply what is inside the brackets by the TERM which is outside the brackets. NOT the EXPRESSION which is outside the brackets, the term. i.e. in 8/2(1+3) the slash separates 2 terms - 8 and 2(1+3), so only 2 distributes over (1+3). To do any different would require writing it as (8/2)(1+3), where now we have an expression that we wish to distribute (made into a term by putting it in brackets). Same thing applies here...