【二項分佈(DSE M1)】The Binomial Distribution (DSE M1)

SketchMath 數學團隊 SketchMath Maths Team | 更新 Updated 2026-10-20

若試驗有 n 次獨立的試行,每次成功的概率同為 p,則成功次數 X 服從二項分佈 X ~ B(n, p),其中 P(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ、E(X) = np 及 Var(X) = np(1 − p)。If an experiment has n independent trials, each a success with the same probability p, the number of successes X follows a binomial distribution, X ~ B(n, p), with P(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ, E(X) = np and Var(X) = np(1 − p).

用 AI 逐步解二項分佈題目 Solve it with AI

原創練習、提示、詳解與免費 PDF / Original exercises, hints, solutions & free PDF →

DSE 數學 AI 導師 · DSE Math AI Tutor

p 由 0.1 變到 0.9 時的 B(6, p)。當 p = 0.3,最高的棒位於 k = 2,高度為例題 1 的 0.3241。 B(6, p) as p moves from 0.1 to 0.9. At p = 0.3 the tallest bar is at k = 2, with height 0.3241 as in Example 1. 自己試試 → Try it yourself →

二項分佈公式 Binomial Distribution Formulas

概率ProbabilityP(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ, k = 0, 1, …, n
平均值MeanE(X) = np
方差VarianceVar(X) = np(1 − p)
「最少一次」"At least one"P(X ≥ 1) = 1 − (1 − p)ⁿ
↑ 返回頁頂 Back to top

甚麼情況屬於二項分佈?四個條件 When Is a Distribution Binomial? The Four Conditions

  • 試行次數 n 固定,且每次相同。
  • 每次試行只有兩種結果:成功或失敗。
  • 每次成功的概率 p 相同。
  • 各次試行互相獨立。

寫 X ~ B(n, p) 之前應先檢查這四點。在小群體中不放回地抽取,並不符合第三及第四個條件。

  • A fixed number n of identical trials.
  • Each trial has only two outcomes: success or failure.
  • The probability of success p is the same in every trial.
  • The trials are independent.

Check all four before writing X ~ B(n, p). Drawing without replacement from a small group fails the third and fourth conditions.

↑ 返回頁頂 Back to top

二項分佈例題詳解 Worked Examples

例題 1 Example 1:恰好 k 次成功 Exactly k successes

一枚不公平硬幣擲得正面的概率為 0.3。把它擲 6 次,求恰好擲得 2 次正面的概率,以及正面次數的平均值和方差。A biased coin shows heads with probability 0.3. It is tossed 6 times. Find the probability of getting exactly 2 heads, and the mean and variance of the number of heads.

  1. 設 X 為正面的次數:X ~ B(6, 0.3)Let X be the number of heads: X ~ B(6, 0.3)
  2. P(X = 2) = C(6, 2)(0.3)²(0.7)⁴ = 15 × 0.09 × 0.2401
  3. = 0.3241
  4. E(X) = 6 × 0.3 = 1.8, Var(X) = 6 × 0.3 × 0.7 = 1.26

答案: Answer: P(X = 2) = 0.3241, E(X) = 1.8, Var(X) = 1.26

例題 2 Example 2:最少一次成功 At least one success

對同一枚硬幣,求擲 6 次時最少擲得一次正面的概率。For the same coin, find the probability of getting at least one head in 6 tosses.

  1. P(X ≥ 1) = 1 − P(X = 0)
  2. = 1 − (0.7)⁶ = 1 − 0.117649
  3. = 0.8824

答案: Answer: 0.8824

↑ 返回頁頂 Back to top

💡 應試陷阱與秘訣 Exam Traps & Secrets

⚠️ 「最少」、「最多」、「多於」 "At least", "at most", "more than"「最少 2 次」是 X ≥ 2;「多於 2 次」是 X ≥ 3;「最多 2 次」是 X ≤ 2。「最少」的題目通常用補事件較快:1 − P(X = 0) − P(X = 1)。"At least 2" is X ≥ 2; "more than 2" is X ≥ 3; "at most 2" is X ≤ 2. For "at least" it is usually quicker to use the complement: 1 − P(X = 0) − P(X = 1).
⚠️ 要寫明分佈 State the distribution計算前應先定義隨機變量,並寫出 X ~ B(n, p)。這既展示了方法,也讓你清楚每一部分所用的 n 和 p。Define the random variable and write X ~ B(n, p) before calculating. It shows the method and makes it obvious to you which n and p each part uses.
↑ 返回頁頂 Back to top

✏️ 自我測試:互動練習 Self-Test: Interactive Practice

溫習方法:點擊以下任何題目,即時在坐標網格載入並核對計算步驟。How to study: click any question to load it on the coordinate grid and check your steps.

(二項概率 Binomial probability)X ~ B(8, 0.4)。求 P(X = 3) 及 P(X ≤ 1),並以棒形圖顯示該分佈。X ~ B(8, 0.4). Find P(X = 3) and P(X ≤ 1), and show the distribution as a bar chart.
(最少 At least)一份選擇題測驗有 10 題,每題 4 個選項。求隨意猜答而最少答對 3 題的概率。A multiple-choice test has 10 questions with 4 options each. Find the probability of guessing at least 3 correctly.
(平均值及方差 Mean and variance)X ~ B(n, 0.2) 且 E(X) = 4。求 n 及 Var(X)。X ~ B(n, 0.2) and E(X) = 4. Find n and Var(X).
↑ 返回頁頂 Back to top

常見問題 Frequently Asked Questions

↑ 返回頁頂 Back to top

相關主題 Related Topics

泊松分佈 The Poisson Distribution二項分佈還是泊松分佈?如何選擇 Binomial or Poisson? Choosing the Distribution離散隨機變量:期望值和方差 Discrete Random Variables: Expectation and VarianceDSE M1 全部課題 DSE M1: all topicsDSE M1 公式表 DSE M1 formula sheetM1 與 M2 的分別 M1 vs M2DSE M2 筆記 DSE M2 notesHKDSE 數學全部課題 HKDSE Math: all topics
二項分佈 DSE 練習題 Try a DSE Practice Question