Lawfare Academy · Complete Business Mathematics edition 3

Probability, sequences and decisions with uncertain quantities

This original on-site unit connects counting, repeated quantities and uncertainty to a decision. All data are fictional. Probabilities are supplied assumptions unless expressly described as observations. All required explanations and complete optional models are here. External publisher references are optional, and no exercise changes a learner record.

Define the experiment, population and event

A probability model specifies possible outcomes and their probabilities. Probabilities lie between zero and one, and mutually exclusive, collectively exhaustive outcomes have probabilities summing to one. An event is a set of outcomes. “A return occurs” needs a population, follow-up period and return definition. The probability of at least one return per order is different from an expected number of return visits because an order can have several visits.

For equally likely elementary outcomes, an event's probability is its favorable-outcome count divided by the total count. Equal likelihood is an assumption to justify, not a consequence of listing outcomes. A busy and a quiet demand state are not automatically each 50 percent likely. Historical proportions can inform a probability estimate, but a changed process, selective reporting or small sample can limit its relevance. State whether a number is stipulated, estimated or measured, and keep its uncertainty visible.

Complements, overlap and conditional information

The complement rule is P(not A)=1−P(A). The union rule P(A or B)=P(A)+P(B)−P(A and B) subtracts overlap counted twice. Mutually exclusive events have zero overlap. Independent events instead satisfy P(A and B)=P(A)P(B). Nontrivial mutually exclusive events are not independent: learning that one occurred rules out the other.

Conditional probability P(A|B)=P(A and B)/P(B) requires P(B)>0. It changes the reference population to the B cases. The multiplication rule P(A and B)=P(B)P(A|B) is valid without independence. Independence is the special case where learning B does not change A's probability. A common supplier outage can make two deliveries dependent even when their individual on-time rates are known. Multiplying their marginal rates without assessing that relationship can misstate a deadline risk.

For an exhaustive partition B₁,…,Bₖ, total probability is P(A)=ΣP(A|Bᵢ)P(Bᵢ). Bayes' rule reverses a conditioning direction: P(Bᵢ|A)=P(A|Bᵢ)P(Bᵢ)/P(A). A high probability of a positive flag among defective items is not the probability of a defect given a positive flag. The base rate and false-positive process both matter. Use a frequency table with a common hypothetical population to check which cases belong in the denominator.

Counting ordered and unordered choices

If a process offers a choices at its first stage and b at its next for every first-stage choice, it has ab possible ordered paths. If available choices vary by branch, count each branch and add; blindly multiplying one branch's count can overstate possibilities. The factorial n!=n(n−1)…1 counts permutations of n distinct objects, with 0!=1. Choosing an ordered list of k distinct objects without replacement from n gives n!/(n−k)!. When order does not matter, each group has k! orderings, so the number of groups is C(n,k)=n!/[k!(n−k)!].

Selecting two inspectors from five people gives C(5,2)=10 unordered pairs. Assigning distinct lead and assistant roles gives 5×4=20 ordered assignments. These are different experiments. When sampling items without replacement, the second selection's composition depends on the first. In a batch of eight items with two defective, choosing two gives C(8,2)=28 unordered samples and C(6,2)=15 all-good samples, so the probability of at least one defect is 1−15/28=13/28. This is not the same as treating each selection as independent with unchanged composition.

Sequences make the index part of the definition

A sequence assigns a value to each index. Specify whether the first index is zero or one and what a period means. An arithmetic sequence has constant difference d: aₙ=a₁+(n−1)d. A geometric sequence has constant ratio r: aₙ=a₁r^(n−1). Recurrences such as aₙ₊₁=aₙ+d or aₙ₊₁=raₙ specify the next value from the current one and an initial condition. Confusing the index convention introduces an extra period or omits a payment.

A series sums sequence terms. For an arithmetic sequence, Sₙ=n(a₁+aₙ)/2 because pairing the first and last terms gives the same pair total throughout. For a geometric sequence, Sₙ=a₁(1−rⁿ)/(1−r) for r≠1; when r=1, Sₙ=na₁. Multiplying the sum by r and subtracting it from the original explains the geometric formula. Sigma notation Σ from k=0 to n−1 of a₀rᵏ expresses the same indexing explicitly. The compounding unit's deposit formulas are geometric sums with distinct payment dates.

