Maths Formulas
Maths Formulas
Example Questions
1. Find the union and intersection of two sets:
A={1,2,3,4},B={3,4,5,6}.
Solution:
A∪B={1,2,3,4,5,6},A∩B={3,4}.
2. Using the Inclusion-Exclusion Principle:
∣A∣=15,∣B∣=20,∣A∩B∣=10 Find ∣A∪B∣.
Solution:
∣A∪B∣=15+20−10=25.
------------------------------------------------------------------------------
Unit 2: Relations and Functions
Key Formulas and Theoretical Concepts
1. Cartesian Product:
o A×B={(a,b)∣a∈A,b∈B}
2. Binary Relations:
o Domain: Set of all first elements.
o Range: Set of all second elements.
3. Types of Relations:
o Reflexive: (a,a)∈R for all a∈A
o Symmetric: (a,b)∈R ⟹ (b,a)∈R
o Transitive: (a,b)∈R and (b,c)∈R ⟹ (a,c)∈R
4. Functions:
o f:A→ B where f(a)=b
o Types:
o Injective (One-to-One): Unique mapping (no
duplicates in outputs).
o Surjective (Onto): Codomain fully covered.
o Bijective (One-to-One and Onto): Perfect one-to-
one correspondence between domain and codomain.
Example Questions
1. Find the Cartesian Product:
A={1,2},B={x,y}
Solution:
A×B={(1,x),(1,y),(2,x),(2,y)}
2. Check if a relation is reflexive:
A={1,2},R={(1,1),(2,2),(1,2)}
Solution:
Reflexive as (1,1),(2,2)∈R.
------------------------------------------------------------------------------
Unit 3: Number Theory
Key Formulas and Theoretical Concepts
1. Greatest Common Divisor (GCD):
o Euclidean Algorithm: GCD(a,b)=GCD(b,a mod b).
2. Least Common Multiple (LCM):
LCM(a,b)=∣a⋅b∣/GCD(a,b).
3. Prime Number Testing:
o A number n is prime if it has no divisors other than 1
and n.
Example Questions
1. Find GCD using Euclidean Algorithm:
Find GCD of 56 and 98.
Solution:
GCD(56,98)=GCD(98,56)=GCD(56,42)=14.
Explanaition: GCD of (56,42) so 56 as it is write and 42
kese aaya 98-56=42 to 42 ese aaya or total answer 14 hai to
wo 56-42=14 ese aaya.
2. Find LCM:
a=12,b=18.
Solution:
GCD(12,18)=6,LCM=12⋅18/6=36.
Example Questions
1. Use Induction to prove:
1+2+⋯+n= n(n+1)/2.
Solution: Prove base case and inductive step.
Explanation:
Step 1: Base Case
For n=1:
LHS=1
RHS=1(1+1)/2 = 1⋅2/2 = 1
Since LHS=RHS,the base case holds.
2. Matrix Multiplication:
Multiply A= [12] with B= [20]
[34] [13]
Solution: Perform row-column multiplication.
Explanation:
Step-by-Step Multiplication:
1. Calculate the First Row, First Column Element:
(1×2)+(2×1)=2+2=4.
2. Calculate the First Row, Second Column Element:
(1×0)+(2×3)=0+6=6.
3. Calculate the Second Row, First Column Element:
(3×2)+(4×1)=6+4=10.
4. Calculate the Second Row, Second Column Element:
(3×0)+(4×3)=0+12=12.
Resultant Matrix:
Result C= [4 6]
[10 12]