Sub topic 1
Order of Operations and Parentheses: The Foundation
Every made-up symbol on the GRE is a rule for producing a number. After you substitute the inputs into the rule, you still have to evaluate an ordinary arithmetic expression. Most mistakes on these problems come from misreading that expression, not from misunderstanding the invented symbol. This chapter sets up the habits the rest of the tutorial relies on.
Prerequisites
This chapter assumes you can already do the following:
- Add, subtract, multiply, and divide integers, fractions, and decimals.
- Work with exponents such as 3² and square roots such as √16.
- Treat a letter such as a or x as a placeholder for a number.
- Recognize that 2a means "2 times a".
You do not need to know anything about functions yet. The next chapters introduce function notation and defined operations.
Why this comes first
Consider a defined operation a★b = 2a + b². To compute 3★4, you replace a with 3 and b with 4 to get 2(3) + 4². You then have to know whether that equals 6 + 16 = 22 or (6 + 4)² = 100. The definition does not tell you. The standard order of operations does.
The GRE assumes you know this order. It never restates it, and it often writes problems so that one skipped rule produces an attractive wrong answer.
The order of operations
Evaluate an expression in these tiers, from highest priority to lowest:
| Priority | What to evaluate | Notes |
|---|---|---|
| 1 | Parentheses and other grouping | Innermost group first. Fraction bars and radical signs also group. |
| 2 | Exponents and roots | Applied to the nearest base. Stacked exponents go top-down. |
| 3 | Multiplication and division | Equal priority. Work left to right. |
| 4 | Addition and subtraction | Equal priority. Work left to right. |
The acronym PEMDAS suggests that multiplication comes before division and addition before subtraction. It does not. Within tiers 3 and 4, the operations have equal rank, and you go left to right.
The loop at the top matters. Nested parentheses are resolved one layer at a time, from the inside out. Chapter 7 uses the same idea for nested operations.
Checking the rules with code
Python follows the same conventions as standard math for these cases, so it is a useful way to test your reading of an expression.
print(-3 ** 2) # -9: the exponent applies to 3, then the minus sign
print((-3) ** 2) # 9: the parentheses make -3 the base
print(24 / 4 * 2) # 12.0: left to right, (24/4)*2
print(10 - 4 - 3) # 3: left to right, (10-4)-3
print(2 ** 3 ** 2) # 512: stacked exponents go top-down, 2**(3**2)
print(2 + 3 * 4 ** 2) # 50: 4**2 = 16, 3*16 = 48, 2+48Python is a convenient checker only because its precedence matches the math convention here. On the GRE you have no code, so you have to apply the rules by hand.
Common errors with the basic rules
Negative bases and exponents
The expression −3² means −(3²), which is −9. The expression (−3)² means (−3)(−3), which is 9. An exponent binds to the number or group directly to its left, and a leading minus sign is applied afterward.
Division and subtraction are not associative
Because division and subtraction go left to right, these results are easy to get wrong:
- 10 − 4 − 3 equals 3, not 9.
- 24 ÷ 4 × 2 equals 12, not 3. If you divide by the product 4 × 2, you have changed the problem.
If you actually want to divide by a product, the problem will write 24 ÷ (4 × 2). The parentheses are what changes the answer.
Fraction bars and radicals are grouping symbols
A long fraction bar acts as parentheses around the numerator and the denominator. The expression (5 + 3)/(5 − 3) is 8/2 = 4. If you flatten it to one line and write 5 + 3/5 − 3, you get 2.6, which is a different value.
A radical works the same way. √(9 + 16) is √25 = 5, but √9 + √16 = 3 + 4 = 7. The square root of a sum is not the sum of the square roots.
Stacked exponents
For 2^(3²), evaluate the top exponent first: 3² = 9, then 2⁹ = 512. Evaluating (2³)² gives 64, a different value. The GRE usually uses parentheses or clear typesetting here, but you should know which direction is the default.
Implicit multiplication
In definitions, a number written next to a letter means multiplication. In 2a + b², the term 2a is 2 × a. When you substitute a = 3, the term becomes 2(3) = 6. It does not become the two-digit number 23.
Two habits prevent this error. First, put parentheses around every substituted value. Second, write the multiplication sign yourself when you rewrite the expression.
Substituting with parentheses
When you replace a variable with a number, put the number in parentheses, even if it looks harmless. This protects negative numbers and fractions, which are the values most likely to change an expression when written without grouping.
Take the invented operation a▲b = a² − b and evaluate (−3)▲(−2).
- Replace each letter with its value in parentheses: (−3)² − (−2).
- Evaluate the exponent: 9 − (−2).
- Resolve the subtraction of a negative: 9 + 2 = 11.
Without the parentheses you would write −3² − −2. That reads as −9 + 2 = −7, which is wrong. The parentheses are what carry the negative sign into the square.
def triangle(a, b):
# Defined operation: a triangle b = a^2 - b
return a ** 2 - b
print(triangle(-3, -2)) # 11
print(-3 ** 2 - -2) # -7: the answer you get by dropping the parenthesesThe two lines print different values. The first line follows the definition. The second line is what you get if you substitute carelessly.
A worked example from start to finish
Define x◆y = (x + y)/(x − y). Evaluate 5◆3 and (−1)◆(−5).
For 5◆3:
- Substitute: (5 + 3)/(5 − 3).
- Evaluate each grouped part: 8/2.
- Divide: 4.
For (−1)◆(−5):
- Substitute with parentheses: ((−1) + (−5))/((−1) − (−5)).
- Numerator: −1 + (−5) = −6.
- Denominator: −1 − (−5) = −1 + 5 = 4.
- Divide: −6/4 = −3/2.
Both groups were resolved separately before the division. If you had resolved only part of the numerator and then divided, the answer would have been wrong.
def diamond(x, y):
return (x + y) / (x - y)
print(diamond(5, 3)) # 4.0
print(diamond(-1, -5)) # -1.5A checking routine you can reuse
Use the same short routine on every problem in this tutorial:
- Copy the definition exactly. Note every exponent, minus sign, and grouping symbol.
- Substitute each input in parentheses. Write multiplication signs where the definition used implicit multiplication.
- Resolve the innermost parentheses first.
- Apply exponents and roots.
- Do multiplication and division left to right, then addition and subtraction left to right.
- Check the sign of the result against a rough estimate. For example, a positive square plus a positive number cannot be negative.
The routine adds only a few seconds per problem. It prevents most of the arithmetic slips that the GRE writes its wrong answer choices around.
Edge cases to watch for
- Zero and negative exponents. Any nonzero number to the power 0 is 1. A term such as (−2)⁰ is 1, and −2⁰ is −1, for the same reason as the negative-base case above.
- Fractional inputs. Parenthesize the whole fraction before squaring. (1/2)² = 1/4, while 1/2² means 1/4 only because the exponent binds to 2, so these two forms agree here. They do not agree in general. For example, (2/3)² = 4/9, but 2/3² = 2/9.
- Division by a group. In 6 ÷ (1 + 2), the answer is 2. In 6 ÷ 1 + 2, the answer is 8.
- Even and odd powers of negatives. An even exponent makes (−n)ᵏ positive. An odd exponent keeps it negative. This is a quick sign check.
These cases come back in later chapters, for example when you evaluate defined operations on negative and fractional inputs.
Summary of what to carry forward
The order of operations is the same everywhere. A made-up symbol only changes which expression you build. Once you have built it, you evaluate it with the same four tiers. Parenthesize every substituted value, resolve groups from the inside out, and go left to right within each tier.
Exercise
Evaluate 18 − 2 × (5 − 3)² ÷ 4. Show each step.
Show answer
First the parentheses: 5 − 3 = 2. Then the exponent: 2² = 4. The expression is now 18 − 2 × 4 ÷ 4. Multiplication and division go left to right: 2 × 4 = 8, then 8 ÷ 4 = 2. Finally 18 − 2 = 16. The answer is 16.
Exercise
The operation a▲b is defined by a▲b = a² − 2b. Evaluate (−3)▲(−4).
Show answer
Substitute with parentheses: (−3)² − 2(−4). The square is 9, and 2(−4) = −8. So the expression is 9 − (−8) = 9 + 8 = 17. The answer is 17. If you dropped the parentheses and read −3² you would get −9 + 8 = −1, which is wrong.
Exercise
Which is larger, 2^(3²) or (2³)²? Give both values.
Show answer
For 2^(3²), evaluate the top exponent first: 3² = 9, so the value is 2⁹ = 512. For (2³)², the parentheses force 2³ = 8 first, and 8² = 64. So 2^(3²) = 512 is larger.