Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
Probability Rules
Next article icon

Probability Rules

Last Updated : 15 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Probability is a crucial concept in mathematics and statistics that enables us to quantify uncertainty and make informed decisions in various fields. Whether it's predicting the outcome of an experiment or assessing risk in finance, probability rules provide a systematic way to analyze and understand random phenomena.

In this article, we'll explore the fundamental principles of probability, starting with its definition and then delving into the essential rules governing its calculations.

Table of Content

  • What is Probability?
  • Probability Rules
    • Addition Rule
    • Multiplication Rule
    • Complement Rule
    • Conditional Probability
  • Sample Questions on Probability Rules

What is Probability?

Probability is the measure of the likelihood of an event occurring. It is represented as a number between 0 and 1, where 0 indicates impossibility (the event will not occur) and 1 indicates certainty (the event will occur).

Probability in Maths

In practical terms, probability allows us to quantify uncertainty and assess the relative chances of different outcomes.

Probability Rules

Various probability rules used to solve problems are:

Probability-Rules
Probability Rules

Addition Rule

Addition rule of probability deals with the probability of the union of two events. If A and B are two events, then the probability of either event A or event B occurring is given by:

P(A∪B) = P(A) + P(B) - P(A∩B)

where,

  • P(A∩B) represents the probability of both events A and B occurring simultaneously

This rule applies when events A and B are not mutually exclusive.

Example: Suppose we toss a fair coin. Let A be the event of getting a head, and B be the event of getting a tail. The probability of either getting a head or a tail is given by:

P(AUB) = P(A) + P(B)

= 1/2 + 1/2 = 1

Multiplication Rule

Multiplication rule of probability applies when we want to find the probability of the intersection of two independent events. If A and B are independent events, then the probability of both events A and B occurring is given by:

P(A∩B) = P(A) × P(B)

This rule holds true when the occurrence of one event does not affect the probability of the other event.

Example: Consider rolling a fair six-sided die. Let A be the event of rolling an even number, and B be the event of rolling a number less than 4. Since these events are independent, the probability of rolling an even number and a number less than 4 is given by:

P(A∩B) = P(A) × P(B)

P(A) = 3/6 = 1/2

P(B) = 3/6 = 1/2

P(A∩B) = 1/2×1/2 = 1/4

Complement Rule

Complement rule deals with the probability of the complement of an event. If A is an event, then the probability of the complement of A (i.e., the event not occurring) is given by:

P(A′) = 1 - P(A)

Example: Suppose we draw a card from a standard deck of 52 playing cards. Let A be the event of drawing a heart. The probability of not drawing a heart (drawing a card that is not a heart) is given by:

P(A) = 13/52 = 1/4

P(A') = 1 - P(A)

P(A') = 1 - 1/4 = 3/4

Conditional Probability

Conditional probability is the probability of an event occurring given that another event has already occurred. If A and B are events, then the conditional probability of A given B is denoted by P(A∣B) and calculated as:

P(A∣B) = P(A∩B)/P(B)

This rule quantifies how the probability of one event changes in light of the occurrence of another event.

Example: Let's continue with the example of drawing a card from a standard deck of 52 playing cards. Suppose B is the event of drawing a face card (jack, queen, or king), and A is the event of drawing a heart. The probability of drawing a heart given that the card drawn is a face card is given by:

P(A) = 13/52 = 1/4

P(B) = 12/52

P(A∩B) = 3/52

P(A∣B) = P(A∩B)/P(B)

P(A∣B) = (3/52)/(12/52) = 1/4

This means that given the card drawn is a face card, there is a 1/4 chance that it is also a heart.

Summary

Probability rules provide a systematic framework for quantifying uncertainty and analyzing random phenomena. By understanding these rules and applying them in various scenarios, we can make informed decisions and predictions in fields ranging from science and engineering to finance and everyday life.

Learn More:

  • Chance and Probability
  • Empirical Probability
  • Probability Theory
  • Addition Rule for Probability
  • Practice Problems on Probability

Sample Questions on Probability Rules

Question 1: You flip a fair coin twice. What is the probability of getting exactly one head?

Solution:

To solve this question, we can use the complement rule.

Probability of getting exactly one head is the complement of getting either two heads or two tails.

Probability of getting two heads: P(\text{HH}) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4}

Probability of getting two tails: P(\text{TT}) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4}

So, the probability of getting exactly one head is:

1 - P(\text{HH}) - P(\text{TT}) = 1 - \frac{1}{4} - \frac{1}{4} = \frac{1}{2}

