Skip to content
Unit 5 Syllabus Note· Numerical Analysis and Statistical Techniques

Numerical Analysis and Statistical Techniques

Comprehensive exam revision notes for BCA-203N Unit 5 (Random Variables & Theoretical Probability Distributions). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Numerical Analysis and Statistical Techniques

Random Variables & Theoretical Probability Distributions

Core Definitions & Key Concepts

A Random Variable

A real-valued function X: S \to \mathbb{R} that maps each sample point of sample space S to a real number.

Discrete and Continuous Random Variables

  • Discrete: Takes isolated, countable values (e.g., number of defective items), defined by a Probability Mass Function (PMF) P(X = x).
  • Continuous: Takes any value within an unbroken interval (e.g., height, temperature), defined by a Probability Density Function (PDF) f(x).

State the two axiomatic conditions for a valid Probability Density Function (PDF)

  1. f(x) ≥ 0 for all x \in \mathbb{R}
  2. \int_{-\infty}^{+\infty} f(x)dx = 1

Mathematical Expectation E(X)

  • Discrete: E(X) = \sum x_i P(x_i)
  • Continuous: E(X) = \int_{-\infty}^{+\infty} x f(x)dx

What is the formula for Variance Var(X)

$Var(X) = E(X^2) - [E(X)]^2$

State the PMF, Mean, and Variance of the Binomial Distribution

  • PMF: P(X = r) = \binom{n}{r} p^r q^{n-r} for r = 0, 1, \dots, n
  • Mean µ = np
  • Variance \sigma^2 = npq (where q = 1 - p)

Why is Mean > Variance in a Binomial Distribution

Since probability of failure q = 1 - p < 1, Variance = npq = Mean × q < Mean.

State the PMF, Mean, and Variance of the Poisson Distribution

  • PMF: P(X = r) = \frac{e^{-\lambda} \lambda^r}{r!} for r = 0, 1, 2, \dots
  • Distinctive property: Mean = Variance = \lambda

Under what conditions does the Binomial Distribution tend to the Poisson Distribution

When number of trials n \to \infty and success probability p \to 0, such that the product np = \lambda remains a finite constant (Law of Rare Events).

State the Empirical Rule (68-95-99.7) for a Normal Distribution

  • µ \pm 1\sigma contains ≈ 68.27\% of data.
  • µ \pm 2\sigma contains ≈ 95.45\% of data.
  • µ \pm 3\sigma contains ≈ 99.73\% of data.

Conceptual & Architectural Analysis

Derive the Mean and Variance of the Binomial Distribution

Mean: $E(X) = \sum_{r=0}^n r \binom{n}{r} p^r q^{n-r} = \sum_{r=1}^n r \frac{n}{r} \binom{n-1}{r-1} p \cdot p^{r-1} q^{(n-1)-(r-1)} E(X) = np \sum_{k=0}^{n-1} \binom{n-1}{k} p^k q^{n-1-k} = np(p + q)^{n-1} = np(1) = np$

Variance: $E(X(X-1)) = \sum_{r=2}^n r(r-1) \binom{n}{r} p^r q^{n-r} = n(n-1)p^2 E(X^2) = E(X(X-1)) + E(X) = n(n-1)p^2 + np Var(X) = E(X^2) - [E(X)]^2 = n^2 p^2 - np^2 + np - n^2 p^2 = np(1 - p) = npq$

Derive the Mean and Variance of the Poisson Distribution

Mean: $E(X) = \sum_{r=0}^\infty r \frac{e^{-\lambda} \lambda^r}{r!} = e^{-\lambda} \sum_{r=1}^\infty \frac{\lambda \cdot \lambda^{r-1}}{(r-1)!} = \lambda e^{-\lambda} e^\lambda = \lambda **Variance:** E(X(X-1)) = e^{-\lambda} \sum_{r=2}^\infty \frac{\lambda^2 \cdot \lambda^{r-2}}{(r-2)!} = \lambda^2 e^{-\lambda} e^\lambda = \lambda^2 Var(X) = E(X^2) - [E(X)]^2 = (\lambda^2 + \lambda) - \lambda^2 = \lambda$

The Properties of the Normal (Gaussian) Probability Distribution Curve

  1. Symmetry: Bell-shaped curve, perfectly symmetric about vertical line x = µ.
  2. Unimodal: Mean = Median = Mode, all coinciding at the central peak.
  3. Inflection Points: Occur at x = µ \pm \sigma.
  4. Total Area: \int_{-\infty}^{+\infty} f(x)dx = 1.
  5. Standard Normal Transformation: Z = \frac{X - µ}{\sigma} \sim N(0, 1).

The Memoryless Property of the Exponential Distribution

A random variable X has memoryless property if: P(X > s + t \mid X > s) = P(X > t) for all s, t > 0. For exponential distribution with P(X > x) = e^{-\lambda x}: $P(X > s + t \mid X > s) = \frac{P(X > s + t)}{P(X > s)} = \frac{e^{-\lambda(s+t)}}{e^{-\lambda s}} = e^{-\lambda t} = P(X > t) Elapsed wait time s has zero effect on future wait time t$.

