Background pattern

Volume 1

Engineering Mathematics: Probability

Study Notes

Concept reference & formula sheet for this chapter

Syllabus: Random variables, Uniform, Normal, Exponential, Poisson and Binomial distributions. Mean, median, mode and standard deviation. Conditional probability and Bayes theorem

Mark Distribution in Previous GATE

Welcome to the "Engineering Mathematics: Probability" chapter, a cornerstone for any aspiring GATE Computer Science candidate. This subject delves into the mathematical framework for quantifying uncertainty, analyzing random phenomena, and making informed decisions in the face of incomplete information. For GATE CS, a solid understanding of probability is indispensable, as it forms the theoretical bedrock for crucial areas like algorithms (randomized algorithms, average-case analysis), data structures (hash tables, skip lists), machine learning (classification, regression, neural networks, Bayesian inference), artificial intelligence, networking (queueing theory, packet loss), and even operating systems (scheduling, resource allocation). Typically, probability questions constitute a significant portion of the Engineering Mathematics section, often contributing 3-5 marks directly, with concepts frequently integrated into 1-mark or 2-mark questions across other CS topics. Questions can range from direct formula application and conceptual understanding to problem-solving involving combinations of distributions and theorems, often requiring careful interpretation of scenarios.

Topic-wise Key Concepts

Bayes Theorem

Definition and Core Idea: Bayes' Theorem describes the probability of an event, based on prior knowledge of conditions that might be related to the event. It's a fundamental concept for updating beliefs or probabilities as new evidence becomes available, forming the basis of Bayesian inference.

Important Formulas, Theorems, and Results:

    1. Bayes' Theorem: For two events AA and BB, where P(B)>0P(B) > 0,

P(A∣B)=P(B∣A)P(A)P(B)P(A|B) = \frac{P(B|A)P(A)}{P(B)}

where P(B)P(B) can be expanded using the law of total probability:

P(B)=P(B∣A)P(A)+P(B∣Ac)P(Ac)P(B) = P(B|A)P(A) + P(B|A^c)P(A^c)

More generally, for a partition A1,A2,…,AnA_1, A_2, \dots, A_n of the sample space,

P(Ai∣B)=P(B∣Ai)P(Ai)∑j=1nP(B∣Aj)P(Aj)P(A_i|B) = \frac{P(B|A_i)P(A_i)}{\sum_{j=1}^n P(B|A_j)P(A_j)}

Key Properties and Identities:

  • Allows for the calculation of posterior probability P(A∣B)P(A|B) from prior probability P(A)P(A) and likelihood P(B∣A)P(B|A).

  • Crucial for diagnostic testing, spam filtering, and machine learning algorithms (e.g., Naive Bayes).

Common Pitfalls or Tricky Points:

  • Confusing P(A∣B)P(A|B) with P(B∣A)P(B|A).

  • Incorrectly calculating the denominator P(B)P(B) by not considering all mutually exclusive and exhaustive cases.

  • Not identifying the correct prior probabilities P(Ai)P(A_i) and conditional probabilities P(B∣Ai)P(B|A_i).

Standard Problem-Solving Techniques or Shortcuts:

  • Clearly define events AA and BB.

  • Break down the problem into identifying P(A)P(A), P(B∣A)P(B|A), and P(B∣Ac)P(B|A^c) (or P(B∣Ai)P(B|A_i)).

  • Use tree diagrams to visualize conditional probabilities and total probability.

Bayesian Network

Definition and Core Idea: A Bayesian Network (BN) is a probabilistic graphical model that represents a set of random

variables and their conditional dependencies via a directed acyclic graph (DAG). Nodes represent random variables, and directed edges represent conditional dependencies, allowing for efficient representation and inference of joint probability distributions.

Important Formulas, Theorems, and Results:

    1. Joint Probability Distribution: For a Bayesian Network with nodes X1,…,XnX_1, \dots, X_n, the joint probability distribution is given by the product of the conditional probability distributions of each node given its parents:

P(X1,…,Xn)=∏i=1nP(Xi∣Parents(Xi))P(X_1, \dots, X_n) = \prod_{i=1}^n P(X_i | \text{Parents}(X_i))

    1. Conditional Independence: A node is conditionally independent of its non-descendants given its parents.

Key Properties and Identities:

  • Provides a compact representation of joint probability distributions, especially for many variables.
  • Facilitates inference (e.g., calculating P(X∣E)P(X|E) where EE is evidence).
  • The graph structure explicitly shows the assumed conditional independencies.

Common Pitfalls or Tricky Points:

  • Misinterpreting the direction of edges or the meaning of conditional independence.
  • Incorrectly applying the chain rule for joint probability without respecting the network's structure.
  • Confusing marginal independence with conditional independence.

Standard Problem-Solving Techniques or Shortcuts:

  • Identify parents for each node to write down the joint probability.
  • Use d-separation rules to determine conditional independencies graphically.
  • For inference, apply variable elimination or message passing algorithms (though GATE questions are usually simpler, focusing on structure and basic inference).

Bernoulli Distribution

Definition and Core Idea: The Bernoulli distribution is a discrete probability distribution for a random variable that takes value 1 with probability pp (success) and value 0 with probability 1−p1 - p (failure). It models a single trial of an experiment with only two possible outcomes.

Important Formulas, Theorems, and Results:

    1. Probability Mass Function (PMF): For a Bernoulli random variable XX,

P(X=x)=px(1−p)1−xfor x∈{0,1}P(X = x) = p^x(1 - p)^{1-x} \quad \text{for } x \in \{0, 1\}

    1. Mean (Expectation): E[X]=pE[X] = p
    1. Variance: Var(X)=p(1−p)\text{Var}(X) = p(1 - p)

