• [email protected]
dsp.systems
  • Jurnal
  • Theory
  • Mathematics
  • Implementation
  • Dictionary
  • About
Sign In

Bayes' Theorem

ValkanPavlov Mathematics 27 August 2026

Bayes' Theorem is a fundamental rule in probability theory that describes how to update the probability of a hypothesis as more evidence or information becomes available. It provides a mathematical connection between a prior belief and observed data, producing an updated posterior belief.

In simple terms, Bayes' theorem gives us a rigorous mathematical framework for learning from evidence.

Imagine that a patient is tested for a rare disease. Suppose the disease affects 1 in 10,000 people, the test has 99% sensitivity, and 99% specificity. What is the probability that a person who tests positive actually has the disease?

It is tempting to answer "99%", but that would be incorrect. The answer depends not only on the performance of the test, but also on the base rate — how common the disease is in the population.

If we test 10,000 people, approximately 1 person has the disease. That person has a 99% chance of testing positive, giving about 0.99 true positives.

Among the 9,999 healthy people, a 1% false-positive rate produces about 99.99 false positives.

Therefore, among all positive results, only a small fraction correspond to people who actually have the disease:

\[ P(\text{Disease} \mid \text{Positive}) = \frac{ P(\text{Positive} \mid \text{Disease})P(\text{Disease}) }{ P(\text{Positive}) } \approx 0.0098 \]

So the probability that a person who tests positive actually has the disease is only about 0.98%.

This is a classic illustration of the importance of the base rate. It also demonstrates why we must distinguish between:

\[ P(\text{Positive} \mid \text{Disease}) \]

and:

\[ P(\text{Disease} \mid \text{Positive}) \]

These are different probabilities. Bayes' theorem provides the mathematical connection between them.

Read more: Bayes' Theorem

Covariance matrix

ValkanPavlov Mathematics 27 August 2026

A covariance matrix (also called the variance-covariance matrix) is the natural extension of covariance when we have more than two variables. While ordinary covariance measures the direction of the relationship between a single pair, the covariance matrix organises all pairwise covariances into one elegant, square structure. It is the fundamental building block of multivariate statistics, machine learning, and modern finance.

Imagine you are studying a dataset of houses. Instead of just looking at size and price, you also include number of bedrooms and age of the property. Now you have 4 variables, which means 4×4 = 16 possible relationships (including each variable with itself). The covariance matrix arranges all of them in a single table – like a "relationship map" of your entire dataset.

Read more: Covariance matrix

Covariance

ValkanPavlov Mathematics 27 August 2026

Covariance is a statistical measure that indicates the direction of the linear relationship between two random variables. It tells us whether, when one variable increases, the other tends to increase or decrease. Think of it as a way to capture whether two quantities move in unison or in opposite directions.

For example, if we observe the height and weight of a group of people, we expect a positive covariance – taller people generally weigh more. Conversely, if we look at a car's speed and stopping distance, the covariance is positive (higher speed → longer stopping distance). If we compare outdoor temperature and heating bills, the covariance is negative – the colder it gets, the higher the bills.

Read more: Covariance

Vector

ValkanPavlov Mathematics 24 August 2026

A vector is a mathematical object that has both magnitude (length) and direction. You can think of it as an arrow pointing from one point to another. Vectors are one of the most fundamental tools in mathematics, physics, engineering, computer science, and data science — anywhere where quantities have both size and orientation.

Imagine you are standing in a city and ask for directions to a park. The answer "3 kilometres" tells you the distance, but not where to go — that's a scalar (just a number). The answer "3 kilometres north-east" tells you both how far and in which direction — that's a vector.

Read more: Vector

Long division

ValkanPavlov Mathematics 24 August 2026

The long division algorithm is a systematic procedure for dividing multi-digit numbers. It breaks the division problem into a sequence of simpler steps: divide, multiply, subtract, bring down, and repeat. This method works for any integers, regardless of their size, and can be extended to decimals and polynomials.

Imagine you have 847 candies to share equally among 7 friends. Long division gives you a foolproof, repeatable process that guarantees the correct result. It is the arithmetic equivalent of following a recipe — each step is clear and leads naturally to the next.

Read more: Long division
  1. Hilbert Transform
  2. Еxponential
  3. Logarithm
  4. Normalisation

Page 2 of 4

  • 1
  • 2
  • 3
  • 4
© 2026 dsp.systems
  • Jurnal
  • Theory
  • Mathematics
  • Implementation
  • Dictionary
  • About