Check · Test yourselfPractice tests

Academy › Topic library › Probability Basics

Q-BOT ACADEMY · FREE VIDEO LESSON · 10 MIN

Probability Basics

Probability Basics is a number between zero and one that says how likely something is. Zero means it can't happen, and one means it's certain. There are two ways to get one. The classic way: count the outcomes you care about, and divide by all the equally likely outcomes. A fair coin has one heads out of two sides, so the probability is one half. The data way: count how often it really happened. Priya measured five hundred slats and found fifteen out of spec. Fifteen divided by five hundred is zero point oh three, or three percent.

9:38 · Q-Bot · narrated, with worked example and a check-yourself question

In short

Probability runs from zero to one, from counting outcomes or from data. The complement is one minus the probability. For or, add, then subtract the overlap. For and with independent events, multiply. Conditional probability is the chance of A given B. Permutations count orders, and combinations count groups. And the central limit theorem says averages become normal, with spread shrinking by the square root of n.

Check yourself

Two percent of slats have a crack, and five percent are warped. The two problems are independent. What's the probability that a slat is both cracked and warped? A, zero point oh seven. B, zero point oh oh one. C, zero point one. Or D, zero point oh three.

Show the answer

The answer is B, zero point oh oh one. Both means and, and for independent events you multiply: zero point oh two times zero point oh five is zero point oh oh one, one slat in a thousand. Answer A adds them, which is how you start an or question, not an and question. C and D don't follow either rule!

Where this topic is taught

This lesson is part of every free Academy course whose Body of Knowledge covers it. Each course puts it in context, with exercises and checks.

Full lesson transcript

The narration from the video, by chapter. Brindlewood Outdoor Furniture and its people are a fictional company used in every Q-Bot Academy lesson.

Intro

It's Tuesday at Brindlewood Outdoor Furniture, and the top complaint is still wobbly chairs. Dwayne, the assembly line lead, isn't worried. Ninety eight percent of our legs are cut to length, he says. So ninety eight percent of our chairs are fine! Marcus, the quality engineer, grabs a marker. But Dwayne, every Harbor chair has four legs, and all four have to be right. That changes the math. And by the end of this video, you'll know exactly how much!

Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today: probability basics. We'll cover what probability is, the complement, the addition rule, independence and the multiplication rule, conditional probability, counting with permutations and combinations, and the central limit theorem. Then we'll fix Dwayne's math.

What it is

So, what is probability? It's a number between zero and one that says how likely something is. Zero means it can't happen, and one means it's certain. There are two ways to get one. The classic way: count the outcomes you care about, and divide by all the equally likely outcomes. A fair coin has one heads out of two sides, so the probability is one half. The data way: count how often it really happened. Priya measured five hundred slats and found fifteen out of spec. Fifteen divided by five hundred is zero point oh three, or three percent.

Why it matters

Why does it matter? Because gut feel is terrible at probability. Every sampling plan, every risk score and every yield number rests on these rules. Get them wrong, and you promise customers a quality level you don't have, or you spend money chasing a problem that isn't there. At Brindlewood, a wrong guess about chairs means wobbly chairs in someone's backyard!

How it works: the rules one by one

Let's take the rules one at a time. Rule one is the complement. The probability that something does not happen is one minus the probability that it does. If three percent of slats are out of spec, then one minus zero point oh three is zero point nine seven, so ninety seven percent are in spec. The complement is your best friend for at least one questions. Bad: listing every way at least one leg could be wrong. Good: work out the chance that none are wrong, and subtract it from one.

Rule two is the addition rule, for or questions. Two events are mutually exclusive if they can't happen at the same time. A coated frame can be too thin or too thick, but never both. If one percent of frames are too thin and two percent are too thick, the chance a frame is out of spec is one percent plus two percent: three percent. When events can't overlap, just add.

But most events can overlap. Hannah looked at one hundred complaints. Forty mention a wobble, twenty five mention a scratch, and ten mention both. That ten is the joint occurrence: both at once. The general addition rule says the probability of A or B equals the probability of A, plus the probability of B, minus the probability of both. So zero point four, plus zero point two five, minus zero point one, is zero point five five. Bad: adding forty and twenty five to get sixty five percent, which counts the ten twice. Good: subtract the overlap.