Key Properties and Identities:

  • It's the simplest discrete distribution.
  • The sum of nn independent Bernoulli trials follows a Binomial distribution.

Common Pitfalls or Tricky Points:

  • Confusing Bernoulli with Binomial (Bernoulli is a single trial, Binomial is multiple trials).
  • Incorrectly identifying pp (probability of success).

Standard Problem-Solving Techniques or Shortcuts:

  • Identify the "success" event and its probability pp.
  • Directly apply formulas for mean and variance.

Binomial Distribution

Definition and Core Idea: The Binomial distribution models the number of successes in a fixed number of independent Bernoulli trials, each with the same probability of success pp. It is a discrete probability distribution.

Important Formulas, Theorems, and Results:

    1. Probability Mass Function (PMF): For X∼B(n,p)X \sim B(n, p),

P(X=k)=(nk)pk(1−p)n−kfor k∈{0,1,…,n}P(X = k) = \binom{n}{k} p^k(1 - p)^{n-k} \quad \text{for } k \in \{0, 1, \dots, n\}

where (nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!} is the binomial coefficient.

    1. Mean (Expectation): E[X]=npE[X] = np
    1. Variance: Var(X)=np(1−p)\text{Var}(X) = np(1 - p)
    1. Standard Deviation: σ=np(1−p)\sigma = \sqrt{np(1 - p)}

Key Properties and Identities:

  • Sum of nn independent Bernoulli random variables.

  • Symmetric if p=0.5p = 0.5, skewed otherwise.

  • Approximated by Poisson distribution when nn is large and pp is small (and npnp is moderate).

  • Approximated by Normal distribution when nn is large (and np>5,n(1−p)>5np > 5, n(1 - p) > 5).

Common Pitfalls or Tricky Points:

  • Incorrectly identifying nn (number of trials) or pp (probability of success).

  • Miscalculating binomial coefficients.

  • Confusing "at least," "at most," "exactly" in problem statements (e.g., P(X≥k)P(X \geq k) vs. P(X=k)P(X = k)).

Standard Problem-Solving Techniques or Shortcuts:

  • Identify if the problem involves a fixed number of independent trials with two outcomes.

  • Use the complement rule for "at least" or "at most" probabilities (e.g., P(X≥k)=1−P(X<k)P(X \geq k) = 1 - P(X < k)).

  • Memorize mean and variance formulas.

Chi Square Distribution

Definition and Core Idea: The Chi-Square (χ2\chi^2) distribution is a continuous probability distribution that arises in statistics, particularly in hypothesis testing and confidence interval estimation. It is the distribution of a sum of the squares of independent standard normal random variables.

Important Formulas, Theorems, and Results:

    1. Definition: If Z1,Z2,…,ZkZ_1, Z_2, \dots, Z_k are independent standard normal random variables (i.e., Zi∼N(0,1)Z_i \sim N(0, 1)), then the random variable X=∑i=1kZi2X = \sum_{i=1}^k Z_i^2 follows a Chi-Square distribution with kk degrees of freedom, denoted X∼χ2(k)X \sim \chi^2(k).

2. Probability Density Function (PDF):

f(x;k)=12k/2Γ(k/2)x(k/2)−1e−x/2for x>0f(x; k) = \frac{1}{2^{k/2}\Gamma(k/2)} x^{(k/2)-1} e^{-x/2} \quad \text{for } x > 0

where Γ\Gamma is the Gamma function.

    1. Mean (Expectation): E[X]=kE[X] = k
    1. Variance: Var(X)=2k\text{Var}(X) = 2k

Key Properties and Identities:

  • Skewed to the right, but becomes more symmetric as kk increases.

  • Used in goodness-of-fit tests, tests of independence, and for variance estimation.

  • The sum of independent chi-square random variables is also a chi-square random variable with degrees of freedom equal to the sum of their individual degrees of freedom.

Common Pitfalls or Tricky Points:

  • Incorrectly identifying the degrees of freedom kk.

  • Confusing the Zi2Z_i^2 definition with other squared terms.

  • GATE questions usually focus on its properties or its role in statistical tests rather than direct PDF calculations.

Standard Problem-Solving Techniques or Shortcuts:

  • Understand that it's a sum of squared standard normal variables.

  • Memorize mean and variance in terms of degrees of freedom.

  • Recognize its application in hypothesis testing contexts (e.g., for categorical data).

Conditional Probability

Definition and Core Idea: Conditional probability is the probability of an event occurring given that another event has already occurred. It quantifies how the probability of an event changes when new information is available.

Important Formulas, Theorems, and Results:

    1. Definition: For two events AA and BB, with P(B)>0P(B) > 0, the conditional probability of AA given BB is:

P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

2. Multiplication Rule of Probability

P(A∩B)=P(A∣B)P(B)=P(B∣A)P(A)P(A \cap B) = P(A|B)P(B) = P(B|A)P(A)

  1. Law of Total Probability: If A1,A2,…,AnA_1, A_2, \dots, A_n form a partition of the sample space, then for any event BB:

P(B)=∑i=1nP(B∣Ai)P(Ai)P(B) = \sum_{i=1}^n P(B|A_i)P(A_i)

Key Properties and Identities:

  • If AA and BB are independent, P(A∣B)=P(A)P(A|B) = P(A).
  • P(A∣A)=1P(A|A) = 1.
  • P(Ac∣B)=1−P(A∣B)P(A^c|B) = 1 - P(A|B).

Common Pitfalls or Tricky Points:

  • Incorrectly identifying P(A∩B)P(A \cap B) or P(B)P(B).
  • Confusing P(A∣B)P(A|B) with P(B∣A)P(B|A) or P(A∩B)P(A \cap B).
  • Not recognizing when events are independent, which simplifies calculations.

