7.1 Whole Numbers, Integers, Order of Operations & Number Theory
Key Takeaways
PEMDAS has four priority levels, not six: Multiplication and Division share the third level (left to right), and Addition and Subtraction share the fourth level (left to right)
Subtracting a negative integer equals adding its positive opposite (), while multiplying or dividing two numbers with matching signs gives a positive result and opposite signs give a negative result
Absolute value measures distance from and is always non-negative, and absolute value bars act as grouping symbols whose inside expression must be simplified first
To test whether a whole number is prime, try prime divisors up to and including .
Prime factorization yields both the Greatest Common Factor (GCF, shared primes with smallest exponents) and the Least Common Multiple (LCM, all primes present with largest exponents)
Whole Numbers, Integers, Order of Operations & Number Theory
Number-sense items on the TACHS exam reward accuracy on fundamentals. A single sign slip, a misapplied order-of-operations step, or assuming a number like is prime can cost an easy point—especially because incorrect answers on multiple-choice questions are specifically designed to match those predictable mistakes.
Order of Operations (PEMDAS)
Many students memorize the acronym PEMDAS (Parentheses, Exponents, Multiplication, Division, Addition, Subtraction) and mistakenly think multiplication always comes before division or addition always comes before subtraction. In reality, PEMDAS has four tiers, not six:
- Grouping symbols first (P): Parentheses
(...), brackets[...], fraction bars (simplify the entire numerator and entire denominator separately before dividing), and absolute value bars|...|. - Exponents and roots second (E): Evaluate powers like and square roots like after simplifying any grouping inside them.
- Multiplication and Division third (MD): Work strictly from left to right, whichever appears first.
- Addition and Subtraction fourth (AS): Work strictly from left to right, whichever appears first.
Consider the classic trap . If you multiply first, you get , which is incorrect. Working left to right gives , and then .
Worked Example 1: Multi-Step Order of Operations
Evaluate .
- Grouping symbols: Simplify inside the parentheses: , giving .
- Exponents: Compute , giving .
- Multiply and divide left to right: First , then , leaving .
- Add and subtract left to right: .
Signed Integer Arithmetic & Absolute Value
Integers include positive whole numbers, negative whole numbers, and zero (). Keep the sign rules distinct for adding/subtracting versus multiplying/dividing. The multiplication and division sign rules below apply to nonzero operands. Multiplying by zero gives zero, and dividing by zero is undefined:
| Operation | Rule | Example |
|---|---|---|
| Add, same signs | Add magnitudes and keep the common sign | |
| Add, different signs | Subtract the smaller magnitude from the larger and use the sign of the larger magnitude. Equal magnitudes give zero. | |
| Subtract | Rewrite as adding the opposite: and | |
| Multiply / Divide, same signs | Result is positive | and |
| Multiply / Divide, opposite signs | Result is negative | and |
Absolute Value
The absolute value of a number , written , is its distance from on the number line. Because distance is never negative, for every number: , , and .
When an expression sits inside absolute value bars, simplify inside the bars before taking the absolute value, just as you would with parentheses:
Notice that becomes , so subtracting subtracts —the two minus signs do not cancel through an absolute value bar.
Worked Example 2: Combined Signed Integers & Absolute Value
Evaluate .
- Grouping (absolute value): , and . The expression becomes .
- Divide and multiply left to right: , and . Now we have .
- Subtracting a negative: Rewrite as : .
- Add left to right: , and .
Divisibility Rules
Divisibility tests let you factor numbers, simplify fractions, and spot composite numbers without trial division:
| Divisor | Divisibility Test | Quick Example |
|---|---|---|
| 2 | Last digit is even () | ends in (yes) |
| 3 | Sum of digits is divisible by | : (yes) |
| 4 | Last two digits form a number divisible by | : (yes) |
| 5 | Last digit is or | ends in (yes) |
| 6 | Divisible by both and | : even and (yes) |
| 9 | Sum of digits is divisible by | : (yes) |
| 10 | Last digit is | ends in (yes) |
Prime vs. Composite Numbers
A prime number is a whole number greater than with exactly two factors: and itself (). A composite number is a whole number greater than that has more than two factors. Remember two key facts:
- and are neither prime nor composite.
- is the only even prime number. Every even whole number greater than has as a proper factor.
Finding Factors of Odd Numbers
Odd numbers can still have small prime factors. Start with a divisibility test or a known multiplication fact:
- is composite: is divisible by , so .
- is composite: It ends in , and .
- is composite: It passes the tests for divisibility by , , and , but .
For a whole number , test prime divisors up to and including . If is composite and with , at least one factor is at most . A prime divisor of that factor is also at most . The endpoint matters for squares such as . For example, to test , note that , so you only check and . None divide evenly (), proving is prime. By contrast, fails and , yet , so is composite.
Prime Factorization, GCF & LCM
Every composite whole number can be written as a product of primes that is unique up to the order of the factors (its prime factorization). Prime factorization gives a foolproof method for finding both the Greatest Common Factor (GCF) and the Least Common Multiple (LCM).
Worked Example 3: Finding GCF and LCM of and
- Factor each number into primes:
- GCF (shared primes, smallest exponents): Both numbers share the primes and . Taking the smaller exponent on each gives .
- LCM (all primes present, largest exponents): Taking the larger exponent on each prime gives .
- Quick sanity check: For any two positive integers and , . Here and .
In word problems, GCF answers questions about finding the greatest number of identical groups when all items of each type must be used, while LCM answers questions about when repeating cycles or schedules happen together again.
Evaluate the expression .
-5
27
31
30
What is the value of ?
-10
-14
24
0
A student crosses out numbers below 100 that are divisible by 2, 3, 5, or 7. Which of the following numbers is left and must be prime?
83
77
87
49
Two school bells ring on different schedules: one rings every minutes and the other rings every minutes. If both ring together at 8:00 a.m., after how many minutes will they next ring together?
6 minutes
42 minutes
72 minutes
432 minutes
Sections you finish are checked off in the contents.