Introduction: Why an "Order" Exists
Mathematics is a language. In any language, the order of words changes the meaning. "The dog bit the man" is not the same as "The man bit the dog." In math, we need a universal set of rules so that everyone who looks at an expression gets the same answer. This set of rules is called the Order of Operations.
The Rules: PEMDAS
We use the acronym PEMDAS to remember the priority:
- Parentheses (and Brackets): Do everything inside grouping symbols first.
- Exponents: Calculate powers and roots.
- Multiplication & Division: Perform these from left to right. (They have equal priority).
- Addition & Subtraction: Perform these from left to right. (They have equal priority).
Worked Examples
Example 1: Basic Arithmetic
Evaluate: \(10 + 2 \times 5\)
- Incorrect Way: \(10 + 2 = 12\), then \(12 \times 5 = 60\). (This ignores priority).
- Correct Way: Multiplication comes before addition. \(2 \times 5 = 10\). Then \(10 + 10 = 20\).
- Result: 20
Example 2: The Logic of Parentheses
Evaluate: \((10 + 2) \times 5\)
- Step 1: The parentheses force us to add first. \(10 + 2 = 12\).
- Step 2: Now multiply. \(12 \times 5 = 60\).
- Result: 60
Example 3: Complex Grouping
Evaluate: \(2^3 + [15 \div (2 + 3)]\)
- Step 1: Inner parentheses first. \(2 + 3 = 5\). Expression is now \(2^3 + [15 \div 5]\).
- Step 2: Outer brackets next. \(15 \div 5 = 3\). Expression is now \(2^3 + 3\).
- Step 3: Exponents next. \(2^3 = 2 \times 2 \times 2 = 8\). Expression is now \(8 + 3\).
- Step 4: Addition. \(8 + 3 = 11\).
- Result: 11
Example 4: Left-to-Right Multiplication/Division
Evaluate: \(12 \div 3 \times 2\)
- Step 1: Division and Multiplication have equal priority. Move left to right. \(12 \div 3 = 4\).
- Step 2: \(4 \times 2 = 8\).
- Result: 8 (Note: If you multiplied first, you would get 2, which is wrong).
The Bridge to Quantum Mechanics
In Quantum Mechanics, we deal with "Operators." Just like numbers, operators must be applied in a specific order. If we have two operators, \(\hat{A}\) and \(\hat{B}\), the expression \(\hat{A}\hat{B}\psi\) means "apply operator B first, then apply operator A to the result." If you do them in the wrong order, the entire physical state changes. This fundamental logic of Order is what allows us to calculate things like the position and momentum of an electron.