MathPath
Grades 1–13 Math Hub
Grades 11–13 · AP Statistics · Formula Deep Dive

Confidence Interval for Population Mean: Curve & Examples

A Confidence Interval estimates an unknown population mean $\mu$ by taking your sample mean $\bar{x}$ and adding/subtracting a Margin of Error that reflects both your desired confidence level and sample size $n$.

$$\bar{x} \pm z^* \frac{\sigma}{\sqrt{n}} \quad \text{or} \quad \bar{x} \pm t^* \frac{s}{\sqrt{n}}$$

Variables: $z^* = 1.96$ for 95% confidence (known $\sigma$); use $t^*$ with $df = n-1$ when $\sigma$ is unknown.

When to use: Estimating a population mean from sample data with a margin of error.

95% Confidence Interval on the Sampling Distribution

484950515295% CI: x̄ ± 1.96(σ/√n) = [48.04, 51.96]

For $\bar{x} = 50$, $\sigma = 8$, $n = 64$ (so standard error $\frac{\sigma}{\sqrt{n}} = 1$), the central $95\%$ spans $\pm 1.96$ standard errors, giving $[48.04, 51.96]$.

How the Central Limit Theorem Builds the Interval

By the Central Limit Theorem, sample means $\bar{x}$ follow an approximately normal distribution centered at $\mu$ with standard error $\frac{\sigma}{\sqrt{n}}$.

  1. For confidence level $C$ (e.g., $95\%$), find the critical value $z^*$ capturing the central $C$ area of $N(0, 1)$.
  2. With probability $C$, the standardized sample mean satisfies $-z^* \le \frac{\bar{x} - \mu}{\sigma / \sqrt{n}} \le z^*$.
  3. Multiply through by $\frac{\sigma}{\sqrt{n}}$ and isolate $\mu$ in the middle: $\bar{x} - z^*\frac{\sigma}{\sqrt{n}} \le \mu \le \bar{x} + z^*\frac{\sigma}{\sqrt{n}}$.
  4. When $\sigma$ is unknown (standard in practice), replace $\sigma$ with sample $s$ and replace $z^*$ with $t^*$ using $df = n - 1$.

Critical Values & Width Drivers

Common $z^*$ Critical Values

$90\% \to z^* = 1.645$; $95\% \to z^* = 1.96$; $99\% \to z^* = 2.576$.

When to Use $t^*$ Instead of $z^*$

Use $t^*$ (with $df = n - 1$) whenever population $\sigma$ is UNKNOWN and you only have sample $s$.

Higher Confidence = Wider Interval

Going from $95\%$ to $99\%$ increases $z^*$, making the interval wider (less precise, more sure).

Larger Sample $n$ = Narrower Interval

Quadrupling $n$ cuts the margin of error in HALF because of $\sqrt{n}$ in the denominator.

Step-by-Step Worked Examples

Example 1: 95% Z-Interval (Known Population $\sigma$)

Problem: A random sample of $n = 64$ batteries has mean life $\bar{x} = 50\text{ hr}$ with known $\sigma = 8\text{ hr}$. Construct a $95\%$ confidence interval for $\mu$.
  1. Standard error: $SE = \frac{\sigma}{\sqrt{n}} = \frac{8}{\sqrt{64}} = \frac{8}{8} = 1\text{ hr}$.
  2. For $95\%$ confidence, $z^* = 1.96$, so Margin of Error $ME = 1.96 \times 1 = 1.96$.
  3. Interval: $50 \pm 1.96 = [48.04, 51.96]\text{ hr}$.

Example 2: 95% t-Interval (Unknown $\sigma$)

Problem: A sample of $n = 16$ apples has $\bar{x} = 180\text{ g}$ and sample SD $s = 12\text{ g}$. Build a $95\%$ CI ($t^*_{15} = 2.131$).
  1. Degrees of freedom: $df = 16 - 1 = 15$, so $t^* = 2.131$.
  2. Standard error: $\frac{s}{\sqrt{n}} = \frac{12}{\sqrt{16}} = 3\text{ g}$.
  3. Margin of Error: $2.131 \times 3 = 6.393$, giving $180 \pm 6.39 = [173.61, 186.39]\text{ g}$.

Common Mistakes to Avoid

Mistake 1: Forgetting to Divide $\sigma$ (or $s$) by $\sqrt{n}$

✗ Wrong: Computing $50 \pm 1.96(8)$ instead of $50 \pm 1.96\left(\frac{8}{\sqrt{64}}\right)$.
✓ Correct: Always divide by $\sqrt{n}$ to get the standard error of the sample mean.

Why: The spread of sample means shrinks by $\frac{1}{\sqrt{n}}$ compared to individual observations.

Mistake 2: Misinterpreting '95% Confident'

✗ Wrong: Saying '95% of all individual apples weigh between 173.6 g and 186.4 g.'
✓ Correct: Say: 'We are 95% confident that the true population MEAN $\mu$ lies between 173.6 g and 186.4 g.'

Why: A confidence interval estimates the population mean $\mu$, NOT the spread of individual items.

Frequently Asked Questions

How do I find the sample size $n$ needed for a target margin of error $E$?

Solve $E = z^*\frac{\sigma}{\sqrt{n}}$ for $n$: $n = \left(\frac{z^*\sigma}{E}\right)^2$, and always round UP to the next whole number.

Why is $t^*$ always slightly larger than $z^*$?

Estimating $\sigma$ with sample $s$ adds extra uncertainty, so the $t$-distribution has heavier tails—and as $n$ grows large, $t^*$ approaches $z^*$.

What conditions must be checked before building a CI?

Random sample, Independence ($n \le 10\%$ of population), and Normality (population normal OR $n \ge 30$ by Central Limit Theorem).

Practice & Related Resources

Apply Confidence Interval for Population Mean on interactive problems, printable PDF worksheets, and calculators.

Z-Score Formula →Sample Mean & Standard Deviation →Grade 13 Statistics Quizzes →All Statistics Formulas → ← Back to Statistics Formulas Cheat Sheet