Post Reply 
Late Sunday night poser
10-26-2024, 09:39 PM
Post: #11
RE: Late Sunday night poser
(10-26-2024 08:13 PM)toml_12953 Wrote:  Since division is performed left to right, according to PEMDAS

As far as I know, PEMDAS is about operator precedence.
I guess that left associativity of subtraction is just assumed as given when chain calculations are introduced in primary school.
But given that both addition and subtraction are binary operation, an expression like \(8 - 3 + 5\) doesn't even make sense.
You'd have to use parentheses to either mean \((8 - 3) + 5 = 10\) or \(8 - (3 + 5) = 0\).
Defining subtraction to be left associative, allows to write expressions like these without parentheses:

\(
\frac{1}{1+x}=1-x+x^2-x^3+x^4-x^5+ \cdots \; (|x|<1)
\)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Late Sunday night poser - teenix - 10-26-2024, 11:09 AM
RE: Late Sunday night poser - rprosperi - 10-26-2024, 11:39 AM
RE: Late Sunday night poser - teenix - 10-26-2024, 11:53 AM
RE: Late Sunday night poser - rprosperi - 10-26-2024, 11:54 AM
RE: Late Sunday night poser - vaklaff - 10-26-2024, 11:47 AM
RE: Late Sunday night poser - Thomas Klemm - 10-26-2024, 11:57 AM
RE: Late Sunday night poser - toml_12953 - 10-26-2024, 08:21 PM
RE: Late Sunday night poser - toml_12953 - 10-26-2024, 08:13 PM
RE: Late Sunday night poser - BruceH - 10-26-2024, 08:25 PM
RE: Late Sunday night poser - Thomas Klemm - 10-26-2024 09:39 PM
RE: Late Sunday night poser - toml_12953 - 10-27-2024, 02:28 AM
RE: Late Sunday night poser - dm319 - 10-27-2024, 04:10 PM
RE: Late Sunday night poser - toml_12953 - 10-27-2024, 05:43 PM
RE: Late Sunday night poser - Thomas Klemm - 10-27-2024, 07:29 PM
RE: Late Sunday night poser - Liamtoh Resu - 11-06-2024, 06:12 PM



User(s) browsing this thread: 1 Guest(s)