Learn Probability, Statistics, Linear Algebra & Calculus

Interactive lessons with visual demos and practice quizzes. Free — no sign-up required.

🎲Probability Foundations

Sample Space and Outcomes

Every probability model starts with a sample space — a description of all possible things that may happen during an experiment.

Probability
📐Vectors

Intro

A vector is an arrow with direction and magnitude.

Linear Algebra
🎲Probability Foundations

Events

An event is a subset of the sample space — a collection of outcomes that we assign probability to. We assign probabilities to events, not individual outcomes. This matters especially for continuous sample spaces (where individual outcomes have probability zero) and compound outcomes like "the sum of two dice is 7".

Probability
🎲Conditional Probability

Conditional Probability

Conditional probability measures the likelihood of an event given that another event has occurred.

Probability
🎲Probability Foundations

Continuous Probability

For continuous sample spaces (like a dart hitting a target), we can't list or count outcomes. Instead, probability is defined by area (or length, or volume).

Probability
🎲Conditional Probability

Total Probability Theorem

Suppose you want the probability that a widget is defective. You could try to count defective widgets directly — but what if the factory has multiple machines, each with a different defect rate, and you don't know which machine made a given widget? You can't just use one defect rate; you need to account for all of them.

Probability
📐Equations

Row Picture

The row picture visualizes each equation as a line.

Linear Algebra
🎲Probability Foundations

Probability Axioms

Every event has a probability. For example, P(A) means "the probability of event A happening." A rule that assigns such probabilities to all events is called a probability law. All probability laws must satisfy three fundamental axioms, formalized by Andrey Kolmogorov in 1933.

Probability
🎲Probability Foundations

Discrete Uniform Law

When all outcomes in a finite sample space are equally likely, probability reduces to counting.

Probability
🎲Conditional Probability

Probability Trees

Probability trees visualize multi-stage experiments with conditional probabilities.

Probability
📐Vectors

Scalar

Multiply a vector by a scalar (number):

Linear Algebra
📐Vectors

Addition

To add two vectors, add their components:

Linear Algebra