iT邦幫忙

2019 iT 邦幫忙鐵人賽

DAY 10
0
自我挑戰組

大二資工人-30天成長日記系列 第 10

大二資工人-DAY10-日常分享

  • 分享至 

  • xImage
  •  

HI! 我是Maple 剛滿20歲沒多久的小朋友 請ㄅ要欺負窩QAQ


下禮拜要開始期中考了好煩RRRR

下禮拜要考期中考了,開始複習~~~~~~~

離散數學

  • Binary Relation on a Set

    • Definition: A binary relation R on a set A is a subset of A × A or a relation from A to A
    • Ex:A = {1,2,3,4}
      • R = {(a,b) | a divides b} are (1,1), (1, 2), (1,3), (1, 4), (2, 2), (2, 4), (3, 3), and(4, 4).
  • Reflexive Relations

    • 如果element x ∊A 則(x,x)∊ R
    • EX:The following relations on the integers are reflexive:
      R1 = {(a,b) | a ≤ b},
      R3 = {(a,b) | a = b or a = −b},
      R4 = {(a,b) | a = b}.
      The following relations are not reflexive:
      R2 = {(a,b) | a > b} (note that 3 ≯3),
      R5 = {(a,b) | a = b + 1} (note that 3 ≠3 + 1),
      R6 = {(a,b) | a + b ≤ 3} (note that 4 + 4 ≰3)
  • Symmetric Relations

    • 如果element (x,y)∊A 則 (y,x)∊A
    • Ex: The following relations on the integers are symmetric:
      R3 = {(a,b) | a = b or a = −b},
      R4 = {(a,b) | a = b},
      R6 = {(a,b) | a + b ≤ 3}.
      The following are not symmetric:
      R1 = {(a,b) | a ≤ b} (note that 3 ≤ 4, but 4 ≰ 3),
      R2 = {(a,b) | a > b} (note that 4 > 3, but 3 ≯ 4),
      R5 = {(a,b) | a = b + 1} (note that 4 = 3 + 1, but 3 ≠4 + 1).

上一篇
大二資工人-DAY9-日常分享
下一篇
大二資工人-DAY11-SQL基礎語法-1
系列文
大二資工人-30天成長日記31
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言