Go back to UGC NET COMUPTER SCIENCE
UNIT 1 — Counting, Mathematical Induction and Discrete Probability
(UGC NET)
(Counting • Pigeonhole Principle • Permutations • Combinations • Inclusion–Exclusion • Mathematical Induction • Probability • Bayes’ Theorem)
1. BASICS OF COUNTING — DEFINITIONS
Definition 1: Counting Principle (Product Rule)
If an action consists of k independent stages, and the stages can be performed in
then the total number of ways of performing the action is
Definition 2: Sum Rule (Addition Principle)
If an action can be performed in m ways or n ways, and the two sets of possibilities are mutually exclusive,
Definition 3: Factorial (n!)
For any positive integer n:
and by definition
2. PERMUTATIONS — DEFINITIONS
Definition 4: Permutation
A permutation is an arrangement of objects in a specific order.
Definition 5: r-Permutation of n Objects
The number of ways to arrange r objects out of n:
Definition 6: Permutation with Repetition
If among n objects,
-
are alike,
-
are alike, etc.,
then number of distinct permutations:
3. COMBINATIONS — DEFINITIONS
Definition 7: Combination
A combination is a selection of r objects from n objects where order does not matter.
Definition 8: r-Combination of n Objects
Key Relation
4. PIGEONHOLE PRINCIPLE — DEFINITIONS & STATEMENTS
Definition 9: Pigeonhole Principle (Basic)
If more than n objects are placed into n boxes, then at least one box contains more than one object.
Formal Statement:
If objects are placed into boxes, at least one box contains ≥ 2 objects.
Definition 10: Generalized Pigeonhole Principle
If N objects are placed into k boxes, then at least one box contains
objects.
5. INCLUSION–EXCLUSION PRINCIPLE — STATEMENTS
Definition 11: Inclusion–Exclusion Principle (Two Sets)
For any two sets A and B,
Definition 12: Inclusion–Exclusion (Three Sets)
6. MATHEMATICAL INDUCTION — DEFINITIONS & STEPS
Definition 13: Principle of Mathematical Induction
Let be a statement depending on a natural number n.
If:
-
Base Step: is true.
-
Induction Step: for all natural numbers k,
Then is true for all natural numbers.
Definition 14: Strong Induction
A statement is true for all natural numbers n if:
-
is true.
-
Assuming all of are true implies .
7. PROBABILITY — DEFINITIONS
Definition 15: Sample Space (S)
The set of all possible outcomes of an experiment.
Definition 16: Event (E)
Any subset of the sample space.
Definition 17: Probability of an Event
If all outcomes are equally likely:
Definition 18: Complement of an Event
Definition 19: Conditional Probability
Definition 20: Independent Events
Two events A and B are independent if:
8. BAYES’ THEOREM — STATEMENT
Definition 21: Bayes’ Theorem
If form a partition of the sample space and B is any event with , then:
This theorem is used to reverse conditional probability.




