Basic Algebra Review
Quick Reference
| Field | Value |
|---|---|
| Textbook | Moore, McCabe, and Craig, Introduction to the Practice of Statistics, 9th edition (W. H. Freeman / Macmillan Learning, 2017), ISBN 978-1-319-01338-7 |
| Chapter.Section.Subsection | Chapter 0 prerequisite review (not a numbered IPS section). Supports IPS Sections 1.3 (Describing Distributions with Numbers) and 1.4 (Density Curves and Normal Distributions). Subsection focus: order of operations, evaluating expressions, square roots, substitution. |
| Pages | Page numbers pending faculty verification. |
| Course | MATH 380 (Statistics) |
The mean $\bar{x}$, the standard deviation $s$, and the standardized value $z$ all rest on substituting numbers into a formula and carrying out the operations in the correct order. A reviewer with a physical copy of the 9th edition should fill the page ranges for Sections 1.3 and 1.4 and flip pages_verified to true.
Try This First
Before any rule or formula, work this one by hand with a pencil. Take your time. There is no rush, and a wrong turn here is common and worth understanding.
You are handed this expression:
$$3 + 4 \times 2^2$$
Write down the single number you think it equals. Then read the next sentence.
Two readers often disagree here. One reader gets 196, by going strictly left to right: $3 + 4 = 7$, then $7 \times 2 = 14$, then $14^2 = 196$. Another reader gets 19. Only one of those follows the agreed order that every statistics formula assumes. Keep both numbers in mind. By the end of the first section you will know which one is correct and exactly why the other reader went wrong.
Where this shows up
Every number you will report in this course (a mean, a spread, a $z$-score) is the output of a small machine. You feed in data values, the machine applies a fixed recipe of operations, and a single number comes back out. If two people feed in the same data but apply the operations in a different order, they get different answers, and at most one of them is right. The rules in this node are the shared recipe so that everyone who computes a standard deviation from the same data gets the same standard deviation.
Think of a formula as a process: it takes inputs (the data, the sample size $n$) and returns an output (a summary number). The work of this node is making that process reliable, so that the statistics built on top of it are trustworthy.
Prerequisite Hub
This is a foundation node. Nothing in the course comes before it.
Builds on
| Skill | Why it comes first |
|---|---|
| (none) | Assumes only arithmetic with whole numbers, fractions, and decimals from prior coursework. |
Unlocks (each of these uses substitution and order of operations directly)
| Skill | What it needs from here |
|---|---|
| Sigma (Summation) Notation | Reading $\sum x_i$ as “add the substituted values in order” |
| Measures of Center: Mean and Median | Computing $\bar{x} = \frac{1}{n}\sum x_i$ requires correct order and substitution |
| Measures of Spread: Variance and SD | Computing $s$ requires squaring, summing, dividing, then a square root, all in order |
| Standardizing and z-scores | Computing $z = \frac{x - \bar{x}}{s}$ requires subtraction before division |
Cross-course prerequisites: none.
graph LR
subgraph ThisSkill["This Skill"]
C["Basic Algebra<br/>Review"]
end
subgraph Unlocks
D["Sigma (Summation)<br/>Notation"]
E["Mean and<br/>Median"]
F["Variance<br/>and SD"]
G["Standardizing<br/>and z-scores"]
end
C --> D
C --> E
C --> F
C --> G
style C fill:#d1fae5,stroke:#a565f0,stroke-width:3px
Quick Reference
| Property | Value |
|---|---|
| Course | MATH 380 |
| Difficulty | Introductory |
| Time | ~30 minutes |
Order of Operations at a Glance
| Step | What you handle | Example piece |
|---|---|---|
| 1 | Parentheses (and other grouping: brackets, the bar over a $\sqrt{\ }$, the line of a fraction) | $(x - \bar{x})$ |
| 2 | Exponents and roots | $2^2$, $\sqrt{9}$ |
| 3 | Multiplication and Division, left to right | $\frac{1}{n} \times \sum x_i$ |
| 4 | Addition and Subtraction, left to right | $x_1 + x_2 + x_3$ |
A common memory aid is PEMDAS. Read it as four tiers, not six steps: multiplication and division share one tier (left to right), and so do addition and subtraction.
Key Concepts
The Order of Operations
The order of operations is the agreed sequence for carrying out the operations in an expression so that every reader gets the same value.
Definition (Evaluating an algebraic expression). Evaluating an expression means substituting given numerical values for the variables and carrying out the operations in the correct order: parentheses, exponents and roots, multiplication and division, then addition and subtraction. (Source: foundational algebra underlying the computational formulas of IPS 9th edition, Sections 1.3 and 1.4 (mean, standard deviation, and standardizing).)
Return to the opener, $3 + 4 \times 2^2$. Work it by tier:
- Parentheses: none.
- Exponents: $2^2 = 4$, giving $3 + 4 \times 4$.
- Multiplication and division: $4 \times 4 = 16$, giving $3 + 16$.
- Addition and subtraction: $3 + 16 = 19$.
The value is $19$. The reader who got $196$ added before multiplying and squared last, which reverses the agreed order. Notice that the disagreement was never about arithmetic facts. Both readers can add and multiply. The disagreement was entirely about order.
One way to see this, and another way. One way to keep the tiers straight is the PEMDAS memory aid. Another way is to picture the expression as nested boxes: the most tightly bound operations (exponents, then products) form inner boxes that must be closed before the looser outer boxes (sums) can be added up. Which picture do you prefer, and why? Both lead to the same value $19$.
Square Roots
Definition (Square root). The square root of a nonnegative number $a$, written $\sqrt{a}$, is the nonnegative number whose square is $a$. (Source: foundational algebra underlying the computational formulas of IPS 9th edition, Sections 1.3 and 1.4.)
In symbols, if $a \geq 0$, then $\sqrt{a} = b$ means $b \geq 0$ and $b^2 = a$.
Two facts follow directly from the definition and matter for the standard deviation:
- $\sqrt{a}$ is never negative. The square root of $9$ is $3$, not $-3$, even though $(-3)^2 = 9$ is also true. The definition picks the nonnegative one.
- The bar over the radical is a grouping symbol. In $\sqrt{16 + 9}$, you add first, then take the root: $\sqrt{25} = 5$. This is not the same as $\sqrt{16} + \sqrt{9} = 4 + 3 = 7$.
The standard deviation $s$ is a square root of a sum divided by a count. That square root sits at the very end of the recipe, after all the squaring, summing, and dividing are done.
Substituting Into a Formula
Substitution is the act of replacing each variable with its given numerical value and then evaluating.
The three formulas this node supports, stated as in IPS 9th edition Chapter 1, are:
- The mean: $\bar{x} = \dfrac{1}{n}\sum_{i=1}^{n} x_i$
- The (sample) standard deviation: $s = \sqrt{\dfrac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2}$
- The standardized value: $z = \dfrac{x - \bar{x}}{s}$
(Formulas as stated in IPS 9e, Chapter 1, Sections 1.3 and 1.4.)
Each one is a process. Read $z = \frac{x - \bar{x}}{s}$ left to right as a recipe: subtract the mean from the value (numerator, grouped by the fraction bar), then divide by the standard deviation. The fraction bar groups the whole numerator, so the subtraction happens before the division even though no parentheses are printed.
the fraction bar does not need parentheses. A reader sometimes types $z = x - \bar{x} / s$ into a calculator and trusts it. On a small example, take $x = 10$, $\bar{x} = 4$, $s = 2$. The formula gives $z = \frac{10 - 4}{2} = \frac{6}{2} = 3$. But $x - \bar{x} / s$ keyed literally is $10 - \frac{4}{2} = 10 - 2 = 8$, because division outranks subtraction. The fraction bar is an invisible pair of parentheses around the entire numerator. When you flatten a fraction onto one line, you must put the numerator in parentheses: (x - xbar) / s.
Worked Examples
Worked Example 1: Order of operations end to end
Evaluate $20 - 2 \times (3 + 1)^2 \div 4$.
Predict first. Before computing, predict whether the answer is closer to $20$ or closer to $0$. The expression starts at $20$ and subtracts a positive quantity, so a value somewhere below $20$ is reasonable. Hold that prediction.
Now compute, by tier.
- Parentheses: $3 + 1 = 4$, giving $20 - 2 \times 4^2 \div 4$.
- Exponents: $4^2 = 16$, giving $20 - 2 \times 16 \div 4$.
- Multiplication and division, left to right: $2 \times 16 = 32$, then $32 \div 4 = 8$, giving $20 - 8$.
- Addition and subtraction: $20 - 8 = 12$.
Compare to the prediction. The result $12$ is below $20$, matching the prediction. A reader who divided before multiplying would compute $16 \div 4 = 4$ first, then $2 \times 4 = 8$, and land on the same $8$ here only by coincidence of these numbers. The reliable rule is left to right within the multiply-divide tier.
Worked Example 2: A square root over a sum
Evaluate $s = \sqrt{\dfrac{36 + 4 + 0 + 16 + 4}{5 - 1}}$.
This is the exact shape of a standard deviation: a square root of a sum divided by a count.
Predict first. The five numbers on top sum to something around $60$, divided by $4$ is around $15$, and the square root of $15$ is between $3$ and $4$. Predict an answer near $4$.
Now compute, inside out.
- The fraction bar groups numerator and denominator. Numerator first: $36 + 4 + 0 + 16 + 4 = 60$.
- Denominator: $5 - 1 = 4$.
- Divide: $\frac{60}{4} = 15$.
- Square root last: $\sqrt{15} \approx 3.873$.
Compare to the prediction. The result $\approx 3.87$ sits between $3$ and $4$, matching the prediction. Taking the square root before the division (computing $\sqrt{60}$ and $\sqrt{4}$ separately) would be a different and wrong value, because the bar over the radical groups the entire fraction underneath it.
Worked Example 3: Substituting into the z-score formula
A data value is $x = 78$. The mean is $\bar{x} = 70$ and the standard deviation is $s = 4$. Compute the standardized value $z = \dfrac{x - \bar{x}}{s}$.
Predict first. The value $78$ is above the mean $70$, so $z$ should be positive. The gap is $8$, which is two times the standard deviation $4$, so predict $z$ near $2$.
Now substitute and evaluate.
- Replace each variable: $z = \dfrac{78 - 70}{4}$.
- Numerator (grouped by the bar): $78 - 70 = 8$.
- Divide: $\frac{8}{4} = 2$.
So $z = 2$. Compare to the prediction. The value is positive and equals $2$, exactly the prediction. In words, $78$ is two standard deviations above the mean. That meaning, not just the number, is what the standardized value reports back into the situation.
Common Misconceptions
PEMDAS means do multiplication before division, always. The letters M and D do not rank against each other. They share one tier and are handled left to right. Consider $16 \div 4 \times 2$. Going left to right gives $16 \div 4 = 4$, then $4 \times 2 = 8$. A reader who insists multiplication comes first computes $4 \times 2 = 8$, then $16 \div 8 = 2$, a different answer. The same trap is in the A and S tier: $10 - 3 + 2$ is $9$ (left to right), not $5$. Multiplication is not above division, and addition is not above subtraction.
squaring a difference is the same as the difference of squares. The expression $(x - \bar{x})^2$ tells you to subtract first, then square the single result. Take $x = 7$ and $\bar{x} = 3$. Then $(7 - 3)^2 = 4^2 = 16$. But $7^2 - 3^2 = 49 - 9 = 40$, a completely different number. The parentheses group the subtraction so it happens before the exponent. This exact expression appears under the radical in the standard deviation, so the order matters for every spread you will compute.
the average of a list is the same as adding then dividing only some of the values. The mean $\bar{x} = \frac{1}{n}\sum x_i$ groups the entire sum before dividing by $n$. For the values $2, 4, 9$ with $n = 3$, the mean is $\frac{2 + 4 + 9}{3} = \frac{15}{3} = 5$. Writing $2 + 4 + 9 / 3$ on one line without parentheses gives $2 + 4 + 3 = 9$, because the division binds only to the $9$. When you flatten the formula, the sum needs its own parentheses: (2 + 4 + 9) / 3.
Practice Problems
Evaluate $6 + 8 \div 2$.
Evaluate $5 \times 2^3 - 7$.
Evaluate $\sqrt{\dfrac{4 + 9 + 0 + 9 + 4}{5 - 1}}$. Round to three decimal places.
The data are $x_1 = 12$, $x_2 = 15$, $x_3 = 9$, $x_4 = 16$, with $n = 4$. Compute the mean $\bar{x} = \dfrac{1}{n}\sum_{i=1}^{n} x_i$.
The data are $4, 8, 6, 2$, with mean $\bar{x} = 5$ and $n = 4$. Compute the sample standard deviation $s = \sqrt{\dfrac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2}$. Round to three decimal places.
Ask Why
How would you convince a classmate that $\sqrt{16 + 9} \neq \sqrt{16} + \sqrt{9}$ without a calculator? One short argument: $\sqrt{16} + \sqrt{9} = 4 + 3 = 7$, and $7^2 = 49$, not $25$. So $7$ cannot be the square root of $25$. The grouping bar changes the answer, and squaring the candidate is a quick way to test a square root claim. Try writing that argument in your own words.
Mastery Checklist
Novice (Level 1-2):
Competent (Level 3-4):
Proficient (Level 5):
Connections
Looking ahead:
- Sigma (Summation) Notation packages the repeated addition in the mean and standard deviation into the symbol $\sum$
- Measures of Center: Mean and Median builds the mean $\bar{x}$ directly on substitution and division
- Measures of Spread: Variance and SD builds $s$ on squaring, summing, dividing, and a final square root
- Standardizing and z-scores builds $z$ on subtract-then-divide
Real-world connection: every reported statistic, from a class average to a national unemployment rate, is the output of substituting data into a formula and evaluating in a fixed order. Shared rules are what let two analysts reproduce the same numbers from the same data.
Resources
- Textbook (where these operations are applied): Moore, McCabe, and Craig, Introduction to the Practice of Statistics, 9th edition, Chapter 1, Sections 1.3 (Describing Distributions with Numbers) and 1.4 (Density Curves and Normal Distributions). Page numbers pending faculty verification.
- OpenStax (open companion): Introductory Statistics 2e, Chapter 2 Formula Review, where the mean and standard deviation operations are applied to data.
| Previous | Up | Next |
|---|---|---|
| (start) | Skills Index | Sigma (Summation) Notation |
Last updated: 2026-06-16