[ DATA SCIENCE ]- Mathematics sem 1 Week - 1 Notes

                             Notes
DATA SCIENCE 
Mathematics 1
Semester - 1 , Week 1 . 

TOPIC - Relation and function 

Natural Numbers -

Numbers keeps a count of objects -

 ► 0, 1,2,3_ _ _ _ _ _

Note - 0 is a natural number ( according to IIT Madras )  
► 0 to represent natural no object at all.

►Some times No to emphasize

► Operation can be performed through Natural numbers are Addition , subtraction , Multiplication , Division  -

Integer- 

► 5-6 is not a natural number

►It is denoted by Z
► Expand the number with negative numbers integer Z={2....-3,-2,-1,0,1,2,3}

Multiplication 
m x n = {m+m+m+m} n times 

Notation - 
: m x n ,  m.n , mn 

Division - 
Division represent subtraction ,
example - 20 mangos divided in 5 - 
give 1 each ,
20 -5 =15
15 -5 =10
10 - 5 =5
5 - 5 =0 
Modulus is another term for remender and it is written as mod . 


Factors - 

a div b if b mod a = 0

a | b

b is multiple of a -

► 4120, 7163

►4x19, 9x100

►a is a factor of b if a | b -

* factor occur in pair-factors F 12 are -
{ 1, 12 } , { 2, 16 } , { 3 , 4 } 

------- unless the number is a perfect square
 factors of 36:

 { 1,36} , {2, 18} ,{3,12},{4,9} { 6 } 


Prime numbers

►P is prime if it has only two factors ,{ 1 , p } and that are also 1 and the number itself . 

 ►1 is not prime - Only one factor-

► prime number are 2,3,5,7,11,13_ _ _ 


Rational number's

p/q ,  p and q are integers.

►Numenator P,  denominator q

►It is denoted by Q..

►The same num can be written in many ways, 
 example -  
3/6 = 6/10 = 30/50.

► Useful to add , sub , compare Rational's - 
3/ 5 + 3/4 = 12/ 20 + 15/20 = 27/20 

► 2/5  < 2/3

Greatest common factor - 
► Recall prime factorization . 
18 = 2 x 2 x 3 , 60 = 2 x 2 x 3 x 5 
common factor 
gcd = 2.3= 6 

Density - 
For each integer , we can have a next and a precious integer - 

► For m , next is m+1 , Pre   m-1 . 
► No next integer between m & m+1 - 
►No Previous int b/w m-1 & m 


►Not Possible for rational

■ Between  any two rational number's we can find another one-

Suppose  m / n   < P / q . 

Their ang (m/n +p/q ) / 2


► Rational's are dense, int are discrete



Beyond Rational 

B / w  any two rational we  can find another one-

For an integer m, its square is m² = m.m

* Square root m,  √5 , is r such that r . r = m.

►perfect square -    1,4,9,16,25... 256------


► Square root - 1,2,3,4,5,-----16, ---- 

■√2 cannot be written as p/q 


►Yet we can draw a line of length √2.

►√2 is irrational numbeer -



Like rationnals, real number are also deny -

if    r  < r'  , then  ( r +r' / 2 )

dies b/w    r and r'

► Some irrational number - 

 π = 3.1415927...

 e = 2.7182818....

 ► Can we stop with real  numbers 

■ What about  √-1 

■For any real numbers, r^2  must be positive law of sign of  multiplication  -


► √-2 is a Complex  number


Sets

A set is a collection of items

■ Days of the week-

■ Factors of 24: {1,2,3,4,6,8,12,14 }

■ primes below 15 {2,3,5,7,71, 133} 

► Sets may be infinite

* Different type of number : N, Z.Q. R

►No required that members of a set have uniform type-

■ set of obj in Painting

■ Spot the dog!

Order, duplicates, cardinality A 
■Sets are unordered

■ & Kohli, Dhoni, Pujara } 

{ Pujara, Kohli, Dhoni } 

Cardinality:- number of item's in sets 

■ For finite sets, count the items


■{1,2,3,4,6,8,12,24}  has cardinality  8 

■ May not be obvious that the sets is finite


■What about infinite sets? 

■ is & bigger the 2?

■ is R is bigger then Q?

Describing sets, membership -

finite sets can les listed explicit

•{ Kohli, Dhoni, Pujara }

•  { 1,2,3,4,6,8,12,24 } 

■ Not every collection of items is a set 

• Collection of all sets is not a Set

Infinite sets cannot be listed out

N={0 , 1,2.... 4}  is not formal notation -



• Items in a set are called elements

• Membership  : x ∈  X , is an elements  of  X-

• 5∈Z, √2 /∈  Q ( not belongs to ) 

Subsets-

■  X is a subeset of  Y

■ Every element of X is also a element of Y.

■ Notation: XCY

Examples-

Kohli, Piyaray (Kohli Dhoni. Pujara }. 


Comments