4 - Open Sentences

Open sentence

Screen Shot 2023-09-12 at 1.23.31 PM.png

Example of an open sentence:

Let x and y be variables, both with the same domain R. We may define the open sentence

P(x,y):x>y.

You can combine open sentences with logical connectives

Quantifiers

The universal quantifier

Screen Shot 2023-09-12 at 1.31.55 PM.png

∀ is the universal quantifier; the expression ∀x∈S,P(x) makes the assertion that the open sentence P(x) is universally true for any x in the domain S.

The existential quantifier

Screen Shot 2023-09-12 at 1.37.07 PM.png

In class practice

  1. [32,7]
  2. All real numbers
  3. x<7
  4. (32,7)
  5. ∅


HW 4

Ben Finch

E 4.1

P(x):x>1,
Q(x):x2<16
R(x):x+1 is even.

a) S={2,3}
b) S={−1,−3,1,3}
c) S={x∈Z|x≤2,x=2k for some k in Z}

Q P R ¬P (Q∧¬P) ¬R (Q∧¬P)∧¬R
T T T F F F F
T T F F F T T
T F T T T F F
T F F T T T F
F T T F F F F
F T F F F T T
F F T T F F F
F F F T F T T

d) Logical equivalence:

Beginning statement:
(P(x)⇒Q(x))⇒R(x)

A => B is equivalent to ¬A ∨ B
¬(P(x)⇒Q(x))∨R(x)
¬(¬P(x)∨Q(x))∨R(x)

De Morgan's Laws
(¬¬P(x)∧¬Q(x))∨R(x)
(P(x)∧¬Q(x))∨R(x)

Therefore:
S= {x∈Z|x>4 or x is odd}

E 4.2
The statement "If x is an odd integer, then 3x+52 is an odd integer" is logically equivalent to "x is an even integer or 3x+52 is an odd integer"

1: false - 1 is not an even integer nor is 3(1)+52=4 an odd integer.
2: true - 2 is an even integer.
3: true - 3(3)+52=7 is an odd integer
4: true - 4 is an even integer
5: false - 5 is not an even integer nor is 3(5)+52=10 an odd integer.
6: true - 6 is an even integer

The open statement ∀x∈Z,P(x) is false since there are some values (for example 1 & 5) for which P(x) is false.



E 4.3
The statement Q(x): If x is an even integer, then 3x+5 is an odd integer is logically equivalent to "x is an odd integer or 3x+5 is an odd integer"

1: true - 1 is an odd integer.
2: true - 3(2)+5=11 is an odd integer
3: true - 3 is an odd integer
4: true - 3(4)+5=17 is an odd integer
5: true - 5 is an odd integer
6: true - 6(4)+5=29 is an odd integer

The statement ∀x∈Z,Q(x) appears to be true based on the values tested.

E 4.4**
∀x∈U,(x∈A)⇔(x∈B)



E 4.5

a) ∃x∈Z,4<x<6
b) ∀x∈Z,x is odd ⟹ x2 is odd
c) ∀x∈Z, x2∈ODD ⟹ x∈ODD
d ∀x∈R,x∉Q⟹x≠0
e) ∀x∈r,∀y∈R,x∈Q∧y∈Q⟹(x+y)∈Q
f) ∀x∈R,x2⟹(x>0∧x∈R)
g) ∃x∈Z,x2−5x+6=0
h) ∀x∈R,x2−5x+6=0⟹x∈Z

E 4.6
a) There exists some value x in the real numbers such that x2=2
b) For all values x that are integers, x is even if and only if x2 is even
c) For all values x in the real numbers, if x>1 then x3>1.
d) For all values x in the real numbers, if x2−2x+1=0 then x=1
e) There exists some value x in the rational numbers such that 2x3−x2+2x−1=0
f) For every real number x, there exists an integer y and a number z in the range 0 (inclusive) to 1 (not inclusive) such that x is the sum of y and z.