Maths 1: Complete Theory Notes
IIT Madras BS DS - Foundational Level All 12 Weeks Covered
Week 1: Sets, Relations & Functions
1.1 Sets
Definition
A set is a well-defined collection of distinct objects. Objects in a set are called elements or members.
Notation:
- (Roster form)
- (Set-builder form)
Types of Sets
| Type | Definition | Example |
|---|---|---|
| Empty Set | No elements | or |
| Singleton | Exactly one element | |
| Finite | Countable elements | |
| Infinite | Uncountable elements | |
| Universal | Contains all elements under consideration |
Set Operations
Union:
Intersection:
Difference:
Symmetric Difference:
Complement:
De Morganβs Laws
Cardinality Formulas
1.2 Relations
Definition
A relation from set to set is a subset of (Cartesian product).
If , we write .
Properties of Relations (on set )
| Property | Definition | Example |
|---|---|---|
| Reflexive | for all | βis equal toβ |
| Symmetric | βis sibling ofβ | |
| Transitive | βis ancestor ofβ | |
| Antisymmetric | ββ€β |
Equivalence Relation
A relation is an equivalence relation if it is:
- Reflexive
- Symmetric
- Transitive
Example: βSame age asβ is an equivalence relation.
1.3 Functions
Definition
A function assigns exactly one element of to each element of .
- Domain: Set (inputs)
- Codomain: Set (possible outputs)
- Range: Actual outputs,
Types of Functions
| Type | Definition | Test |
|---|---|---|
| Injective (1-1) | Horizontal line test | |
| Surjective (Onto) | Range = Codomain | Every element in B has a preimage |
| Bijective | Both injective and surjective | Invertible |
Domain Restrictions
For to be defined:
- Denominator β 0
- Square root argument β₯ 0
- Log argument > 0
Week 2: Coordinate Geometry
2.1 Distance Formula
2.2 Section Formula
Point dividing line segment to in ratio :
Midpoint: (when )
2.3 Equations of Lines
Slope-Intercept:
Point-Slope:
Two-Point:
Intercept Form:
General Form:
2.4 Slope Relationships
- Parallel lines:
- Perpendicular lines:
2.5 Distance from Point to Line
Distance from to line :
2.6 Area of Triangle
With vertices :
Week 3: Quadratic Functions
3.1 Standard Forms
Standard Form:
Vertex Form: where vertex =
Factored Form: where are roots
3.2 Vertex
3.3 Roots (Quadratic Formula)
3.4 Discriminant
| Value | Nature of Roots |
|---|---|
| Two distinct real roots | |
| One repeated real root | |
| Two complex conjugate roots |
3.5 Sum and Product of Roots
If roots are :
3.6 Derivative (Slope of Parabola)
At point : Slope
Week 4: Polynomials
4.1 General Form
- Degree: Highest power of
- Leading coefficient:
4.2 Multiplicity and Graph Behavior
| Factor | Behavior at |
|---|---|
| is odd | Graph crosses x-axis |
| is even | Graph touches/bounces |
4.3 End Behavior
| Degree | Leading Coeff | As | As |
|---|---|---|---|
| Even | Positive | ||
| Even | Negative | ||
| Odd | Positive | ||
| Odd | Negative |
4.4 Turning Points
A polynomial of degree has at most turning points.
Week 5-6: Exponentials & Logarithms
5.1 Exponential Functions
Properties:
- Domain:
- Range:
5.2 Logarithmic Functions
Properties:
- Domain:
- Range:
5.3 Log Rules
(Change of base)
5.4 Special Cases
- (Eulerβs number)
- (Natural log)
Week 7-8: Limits & Derivatives
7.1 Limits
Key Limits:
7.2 Continuity
is continuous at if:
- is defined
- exists
8.1 Derivative Definition
8.2 Basic Derivatives
| Function | Derivative |
|---|---|
8.3 Rules
Sum:
Product:
Quotient:
Chain:
Week 9: Optimization & Integration
9.1 Critical Points
Set and solve. These are candidates for local max/min.
9.2 Second Derivative Test
- : Local minimum
- : Local maximum
- : Inconclusive
9.3 Global Max/Min
On a closed interval :
- Find all critical points in
- Evaluate at critical points and endpoints
- Largest value = Global max, Smallest = Global min
9.4 Integration
Definite Integral:
Week 10-12: Graph Theory
10.1 Graph Basics
- Vertex (Node): A point
- Edge: Connection between vertices
- Degree: Number of edges at a vertex
10.2 Handshaking Lemma
10.3 Adjacency Matrix
if edge exists between and , else .
= Number of paths of length from to .
10.4 Graph Traversals
| BFS | DFS |
|---|---|
| Uses Queue | Uses Stack |
| Finds shortest path (unweighted) | Good for cycle detection |
| Level-order | Depth-first |
10.5 Shortest Path Algorithms
Dijkstra: No negative edges. or .
Bellman-Ford: Handles negative edges (no negative cycles). .
10.6 Minimum Spanning Tree
Prim: Start from vertex, add cheapest edge.
Kruskal: Sort edges, add if no cycle.
End of Maths 1 Theory. Good luck!