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

TypeDefinitionExample
Empty SetNo elements or
SingletonExactly one element
FiniteCountable elements
InfiniteUncountable elements
UniversalContains 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 )

PropertyDefinitionExample
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

TypeDefinitionTest
Injective (1-1)Horizontal line test
Surjective (Onto)Range = CodomainEvery element in B has a preimage
BijectiveBoth injective and surjectiveInvertible

Domain Restrictions

For to be defined:

  1. Denominator β‰  0
  2. Square root argument β‰₯ 0
  3. 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

ValueNature 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 oddGraph crosses x-axis
is evenGraph touches/bounces

4.3 End Behavior

DegreeLeading CoeffAs As
EvenPositive
EvenNegative
OddPositive
OddNegative

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:

  1. is defined
  2. exists

8.1 Derivative Definition

8.2 Basic Derivatives

FunctionDerivative

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 :

  1. Find all critical points in
  2. Evaluate at critical points and endpoints
  3. 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

BFSDFS
Uses QueueUses Stack
Finds shortest path (unweighted)Good for cycle detection
Level-orderDepth-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!