1. Mathematics in CS

1.1. content

1.1.1. Discrete Mathematics

  • sets relations proof methods

1.1.2. Discrete Mathematical Structures

  • numbers graphs trees counting

1.1.3. Discrete Probability Theory

1.1.4. What dose Discrete means

  • the ability to discreting

1.2. Proofs

  • a2+b2=c2a^2 + b^2 = c^2 in a triangle
  • the interesting thing between Graph and Caculate. Elegant and correct
  • but something lack of the infomations

Roots of ax2+bx+c=>[b+(b24ac)]/2aax^2 + bx + c => [-b +-\sqrt{(b^2-4ac)}]/2a
"a!==0D!==0a !== 0 D !==0"

1.3. Proof by contradiction

1.3.1. make a suppose eg

  • Is 13323<=11\sqrt[3]{1332} <= 11?
  • if so 1332<=12311332<=1231 this is not true
  • so 13323>11\sqrt[3]{1332} > 11

1.3.2. If an assertion implies something false then the

assertion itself must be false

1.3.3. 2\sqrt2 is irrational

  • suppose2\sqrt2 was rational
  • so have n d intergers without common prime fators such that 2=n/d\sqrt2 = n/d
  • so n and d are even
  • 2=n/d\sqrt2 = n/d
  • 2d2=n22d^2 = n^2
  • so nn is even