Skip to main content

This Week's Best Picks from Amazon

Please see more curated items that we picked from Amazon here .

Probability Theory

  • Understand the fundamental concepts of probability.
  • Learn about probability rules and axioms.
  • Explore conditional probability and Bayes’ Theorem.
  • Visualize probability distributions.

Definition of Probability

Probability measures the likelihood of an event occurring. It is defined as:

\[ P(A) = \frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}} \]

Basic Rules of Probability

Rule Formula Description
Complement Rule \( P(A^c) = 1 - P(A) \) The probability of an event not occurring.
Addition Rule (for mutually exclusive events) \( P(A \cup B) = P(A) + P(B) \) If events A and B cannot happen together.
Multiplication Rule (for independent events) \( P(A \cap B) = P(A) P(B) \) If A’s occurrence does not affect B.

Conditional Probability and Bayes’ Theorem

Conditional probability is:

\[ P(A | B) = \frac{P(A \cap B)}{P(B)} \]

Bayes’ Theorem:

\[ P(A | B) = \frac{P(B | A) P(A)}{P(B)} \]

Proof

Starting from conditional probability:

\[ P(A | B) = \frac{P(A \cap B)}{P(B)} \]

Similarly:

\[ P(B | A) = \frac{P(A \cap B)}{P(A)} \]

Rearrange:

\[ P(A \cap B) = P(B | A) P(A) \]

Substituting in:

\[ P(A | B) = \frac{P(B | A) P(A)}{P(B)} \]

Visualizing Probability Distribution

Exercises

  • Question 1: A bag contains 4 red and 6 blue balls. What is the probability of drawing a red ball?
  • Question 2: If \( P(A) = 0.4 \), \( P(B) = 0.5 \), and \( P(A \cap B) = 0.2 \), find \( P(A \cup B) \).
  • Question 3: What is the probability of flipping two fair coins and getting at least one heads?
  • Answer 1: \( \frac{4}{10} = 0.4 \)
  • Answer 2: \( P(A \cup B) = 0.7 \)
  • Answer 3: \( \frac{3}{4} \)

Popular posts from this blog

Gaussian Elimination: A Step-by-Step Guide

Gaussian Elimination: A Step-by-Step Guide Gaussian Elimination is a systematic method for solving systems of linear equations. It works by transforming a given system into an equivalent one in row echelon form using a sequence of row operations. Once in this form, the system can be solved efficiently using back-substitution . What is Gaussian Elimination? Gaussian elimination consists of two main stages: Forward Elimination: Convert the system into an upper triangular form. Back-Substitution: Solve for unknowns starting from the last equation. Definition of a Pivot A pivot is the first nonzero entry in a row when moving from left to right. Pivots are used to eliminate the elements below them, transforming the system into an upper triangular form. Step-by-Step Example Consider the system of equations: \[ \begin{aligned} 2x + 3y - z &= 5 \\ 4x + y...

Singular Value Decomposition

Lesson Objectives ▼ Understand the concept of Singular Value Decomposition (SVD). Decompose a matrix into orthogonal matrices and singular values. Learn how to compute SVD step by step. Explore applications of SVD in data compression and machine learning. Lesson Outline ▼ Definition of SVD Computing SVD Step by Step Applications of SVD Examples Definition of Singular Value Decomposition The **Singular Value Decomposition (SVD)** of an \( m \times n \) matrix \( A \) is a factorization of the form: \[ A = U \Sigma V^T \] where: \( U \) is an \( m \times m \) orthogonal matrix (left singular vectors). \( \Sigma \) is an \( m \times n \) diagonal matrix with **singular values** on the diagonal. \( V \) is an \( n \times n \) orthogonal matrix (right singular vectors). Computing SVD Step by Step To compute \( A = U \Sigma V^T \): Find the eigenvalues and eige...

Eigenvalues and Eigenvectors

Lesson Objectives ▼ Understand the definition of eigenvalues and eigenvectors. Learn how to compute eigenvalues and eigenvectors. Explore the characteristic equation. Interpret eigenvalues and eigenvectors in transformations. Understand diagonalization and its applications. Lesson Outline ▼ Definition of Eigenvalues and Eigenvectors Characteristic Equation Diagonalization Examples Definition of Eigenvalues and Eigenvectors In a linear transformation, an eigenvector is a nonzero vector that only changes by a scalar factor when the transformation is applied. For a square matrix \( A \), an eigenvector \( \mathbf{v} \) and its corresponding eigenvalue \( \lambda \) satisfy: \[ A\mathbf{v} = \lambda \mathbf{v} \] \( A \) is an \( n \times n \) matrix. \( \mathbf{v} \neq 0 \) is an eigenvector. \( \lambda \) is a scalar eigenvalue. Characteristic Equation ...