pbuk said:
No it is not in PEMDAS because at the level PEMDAS is taught repeated exponentiation is not encountered, however exponentiation is a right-associative operation.
With regard to "however exponentiation is a right-associative operation," you know this and I know this, but very many people don't know it. My concern is that it
should be taught when PEMDAS is presented so that mathematics at this level is at least on par with how programming languages operate and are taught. There seem to be a number of implicit assumptions about how PEMDAS should be used to parse an algebraic or arithmetic expression, such as that multiplication and division have the same precedence, with neither being at a higher level than the other. And the same for addition and subtraction.
pbuk said:
This is not taught explicitly for the same reason that we do not teach explicitly that in e.g. ## e^{i\theta} ## the multiplication comes before the exponentiation, breaking PEMDAS.
OTOH, this exponential alternatively can be written as ##exp(i\theta)##, which makes it explicit that the multiplication takes precedence over the exponentiation. In textbooks, the placement of the exponent in ##e^{i\theta}## implies that the exponent is parenthesized. In a similar way, the
vinculum in ##\dfrac C {2\pi}## implies that the denominator is parenthesized whereas writing ##C/2\pi## as a linear expression is ambiguous## unless we invoke the more complete parsing rules of programming languages.
pbuk said:
As said somewhere above, PEMDAS is not mathematics, it is simply a mnemonic that helps us do arithmetic and algebra
And poorly, in its current state, IMO. As I said before, in my first algebra class, around the middle of the last century, only MDAS (with mnemonic My Dear Aunt Sally) was presented. Since then it has been expanded to include Parentheses and Exponents, to make the mnemonic more comprehensive and helpful. I don't see why it can't be improved on again to cover situations that seem to give people so much difficulty; That is, to be explicit on how all of the operators, and particularly exponents, group.