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 xS,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)


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={xZ|x2,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= {xZ|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 xZ,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 xZ,Q(x) appears to be true based on the values tested.

E 4.4**
xU,(xA)(xB)



E 4.5

a) xZ,4<x<6
b) xZ,x is odd x2 is odd
c) xZ, x2ODD xODD
d xR,xQx0
e) xr,yR,xQyQ(x+y)Q
f) xR,x2(x>0xR)
g) xZ,x25x+6=0
h) xR,x25x+6=0xZ

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 x22x+1=0 then x=1
e) There exists some value x in the rational numbers such that 2x3x2+2x1=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.

![[Math290 - HW4 1.pdf]]