Rule three is the multiplication rule, for and questions. Two events are independent if one happening doesn't change the chance of the other. For independent events, the probability of both equals one probability times the other. If two welding stations each make an out of square frame two percent of the time, and they don't affect each other, the chance both do it on the same frame is zero point oh two times zero point oh two: four in ten thousand.

Rule four is conditional probability: the chance of A, given that B already happened. You divide the probability of both by the probability of B. Back to Hannah's complaints: given that a complaint mentions a wobble, what's the chance it also mentions a scratch? Ten divided by forty: zero point two five. And the scratch rate across all complaints is also twenty five out of one hundred, zero point two five. Same number! Knowing about the wobble doesn't change the chance of a scratch. That's the test for independence.

When events are dependent, the second probability changes. Say a box holds twenty slats, and two are cracked. Pick two slats without putting the first one back. The chance the first is cracked is two in twenty. If it was, only one cracked slat is left among nineteen, so the second chance is one in nineteen. Multiply them: one in one hundred ninety. Bad: treating it as independent, one tenth times one tenth, one in one hundred. Good: update the second probability after the first draw.

Rule five is counting, because probability often needs the number of possible outcomes. If order matters, it's a permutation. If order doesn't matter, it's a combination. Priya picks three frames from a cart of ten for an audit. The number of different groups of three is ten times nine times eight, divided by three times two times one: one hundred twenty combinations. But if the three frames get three different tests, so order matters, there are seven hundred twenty permutations. Every group of three can be lined up six ways!

Last idea: the central limit theorem. Take samples, and average each one. Even when single values aren't bell shaped, those averages pile up into a bell shaped normal curve as the sample size grows. And the averages vary less: the spread of the averages equals the spread of single values, divided by the square root of the sample size. Slat thickness has a standard deviation of about zero point two millimeters. Averages of four slats vary by only zero point two divided by two, zero point one millimeters. That's why control charts on averages and confidence intervals work so well!

Worked example: four legs

Now, let's fix Dwayne's math. Each leg has a ninety eight percent chance of being the right length, and the four legs are cut separately, so treat them as independent. The chance all four are right is zero point nine eight times itself four times: zero point nine two two. So about ninety two percent of chairs have four good legs, not ninety eight! The complement, about seven point eight percent, have at least one bad leg. At eighteen hundred Harbor chairs a week, that's about one hundred forty chairs that could wobble!

Dwayne whistles. That's a lot of chairs! So Lou rebuilds the saw stop, and the leg rate climbs to ninety nine point five percent. Zero point nine nine five to the fourth power is about zero point nine eight. Now about two percent of chairs have a bad leg, roughly thirty six a week instead of one hundred forty. A small gain on each leg became a big gain on each chair. That's the multiplication rule at work!

Common mistakes

A few common mistakes. One: adding probabilities that overlap, and counting the overlap twice. Two: multiplying probabilities for events that aren't independent, like parts that share a worn tool or a bad batch. Three: forgetting that probabilities can't go above one or below zero. If you get one point two, something's wrong! Four: mixing up permutations and combinations. And five: trusting gut feel instead of doing the math.

Recap

Let's recap. Probability runs from zero to one, from counting outcomes or from data. The complement is one minus the probability. For or, add, then subtract the overlap. For and with independent events, multiply. Conditional probability is the chance of A given B. Permutations count orders, and combinations count groups. And the central limit theorem says averages become normal, with spread shrinking by the square root of n.

Check yourself

Now, check yourself. Two percent of slats have a crack, and five percent are warped. The two problems are independent. What's the probability that a slat is both cracked and warped? A, zero point oh seven. B, zero point oh oh one. C, zero point one. Or D, zero point oh three. Pause the video if you want to think about it.

The answer is B, zero point oh oh one. Both means and, and for independent events you multiply: zero point oh two times zero point oh five is zero point oh oh one, one slat in a thousand. Answer A adds them, which is how you start an or question, not an and question. C and D don't follow either rule!

Wrap-up

That's probability basics. Questions? Ask Q-Bot right here in the Academy. And here's one for the road: why did the chair hire a statistician? It wanted better odds of standing on its own four legs!

Independent study material; not affiliated with or endorsed by ASQ. Body of Knowledge codes identify where the topic appears in each certification's published outline.