Discrete Mathematics and Probability FoundationsIntroductionBusiness analytics depends on disciplined reasoning about possibilities, uncertainty, and evidence. Discrete mathematics provides the language for counting outcomes, arranging resources, and describing logical structures. Probability provides a framework for measuring uncertainty and updating beliefs when new information becomes available. Together, these foundations support applications such as fraud detection, quality control, customer segmentation, inventory planning, credit risk, service operations, and marketing experimentation. A business analyst rarely needs probability merely to calculate a number. The more important task is to define the relevant population, identify assumptions, distinguish association from causation, and communicate what a calculated probability means for a decision. This chapter develops those capabilities through counting principles, probability rules, conditional probability, Bayes’ theorem, random variables, and expected value. Learning ObjectivesBy the end of this chapter, you should be able to: - Apply the multiplication and addition principles of counting.
- Distinguish permutations from combinations and select the appropriate formula.
- Define sample spaces, events, probability, complements, unions, and intersections.
- Calculate probabilities using addition, multiplication, conditional probability, and independence rules.
- Apply Bayes’ theorem to diagnostic, customer, quality, and risk problems.
- Construct and interpret discrete random variables and probability distributions.
- Calculate expected value and use it in operational and financial decisions.
- Recognize modeling assumptions, data limitations, and ethical risks in probabilistic analysis.
1. Discrete Structures and CountingA discrete variable takes separate, countable values. Examples include the number of defective items in a batch, the number of customers arriving in an hour, or the number of products selected for inspection. Counting methods allow analysts to determine how many possible outcomes exist without listing every outcome individually. 1.1 The multiplication principleIf a process consists of several successive stages, and stage 1 can occur in n1 ways, stage 2 in n2 ways, and so on, then the total number of outcomes is: N = n1 × n2 × ⋯ × nk Here, N is the total number of outcomes and ni is the number of choices at stage i. The principle applies when every complete outcome is formed by selecting one option at each stage. Example. A retailer creates a product code with two letters followed by three digits. Repetition is allowed. There are 26 choices for each letter and 10 choices for each digit: N = 26 × 26 × 10 × 10 × 10 = 676,000 If digits cannot repeat, the calculation becomes 26 × 26 × 10 × 9 × 8 = 486,720, assuming the letters may still repeat. 1.2 The addition principleIf an outcome can be produced by one of several mutually exclusive alternatives, the total number of outcomes is the sum of the alternatives: N = n1 + n2 + ⋯ + nk For example, if a service request may be submitted through four web channels or two telephone channels, and these categories do not overlap, there are six possible submission channels. If alternatives overlap, simple addition double-counts shared outcomes; the inclusion–exclusion rule is then required. For two events or sets A and B: |A ∪ B| = |A| + |B| − |A ∩ B| The term A ∩ B removes outcomes counted twice. 1.3 Factorials, permutations, and combinationsThe factorial of a non-negative integer n is: n! = n × (n − 1) × ⋯ × 2 × 1 with 0! = 1. A permutation is an arrangement in which order matters. The number of ways to arrange r distinct objects selected from n objects is: P(n,r) = n! ÷ (n − r)! A combination is a selection in which order does not matter: C(n,r) = n! ÷ [r!(n − r)!] The combination formula assumes that the objects are distinct, exactly r objects are selected, and selection order is irrelevant. Example. A company has eight qualified analysts and must appoint a chair, deputy chair, and secretary. Because the roles differ, order matters: P(8,3) = 8! ÷ 5! = 8 × 7 × 6 = 336 If the company instead selects three analysts for an undifferentiated review panel, order does not matter: C(8,3) = 8! ÷ (3!5!) = 56 A common error is to use permutations when selecting a committee. The correct question is not whether people are listed in a particular order, but whether changing their positions creates a different outcome. 2. Probability ModelsA probability model consists of a sample space and a rule assigning probabilities to outcomes or events. - The sample space, S, is the set of all possible outcomes.
- An event, such as A, is a subset of the sample space.
- P(A) is the probability that event A occurs.
A valid probability model satisfies: 0 ≤ P(A) ≤ 1 and, for the entire sample space: P(S) = 1 If A1, A2, … are mutually exclusive events that collectively cover the sample space, then: P(A1) + P(A2) + ⋯ = 1 2.1 Empirical, classical, and subjective probabilityClassical probability assigns equal probabilities when outcomes are symmetric, as in a fair die. Empirical probability estimates probability from observed data, such as the proportion of invoices historically paid late. Subjective probability reflects informed judgment, often used when data are sparse, such as estimating the probability of a new competitor entering a market. In business analytics, empirical probabilities are common, but they are not automatically objective. Sampling bias, changing conditions, missing data, and inconsistent definitions can distort them. 2.2 Complementary eventsThe complement of A, written Ac, means that A does not occur: P(Ac) = 1 − P(A) This is especially useful when the event “at least one” is difficult to calculate directly. If five independent components each have probability 0.02 of failing, the probability that at least one fails is: P(at least one failure) = 1 − P(no failures) = 1 − (0.98)5 ≈ 0.0961 Thus, the probability is approximately 9.61%, under the independence assumption. 2.3 Union and intersectionThe union A ∪ B means that A, B, or both occur. The intersection A ∩ B means both occur. The general addition rule is: P(A ∪ B) = P(A) + P(B) − P(A ∩ B) If A and B are mutually exclusive, then P(A ∩ B) = 0, so: P(A ∪ B) = P(A) + P(B) Mutual exclusivity is stronger than merely being different events. A customer may both purchase online and use a discount code; these events are not mutually exclusive. 3. Conditional Probability and IndependenceConditional probability measures the probability of one event given that another event is known to have occurred: P(A | B) = P(A ∩ B) ÷ P(B), provided P(B) > 0 The notation P(A|B) is read “the probability of A given B.” The condition changes the relevant reference population from the entire sample space to event B. Rearranging gives the multiplication rule: P(A ∩ B) = P(A | B)P(B) Equivalently: P(A ∩ B) = P(B | A)P(A) 3.1 IndependenceEvents A and B are independent if knowing that one occurred does not change the probability of the other: P(A | B) = P(A) when P(B) > 0. Equivalent forms include: P(A ∩ B) = P(A)P(B) Independence must be justified, not assumed merely because events describe different variables. For example, two customers’ purchases may be approximately independent in a large market, but purchases made by members of the same household may be related. 3.2 Worked example: quality inspectionSuppose 4% of products are defective. An inspection correctly identifies a defective product 95% of the time. It incorrectly flags a non-defective product 3% of the time. Let D denote defectiveness and F denote a failed inspection. The available information is: - P(D) = 0.04
- P(F|D) = 0.95
- P(F|Dc) = 0.03
The probability that a product fails inspection is: P(F) = P(F|D)P(D) + P(F|Dc)P(Dc) = (0.95)(0.04) + (0.03)(0.96) = 0.0668 Therefore, 6.68% of products are expected to fail inspection. Notice that this is not the same as the probability that a failed product is actually defective. 4. Bayes’ TheoremBayes’ theorem reverses a conditional probability. It is derived from the two forms of the multiplication rule: P(A|B)P(B) = P(B|A)P(A) Dividing by P(B) gives: P(A | B) = [P(B | A)P(A)] ÷ P(B) For mutually exclusive and exhaustive hypotheses A1, A2, …, Ak, the denominator can be expanded using the law of total probability: P(B) = ∑i=1k P(B | Ai)P(Ai) Thus: P(Aj | B) = [P(B | Aj)P(Aj)] ÷ [∑i=1k P(B | Ai)P(Ai)] The prior probability P(Aj) represents the probability before observing evidence. The posterior probability P(Aj|B) represents the updated probability after observing evidence. Returning to the inspection example: P(D|F) = (0.95 × 0.04) ÷ 0.0668 ≈ 0.5689 Although 95% of defective products fail inspection, only approximately 56.89% of failed inspections correspond to genuinely defective products. The difference results from the base rate of defects and false positives. 4.1 Bayes’ theorem in managerial decisionsBayesian reasoning is useful when evidence is imperfect. Examples include: - estimating whether a transaction is fraudulent after an alert;
- assessing whether a customer is likely to churn after reduced usage;
- determining whether a machine is failing after a sensor warning;
- revising a sales forecast after new market information;
- evaluating whether a loan applicant belongs to a high-risk category.
The analyst should report both the prior and posterior probabilities where possible. Reporting only the posterior can hide the influence of the base rate and make a model appear more certain than it is. 5. Random Variables and Probability DistributionsA random variable assigns a numerical value to each outcome of a random process. A discrete random variable has a finite or countably infinite set of possible values. Examples include daily returns, claims per customer, and defects per batch. A probability mass function (PMF) gives the probability associated with each possible value: p(x) = P(X = x) A valid PMF satisfies: p(x) ≥ 0 for every possible x, and: ∑x p(x) = 1 A probability distribution should identify the variable, possible values, probabilities, and the context in which the probabilities apply. 5.1 Expected valueThe expected value, or mean, of a discrete random variable X is: E(X) = ∑x xP(X = x) Expected value is a probability-weighted average. It need not be an outcome that can actually occur. For a linear transformation Y = a + bX: E(Y) = a + bE(X) This formula assumes a and b are constants and E(X) exists. 5.2 Variance and standard deviationVariance measures dispersion around the expected value: Var(X) = E[(X − μ)2] = ∑x (x − μ)2P(X = x) where μ = E(X). An equivalent computational form is: Var(X) = E(X2) − [E(X)]2 The standard deviation is: σ = √Var(X) Variance is expressed in squared units, while standard deviation has the same units as X. This makes standard deviation easier to interpret operationally. 5.3 Worked example: expected contributionA firm is considering a service contract. The annual contribution is $20,000 if demand is high, $8,000 if demand is moderate, and a loss of $5,000 if demand is low. Management estimates probabilities of 0.30, 0.50, and 0.20, respectively. The expected contribution is: E(X) = (20,000)(0.30) + (8,000)(0.50) + (−5,000)(0.20) = 6,000 + 4,000 − 1,000 = $9,000 The expected contribution is positive, but this does not guarantee a positive outcome. There is a 20% probability of losing $5,000. A risk-sensitive decision should therefore consider dispersion, cash-flow capacity, strategic value, and the quality of the probability estimates. 6. Counting-Based Probability ModelsCounting methods can calculate probabilities when outcomes are equally likely. If an event A contains nA favorable outcomes out of nS equally likely outcomes, then: P(A) = nA ÷ nS This formula is valid only when all elementary outcomes are equally likely. 6.1 Binomial modelThe binomial model describes the number of successes in n independent trials when each trial has two outcomes and a constant success probability p. The probability of exactly k successes is: P(X = k) = C(n,k)pk(1 − p)^(n−k) where k = 0,1,…,n. Its assumptions are: - A fixed number of trials exists.
- Each trial has success or failure as the relevant outcome.
- Trials are independent, or dependence is negligible.
- The success probability remains constant at p.
Example. If a customer-service agent resolves a call successfully with probability 0.8, and five calls are treated as independent, the probability of exactly four successful resolutions is: P(X = 4) = C(5,4)(0.8)4(0.2)1 = 5 × 0.4096 × 0.2 = 0.4096 The probability is 40.96%. If the calls differ substantially in complexity, the constant-probability assumption may not be appropriate. 7. A Detailed Applied Case: Fraud Alert TriageThis is an illustrative case, not a report of a particular organization. BackgroundA digital payment platform uses an automated rule to flag potentially fraudulent transactions. Fraud is relatively rare, but fraudulent transactions are more likely than legitimate transactions to trigger the rule. ProblemThe platform wants to estimate the probability that a transaction is genuinely fraudulent after it has been flagged. This probability will determine whether transactions are automatically blocked, sent for manual review, or approved. Assume: - 0.5% of transactions are fraudulent: P(F) = 0.005;
- the rule flags 90% of fraudulent transactions: P(A|F) = 0.90;
- the rule flags 2% of legitimate transactions: P(A|Fc) = 0.02.
AnalysisThe probability of an alert is: P(A) = P(A|F)P(F) + P(A|Fc)P(Fc) = (0.90)(0.005) + (0.02)(0.995) = 0.0244 Bayes’ theorem gives: P(F|A) = (0.90 × 0.005) ÷ 0.0244 ≈ 0.1844 Only about 18.44% of alerts are expected to be fraudulent. In a portfolio of 100,000 transactions, approximately 500 are fraudulent, of which 450 are flagged. Of the 99,500 legitimate transactions, approximately 1,990 are incorrectly flagged. Thus, the rule produces about 2,440 alerts, but only 450 are true fraud cases. Approach and decisionThe platform should not automatically reject every alert. A tiered approach may be more appropriate: - high-value alerts receive immediate manual review;
- low-risk alerts may receive step-up authentication;
- repeated or highly unusual behavior may trigger temporary holds;
- approved and rejected outcomes are monitored for model drift.
A cost-sensitive decision can compare the expected costs of false positives, false negatives, and review. For example, excessive false positives can frustrate customers and increase service costs, while false negatives can cause financial loss and regulatory exposure. Outcome and learning pointsThe central learning point is the base-rate effect: a highly sensitive alert does not necessarily produce a high proportion of genuine cases when the underlying event is rare. The organization should monitor precision, recall, customer impact, and subgroup performance rather than relying on a single accuracy measure. 8. Decision Analysis with Expected ValueExpected value supports decisions under uncertainty by weighting each possible payoff by its probability. If action a has outcomes x1, x2, …, xn with probabilities p1, p2, …, pn, its expected monetary value is: EMV(a) = ∑i=1n pi xi If probabilities are mutually exclusive and exhaustive, their sum is 1. When comparing actions, the action with the greatest expected monetary value may be preferred, but only if the decision-maker is approximately risk-neutral and the monetary consequences are measured consistently. Risk-averse decision-makers may prefer a lower expected payoff with less variation. Expected value also ignores the value of flexibility, information, reputation, legal exposure, and strategic learning unless those factors are incorporated into the outcomes. A decision tree can represent sequential decisions: a choice is made, uncertain events occur, and later actions may depend on observed information. Conditional probabilities should be used at later branches when earlier events change the relevant probabilities. 9. Limitations, Governance, and Professional Practice9.1 Model assumptionsProbability calculations are conditional on assumptions. Independence may fail because customers influence one another, suppliers share disruptions, or repeated measurements come from the same process. Historical probabilities may not apply after a policy change, economic shock, or technology redesign. Analysts should document: - the unit of analysis;
- the observation period;
- definitions of events and outcomes;
- data sources and missing-data treatment;
- sampling method;
- independence or stationarity assumptions;
- the consequences of false positives and false negatives.
9.2 Data quality and probability calibrationA probability estimate should be calibrated: among cases assigned probability close to 0.7, approximately 70% should experience the event over a suitable evaluation period. Calibration differs from discrimination. A model may rank high-risk cases correctly but produce probabilities that are systematically too high or too low. Probabilities should be recalculated or monitored when process conditions change. This is particularly important in fraud, credit, demand, and quality applications, where adversarial behavior or market conditions can cause drift. 9.3 Fairness and ethical useRisk scores can reproduce historical inequities if the training data reflect unequal access, biased enforcement, or inconsistent measurement. A probability is not a moral judgment and should not be treated as proof about an individual. High-impact decisions should include human oversight, explanations appropriate to the context, appeal mechanisms, access controls, and audit trails. Organizations should follow applicable privacy, consumer-protection, financial, employment, and sector-specific rules. Sensitive attributes should be handled lawfully and carefully. Removing a sensitive variable does not necessarily remove discrimination because correlated variables may act as proxies. 9.4 Technology and AIModern analytics systems calculate probabilities through statistical and machine-learning models. The mathematical foundations remain the same: define events, estimate probabilities, evaluate conditional relationships, and assess consequences. Automated systems can process large data volumes, but they do not eliminate the need for judgment. Analysts must validate data pipelines, test model performance across relevant groups, monitor drift, and communicate uncertainty rather than presenting model output as certainty. Best Practices for Business Analysts- Define the event in operational terms before calculating its probability.
- Use a sample space that includes all relevant outcomes.
- Check whether alternatives are mutually exclusive and exhaustive.
- Distinguish P(A|B) from P(B|A); they are generally different.
- Use combinations when order is irrelevant and permutations when order matters.
- State independence assumptions explicitly.
- Check that a PMF sums to 1 and that all probabilities lie between 0 and 1.
- Report base rates alongside diagnostic or classification performance.
- Interpret expected value together with variability and downside risk.
- Validate probabilities against later outcomes and document limitations.
Chapter SummaryDiscrete mathematics helps business analysts count possible codes, assignments, samples, arrangements, and decision outcomes. The multiplication principle applies to successive choices, while the addition principle applies to mutually exclusive alternatives. Permutations count ordered selections; combinations count unordered selections. Probability models consist of sample spaces and events. Complements, unions, intersections, and conditional probabilities provide the basic rules for combining evidence. Independence permits multiplication of probabilities, but it must be justified rather than assumed. Bayes’ theorem updates prior beliefs using new evidence and is especially important when events are rare, because base rates strongly affect posterior probabilities. Random variables assign numerical values to uncertain outcomes. A discrete probability mass function must contain non-negative probabilities that sum to one. Expected value provides a probability-weighted average, while variance and standard deviation describe uncertainty around that average. These tools support decisions in fraud detection, quality management, customer analytics, and operations, but conclusions depend on data quality, model assumptions, changing conditions, ethical governance, and appropriate communication of uncertainty. Key TermsSample space: The set of all possible outcomes of a random process. Event: A subset of outcomes to which a probability is assigned. Factorial: The product of all positive integers up to a specified non-negative integer. Permutation: An ordered arrangement or selection of distinct objects. Combination: An unordered selection of distinct objects. Complement: The event that a specified event does not occur. Union: The event that at least one of two or more events occurs. Intersection: The event that two or more events occur together. Conditional probability: The probability of an event given that another event has occurred. Independence: A condition in which knowledge of one event does not change the probability of another. Bayes’ theorem: A rule for updating a conditional probability using prior probability and evidence. Prior probability: Probability assigned before new evidence is observed. Posterior probability: Updated probability after evidence is observed. Random variable: A numerical assignment to outcomes of a random process. Probability mass function: A function assigning probabilities to values of a discrete random variable. Expected value: The probability-weighted average of a random variable. Variance: The expected squared deviation from the mean. Standard deviation: The positive square root of variance. Base-rate effect: The influence of the underlying frequency of an event on conditional conclusions. Expected monetary value: The probability-weighted average financial outcome of an action. Review QuestionsShort Answer Questions- Explain the difference between a permutation and a combination.
- What is the meaning of P(A|B)?
- State the multiplication rule for two events.
- What conditions must a discrete probability mass function satisfy?
- Why can a high-accuracy fraud rule still produce many false positives?
Long Answer Questions- Explain the addition principle, multiplication principle, inclusion–exclusion rule, permutations, and combinations, giving one business example of each.
- Derive Bayes’ theorem from the multiplication rule and explain the meaning of prior and posterior probability.
- Describe the assumptions of the binomial model and discuss how violation of each assumption could affect a business analysis.
- Explain expected value, variance, and standard deviation, and discuss why expected value alone may be insufficient for an investment decision.
- Discuss the ethical and governance issues involved in using probability-based risk scores for customers.
Analytical / Application Questions- A company has 10 applicants and must select four for a committee. Calculate the number of possible committees and the number of ways to assign a chair, deputy chair, and secretary from the 10 applicants.
- In a quality process, 3% of items are defective. A test detects 92% of defective items and falsely flags 4% of non-defective items. Calculate the probability that a flagged item is defective and interpret the result.
- A project produces a gain of $50,000 with probability 0.4, a gain of $10,000 with probability 0.35, and a loss of $20,000 with probability 0.25. Calculate its expected monetary value and explain at least two additional factors management should consider before proceeding.
Multiple Choice Questions with AnswersQuestion 1A company selects 3 analysts from 8 qualified analysts for an undifferentiated panel. How many selections are possible? A. 24 B. 56 C. 336 D. 512 Correct Answer: B. 56 Question 2If P(A) = 0.30, what is P(Aᶜ)? A. 0.03 B. 0.30 C. 0.70 D. 1.30 Correct Answer: C. 0.70 Question 3Which expression represents the general addition rule? A. P(A ∪ B) = P(A) + P(B) B. P(A ∪ B) = P(A)P(B) C. P(A ∪ B) = P(A) + P(B) − P(A ∩ B) D. P(A ∪ B) = P(A|B) ÷ P(B) Correct Answer: C. P(A ∪ B) = P(A) + P(B) − P(A ∩ B) Question 4If two events are independent, which relationship must hold? A. P(A ∩ B) = P(A) + P(B) B. P(A ∩ B) = P(A)P(B) C. P(A|B) = 0 D. P(A ∪ B) = 0 Correct Answer: B. P(A ∩ B) = P(A)P(B) Question 5A test has P(D) = 0.04, P(F|D) = 0.95, and P(F|Dᶜ) = 0.03. What is approximately P(D|F)? A. 4.00% B. 6.68% C. 30.00% D. 56.89% Correct Answer: D. 56.89% Question 6Which condition is required for the binomial model? A. The success probability changes on every trial B. There must be at least three outcomes per trial C. The number of trials is fixed D. All outcomes must have equal probability Correct Answer: C. The number of trials is fixed Question 7A discrete random variable takes values 0 and 10 with probabilities 0.7 and 0.3. What is its expected value? A. 0.3 B. 3 C. 7 D. 10 Correct Answer: B. 3 Question 8What does the posterior probability represent in Bayesian analysis? A. The probability before evidence is observed B. The probability of the sample space C. The probability updated after evidence is observed D. The number of favorable outcomes Correct Answer: C. The probability updated after evidence is observed Question 9For five independent components, each with failure probability 0.02, which expression gives the probability that at least one fails? A. (0.02)^5 B. 1 − (0.98)^5 C. 5 × 0.02 D. (0.98)^5 Correct Answer: B. 1 − (0.98)^5 Question 10Which statement about expected monetary value is most accurate? A. It guarantees the outcome that will occur B. It is a probability-weighted average of possible outcomes C. It measures only the worst possible loss D. It is valid only when all outcomes are equally likely Correct Answer: B. It is a probability-weighted average of possible outcomes
|