??????3: Logic - PowerPoint PPT Presentation

1 / 30
About This Presentation
Title:

??????3: Logic

Description:

3: Logic (Kuang-Chi Chen) chichen6_at_mail.tcu.edu.tw Binomial Theorem - review 3.2 The Binomial Theorem ... – PowerPoint PPT presentation

Number of Views:75
Avg rating:3.0/5.0
Slides: 31
Provided by: chichen6T
Category:
Tags: argument | logic | tables | truth

less

Transcript and Presenter's Notes

Title: ??????3: Logic


1
??????3Logic
  • ??????? (Kuang-Chi Chen)
  • chichen6_at_mail.tcu.edu.tw

2
Binomial Theorem - review
  • 3.2 ?????(The Binomial Theorem)
  • ? x ? y ???,? n ?????,?
  • (x y)n
  • Note C(n, r) ????????(binomial coefficient).

3
Application of Binomial
  • ????????n gt 0
  • a) C(n, 0) C(n, 1) C(n, 2) C(n, n)
  • 2n,
  • b) C(n, 0) C(n, 1) C(n, 2) C(n, 3)
    (-1)nC(n, n)
  • 0?

4
Multinomial Theorem
  • 3.3 ?????(The Multinomial theorem)
  • ????n?k,(x1 x2 x3 xk)n
    ????,x1n1x2n2x3n3xknk ????
  • n!/(n1! n2! n3! nk!)
  • ????? ni ???? ? 0 ni n, ?1 i
    k,n1 n2 n3 nk n?

5
Proof of Multinomial Thm
  • 3.3 ?????(The Multinomial Theorem)
  • ????????,x1n1x2n2x3n3xknk ????? n ????? n1 ?
    x1 ??,???? ( n n1 ) ????? n2 ? x2 ??,,???
  • ( n n1 n2 nk-1 ) nk ? xk ???
  • n!/(n1! n2! n3! nk!) ? (?????)

6
Logic??
7
Logic
  • 1. ??????????????,????????????????
  • 1.1 ???? ? ????(The Basic Connectives and Truth
    Tables)
  • ?? (statements) or ?? (propositions)??????,??????
    ??,??????????????? p, q, r, s????
  • e.g., p?????????????? q2 8 10?

8
Negation
  • ??? or ???????,???????
  • e.g., r????????! s ???,?????
  • ??????(negation)p?q (q) ?
  • e.g., p??????????????? q2 8 ? 10?

9
Logical Connectives
  • ?????????????(logical connectives)??????(compound
    statement)?
  • a) Conjunction(??)pq,p ? q?
  • b) Disjunction(??)p?q,p ? q?
  • c) Implication(??)p?q,p ?? q?
  • d) Bioconditional(???)p?q,p ???? q?

10
Conjunction
  • a) Conjunction(??)pq,p ? q?
  • e.g., p??????????????
  • q?????? 1/10 ?????
  • pq ????????????? ? ?????? 1/10 ?????

11
Disjunction
  • b) Disjunction(??) p?q,p ? q?
  • Inclusive(??)p q,p?q ????? ? ???????
  • Exclusive(??)p q,p?q ????? ? ????????
  • e.g., p?????????????? q?????? 1/10 ?????
  • p?q????????????? ? ?????? 1/10 ?????

12
Implication
  • c) Implication(??) p?q,p ?? q?
  • ? p ? q (if - then)?
  • p ? q ???? or p ? q ??????
  • q ? p ???? or q ? p ???????
  • p ?? q ?
  • e.g., p?????????????? q?????? 1/10 ?????
  • p?q? ????????????? ? ?????? 1/10 ?????

13
Bioconditional
  • d) Bioconditional(???) p?q,p ???? q?( p iff q,p
    if and only if q )
  • p ? q ??????? p ? q ???????? ?
  • e.g., p?????????????? q?????? 1/10 ?????
  • p?q????????????? ???? ?????? 1/10 ?????

14
Truth Tables
  • ? 0 ???,? 1 ???,?????
  • Note p?q,?? p?q? ?? ?,???? ??????????? ????
    ?????? ????????

15
More Truth Tables
16
More Truth Tables
17
Decision or Selection
  • 1.2 ?-?-??(If-Then-Else)
  • If p then q, else r? p ????? q,? p ????? r ?
  • ?????,if-then-else ????????????,? Java ? C,p
    ??????????,? x gt 2???????????????????,? q?r ?????
    ??????

18
Tautology Contradiction
  • ??????????????????,??????(tautology,T0
    )??????????????????,??????(contradiction,F0 )?
  • ?????,?? ?? ? ?? ???????? ?????(valid
    argument)?

19
Logic Law????
20
Logically Equivalent
  • 2.1 Logically Equivalent
  • ??????????????
  • ????????(logically equivalent),?? s1? s2 ,?? ?
    ?? s1 ???,???? ?? s2 ??,? ?? s1 ???,???? ?? s2
    ???
  • E.g., (p?q) ? (p?q)
  • (p?q) ? (p?q) (q?p)
  • (p?q) ? (p?q) (q?p)

21
Example
  • E.g., (p?q) ? (p?q)
  • (p?q) ? (p?q) (q?p)
  • (p?q) ? (p?q) (q?p)

22
Distributive Law
  • ?????,-(a b) (-a) (-b)
  • ????? p?q?r,
  • ???(Distributive Law)
  • a) p(q?r) ? (pq)?(pr)
  • b) p?(qr) ? (p?q)(p?r)?
  • ??? a(b c) (ab) (ac),??????????(note?
    ?????????)

23
DeMorgan Law
  • DeMorgan Law
  • 1) (p?q) ? (p)(q)
  • 2) (pq) ? (p)?(q)
  • ?? DeMorgan Law?

24
Logic Law (part 1)
25
Logic Law (part 2)
26
Duality
  • 2.2 ??(Duality)
  • ??????? (1) ?????,?????
  • ? s ????,? s ??????????,? s ???(dual)?? sd?
  • E.g., s(p q)?(rT0),
  • ? sd(p?q) (r?T0) ?
  • Note? s ? sd ?,q ?????

27
The Principle of Duality
  • ????(Principle of Duality)
  • ? s ? t ?????????,? s ? t,? sd ? td ?
  • ???? (2)-(10) ,?????,??????????????? ???????
  • More Details in Chapter 15

28
Example 1
  • E.g., pA ?????,
  • q B ????????
  • (p?q)
  • ? A ?????,? B ????????
  • (q?p)
  • ? B????????,? A?????? ?

29
Example 2
  • E.g., pA ?????????????,
  • q A ??????????
  • (p?q)
  • ? A ?????????????,? A ??????????
  • (q?p)
  • ? A ???????????,? A ?????????????? ?
  • (q?p)

30
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com