Question 2: A bag contains 5 red balls and 3 blue balls. You randomly select two balls from the bag without replacement. What is the probability of selecting one red ball and one blue ball?

Solution:

We can solve this question using the multiplication rule.

First, we find the probability of selecting a red ball, then the probability of selecting a blue ball after selecting a red ball.

P(\text{red}) = \frac{5}{8}

P(\text{blue after red}) = \frac{3}{7}

So, the probability of selecting one red ball and one blue ball is:

P(\text{red and blue}) = P(\text{red}) \times P(\text{blue after red}) = \frac{5}{8} \times \frac{3}{7} = \frac{15}{56}

Question 3: You roll a fair six-sided die. What is the probability of rolling a number divisible by 2 or 3?

Solution:

We can solve this question using the addition rule.

We find the probability of rolling a number divisible by 2, the probability of rolling a number divisible by 3, and subtract the probability of rolling a number divisible by both 2 and 3 (i.e., 6).

Probability of rolling a number divisible by 2: P(\text{divisible by 2}) = \frac{3}{6} = \frac{1}{2}

Probability of rolling a number divisible by 3: P(\text{divisible by 3}) = \frac{2}{6} = \frac{1}{3}

Probability of rolling a number divisible by both 2 and 3: P(\text{divisible by 6}) = \frac{1}{6}

So, the probability of rolling a number divisible by 2 or 3 is:

P(\text{divisible by 2 or 3}) = P(\text{divisible by 2}) + P(\text{divisible by 3}) - P(\text{divisible by 6}) = \frac{1}{2} + \frac{1}{3} - \frac{1}{6} = \frac{5}{6}

Question 4: A card is drawn from a standard deck of 52 playing cards. What is the probability of drawing a face card or a heart?

Solution:

We can solve this question using the addition rule.

We find the probability of drawing a face card, the probability of drawing a heart, and subtract the probability of drawing a card that is both a face card and a heart.

Probability of drawing a face card: P(\text{face card}) = \frac{12}{52} (There are 3 face cards in each suit)

Probability of drawing a heart: P(\text{heart}) = \frac{13}{52}

Probability of drawing a card that is both a face card and a heart: P(\text{face card and heart}) = \frac{3}{52} (There are 3 face cards that are hearts)

So, the probability of drawing a face card or a heart is:

P(\text{face card or heart}) = P(\text{face card}) + P(\text{heart}) - P(\text{face card and heart}) = \frac{12}{52} + \frac{13}{52} - \frac{3}{52} = \frac{22}{52} = \frac{11}{26}

Question 5: Two dice are rolled. What is the probability of getting a sum greater than 9?

Solution:

We can solve this question by listing all possible outcomes of rolling two dice and counting the outcomes where the sum of the numbers is greater than 9.

There are 6×6 = 36 possible outcomes when rolling two dice. Outcomes with a sum greater than 9:

(4, 6), (5, 5), (5, 6), (6, 4), (6, 5), (6, 6)

So, there are 6 outcomes where the sum is greater than 9.Therefore, the probability of getting a sum greater than 9 is:

P(\text{sum > 9}) = \frac{6}{36} = \frac{1}{6}


Next Article
Probability Rules

W

workamri5de4
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Probability

Similar Reads

    Probability | Set-2
    Question 1: If a card is picked up random from the a pack of 52 cards. Find the probability that it is a king or queen. Solution : In a pack of 52 cards, 4 kings and 4 queens present. Hence, probability of getting a king or queen = 8/52 = 2/13 Question 2: In a throw of 2 dice, find the probability o
    4 min read
    Probabilities using R
    Probability theory is a fundamental concept in mathematics and statistics that plays a crucial role in various fields such as finance, engineering, medicine, and more. Understanding probabilities allows us to make informed decisions in uncertain situations. In this comprehensive guide, we'll delve i
    4 min read
    Probability Theory
    Probability theory is an advanced branch of mathematics that deals with measuring the likelihood of events occurring. It provides tools to analyze situations involving uncertainty and helps in determining how likely certain outcomes are. This theory uses the concepts of random variables, sample spac
    10 min read
    Properties of Probability
    ProbabilityProbability is the branch of mathematics that is concerned with the chances of occurrence of events and possibilities. Further, it gives a method of measuring the probability of uncertainty and predicting events in the future by using the available information.Probability is a measure of
    14 min read
    Theoretical Probability
    Theoretical Probability calculates the likelihood of an event based on known outcomes, assuming equal likelihood. It's fundamental in predicting probabilities without relying on experimental data. In this article, we will learn about, theoretical probability, and experimental probability, their diff
    8 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences