📘 Theo chương trình GDPT 2018 · bộ sách dùng chung toàn quốc Kết nối tri thức với cuộc sống (từ năm học 2026–2027)📘 Vietnam 2018 curriculum · national textbook series Kết nối tri thức với cuộc sống (from 2026–2027)
Vận dụng công thức xác suất toàn phần
Vận dụng công thức Bayes để “suy ngược” nguyên nhân
Use the law of total probability
Use Bayes’ theorem to reason backwards to causes
Xác suất toàn phần: $P(A) = P(B) \cdot P(A \mid B) + P(\overline B) \cdot P(A \mid \overline B)$.
Công thức Bayes: $$P(B \mid A) = \frac{P(B) \cdot P(A \mid B)}{P(A)}$$
Ví dụ: máy I sản xuất 60% sản phẩm (tỉ lệ lỗi 2%), máy II sản xuất 40% (tỉ lệ lỗi 5%). Tỉ lệ lỗi chung $P(L) = 0{,}6 \cdot 0{,}02 + 0{,}4 \cdot 0{,}05 = 0{,}032$. Một sản phẩm lỗi, xác suất nó do máy II làm: $\frac{0{,}02}{0{,}032} = 0{,}625$.
Ứng dụng: xét nghiệm y tế, lọc thư rác, trí tuệ nhân tạo đều dựa trên công thức Bayes.
Total probability: $P(A) = P(B) \cdot P(A \mid B) + P(\overline B) \cdot P(A \mid \overline B)$.
Example: machine I makes 60% of the products (2% faulty) and machine II makes 40% (5% faulty). The overall fault rate is $P(F) = 0.6 \cdot 0.02 + 0.4 \cdot 0.05 = 0.032$. Given a faulty product, the probability it came from machine II is $\frac{0.02}{0.032} = 0.625$.
Applications: medical tests, spam filters and artificial intelligence all rely on Bayes’ theorem.
Sơ đồ cây: P(lỗi) = 0,6·0,02 + 0,4·0,05 = 0,032.
✍️ Luyện tập
Với ví dụ trong bài, tỉ lệ sản phẩm lỗi chung là (số thập phân):In the lesson’s example, what is the overall fault rate (as a decimal)?
$0{,}012 + 0{,}02$.$0.012 + 0.02$.
Với ví dụ trong bài, một sản phẩm bị lỗi. Xác suất nó do máy II sản xuất là (số thập phân):In the lesson’s example, a product is faulty. What is the probability it came from machine II (as a decimal)?
$\frac{0{,}02}{0{,}032}$.$\frac{0.02}{0.032}$.
Hộp I có 2 đỏ 3 xanh, hộp II có 4 đỏ 1 xanh. Chọn ngẫu nhiên một hộp rồi lấy 1 viên. Xác suất được bi đỏ là (số thập phân):Box I has 2 red and 3 blue; box II has 4 red and 1 blue. A box is chosen at random and one marble drawn. What is the probability of red (as a decimal)?
Với dữ kiện câu trên, biết đã lấy được bi đỏ. Xác suất bi đó từ hộp II là (phân số tối giản):With the same data, given that the marble is red, what is the probability it came from box II (in simplest form)?
$\frac{0{,}4}{0{,}6}$.$\frac{0.4}{0.6}$.
Công thức Bayes dùng để:Bayes’ theorem is used to:
“Suy ngược” từ kết quả về nguyên nhân.Reason backwards from the result to the cause.
Máy I làm 60% sản phẩm (lỗi 2%), máy II làm 40% (lỗi 5%). Xác suất một sản phẩm bị lỗi:Machine I makes 60% of products (2% faulty), machine II makes 40% (5% faulty). The probability a product is faulty:
Cùng bài trên, biết sản phẩm lỗi, xác suất nó do máy II làm:Same problem: given a faulty product, the probability it came from machine II:
$\frac{0{,}02}{0{,}032}$.$\frac{0.02}{0.032}$.
Công thức xác suất toàn phần với $B, \bar{B}$: $P(A) = ?$The law of total probability with $B, \bar{B}$: $P(A) = ?$
Phân hoạch theo B.Split according to B.
Hộp I có 3 đỏ 2 xanh, hộp II có 1 đỏ 4 xanh. Chọn ngẫu nhiên một hộp rồi lấy 1 bi. Xác suất được bi đỏ:Box I has 3 red and 2 blue; box II has 1 red and 4 blue. A box is chosen at random and one marble drawn. The probability of red:
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!