Beginner Topic 11 of 51 Math for Computing
Probability Basics
Measuring the likelihood of events.
How it works
Probability measures the likelihood of events on a scale from 0 to 1. A sample space lists all outcomes, an event is a subset of outcomes, and the axioms state that probabilities are non-negative, the total is 1 and probabilities of disjoint events add. Key rules include the complement rule, the addition rule with inclusion-exclusion, and independence, where the probability of both events is the product of their probabilities. For equally likely outcomes, probability is favorable outcomes divided by total outcomes.
Where it is used
Risk assessment, games and gambling, randomized algorithms, hashing analysis, machine learning, reliability and quality control apply probability.
Common pitfall
Assuming independence without justification, confusing mutually exclusive with independent events and misreading conditional statements lead to errors. Gambler's fallacy treats independent trials as dependent. Counting outcomes incorrectly, such as treating unordered outcomes as equally likely, gives wrong values. Define the sample space carefully, check assumptions and simulate to verify.
Where it fits in the course
Probability Basics is topic 11 of 51 in Math for Computing, rated Beginner. It follows Determinants. The next topic is Random Variables.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Math for Computing quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Math for Computing quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Probability Basics?
Where do people use Probability Basics?
What is the most common mistake with Probability Basics?
What should I learn before this topic?
How can I practice it?
Is Probability Basics hard to learn?
How long does it take to learn Probability Basics?
Which topics are related to Probability Basics?
What should I study after Probability Basics?
Related topics
- Determinants (Math for Computing)
- Random Variables (Math for Computing)
- Matrix Multiplication (Math for Computing)
- Expected Value (Math for Computing)
- Algorithm Basics (Algorithms)
- Command Line Basics (DevOps & Tooling)
- HTML Basics (Web Development)