Section 4.5–4.6: Continuous Random Variables & the Normal Distribution

Continuous Random Variables & Probability Density Functions (PDFs)

  • Review from previous section 4.4

    • Last week focused on discrete random variables (probability mass functions, sums of probabilities).

    • Key bridge: many discrete models (e.g.

    • Binomial) can be approximated by continuous models (especially the normal) for large sample sizes.

  • Fundamental distinction

    • Continuous random variable XX takes on every value in an interval of the real line.

    • Because values are uncountably infinite, P(X=x)=0P(X = x) = 0 for any single point; probabilities are only meaningful over intervals.

  • Probability Density Function (PDF) f(x)f(x)

    • Smooth curve drawn over the real-number axis; sometimes called frequency function or just probability distribution.

    • Area under the curve over an interval corresponds to probability:
      P(aXb)=abf(x)dxP(a \le X \le b) = \int_a^b f(x)\,dx

    • Total area under entire curve is 11.

    • Graphical intuition: shade region from aa to bb → shaded area gives the desired probability.

The Normal Distribution $\mathcal N(\mu,\sigma^2)$

  • Central role

    • Describes numerous natural/industrial phenomena (heights, measurement error, IQ, bulb lifetime, etc.).

    • Serves as a limiting approximation for many discrete distributions (notably binomial via De Moivre–Laplace/Central Limit Theorem).

    • Forms bedrock of classical statistical inference (confidence intervals, hypothesis testing).

  • Shape & descriptive characteristics

    • Bell-shaped, symmetrical (a.k.a. mound-shaped).

    • Mean, median, and mode coincide at x=μx = \mu (curve is perfectly balanced there).

    • Inflection points located one standard deviation on either side (at μ±σ\mu \pm \sigma).

  • PDF formula f(x)=1σ2πe12(xμσ)2f(x) = \frac{1}{\sigma\sqrt{2\pi}}\,e^{- \frac12\bigl(\frac{x-\mu}{\sigma}\bigr)^2}

    • Parameters:

    • μ\mu = mean (center)

    • σ\sigma = standard deviation (spread)

    • Transcendental constants e2.71828e \approx 2.71828 and π3.14159\pi \approx 3.14159 appear.

    • Memorization not required; recognition and parameter interpretation are essential.

  • Visual parameter effects (3 example curves)

    1. μ=0,  σ=1\mu = 0,\; \sigma = 1 → standard curve (purple), widest of shown.

    2. μ=3,  σ=1\mu = 3,\; \sigma = 1 → curve shifted right, same spread.

    3. μ=4,  σ=0.5\mu = -4,\; \sigma = 0.5 → curve shifted left, narrower and taller because smaller σ\sigma.

  • Area–probability equivalence holds: P(cXd)=cdf(x)dxP(c \le X \le d) = \int_c^d f(x)\,dx.

    • If calculus unfamiliar, mentally replace integral by area of shaded strip.

The Standard Normal Distribution $Z \sim \mathcal N(0,1)$

  • Special case with μ=0,  σ=1\mu = 0,\; \sigma = 1.

  • Variable usually denoted ZZ.

  • Historically, probabilities obtained from printed $Z$-tables:

    • E.g. P(0Z1.96)=0.4750P(0 \le Z \le 1.96) = 0.4750 from table (row 1.9, column 0.06).

  • Modern workflow: use calculators or software:

    • TI-84: 2nd → DIST (VARS) → normalcdf(lower, upper).

    • Example: normalcdf(-1.26,1.26) returns 0.79230.7923; table gives slightly less accurate 0.7922 (rounding).

Standardising a General Normal Variable

  • Any normal XN(μ,σ2)X \sim \mathcal N(\mu,\sigma^2) can be converted to ZZ via Z=XμσZ = \frac{X-\mu}{\sigma}

    • Called z-score; measures distance from mean in units of standard deviation.

    • Enables use of standard normal tables or functions.

  • Procedure for probability questions

    1. Sketch bell curve; mark mean and shade desired area.

    2. Convert interval bounds x<em>1,x</em>2x<em>1, x</em>2 to z-scores:
      z<em>1=x</em>1μσ,z<em>2=x</em>2μσz<em>1 = \frac{x</em>1-\mu}{\sigma},\quad z<em>2 = \frac{x</em>2-\mu}{\sigma}

    3. Use normalcdf(z_1,z_2).

    4. Translate result back if interpreting in XX context.

  • Calculator shortcut: TI-84 allows normalcdf(lower,upper,μ,σ) directly, but understanding standardisation remains conceptually critical.

