Its all about connectivity, Lecture notes of Mathematics

Mathematics is important anf learning this will help yiu

Typology: Lecture notes

2020/2021

Uploaded on 05/23/2023

virginia-tadalan
virginia-tadalan 🇨🇫

1 document

1 / 55

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MODULE 2
Propositions &
Connectives
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37

Partial preview of the text

Download Its all about connectivity and more Lecture notes Mathematics in PDF only on Docsity!

MODULE 2

Propositions &

Connectives

Introduction

Logic and mathematical reasoning have numerous applications in computer science. Rules in logic are used in the design of computer circuits, the development of computer programs, the verification of the correctness of programs, and many other ways.

Examples:

  • All the ff: declarative sentences are propositions.
    1. 8 is an even integer.
    1. Kalibo is the capital of Aklan.
    1. 6 (5) = 30.
    1. √2 is an integer.

Propositions 1, 2, 3 are true, whereas 4 is false.

  • Examples of sentences that are not propositions:
    1. Why are you here?
    1. Be attentive in class.
    1. a – 5 = 10
    1. m + n = p

An acceptable proposition is given the decision value true (or 1 ) , while an unacceptable statement is assigned a decision value false (or 0 ). An array of decision value (truth value) is called a logical matrix (or truth table).

Logical operators

  • Many mathematical statements are constructed by combining one or more propositions. These new propositions are formed using logical operators. The logical operators that are used to form new propositions from 2 or more existing propositions are called connectives.

Statement or Proposition P ^ Q True if and only if P and Q are both true P v Q True if and only if P is true or Q is true or both are true P Q True under all circumstances except when P is true and Q is false. P Q True if and only if P and Q are both true or both false ➢ Must express a complete thoughtA declarative sentence or statement that is either true or false but not both.

Negation

  • Definition: let p be a proposition. The statement “ It is not the case that p” is another proposition, called the negation of p , denoted by ¬p. the proposition ¬p is read “not p”.
  • The truth value of a

true proposition is T or 1.

The truth value of a false

proposition is F or 0.

  • A truth value or truth

matrix displays the

relationships between

the truth values of

propositions.

The matrix gives 2 possible decisions for q, since a proposition may either be T or F. Table 1: The Truth Matrix of the Negation of a Proposition p q 1 0

Examples:

  • 1 ) Consider the following sentences:
  • p: 6 is an even integer.
  • q: 7 is an odd integer.
  • The conjunction of this proposition, p ٨ q , is the proposition “ 6 is an even integer & 7 is an odd integer.”
  • 2 ) Let p: 4 divides 16.
  • q: 4 divides 24.
  • p ٨ q , is the proposition,

“ 4 divides 16 and 4 divides

  • or “ 4 divides both 16 and

Table 2: The Truth Matrix for the Conjunction of the 2 Propositions

p q p ٨ q

• Note:

• There is only one

condition for p ٨ q to

be true & this is when

both statements are

true.