Confidence Intervals

April 12, 2026

Problem

A sample of 50 has mean 72 and σ = 8. Find the 95% confidence interval. Show the interval on the distribution.

Explanation

What is a confidence interval?

A confidence interval gives a range of plausible values for the population mean, based on sample data.

CI=xˉ±zσn\text{CI} = \bar{x} \pm z^* \cdot \frac{\sigma}{\sqrt{n}}

For 95% confidence: z=1.96z^* = 1.96.

Step-by-step

Given: xˉ=72\bar{x} = 72, σ=8\sigma = 8, n=50n = 50.

Step 1 — Standard error: SE=σ/n=8/50=8/7.071=1.131SE = \sigma / \sqrt{n} = 8 / \sqrt{50} = 8 / 7.071 = 1.131

Step 2 — Margin of error: ME=1.96×1.131=2.217ME = 1.96 \times 1.131 = 2.217

Step 3 — Confidence interval: 72±2.217=(69.78,74.22)72 \pm 2.217 = (69.78, 74.22)

95% CI:(69.78,74.22)\boxed{95\% \text{ CI}: (69.78, 74.22)}

Interpretation: We are 95% confident that the true population mean lies between 69.78 and 74.22.

What "95% confident" means

If we repeated this sampling process many times, about 95% of the computed intervals would contain the true mean. It does NOT mean there's a 95% probability the true mean is in this specific interval.

Wider vs narrower intervals

  • Higher confidence (99% vs 95%) → wider interval
  • Larger sample size → narrower interval
  • Larger σ\sigma → wider interval

Try it in the visualization

The bell curve shows the sampling distribution. The CI is drawn as a horizontal bar. Adjust confidence level and sample size to see the interval widen or narrow.

Interactive Visualization

Parameters

72.00
8.00
50.00
95%
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Confidence Intervals | MathSpin