Definition of Order of Operations

AI Thread Summary
The order of operations in mathematics, defined by PEMDAS, was established for convenience in working with polynomials and to avoid ambiguity in calculations. This hierarchy allows for a consistent approach to computation, where exponents are evaluated before addition and subtraction. While the order is somewhat arbitrary, it facilitates a clear notation that avoids the need for excessive parentheses, as seen in some programming languages like Lisp. The discussion highlights that this structure aids in preserving a logical progression in mathematical operations. Ultimately, the order of operations serves as a shorthand that simplifies mathematical expressions and ensures uniformity in results.
V0ODO0CH1LD
Messages
278
Reaction score
0
I realize now that I took something for granted when I first learned it god knows when.. So I though of starting a discussion as to why were the order of operations defined the way they were? I mean, is there some kind of natural explanation as to why we should compute exponents first and additions and subtractions last? Or is it one of those "right-hand rule" dilemmas where we are just trying to avoid one question having multiple answers?
 
Mathematics news on Phys.org
The order of operations was defined by mathematicians. From what I know, most likely to make writing polynomials easier.

Certainly you can define the order of operations in a variety of ways. But it makes things look unnatural.

For example

Take 5x^2 + 3x + 10 under the normal order of operations.

Now say that addition should come before muliplication.

Let's try to re-write that same polynomial.

(5x^2) + (3x) + 10

I have to add parenthesis here to get the same result.

I guess my point is that in the math we use, we made the order of operations the way it is for convenience. I think that it kind of makes sense the way it is. Without going into too much details think about how you first learned multiplication.

You were probably told that 5*4 = 5 + 5 + 5 + 5.

When you learned about exponents, you were probably told that 5^3 = 5 * 5 * 5 = (5 + 5 + 5 + 5 + 5) * 5 = 5 + 5 + 5 ... + 5

There is a nice hierarchy here that is well preserved in the way we think about them.
 
Order of operations is a notational shorthand that was created for convenience of working with polynomials.

In some computer languages, notably Lisp, there is not such concept. Instead, you have to parenthesize EVERY operation.

Instead of x^2 + 2x + 1, you have to write (+ (+ (pow x 2) (* 2 x)) 1). It's rather obnoxious! But, from a computer science standpoint, it is absolutely trivial to parse.

Note that the order of operations is completely arbitrary, with the exception of parentheses which have a special syntactic interpretation. If instead of PEMDAS we chose PSADME, we would instead write the above expression as

(x^2) + (2x) + 1

The PEMDAS order is such that the normal form of any polynomial (the form: a_n x^n + a_n-1 x^(n-1) + ... + a_0) is always parentheses-free.
 
V0ODO0CH1LD said:
I realize now that I took something for granted when I first learned it god knows when.. So I though of starting a discussion as to why were the order of operations defined the way they were? I mean, is there some kind of natural explanation as to why we should compute exponents first and additions and subtractions last? Or is it one of those "right-hand rule" dilemmas where we are just trying to avoid one question having multiple answers?

I found a couple of interesting links.

http://mathforum.org/library/drmath/view/52582.html

and

http://jeff560.tripod.com/grouping.html
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top