← MATH 380 MathScape 0 MATH380

Basic Algebra Review

12 min read

Jump to a section

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:

  1. Parentheses: none.
  2. Exponents: $2^2 = 4$, giving $3 + 4 \times 4$.
  3. Multiplication and division: $4 \times 4 = 16$, giving $3 + 16$.
  4. 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:

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:

(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.

Common misconception

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.

  1. Parentheses: $3 + 1 = 4$, giving $20 - 2 \times 4^2 \div 4$.
  2. Exponents: $4^2 = 16$, giving $20 - 2 \times 16 \div 4$.
  3. Multiplication and division, left to right: $2 \times 16 = 32$, then $32 \div 4 = 8$, giving $20 - 8$.
  4. 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.

  1. The fraction bar groups numerator and denominator. Numerator first: $36 + 4 + 0 + 16 + 4 = 60$.
  2. Denominator: $5 - 1 = 4$.
  3. Divide: $\frac{60}{4} = 15$.
  4. 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.

  1. Replace each variable: $z = \dfrac{78 - 70}{4}$.
  2. Numerator (grouped by the bar): $78 - 70 = 8$.
  3. 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

Common misconception

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.

Common misconception

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.

Common misconception

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

Level 1 One Tier at a Time

Evaluate $6 + 8 \div 2$.

Show Answer

Division outranks addition, so divide first: $8 \div 2 = 4$. Then add: $6 + 4 = 10$.

Answer: $10$.

Level 2 Exponents Before Products

Evaluate $5 \times 2^3 - 7$.

Thought Process

Three tiers appear: an exponent, a multiplication, and a subtraction. Handle the exponent first, then the product, then the subtraction.

Show Answer
  1. Exponent: $2^3 = 8$, giving $5 \times 8 - 7$.
  2. Multiplication: $5 \times 8 = 40$, giving $40 - 7$.
  3. Subtraction: $40 - 7 = 33$.

Answer: $33$.

Level 3 A Square Root Over a Sum

Evaluate $\sqrt{\dfrac{4 + 9 + 0 + 9 + 4}{5 - 1}}$. Round to three decimal places.

Thought Process

This has the shape of a standard deviation. Add the numerator, subtract for the denominator, divide, then take the square root last. The bar over the radical groups everything underneath it.

Show Answer
  1. Numerator: $4 + 9 + 0 + 9 + 4 = 26$.
  2. Denominator: $5 - 1 = 4$.
  3. Divide: $\frac{26}{4} = 6.5$.
  4. Square root: $\sqrt{6.5} \approx 2.550$.

Answer: $\approx 2.550$.

Level 4 Substituting Into the Mean

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$.

Thought Process

Substitute each value, sum them as a grouped numerator, then divide by $n = 4$. Predict first: the four values run from $9$ to $16$, so the mean should land somewhere in the low teens.

Show Answer
  1. Sum (grouped): $12 + 15 + 9 + 16 = 52$.
  2. Divide by $n$: $\frac{52}{4} = 13$.

Answer: $\bar{x} = 13$.

The prediction (low teens) holds. Written on one line, this is (12 + 15 + 9 + 16) / 4, with the sum in parentheses.

Level 5 A Full Standard Deviation

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.

Thought Process

This combines every rule in the node: subtract the mean inside parentheses, square each difference, sum the squares, divide by $n - 1$, and take the square root last. Predict first: the values sit within a few units of the mean, so a spread of roughly $2$ to $3$ is reasonable.

Show Answer
  1. Differences from the mean, then squares (subtract before squaring):
    • $(4 - 5)^2 = (-1)^2 = 1$
    • $(8 - 5)^2 = (3)^2 = 9$
    • $(6 - 5)^2 = (1)^2 = 1$
    • $(2 - 5)^2 = (-3)^2 = 9$
  2. Sum of squares: $1 + 9 + 1 + 9 = 20$.
  3. Divide by $n - 1 = 3$: $\frac{20}{3} \approx 6.667$.
  4. Square root last: $\sqrt{6.667} \approx 2.582$.

Answer: $s \approx 2.582$.

The prediction (a spread between $2$ and $3$) holds. Notice that each squared term used parentheses for the subtraction, and the square root waited until the very end.

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:

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


Previous Up Next
(start) Skills Index Sigma (Summation) Notation

Last updated: 2026-06-16