Standard Problem-Solving Techniques or Shortcuts:

  • Clearly define the events AA and BB.
  • Use Venn diagrams or tree diagrams to visualize the sample space and events.
  • Break down complex problems into simpler conditional probabilities.

Continuous Distribution

Definition and Core Idea: A continuous probability distribution describes the probabilities of a random variable taking on values in a continuous range (e.g., real numbers). Unlike discrete distributions, the probability of a continuous random variable taking on any single exact value is zero.

Important Formulas, Theorems, and Results:

    1. Probability Density Function (PDF): f(x)f(x) such that f(x)≥0f(x) \geq 0 for all xx, and \\int_{-\infty}^{\infty} f(x)dx = 1$.
    1. Probability of an Interval: P(a≤X≤b)=∫abf(x)dxP(a \leq X \leq b) = \int_a^b f(x)dx.
    1. Cumulative Distribution Function (CDF): F(x)=P(X≤x)=∫−∞xf(t)dtF(x) = P(X \leq x) = \int_{-\infty}^x f(t)dt.
    1. Relationship between PDF and CDF: f(x)=ddxF(x)f(x) = \frac{d}{dx}F(x) (where F(x)F(x) is differentiable).
    1. Mean (Expectation): E[X]=∫−∞∞xf(x)dxE[X] = \int_{-\infty}^{\infty} xf(x)dx.
    1. Variance: Var(X)=E[X2]−(E[X])2=∫−∞∞(x−E[X])2f(x)dx\text{Var}(X) = E[X^2] - (E[X])^2 = \int_{-\infty}^{\infty} (x - E[X])^2 f(x)dx.

Key Properties and Identities:

  • P(X=x)=0P(X = x) = 0 for any specific value xx.
  • The area under the PDF curve over its entire range is 1.
  • The CDF is non-decreasing and ranges from 0 to 1.

Common Pitfalls or Tricky Points:

  • Confusing PDF with PMF (for discrete distributions).
  • Incorrectly calculating integrals for probabilities, mean, or variance.
  • Forgetting that P(a≤X≤b)=P(a<X<b)P(a \leq X \leq b) = P(a < X < b) for continuous distributions.

Standard Problem-Solving Techniques or Shortcuts:

  • Always check if the given function is a valid PDF (non-negative and integrates to 1).
  • Use integration for calculating probabilities and moments.
  • Understand the relationship between PDF and CDF.

Expectation

Definition and Core Idea: The expectation (or expected value, mean) of a random variable is the weighted average of all possible values that the random variable can take, with the weights being their respective probabilities. It represents the "long-run average" or central tendency of the random variable.

Important Formulas, Theorems, and Results:

    1. For Discrete Random Variable XX:

E[X]=∑xxP(X=x)E[X] = \sum_x xP(X = x)

  1. For Continuous Random Variable XX:

E[X]=∫−∞∞xf(x)dxE[X] = \int_{-\infty}^{\infty} xf(x)dx

  1. Expectation of a Function of a Random Variable g(X)g(X):
  • ▪ Discrete: E[g(X)]=∑xg(x)P(X=x)E[g(X)] = \sum_x g(x)P(X = x)
  • ▪ Continuous: E[g(X)]=∫−∞∞g(x)f(x)dxE[g(X)] = \int_{-\infty}^{\infty} g(x)f(x)dx
  1. Linearity of Expectation: For any random variables X,YX, Y and constants a,ba, b:

E[aX+bY]=aE[X]+bE[Y]E[aX + bY] = aE[X] + bE[Y]

  1. Expectation of Product (for Independent Variables): If XX and YY are independent, then E[XY]=E[X]E[Y]E[XY] = E[X]E[Y].

Key Properties and Identities:

  • E[c]=cE[c] = c for a constant cc.
  • E[X−E[X]]=0E[X - E[X]] = 0.
  • Expectation is a linear operator.

Common Pitfalls or Tricky Points:

  • Confusing E[X2]E[X^2] with (E[X])2(E[X])^2. They are generally not equal.
  • Applying E[XY]=E[X]E[Y]E[XY] = E[X]E[Y] when XX and YY are not independent.
  • Incorrectly summing or integrating over the wrong range.

Standard Problem-Solving Techniques or Shortcuts:

  • Identify whether the variable is discrete or continuous.
  • Use linearity of expectation extensively, as it holds even for dependent variables.
  • For complex functions, break them down using linearity.

Exponential Distribution

Definition and Core Idea: The Exponential distribution is a continuous probability distribution that describes the time between events in a Poisson process, i.e., a process in which events occur continuously and independently at a constant average rate. It is memoryless, meaning the past duration does not affect future duration.

Important Formulas, Theorems, and Results:

  1. Probability Density Function (PDF): For X∼Exp⁡(λ)X \sim \operatorname{Exp}(\lambda),

f(x;λ)=λe−λxfor x≥0f(x; \lambda) = \lambda e^{-\lambda x} \quad \text{for } x \geq 0

where λ>0\lambda > 0 is the rate parameter.

2. Cumulative Distribution Function (CDF)

F(x;λ)=P(X≤x)=1−e−λxfor x≥0F(x; \lambda) = P(X \leq x) = 1 - e^{-\lambda x} \quad \text{for } x \geq 0

  1. Mean (Expectation): E[X]=1λE[X] = \frac{1}{\lambda}

  2. Variance: Var⁡(X)=1λ2\operatorname{Var}(X) = \frac{1}{\lambda^2}

  3. Memoryless Property: P(X>s+t∣X>s)=P(X>t)P(X > s + t \mid X > s) = P(X > t) for any s,t≥0s, t \geq 0.