An infinite geometric series converges to a₁/(1−r) only when |r|<1. A positive-ratio growth sequence with r>1 does not have a finite infinite sum. A discounted perpetuity formula requires a constant payment and a positive discount rate so its discount factors form a convergent series; it is not evidence that a real stream continues forever. If payments or survival are uncertain, their model needs those additional assumptions. A formal summation rule does not create them.

The binomial theorem and repeated Bernoulli trials

The binomial theorem is (a+b)ⁿ=Σ from k=0 to n of C(n,k)a^(n−k)bᵏ for nonnegative integer n. The coefficient counts the ways to choose which k factors contribute b when expanding the n products. For n=3 this gives a³+3a²b+3ab²+b³. The algebraic identity applies without any probability interpretation.

For n independent trials, each with the same success probability p and only success/failure outcomes, the number X of successes has binomial probability P(X=k)=C(n,k)pᵏ(1−p)^(n−k). Here the coefficients count the different arrangements of k successes. The assumptions of independence, constant probability and fixed n are substantive. Without-replacement sampling from a small finite batch, adaptive interventions or a shared shock can violate them. A formula that returns a number is not proof that the experiment is binomial.

If each of five deliveries independently succeeds with probability 0.95, the probability all succeed is 0.95⁵≈0.773781 and the probability at least one fails is about 0.226219. This differs from multiplying five times a 5 percent failure rate because failure events can overlap. If one common outage makes all five fail together with probability 0.05 and all succeed otherwise, the marginal success rate is still 0.95 for each, but the probability of at least one failure is 0.05. The dependence assumption changes the joint risk.

Expected values are weighted averages, not promises

For a discrete quantity X with outcomes xᵢ and probabilities pᵢ, expected value E[X]=Σpᵢxᵢ when the expectation exists. The result need not be a possible single outcome. A 20 percent chance of losing $100 and otherwise losing nothing has expected loss $20; no individual outcome here is a $20 bill. A repeated-use interpretation requires attention to the process and exposure rather than calling an average a guarantee.

Expectation is linear: E[X+Y]=E[X]+E[Y] even when X and Y are dependent, when the expectations exist. Independence is not needed for adding expected losses. It generally is needed to multiply marginal expectations as if E[XY]=E[X]E[Y]. Variance E[(X−E[X])²] measures dispersion in squared units; standard deviation is its square root in the original units. For independent binomial trials, E[X]=np and Var(X)=np(1−p). Common shocks can change aggregate variance and tail risk without changing marginal expected totals.

A decision can have the highest expected value and still violate a loss limit or liquidity constraint. Compare the full outcome table, worst feasible shortfall and timing along with the mean. A decision maker's willingness to bear risk is not identified by an expected-profit formula. Do not infer a risk preference or choose on someone's behalf from a single average.

Decision trees and the value of information

A decision tree distinguishes actions from uncertain branches. Probabilities at each chance node are conditional on reaching it and sum to one there. Calculate a branch's net consequences, including observation costs and timing, then take its conditional expected value. At a later decision node, choose among actions available with the information then known. A model that selects an action using a future outcome unavailable at the decision date overstates what the policy could achieve.

The value of perfect information compares the expected payoff when the state is known before acting with the best expected payoff without that information. It is an upper bound on the value of a realistically imperfect signal under the same action set and payoff definitions, before information costs. A test with false positives and false negatives needs its actual conditional probabilities and posterior decisions. Better predictions are not automatically worth any price; the signal must be capable of changing a consequential action.

Worked investigation 1: a quality flag and its base rate

In a fictional batch model, 2 percent of items are defective. A test flags 90 percent of defective items and 10 percent of nondefective items. In a hypothetical 10,000-item population, 200 are defective and 180 of those are flagged; 9,800 are nondefective and 980 are flagged. Of 1,160 flagged items, 180 are defective, so P(defect|flag)=180/1160=9/58≈15.5172 percent. The 90 percent sensitivity describes the opposite conditioning direction. Most positive flags in this low-prevalence case are not defects.

Optional practice 1: the process changes

The defect base rate rises to 20 percent while sensitivity and the nondefective flag rate stay unchanged. Recalculate the posterior and explain what assumption would need checking before transferring those test rates.

Model reasoning

