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

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
📐Equations

Row Picture

The row picture visualizes each equation as a line.

Linear Algebra
🎲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
🎲Conditional Probability

Conditional Probability

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

Probability
🎲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
🎲Probability Foundations

Discrete Uniform Law

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

Probability
🎲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
📐Spaces

Four Subspaces

Every matrix has four fundamental subspaces:

Linear Algebra
🎲Conditional Probability

Bayes' Rule

There is a rare disease: 1% of the population carries it, and the other 99% are healthy. Now there is a patient who takes the screening test for it, and the result comes back positive. Among people who carry the disease, the test comes back positive 95% of the time. Among healthy people, it comes back positive 10% of the time. How likely is it that this patient actually has the disease?

Probability
📐Vectors

Scalar

Multiply a vector by a scalar (number):

Linear Algebra