Key Properties and Identities:

  • Models waiting times, lifetimes of components, etc.
  • Its rate parameter λ\lambda is the inverse of the mean.
  • The only continuous distribution with the memoryless property.

Common Pitfalls or Tricky Points:

  • Confusing the rate parameter λ\lambda with the mean 1/λ1/\lambda.
  • Incorrectly applying the memoryless property or forgetting its implications.
  • Errors in integration for probabilities or moments if not using CDF.

Standard Problem-Solving Techniques or Shortcuts:

  • Identify problems involving "time until" an event or "lifetime" with a constant rate.
  • Directly use CDF for P(X≤x)P(X \leq x) or P(X>x)P(X > x).
  • Apply the memoryless property to simplify conditional probability questions.

Independent Events

Definition and Core Idea: Two events are independent if the occurrence of one does not affect the probability of the other occurring. Their probabilities multiply to give the probability of both occurring.

Important Formulas, Theorems, and Results:

    1. Definition: Events AA and BB are independent if and only if:

P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)

    1. Equivalent Conditions: If P(B)>0P(B) > 0, then AA and BB are independent if and only if P(A∣B)=P(A)P(A|B) = P(A). Similarly, if P(A)>0P(A) > 0, then P(B∣A)=P(B)P(B|A) = P(B).
    1. Independence of Complements: If AA and BB are independent, then AA and BcB^c, AcA^c and BB, and AcA^c and BcB^c are also independent.

Key Properties and Identities:

  • Simplifies calculations involving joint probabilities.

  • Crucial assumption for many statistical models and distributions (e.g., Binomial, Poisson).

Common Pitfalls or Tricky Points:

  • Confusing independent events with mutually exclusive events (disjoint events). Mutually exclusive events cannot be independent unless one has zero probability.

  • Assuming independence when it's not explicitly stated or logically implied.

  • Incorrectly applying the product rule for dependent events.

Standard Problem-Solving Techniques or Shortcuts:

  • Always check the definition P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B) to verify independence.

  • If events are independent, use the simplified conditional probability P(A∣B)=P(A)P(A|B) = P(A).

Normal Distribution

Definition and Core Idea: The Normal (or Gaussian) distribution is a symmetric, bell-shaped continuous probability distribution that is ubiquitous in natural and social sciences. It is characterized by its mean (μ\mu) and standard deviation (σ\sigma), and is central to the Central Limit Theorem.

Important Formulas, Theorems, and Results:

    1. Probability Density Function (PDF): For X∼N(μ,σ2)X \sim N(\mu, \sigma^2),

f(x;μ,σ)=1σ2πe−12(x−μσ)2for −∞<x<∞f(x; \mu, \sigma) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2} \quad \text{for } -\infty < x < \infty

    1. Mean (Expectation): E[X]=μE[X] = \mu
    1. Variance: Var(X)=σ2\text{Var}(X) = \sigma^2
    1. Standard Deviation: SD(X)=σ\text{SD}(X) = \sigma
    1. Standard Normal Distribution: A normal distribution with μ=0\mu = 0 and \\sigma = 1,denoted, denoted Z \sim N(0, 1)$.
    1. Standardization: If X∼N(μ,σ2)X \sim N(\mu, \sigma^2), then Z=X−μσ∼N(0,1)Z = \frac{X-\mu}{\sigma} \sim N(0, 1).
    1. Empirical Rule (68-95-99.7 Rule): Approximately 68% of data falls within 1σ1\sigma of the mean, 95% within 2σ2\sigma, and 99.7% within 3σ3\sigma.

Key Properties and Identities:

  • Symmetric about its mean.

  • The mean, median, and mode are all equal to μ\mu.

  • Sum of independent normal random variables is also normal.

  • Central Limit Theorem: The sum/average of a large number of independent and identically distributed random variables, regardless of their original distribution, tends towards a normal distribution.

Common Pitfalls or Tricky Points:

  • Not standardizing correctly before using Z-tables (if tables were provided, though GATE usually tests concepts).

  • Confusing variance σ2\sigma^2 with standard deviation σ\sigma.

  • Assuming normality when not justified, especially for small sample sizes.

Standard Problem-Solving Techniques or Shortcuts:

  • Convert any normal variable to a standard normal variable using Z=(X−μ)/σZ = (X - \mu)/\sigma.

  • Use the symmetry of the normal distribution: P(Z<−z)=P(Z>z)P(Z < -z) = P(Z > z).

  • Apply the empirical rule for quick estimations.

Poisson Distribution

Definition and Core Idea: The Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space if these events occur with a known constant mean rate and independently of the time since the last event.

Important Formulas, Theorems, and Results:

    1. Probability Mass Function (PMF): For X∼Pois(λ)X \sim \text{Pois}(\lambda),

P(X=k)=e−λλkk!for k∈{0,1,2,… }P(X = k) = \frac{e^{-\lambda} \lambda^k}{k!} \quad \text{for } k \in \{0, 1, 2, \dots\}

where λ>0\lambda > 0 is the average rate of events in the interval.

    1. Mean (Expectation): E[X]=λE[X] = \lambda
    1. Variance: Var(X)=λ\text{Var}(X) = \lambda

Key Properties and Identities:

  • Models rare events.

  • The mean and variance are equal (λ\lambda).

  • Can approximate the Binomial distribution when nn is large and pp is small, with λ=np\lambda = np.

  • The sum of independent Poisson random variables is also a Poisson random variable (with rate parameter equal to the sum of individual rates).

Common Pitfalls or Tricky Points:

  • Incorrectly identifying λ\lambda (the average rate for the specified interval). Ensure λ\lambda is consistent with the time/space unit of the problem.

  • Miscalculating factorials or powers of λ\lambda.

  • Confusing "at least," "at most," "exactly" in problem statements.

