Use Sophia to knock out your gen-ed requirements quickly and affordably. Learn more
×

General Multiplication Rule

Author: Sophia

what's covered
In this lesson, you will learn how to distinguish the difference between independent and dependent events and how this difference affects how the probabilities of joint events are computed. Specifically, this lesson will cover:

Table of Contents

1. Dependent Events

From a previous tutorial, you learned that independent events are two or more events in which the occurrence of one event does not affect the probability of the other event happening. In contrast, dependent events do rely on each other. For dependent events, the occurrence of one event influences the probability of another event. Some examples that distinguish between independent and dependent events are given below.

Independent events:

  • Owning a dog and growing your own herb garden.
  • Paying off your mortgage early and owning a Chevy Cavalier.
  • Winning the lottery and running out of milk.
Dependent events:

  • Robbing a bank and going to jail.
  • Not paying your power bill on time and having your power cut off.
  • Boarding a plane and finding a good seat.
term to know
Dependent Events
Two or more events in which one event affects the probability of the other happening.


2. Using Probabilities to Determine Independent vs. Dependent Events

In a business context, many events are dependent. You can use probabilities to determine probabilistic independence or dependency of events.

If events A and B are independent, then knowing that B has occurred does not change the likelihood of A happening. In other words, the probability of A given B is the same as the probability of A alone. Mathematically, this is expressed as:

straight P open parentheses straight A vertical line straight B close parentheses equals straight P open parentheses straight A close parentheses

Similarly, if event A’s occurrence does not influence B, the probability of B given A is the same as the probability of B alone. Mathematically, this is expressed as:

straight P open parentheses straight B vertical line straight A close parentheses equals straight P open parentheses straight B close parentheses

Otherwise, the events are dependent.

When either of these equalities holds true, it means that the occurrence of one event has no impact on the probability of the other. They are essentially unrelated. This is the fundamental characteristic of independent events.

Let’s look at two examples of how we can detect if two events are independent or dependent using these probability formulas.

EXAMPLE

Suppose you are analyzing some data for an e-commerce company. They have provided you with a crosstabulation table of data related to the purchasing patterns of customers who purchased a product based on whether the customer received a marketing email. The crosstabulation table is below.



The company wants to determine if the customer receiving the email influences whether the customer purchases a product.

You define the two events:

  • Event A: Customer receives a marketing email.
  • Event B: Customer made a purchase.
You calculate:

straight P open parentheses straight A vertical line straight B close parentheses equals fraction numerator straight P open parentheses straight A intersection straight B close parentheses over denominator straight P open parentheses straight B close parentheses end fraction equals fraction numerator begin display style 20 over 80 end style over denominator begin display style 40 over 80 end style end fraction equals 20 over 40 equals 0.50 equals 50 percent sign

And:

straight P open parentheses straight A close parentheses equals 40 over 80 equals 0.50 equals 50 percent sign

By calculating these probabilities and comparing straight P open parentheses straight A vertical line straight B close parentheses to straight P open parentheses straight A close parentheses, we can determine if the marketing email campaign was effective in driving purchases. Since the probabilities are equal, you can report to the company that the email campaign had no impact on purchase behavior.

While this example demonstrates the concept of independence, it's important to consider other factors that might influence purchase behavior, such as product popularity, customer demographics, and overall market conditions.

Now, let's consider an example where the comparison of the conditional probability to the single event probability assists in detecting dependent events.

EXAMPLE

Quantum Power is a company that specializes in manufacturing batteries and power cells for electric vehicles and renewable energy storage. They source critical components from two suppliers: VoltTech Solutions and ElectraCell Solutions. Quantum Power is concerned about the quality of the components and wants to assess if there is a relationship between the suppliers and the number of defects in the components.

Quantum Power has asked you to determine if there is a dependency between the suppliers and the number of defects. A crosstabulation table that summarizes the data is provided below:



VoltTech Supplier:

  • Event A: Component has a defect.
  • Event B: Component comes from VoltTech.
You will calculate:

  • straight P open parentheses straight A close parentheses: Probability that a component has a defect.
  • straight P open parentheses straight B close parentheses: Probability that a component came from VoltTech.
  • straight P open parentheses straight A vertical line straight B close parentheses: Probability that a product has a defect, given it came from VoltTech.
straight P open parentheses straight A close parentheses equals 180 over 300 equals 0.60 equals 60 percent sign

straight P open parentheses straight B close parentheses equals 143 over 300 equals 0.48 equals 48 percent sign