Worked Forward-Probability Examples
  1. XN(5,102)X \sim \mathcal N(5,10^2)

    • Find P(5X6.2)P(5 \le X \le 6.2).

      • z-scores: z<em>1=0z<em>1 = 0 (5 at mean), z</em>2=(6.25)/10=0.12z</em>2 = (6.2-5)/10 = 0.12.

      • normalcdf(0,0.12)0.04780.0478.

  2. Same distribution, P(2.9X7.1)P(2.9 \le X \le 7.1).

    • z<em>1=(2.95)/10=0.21z<em>1 = (2.9-5)/10 = -0.21, z</em>2=+0.21z</em>2 = +0.21.

    • normalcdf(-0.21,0.21)0.16630.1663.

  3. Light-bulb lifetime

    • μ=2000\mu = 2000 h, σ=200\sigma = 200 h (XN(2000,2002)X \sim \mathcal N(2000,200^2)).

    • a) P(2000X2400)P(2000 \le X \le 2400).

      • z<em>1=0z<em>1 = 0, z</em>2=(24002000)/200=2z</em>2 = (2400-2000)/200 = 2.

      • Area: normalcdf(0,2)0.47720.4772.

    • b) P(X < 1470).

      • z=(14702000)/200=2.65z = (1470-2000)/200 = -2.65.

      • Two approaches:

      1. Compute left-tail directly: normalcdf(-1e99,-2.65)0.00400.0040.

      2. Compute strip to 0 then subtract from 0.5: normalcdf(-2.65,0) = 0.4960; 0.50.4960=0.00400.5 - 0.4960 = 0.0040.

    • Interpretation: Very unlikely (0.4 %) that a bulb fails before 1470 h.

Inverse Normal Problems (Finding Quantiles)

  • Given a probability (area), find zz such that P(Zz)=pP(Z \le z) = p.

  • TI-84: invNorm(p) (or inverse normal in menu).

    • Input = area to left of desired point.

    • Output = quantile (z-value).

Examples
  1. Determine aa such that P(0Za)=0.1217P(0 \le Z \le a) = 0.1217.

    • Total area to left of aa: 0.5+0.1217=0.62170.5 + 0.1217 = 0.6217.

    • invNorm(0.6217)a0.30990.31a \approx 0.3099 \approx 0.31.

  2. Find z<em>0z<em>0 with P(Zz</em>0)=0.2858P(Z \le z</em>0) = 0.2858.

    • Left area smaller than 0.5 ⇒ quantile is negative.

    • invNorm(0.2858)z00.57z_0 \approx -0.57.

  3. Symmetric central probability: find z<em>0z<em>0 s.t. P(z</em>0Zz0)=0.7294P(-z</em>0 \le Z \le z_0) = 0.7294.

    • Tail area combined: 10.7294=0.27061 - 0.7294 = 0.2706; each tail 0.13530.1353.

    • Focus on left tail: invNorm(0.1353)1.1-1.1.

    • Therefore z0=1.1z_0 = 1.1.

Inverse for Non-standard Normals
  • If P(aXb)P(a \le X \le b) is given and XN(μ,σ2)X \sim \mathcal N(\mu,\sigma^2):

    1. Convert problem to ZZ via standardisation.

    2. Use invNorm to get appropriate zz-quantile(s).

    3. Convert back: x=μ+zσx = \mu + z\sigma.

Worked Example
  • XN(5,102)X \sim \mathcal N(5,10^2); find aa s.t. P(5Xa)=0.1217P(5 \le X \le a) = 0.1217.

    1. Diagram: strip to right of mean with given area.

    2. Corresponding ZZ problem identical to earlier 0Zz0 \le Z \le z with area 0.1217 → z=0.3099z = 0.3099.

    3. Translate: a=μ+zσ=5+0.3099(10)8.1a = \mu + z\sigma = 5 + 0.3099(10) \approx 8.1.

Practical, Philosophical & Cross-Lecture Connections

  • Practical relevance: Engineers, scientists, and quality-control analysts rely on normal probabilities to predict defect rates (e.g., bulb life example) and design tolerance intervals.

  • Ethical dimension: Misinterpreting probabilities (e.g., ignoring tail risk) can lead to faulty decision-making in public policy or product safety.

  • Link to earlier material: The binomial distribution—treated in the discrete section—converges to the normal when number of trials is large and pp not extreme (De Moivre-Laplace). Understanding standardisation prepares you for the Central Limit Theorem in later chapters.

  • Tool mindset: While technology replaces hand-integration, conceptual mastery (areas probabilities, standardisation, tails) is vital for correct model choice and critical evaluation of software outputs.

Summary Checklist

  • [ ] Recognise definition and properties of a PDF for continuous variables.

  • [ ] Memorise that probabilities = areas under the curve.

  • [ ] Identify & interpret μ\mu and σ\sigma in any normal PDF.

  • [ ] Convert XN(μ,σ2)X \sim \mathcal N(\mu,\sigma^2) ZN(0,1)Z \sim \mathcal N(0,1) via Z=(Xμ)/σZ = (X-\mu)/\sigma.

  • [ ] Use normalcdf for forward probabilities, invNorm for quantiles.

  • [ ] Always sketch curve, mark means, endpoints, and shade area—this prevents sign mistakes & mis-ordering of bounds.