Standard Problem-Solving Techniques or Shortcuts:

  • Identify problems involving counts of events over a fixed interval.

  • Use the complement rule for "at least" probabilities.

  • Remember that mean and variance are both λ\lambda.

Probability

Definition and Core Idea: Probability is a numerical measure of the likelihood of an event occurring. It is a value between 0 and 1, where 0 indicates impossibility and 1 indicates certainty. It forms the foundation for understanding randomness and uncertainty.

Important Formulas, Theorems, and Results:

1. Axioms of Probability:

  • ▪ For any event AA, 0≤P(A)≤10 \leq P(A) \leq 1.

  • ▪ P(S)=1P(S) = 1 where SS is the sample space.

  • ▪ For a sequence of mutually exclusive events A1,A2,…A_1, A_2, \dots, P(⋃i=1∞Ai)=∑i=1∞P(Ai)P(\bigcup_{i=1}^{\infty} A_i) = \sum_{i=1}^{\infty} P(A_i).

    1. Complement Rule: P(Ac)=1−P(A)P(A^c) = 1 - P(A).
    1. Addition Rule: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).
    1. For Mutually Exclusive Events: If A∩B=∅A \cap B = \emptyset, then P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B).

Key Properties and Identities:

  • Probabilities are non-negative.

  • The sum of probabilities of all possible outcomes is 1.

  • The probability of the impossible event is 0.

Common Pitfalls or Tricky Points:

  • Incorrectly identifying the sample space or events.

  • Misapplying the addition rule without accounting for overlaps.

  • Confusing "and" (∩\cap) with "or" (∪\cup).

Standard Problem-Solving Techniques or Shortcuts:

  • Clearly define the sample space and events.

  • Use Venn diagrams for visualizing events and their intersections/unions.

  • For equally likely outcomes, P(A)=Number of outcomes in ATotal number of outcomesP(A) = \frac{\text{Number of outcomes in } A}{\text{Total number of outcomes}}.

Probability Density Function (PDF)

Definition and Core Idea: The Probability Density Function (PDF), denoted f(x)f(x), is a function associated with continuous random variables. It describes the relative likelihood for the random variable to take on a given value. The area under the PDF curve over an interval gives the probability that the variable falls within that interval.

Important Formulas, Theorems, and Results:

- 1. Properties of a PDF:

  • ▪ f(x)≥0f(x) \geq 0 for all xx.

  • ▪ ∫−∞∞f(x)dx=1\int_{-\infty}^{\infty} f(x)dx = 1.

    1. Probability Calculation: P(a≤X≤b)=∫abf(x)dxP(a \leq X \leq b) = \int_a^b f(x)dx.
    1. Relationship with CDF: f(x)=ddxF(x)f(x) = \frac{d}{dx}F(x), where F(x)F(x) is the Cumulative Distribution Function.

Key Properties and Identities:

  • The PDF itself does not give a probability; rather, its integral over an interval does.
  • For continuous variables, P(X=x)=0P(X = x) = 0.

Common Pitfalls or Tricky Points:

  • Interpreting f(x)f(x) as P(X=x)P(X = x). This is incorrect for continuous variables.
  • Forgetting to check if the PDF integrates to 1 over its entire domain.
  • Errors in integration limits or the function itself.

Standard Problem-Solving Techniques or Shortcuts:

  • Always verify the two properties of a PDF.
  • Use integration to find probabilities over intervals.
  • If given a CDF, differentiate to find the PDF.

Probability Distribution

Definition and Core Idea: A probability distribution is a mathematical function that describes all possible values and likelihoods that a random variable can take within a given range. It can be discrete (Probability Mass Function, PMF) or continuous (Probability Density Function, PDF).

Important Formulas, Theorems, and Results:

    1. For Discrete Distributions (PMF P(X=x)P(X = x)):
  • ▪ 0≤P(X=x)≤10 \leq P(X = x) \leq 1 for all xx.

  • ▪ ∑xP(X=x)=1\sum_x P(X = x) = 1.

    1. For Continuous Distributions (PDF f(x)f(x)):
  • ▪ f(x)≥0f(x) \geq 0 for all xx.

  • ▪ ∫−∞∞f(x)dx=1\int_{-\infty}^{\infty} f(x)dx = 1.

    1. Cumulative Distribution Function (CDF): F(x)=P(X≤x)F(x) = P(X \leq x).
  • ▪ For discrete: F(x)=∑t≤xP(X=t)F(x) = \sum_{t \leq x} P(X = t).

  • ▪ For continuous: F(x)=∫−∞xf(t)dtF(x) = \int_{-\infty}^x f(t)dt.

Key Properties and Identities:

  • Completely characterizes a random variable's behavior.
  • CDF is non-decreasing, F(−∞)=0F(-\infty) = 0, F(∞)=1F(\infty) = 1.
  • Allows calculation of probabilities, expected values, and variances.

Common Pitfalls or Tricky Points:

  • Confusing PMF and PDF.
  • Incorrectly applying summation for continuous or integration for discrete.
  • Not understanding the difference between P(X=x)P(X = x) and P(X≤x)P(X \leq x).

Standard Problem-Solving Techniques or Shortcuts:

  • Identify whether the random variable is discrete or continuous.
  • Use the appropriate function (PMF/PDF) and its properties to solve problems.
  • Understand the relationship between PMF/PDF and CDF.

Random Variable

Definition and Core Idea: A random variable is a variable whose value is a numerical outcome of a random phenomenon. It is a function that maps outcomes from a sample space to real numbers. Random variables can be discrete (taking countable values) or continuous (taking values in an interval).