State the Central Limit Theorem (CLT) and Explain its Practical Significance

Theorem: Let X_1, X_2, \dots, X_n be independent, identically distributed random variables with mean µ and finite variance \sigma^2. As sample size n \to \infty, the standardized sample mean approaches a standard normal distribution: $Z = \frac{\bar{X} - µ}{\sigma / \sqrt{n}} \xrightarrow{d} N(0, 1)$ Significance: Allows applying normal probability tools to real-world samples even when the underlying population distribution is skewed or non-normal.

In-Depth Analysis & Implementation

A manufacturer knows that 2% of items produced are defective. Find the probability that in a random sample of 200 items, exactly 3 are defective using the Poisson approximation

Step 1: Check Poisson Suitability n = 200 (large), p = 0.02 (small). Poisson approximation is ideal. Parameter \lambda = np = 200 × 0.02 = 4.0.

Step 2: Apply Poisson PMF $P(X = r) = \frac{e^{-\lambda} \lambda^r}{r!} For r = 3, \lambda = 4: P(X = 3) = \frac{e^{-4} \cdot 4^3}{3!} = \frac{e^{-4} \cdot 64}{6} = \frac{32}{3} e^{-4} Using e^{-4} \approx 0.0183156: P(X = 3) = \frac{32}{3} (0.0183156) = 10.6667 × 0.0183156 ≈ \mathbf{0.1954}$ Final Answer: The probability that exactly 3 items are defective is approximately 19.54%.

The scores of students in an examination are normally distributed with Mean µ = 60 and Standard Deviation \sigma = 10. Find the percentage of students scoring between 50 and 80. (Given: Area under standard normal curve from 0 to 1 is 0.3413, and from 0 to 2 is 0.4772)

Step 1: Convert to Standard Normal Z-Scores For X_1 = 50: Z_1 = \frac{50 - 60}{10} = -1.0 For X_2 = 80: Z_2 = \frac{80 - 60}{10} = +2.0

Step 2: Probability Area Calculation $P(50 ≤ X ≤ 80) = P(-1.0 ≤ Z ≤ 2.0) = P(-1.0 ≤ Z ≤ 0) + P(0 ≤ Z ≤ 2.0) By symmetry: P(-1.0 \le Z \le 0) = P(0 \le Z \le 1.0) = 0.3413 From given table: P(0 \le Z \le 2.0) = 0.4772 P = 0.3413 + 0.4772 = 0.8185 **Percentage:** 0.8185 \times 100\% = \mathbf{81.85\%}$ of students scored between 50 and 80.

Find the constant k and compute the Mean and Variance for the Continuous Random Variable with PDF f(x) = kx(2 - x) for 0 ≤ x ≤ 2, and 0 elsewhere

Step 1: Find Constant $k$ using $\int f(x)dx = 1$ $\int_0^2 k(2x - x^2)dx = 1 \implies k ≤ft[ x^2 - \frac{x^3}{3} \right]_0^2 = 1 \implies k ≤ft[ 4 - \frac{8}{3} \right] = 1 \implies k ≤ft( \frac{4}{3} \right) = 1 \implies k = \frac{3}{4}$

Step 2: Compute Mean $E(X)$ $E(X) = \int_0^2 x f(x)dx = \frac{3}{4} \int_0^2 (2x^2 - x^3)dx = \frac{3}{4} ≤ft[ \frac{2x^3}{3} - \frac{x^4}{4} \right]_0^2 = \frac{3}{4} ≤ft[ \frac{16}{3} - 4 \right] = \frac{3}{4} ≤ft( \frac{4}{3} \right) = 1.0$

Step 3: Compute $E(X^2)$ and Variance $E(X^2) = \frac{3}{4} \int_0^2 (2x^3 - x^4)dx = \frac{3}{4} ≤ft[ \frac{2x^4}{4} - \frac{x^5}{5} \right]_0^2 = \frac{3}{4} ≤ft[ 8 - \frac{32}{5} \right] = \frac{3}{4} ≤ft( \frac{8}{5} \right) = \frac{6}{5} = 1.2 Var(X) = E(X^2) - [E(X)]^2 = 1.2 - (1.0)^2 = 0.2 **Final Result:** k = 3/4, \text{Mean} = 1.0, \text{Variance} = 0.2$.

Important Exam Points & Quick Revision

Mean/Variance derivations for Binomial and Poisson distributions, and Normal distribution Z-score word problems appear frequently in university exams.

Your reading progress
0%

100% left on this page — finishing it closes the gap for Random Variables & Theoretical Probability Distributions.

Weak topic hint

Random Variables & Theoretical Probability Distributions still counts as a weak topic until you finish this note and answer its questions.

Practise this unit
What Should You Do Next?

Test Your Understanding

Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.