Among 10,000 hypothetical items, 2,000 are defective and 1,800 flagged; 8,000 are nondefective and 800 flagged. The posterior is 1800/2600=9/13≈69.2308 percent. The same nominal test produces a different positive-flag interpretation because the base rate changed. Verify that sensitivity and false-positive behavior remain applicable to the changed production mix, defect types and testing conditions; do not assume that an altered process affects only prevalence.

Worked investigation 2: choose an inventory quantity from a payoff table

A fictional product sells for $50, costs $30 per unit ordered and has $10 salvage per unsold unit. Demand is 10, 20 or 30 with probabilities 0.2, 0.5 and 0.3. Orders are restricted to 10, 20 or 30, with no shortage penalty beyond lost sales. At order 10, every demand state sells all units and profit is $200. At order 20, profits are $0, $400 and $400: the low-demand state sells ten, salvages ten and pays for twenty. Expected profit is 0.2×0+0.5×400+0.3×400=$320. At order 30, profits are −$200, $200 and $600, giving expected profit −40+100+180=$240. Of the supplied alternatives, order 20 has the highest expected profit.

Optional practice 2: a changed demand distribution

The probabilities of demands 10, 20 and 30 become 0.1, 0.3 and 0.6. Recalculate the preferred expected-profit alternative and describe the remaining downside rather than reporting only the winning average.

Model reasoning

Order 10 still gives $200 in every state. Order 20 gives expected profit 0.1×0+0.9×400=$360. Order 30 gives −20+60+360=$400, the largest of these expectations. It also retains a 10 percent chance of a $200 loss under the supplied distribution. The change makes order 30 the expected-profit choice, but not automatically an acceptable choice under a strict no-loss or funding constraint. Estimation uncertainty and whether the three order alternatives exhaust practical choices remain separate questions.

Worked investigation 3: perfect information as a bound

Under the original inventory probabilities, if demand were known before ordering, the best matched quantities 10, 20 and 30 would earn $200, $400 and $600 respectively. Their expected profit is 0.2×200+0.5×400+0.3×600=$420. Without information, the best modeled expectation is $320, so perfect information is worth at most $100 before its cost in this model. Paying $120 for a forecast cannot be justified by expected profit even if it were perfect under these same payoffs and choices. An imperfect forecast requires its own signal model and cannot simply be valued at $100.

Optional practice 3: independence is withdrawn

Five hypothetical orders each have a 5 percent chance of a $100 loss. Can you still add their expected losses if a common event makes them dependent? Can you still use the binomial formula for their loss count?

Model reasoning

The expected total loss remains five times 0.05×100=$25 because expectation is additive. The binomial loss-count formula is not justified after independence is withdrawn. If all orders fail together with probability 0.05 and none fail otherwise, total loss is $500 or $0, still averaging $25 but with a very different distribution from independent failures. A funding or maximum-loss constraint must consider that joint distribution rather than the unchanged mean alone.

Optional integrated probability audit

A fictional memo says: “Two inspectors chosen from five create 20 possible teams. A workload starting at 12 and increasing by 3 each week totals 75 over four weeks. Three independent trials with success probability 0.8 have probability 0.8³ of exactly two successes. A risky choice pays $4,000 with probability 0.6 and loses $5,000 otherwise, so its $400 expected value makes it preferable to a certain $500.” Correct every statement and identify the missing decision constraints.

Complete model

Unordered two-person teams number C(5,2)=10; twenty would count distinct lead/assistant roles. The four weekly workloads are 12,15,18,21, totaling 66. The sequence needs a clearly stated first week; silently inserting a fifth period changes the question. Exactly two successes in three independent constant-probability trials has probability C(3,2)(0.8)²(0.2)=0.384. The value 0.8³=0.512 is the probability of three successes. The risky choice has expectation 0.6×4000+0.4×(−5000)=$400, below the certain $500, so the stated expected-value comparison favors the certain alternative. Its loss state, liquidity needs, admissibility and the reliability of the supplied probabilities would still matter even if the risky expectation were larger. Do not describe an expected $400 as a guaranteed receipt.

Explicit optional rubric: 20 points

Optional source summary

OpenStax's probability section introduces sample spaces, probability models, complements, unions and counting-based calculations. It is optional further reading. The sequences, conditional tables, inventory decisions and complete changed-fact models needed here are supplied on site.