straight P open parentheses straight A vertical line straight B close parentheses equals fraction numerator straight P open parentheses straight A intersection straight B close parentheses over denominator straight P open parentheses straight B close parentheses end fraction equals fraction numerator begin display style 64 over 300 end style over denominator begin display style 143 over 300 end style end fraction equals 64 over 143 equals 0.45 equals 45 percent sign

Since straight P open parentheses straight A close parentheses not equal to straight P open parentheses straight A vertical line straight B close parentheses, these events are dependent.

ElectraCell Supplier:

  • Event A: Component has a defect.
  • Event B: Component comes from ElectraCell.
You will calculate:

  • straight P open parentheses straight A close parentheses: Probability that a component has a defect.
  • straight P open parentheses straight B close parentheses: Probability that a component came from ElectraCell.
  • straight P open parentheses straight A vertical line straight B close parentheses: Probability that a product has a defect, given it came from ElectraCell.
straight P open parentheses straight A close parentheses equals 180 over 300 equals 0.60 equals 60 percent sign

straight P open parentheses straight B close parentheses equals 157 over 300 equals 0.52 equals 52 percent sign

straight P open parentheses straight A vertical line straight B close parentheses equals fraction numerator straight P open parentheses straight A intersection straight B close parentheses over denominator straight P open parentheses straight B close parentheses end fraction equals fraction numerator begin display style 116 over 300 end style over denominator begin display style 157 over 300 end style end fraction equals 116 over 157 equals 0.74 equals 74 percent sign

Since straight P open parentheses straight A close parentheses not equal to straight P open parentheses straight A vertical line straight B close parentheses, these events are dependent.

These probabilities give Quantum Power some insight into supplier issues. For example, since the straight P open parentheses straight A vertical line straight B close parentheses equals 74 percent sign for ElectraCell was significantly higher than straight P open parentheses straight A close parentheses equals 60 percent sign comma it suggests that components from ElectraCell might have quality control issues and Quantum Power should investigate further.

The straight P open parentheses straight A vertical line straight B close parentheses equals 45 percent sign for VoltTech was lower than straight P open parentheses straight A close parentheses equals 60 percent sign comma which indicates that VoltTech is providing components at a lower defect rate than the overall defect rate. Quantum Power should continue doing business with VoltTech!

try it
A retail company that wants to optimize its marketing efforts. They collect data on customer demographics (age groups) and product preferences on 330 of their customers and summarize the information in the crosstabulation table below:



They ask you if there is a dependency between the adult age group and whether they prefer electronic products.

Solution: The events are dependent.

Let event A be that a customer prefers electronics, and let event B be the event that the customer is in the adult age group. You will calculate the following:

  • straight P open parentheses straight A close parentheses: Probability that customer prefers electronics.
  • straight P open parentheses straight B close parentheses: Probability that customer is in adult age group.
  • straight P open parentheses straight A vertical line straight B close parentheses: Probability that a customer prefers electronics, given they are in the adult group.
straight P open parentheses straight A close parentheses equals 200 over 330 equals 0.61 equals 61 percent sign

straight P open parentheses straight B close parentheses equals 140 over 330 equals 0.42 equals 42 percent sign

straight P open parentheses straight A vertical line straight B close parentheses equals fraction numerator straight P open parentheses straight A intersection straight B close parentheses over denominator straight P open parentheses straight B close parentheses end fraction equals fraction numerator begin display style 80 over 330 end style over denominator begin display style 140 over 330 end style end fraction equals 80 over 140 equals 0.57 equals 57 percent sign

Since straight P open parentheses straight A close parentheses not equal to straight P open parentheses straight A vertical line straight B close parentheses, these events are dependent.

try it
You have data on customer purchases and whether they were exposed to a marketing campaign. You want to determine if the following events are independent or dependent using probability formulas in Excel:

  • Event A: Customer makes a purchase.
  • Event B: Customer is exposed to a marketing campaign.
Below is a partial snapshot of data related to customer purchases and whether they were exposed to a marketing campaign. The data is in the customer_purchase_marketing_campaign.xlsx Excel file.



A description of each column is provided below.

  • CustomerID. Unique identifier for each customer.
  • Purchase. Indicator variable where 0 denotes no purchase and 1 denotes a purchase.
  • Marketing Campaign. Indicator variable where 0 denotes the customer was not exposed to the campaign and 1 denotes the customer was exposed to the campaign.
The events are dependent, based on the probability rules.