Important Formulas, Theorems, and Results:

    1. Discrete Random Variable: Takes on a finite or countably infinite number of values (e.g., number of heads in coin flips).
    1. Continuous Random Variable: Takes on any value within a given interval (e.g., height, temperature).
    1. Probability Distribution: Each random variable has an associated probability distribution (PMF or PDF) that describes the probabilities of its possible values.

Key Properties and Identities:

  • Transforms qualitative outcomes into quantitative values.

  • Allows for mathematical analysis of random phenomena.

  • The sum, difference, product, or quotient of random variables is also a random variable.

Common Pitfalls or Tricky Points:

  • Confusing the random variable itself with the values it can take.

  • Not correctly defining the sample space before defining the random variable.

  • Misidentifying whether a variable is discrete or continuous.

Standard Problem-Solving Techniques or Shortcuts:

  • Clearly define the random variable and its possible values.

  • Determine if it's discrete or continuous to choose the correct probability distribution type.

  • Map real-world scenarios to appropriate random variable definitions.

Square Invariant

Definition and Core Idea: While "Square Invariant" is not a standard term for a probability distribution or theorem, in the context of probability and statistics, it most likely refers to properties or transformations related to the square of a random variable, particularly in the calculation of moments or variance, or in the context of distributions like the Chi-Square distribution which involves sums of squared normal variables. It implies that certain properties hold true even after squaring the variable or that a transformation involving squaring preserves some characteristic.

Important Formulas, Theorems, and Results:

    1. Second Moment: E[X2]=∑x2P(X=x)E[X^2] = \sum x^2 P(X = x) (discrete) or ∫x2f(x)dx\int x^2 f(x)dx (continuous). This is a key "square" quantity.
    1. Variance Definition: Var(X)=E[(X−E[X])2]=E[X2]−(E[X])2\text{Var}(X) = E[(X - E[X])^2] = E[X^2] - (E[X])^2. This formula shows how E[X2]E[X^2] is used to calculate variance.
    1. Chi-Square Distribution: Defined as the sum of squares of independent standard normal random variables, X=∑i=1kZi2∼χ2(k)X = \sum_{i=1}^k Z_i^2 \sim \chi^2(k). This is a direct application of squaring random variables.
    1. Properties of Variance: Var(aX)=a2Var(X)\text{Var}(aX) = a^2 \text{Var}(X). This shows how scaling affects the variance (a square property).

Key Properties and Identities:

  • E[X2]E[X^2] is always non-negative.

  • Variance measures the spread of a distribution in squared units.

  • The Chi-Square distribution is fundamental for statistical inference involving variances.

Common Pitfalls or Tricky Points:

  • Confusing E[X2]E[X^2] with (E[X])2(E[X])^2. They are distinct and generally not equal.

  • Incorrectly calculating E[X2]E[X^2] by not squaring the values before applying expectation.

  • Misinterpreting the degrees of freedom in Chi-Square related problems.

Standard Problem-Solving Techniques or Shortcuts:

  • When calculating variance, always compute E[X]E[X] and E[X2]E[X^2] separately.

  • Recognize that problems involving sums of squared normal variables point towards the Chi-Square distribution.

  • Remember that variance is always non-negative.

Statistics

Definition and Core Idea: Statistics is the science of collecting, analyzing, interpreting, presenting, and organizing data. In the context of probability, statistics involves using data from a sample to make inferences about a larger population, often relying on probability distributions to quantify uncertainty.

Important Formulas, Theorems, and Results:

1. Measures of Central Tendency:

  • ▪ Mean (μ\mu or xˉ\bar{x}): Average value.

  • ▪ Median: Middle value when data is ordered.

  • ▪ Mode: Most frequent value.

2. Measures of Dispersion:

  • ▪ Variance (σ2\sigma^2 or s2s^2): Average of the squared differences from the mean.

  • ▪ Standard Deviation (σ\sigma or ss): Square root of variance, in original units.

  • ▪ Range: Max value - Min value.

3. Sample vs. Population:

  • ▪ Population Mean: μ=E[X]\mu = E[X]

  • ▪ Sample Mean: Xˉ=1n∑i=1nXi\bar{X} = \frac{1}{n} \sum_{i=1}^n X_i

  • ▪ Population Variance: σ2=E[(X−μ)2]\sigma^2 = E[(X - \mu)^2]

  • ▪ Sample Variance: s2=1n−1∑i=1n(Xi−Xˉ)2s^2 = \frac{1}{n-1} \sum_{i=1}^n (X_i - \bar{X})^2 (unbiased estimator)

Key Properties and Identities:

  • Statistics provides tools to summarize and interpret data.

  • Probability distributions are models for the underlying data generation process.

  • Central Limit Theorem is a bridge between probability and statistics.

Common Pitfalls or Tricky Points:

  • Confusing population parameters (μ,σ2)(\mu, \sigma^2) with sample statistics (xˉ,s2)(\bar{x}, s^2).

  • Using nn instead of n−1n - 1 in the denominator for sample variance (for unbiased estimation).

  • Misinterpreting the meaning of different measures (e.g., mean vs. median for skewed data).

Standard Problem-Solving Techniques or Shortcuts:

  • Identify whether the problem refers to a population or a sample.

  • Know the definitions and formulas for common descriptive statistics.

  • Understand how probability distributions are used to model observed data.

Uniform Distribution

Definition and Core Idea: The Uniform distribution is a continuous probability distribution where all values within a given interval [a,b][a, b] are equally likely. It has a constant probability density over its support and zero elsewhere.

Important Formulas, Theorems, and Results:

    1. Probability Density Function (PDF): For X∼U(a,b)X \sim U(a, b),

f(x)={1b−afor a≤x≤b0otherwisef(x) = \begin{cases} \frac{1}{b-a} & \text{for } a \leq x \leq b \\ 0 & \text{otherwise} \end{cases}

2. Cumulative Distribution Function (CDF):

F(x)={0for x<ax−ab−afor a≤x≤b1for x>bF(x) = \begin{cases} 0 & \text{for } x < a \\ \frac{x-a}{b-a} & \text{for } a \leq x \leq b \\ 1 & \text{for } x > b \end{cases}

    1. Mean (Expectation): E[X]=a+b2E[X] = \frac{a+b}{2}
    1. Variance: Var(X)=(b−a)212\text{Var}(X) = \frac{(b-a)^2}{12}

Key Properties and Identities:

  • All outcomes within the interval [a,b][a, b] are equally probable.

  • Often used as a null hypothesis or a simple model when no other information is available.

Common Pitfalls or Tricky Points:

  • Incorrectly identifying the interval [a,b][a, b].

  • Errors in calculating probabilities for sub-intervals (e.g., P(c≤X≤d)=d−cb−aP(c \leq X \leq d) = \frac{d-c}{b-a}).

  • Forgetting the constant 1/121/12 in the variance formula.

Standard Problem-Solving Techniques or Shortcuts:

  • Draw the PDF as a rectangle for visualization.

  • Probabilities are simply the ratio of the length of the sub-interval to the length of the total interval.

  • Memorize mean and variance formulas.

Variance

Definition and Core Idea: Variance is a measure of the spread or dispersion of a set of data points around their mean. It quantifies how much the values of a random variable deviate from its expected value, on average. A higher variance indicates greater variability.

Important Formulas, Theorems, and Results:

    1. Definition: Var(X)=E[(X−E[X])2]\text{Var}(X) = E[(X - E[X])^2]
    1. Computational Formula: Var(X)=E[X2]−(E[X])2\text{Var}(X) = E[X^2] - (E[X])^2
    1. For Discrete Random Variable XX:

Var(X)=∑x(x−E[X])2P(X=x)=∑xx2P(X=x)−(E[X])2\text{Var}(X) = \sum_x (x - E[X])^2 P(X = x) = \sum_x x^2 P(X = x) - (E[X])^2

  1. For Continuous Random Variable XX:

Var⁡(X)=∫−∞∞(x−E[X])2f(x)dx=∫−∞∞x2f(x)dx−(E[X])2\operatorname{Var}(X) = \int_{-\infty}^{\infty} (x - E[X])^2 f(x) dx = \int_{-\infty}^{\infty} x^2 f(x) dx - (E[X])^2

5. Properties of Variance

  • ▪ Var⁡(c)=0\operatorname{Var}(c) = 0 for a constant cc.
  • ▪ Var⁡(aX)=a2Var⁡(X)\operatorname{Var}(aX) = a^2 \operatorname{Var}(X) for a constant aa.
  • ▪ Var⁡(X+c)=Var⁡(X)\operatorname{Var}(X + c) = \operatorname{Var}(X) for a constant cc.
  • ▪ Var⁡(aX+b)=a2Var⁡(X)\operatorname{Var}(aX + b) = a^2 \operatorname{Var}(X).
  • ▪ For independent random variables X,YX, Y: Var⁡(X+Y)=Var⁡(X)+Var⁡(Y)\operatorname{Var}(X + Y) = \operatorname{Var}(X) + \operatorname{Var}(Y).
  • ▪ For independent random variables X,YX, Y: Var⁡(X−Y)=Var⁡(X)+Var⁡(Y)\operatorname{Var}(X - Y) = \operatorname{Var}(X) + \operatorname{Var}(Y).
  1. Standard Deviation: SD⁡(X)=Var⁡(X)\operatorname{SD}(X) = \sqrt{\operatorname{Var}(X)}.

Key Properties and Identities:

  • Variance is always non-negative.
  • It is expressed in squared units of the random variable.
  • It measures the average squared deviation from the mean.

Common Pitfalls or Tricky Points:

  • Forgetting to square the deviations or the constant aa when applying properties.
  • Assuming Var⁡(X+Y)=Var⁡(X)+Var⁡(Y)\operatorname{Var}(X + Y) = \operatorname{Var}(X) + \operatorname{Var}(Y) when XX and YY are not independent (this requires covariance terms).
  • Confusing variance with standard deviation.

Standard Problem-Solving Techniques or Shortcuts:

  • Always use the computational formula Var⁡(X)=E[X2]−(E[X])2\operatorname{Var}(X) = E[X^2] - (E[X])^2 as it's often easier.
  • Leverage the properties of variance to simplify calculations for linear transformations or sums of independent variables.
  • Calculate E[X]E[X] first, then E[X2]E[X^2].

Quick Formula Reference

  • Basic Probability

  • Addition Rule: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

  • Complement Rule: P(Ac)=1−P(A)P(A^c) = 1 - P(A)

  • Conditional Probability

  • Definition: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

  • Multiplication Rule: P(A∩B)=P(A∣B)P(B)P(A \cap B) = P(A|B)P(B)

  • Law of Total Probability: P(B)=∑i=1nP(B∣Ai)P(Ai)P(B) = \sum_{i=1}^n P(B|A_i)P(A_i)

  • Independent Events

  • Condition: P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B) or P(A∣B)=P(A)P(A|B) = P(A)

  • Bayes Theorem

  • Formula: P(A∣B)=P(B∣A)P(A)P(B)P(A|B) = \frac{P(B|A)P(A)}{P(B)}

  • Expectation (Mean)

  • Discrete: E[X]=∑xxP(X=x)E[X] = \sum_x xP(X = x)

  • Continuous: E[X]=∫−∞∞xf(x)dxE[X] = \int_{-\infty}^{\infty} x f(x) dx

  • Linearity: E[aX+bY]=aE[X]+bE[Y]E[aX + bY] = aE[X] + bE[Y]

  • Variance

  • Definition: Var⁡(X)=E[(X−E[X])2]\operatorname{Var}(X) = E[(X - E[X])^2]

  • Computational: Var⁡(X)=E[X2]−(E[X])2\operatorname{Var}(X) = E[X^2] - (E[X])^2

  • Properties: Var⁡(aX+b)=a2Var⁡(X)\operatorname{Var}(aX + b) = a^2 \operatorname{Var}(X)

  • For independent X,YX, Y: Var⁡(X±Y)=Var⁡(X)+Var⁡(Y)\operatorname{Var}(X \pm Y) = \operatorname{Var}(X) + \operatorname{Var}(Y)

  • Standard Deviation: SD⁡(X)=Var⁡(X)\operatorname{SD}(X) = \sqrt{\operatorname{Var}(X)}

  • Bernoulli Distribution (X∈{0,1},P(X=1)=pX \in \{0, 1\}, P(X = 1) = p)

  • PMF: P(X=x)=px(1−p)1−xP(X = x) = p^x (1 - p)^{1-x}

  • Mean: E[X]=pE[X] = p

  • Variance: Var⁡(X)=p(1−p)\operatorname{Var}(X) = p(1 - p)

  • Binomial Distribution (X∼B(n,p)X \sim B(n, p))

  • PMF: P(X=k)=(nk)pk(1−p)n−kP(X = k) = \binom{n}{k} p^k (1 - p)^{n-k}

  • Mean: E[X]=npE[X] = np

  • Variance: Var(X)=np(1−p)\text{Var}(X) = np(1 - p)

  • Poisson Distribution (X∼Pois(λ)X \sim \text{Pois}(\lambda))

  • PMF: P(X=k)=e−λλkk!P(X = k) = \frac{e^{-\lambda} \lambda^k}{k!}

  • Mean: E[X]=λE[X] = \lambda

  • Variance: Var(X)=λ\text{Var}(X) = \lambda

  • Uniform Distribution (X∼U(a,b)X \sim U(a, b))

  • PDF: f(x)=1b−af(x) = \frac{1}{b-a} for a≤x≤ba \leq x \leq b, else 0

  • Mean: E[X]=a+b2E[X] = \frac{a+b}{2}

  • Variance: Var(X)=(b−a)212\text{Var}(X) = \frac{(b-a)^2}{12}

  • Exponential Distribution (X∼Exp(λ)X \sim \text{Exp}(\lambda))

  • PDF: f(x)=λe−λxf(x) = \lambda e^{-\lambda x} for x≥0x \geq 0, else 0

  • CDF: F(x)=1−e−λxF(x) = 1 - e^{-\lambda x} for x≥0x \geq 0

  • Mean: E[X]=1λE[X] = \frac{1}{\lambda}

  • Variance: Var(X)=1λ2\text{Var}(X) = \frac{1}{\lambda^2}

  • Memoryless: P(X>s+t∣X>s)=P(X>t)P(X > s + t | X > s) = P(X > t)

  • Normal Distribution (X∼N(μ,σ2)X \sim N(\mu, \sigma^2))

  • PDF: f(x)=1σ2πe−12(x−μσ)2f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}

  • Mean: E[X]=μE[X] = \mu

  • Variance: Var(X)=σ2\text{Var}(X) = \sigma^2

  • Standardization: Z=X−μσ∼N(0,1)Z = \frac{X-\mu}{\sigma} \sim N(0, 1)

  • Chi-Square Distribution (X∼χ2(k)X \sim \chi^2(k))

  • Definition: Sum of kk squared independent standard normal variables.

  • Mean: E[X]=kE[X] = k

  • Variance: Var(X)=2k\text{Var}(X) = 2k