In Excel, you need to find the following probabilities:

  • straight P open parentheses Purchase close parentheses: Probability of a customer making a purchase.
  • straight P open parentheses Marketing space Campaign close parentheses: Probability of a customer being exposed to the marketing campaign.
  • straight P open parentheses straight A vertical line straight B close parentheses: Probability of a customer making a purchase and being exposed to the marketing campaign.
1. Find P(Purchase). In Excel, enter the following formula in cell A15:

=COUNTIFS(B2:B11,1)/COUNT(A2:A11)
The numerator in the Excel formula is counting the number of 1s in the Purchase column, which is 6. The COUNTIFS() function is counting the number of cells in the range (B2:B11) that meet the criterion of being equal to 1. The denominator is counting the total number of customers, which is 10. The COUNT() function counts the number of non-empty cells in the range (A2:A11), that is, the CustomerID column.

2. Find P(Marketing Campaign). In Excel, enter the following formula in cell B15:

=COUNTIFS(C2:C11,1)/COUNT(A2:A11)
The numerator in the Excel formula is counting the number of 1s in the Marketing Campaign column, which is 6. The denominator is counting the total number of customers, which is 10.

3. (Purchase ∩ Marketing Campaign) is the probability of a customer making a purchase and being exposed to the marketing campaign. To find this probability, enter the following formula in cell C15:

=COUNTIFS(B2:B11,1,C2:C11,1)/COUNT(A2:A11)
The numerator is counting the number of rows where both conditions are met:
  • The value in the Purchase column (B2:B11) is 1.
  • The value in the Marketing Campaign column (C2:C11) is 1.
The denominator is counting the total number of customers.

4. Determine if the events are independent or dependent.

straight P open parentheses Purchase vertical line Marketing space Campaign close parentheses equals fraction numerator straight P open parentheses Purchase intersection Marketing space Campaign close parentheses over denominator straight P open parentheses Marketing space Campaign close parentheses end fraction equals fraction numerator 0.40 over denominator 0.60 end fraction equals 0.67 equals 67 percent sign
straight P open parentheses Purchase close parentheses equals 60 percent sign

Since straight P open parentheses Purchase close parentheses not equal to straight P open parentheses Purchase vertical line Marketing space Campaign close parentheses, that is 0.60 not equal to 0.67 comma the events are not independent. They are dependent.

The Excel worksheet with the Excel formulas for the different probabilities computed is shown below.


3. Multiplication Rule

You assess whether two events are independent or dependent to choose the appropriate formula for calculating their joint probability. The multiplication rule varies based on whether the events are independent or dependent, guiding how you calculate their combined probability.

If two events, A and B, are independent, the probability that both events occur together is:

straight P open parentheses straight A intersection straight B close parentheses equals straight P open parentheses straight A close parentheses times straight P open parentheses straight B close parentheses

You simply multiply the probability of both events occurring to find the intersection of two independent events.

If two events are dependent, then the probability that both events occur together is:

straight P open parentheses straight A intersection straight B close parentheses equals straight P open parentheses straight B close parentheses times straight P open parentheses straight A vertical line straight B close parentheses space space space space space or space space space space space straight P open parentheses straight A intersection straight B close parentheses equals straight P open parentheses straight A close parentheses times straight P open parentheses straight B vertical line straight A close parentheses

did you know
The multiplication rule for dependent events comes from a probability formula you are already familiar with. In the last tutorial, you learned that the conditional probability of event A, given that event B has occurred, is:

straight P open parentheses straight A vertical line straight B close parentheses equals fraction numerator straight P open parentheses straight A intersection straight B close parentheses over denominator straight P open parentheses straight B close parentheses end fraction

You can rearrange the conditional probability formula to determine the multiplication rule for two dependent events.

Multiply by P(B) on both sides. This will cancel out the P(B) terms on the right-hand side of the equation.

straight P open parentheses straight B close parentheses times straight P open parentheses straight A vertical line straight B close parentheses equals fraction numerator straight P open parentheses straight A intersection straight B close parentheses over denominator straight P open parentheses straight B close parentheses end fraction times straight P open parentheses straight B close parentheses

Leaving you with:

straight P open parentheses straight B close parentheses times straight P open parentheses straight A vertical line straight B close parentheses equals straight P open parentheses straight A intersection straight B close parentheses

This is the multiplication rule when two events are dependent.

To illustrate the use of the multiplicative rule, let’s return to an example from the last tutorial. The following crosstabulation table contains the churn status of customers by their contract type:

Let’s calculate the probability that a customer churns and has a Postpaid contract, straight P open parentheses churn intersection Postpaid close parentheses. From the multiplicative rule, this is calculated as straight P open parentheses churn intersection Postpaid close parentheses equals straight P open parentheses Postpaid close parentheses times straight P open parentheses churn vertical line Postpaid close parentheses comma where event A is the event that a customer churns and event B is the event that a customer is in a Postpaid contract.

From the table, you can calculate:

straight P open parentheses churn intersection Postpaid close parentheses equals 50 over 100 equals 0.50 equals 50 percent sign
straight P open parentheses churn vertical line Postpaid close parentheses equals fraction numerator straight P open parentheses churn intersection Postpaid close parentheses over denominator straight P open parentheses Postpaid close parentheses end fraction equals fraction numerator begin display style 30 over 100 end style over denominator begin display style 50 over 100 end style end fraction equals 30 over 50 equals 0.60 equals 60 percent sign

Using the multiplication rule, you can find straight P open parentheses churn intersection Postpaid close parentheses equals 0.50 times 0.60 equals 0.30 equals 30 percent sign. This probability matches the probability shown for straight P open parentheses churn intersection Postpaid close parentheses in the numerator of the conditional probability that was found using the crosstabulation table. The multiplication rule is useful when you know the conditional probabilities but do not know the joint probabilities from the crosstabulation table.

try it
You are assisting the inventory manager for an online electronics store in computing some probabilities. The store sells smartphones and smartwatches. Each week, customers visit the website and browse products. The following probabilities describe customer behavior:

Smartphone Behavior:
  • Probability of a customer purchasing a smartphone: 40%
  • Probability of a customer browsing smartphones: 70%
Smartwatch Behavior:
  • Probability of a customer purchasing a smartwatch: 25%
  • Probability of a customer browsing smartwatches: 60%
Assumptions:
  • The events (purchasing a smartphone and purchasing a smartwatch) are independent.
Find the following probability for the inventory manager:
What is the probability that a randomly selected customer browses smartphones and purchases a smartwatch?
19%

straight P open parentheses straight A space and space straight B close parentheses equals straight P open parentheses straight A close parentheses times straight P open parentheses straight B close parentheses where event A is the customer browses smartphones and event B is the customer purchases a smartwatch.

straight P open parentheses straight A space and space straight B close parentheses equals 0.70 times 0.25 equals 0.19 equals 19 percent sign

try it
A luxury car dealership is analyzing its sales data to understand customer behavior and improve marketing strategies. They have data on the number of customers who test-drove a car and the number of customers who purchased a car after a test drive.

  • Total number of customers who visited the dealership: 1000
  • Number of customers who test-drove a car: 300
  • Number of customers who purchased a car after a test drive: 150
Find the probability of a customer test-driving a car and purchasing it.
15%

The events of test-driving a car and purchasing a car are dependent because the probability of purchasing the car is affected by whether the customer test-drove the car. Customers who test-drive a car are more likely to purchase a car compared to those who do not test-drive. So, when applying the multiplicative rule, the conditional probability must be considered.

Let event A be that the customer purchased the car and event B be the customer test-drove car.

straight P open parentheses straight A intersection straight B close parentheses equals straight P open parentheses straight B close parentheses times straight P open parentheses straight A vertical line straight B close parentheses
straight P open parentheses straight B close parentheses equals 300 over 1000 equals 0.30 equals 30 percent sign
straight P open parentheses straight A vertical line straight B close parentheses equals fraction numerator straight P open parentheses straight A intersection straight B close parentheses over denominator straight P open parentheses straight B close parentheses end fraction equals fraction numerator begin display style 150 over 1000 end style over denominator begin display style 300 over 1000 end style end fraction equals 150 over 300 equals 0.50 equals 50 percent sign
straight P open parentheses straight A intersection straight B close parentheses equals 0.30 times 0.50 equals 0.15 equals 15 percent sign

summary
In this lesson, you learned how to distinguish between independent and dependent events and how this distinction affects the calculation of probabilities for joint events. You explored the concept of dependent events and how probabilities can be used to determine whether events are independent or dependent. The multiplication rule was introduced to help calculate joint probabilities. You applied this knowledge through an example involving Quantum Power, a company that manufactures batteries. In the example, you assessed whether there was a relationship between the suppliers, VoltTech Solutions and ElectraCell Solutions, and the number of defects in the components they provided.

Source: THIS TUTORIAL WAS AUTHORED BY SOPHIA LEARNING. PLEASE SEE OUR TERMS OF USE.

Terms to Know
Dependent Events

Two or more events in which one event affects the probability of the other happening.