Important Tips for GATE

    1. Master the Fundamentals: Ensure a strong grasp of basic probability axioms, conditional probability, and independence. Many complex problems are built upon these foundational concepts. Don't rush through them.
    1. Understand Discrete vs. Continuous: Clearly distinguish between discrete and continuous random variables. Know when to use summation (PMF) versus integration (PDF), and remember that P(X=x)=0P(X = x) = 0 for continuous variables.
    1. Memorize Key Distribution Properties: For each distribution (Bernoulli, Binomial, Poisson, Uniform, Exponential, Normal, Chi-Square), memorize their PMF/PDF, mean, and variance. This saves crucial time in the exam.
    1. Practice Conditional Probability and Bayes' Theorem: These are frequently tested. Practice problems that require careful identification of events and application of the formulas, especially those involving multiple stages or diagnostic scenarios.
    1. Pay Attention to Keywords: Words like "at least," "at most," "exactly," "given that," "independent," and "without replacement" significantly alter problem interpretation and solution approach. Read questions carefully.
    1. Leverage Linearity of Expectation and Variance Properties: E[aX+bY]=aE[X]+bE[Y]E[aX + bY] = aE[X] + bE[Y] is powerful as it holds even for dependent variables. For variance, remember Var(aX+b)=a2Var(X)\text{Var}(aX + b) = a^2\text{Var}(X) and \\text{Var}(X \pm Y) = \text{Var}(X) + \text{Var}(Y)$ only for independent variables.
    1. Don't Confuse Mean and Variance Parameters: For Exponential distribution, λ\lambda is the rate, mean is 1/λ1/\lambda. For Normal, μ\mu is mean, σ2\sigma^2 is variance (not σ\sigma). Small errors here are common pitfalls.
    1. Practice Problem Solving: The best way to prepare is to solve a wide variety of problems from previous GATE papers and standard textbooks. Focus on understanding the logic behind each step, not just getting the answer.