Professional Documents
Culture Documents
x
Relation
Let 𝐴 and 𝐵 be set. A relation 𝑹 from 𝑨 to 𝑩 is subset of 𝐴 × 𝐵.
Given an ordered pair (𝑥, 𝑦) in 𝐴 × 𝐵, 𝑥 is related to 𝒚 by 𝑹, written
𝑥 𝑅 𝑦, if, and only if, (𝑥, 𝑦) is in 𝑅. The set 𝐴 is called the domain of
𝑅 and the set 𝐵 is called its co-domain.
1−1 0
(1,1) ∈ 𝑅 because = = 0, which is an integer.
2 2
1−2 −1
(1,2) ∉ R because = , which is not an integer.
2 2
1−3 −2
(1,3) ∈ 𝑅 because = = −1, which is an integer.
2 2
2−1 1
(2,1) ∉ R because = , which is not an integer.
2 2
2−2 0
(2,2) ∈ 𝑅 because = = 0, which is an integer.
2 2
2−3 2
(2,3) ∉ R because = − , which is not an integer.
2 2
solution
Thus
−1 √3
a. Is (1,0) ∈ 𝐶? Is (0,0) ∈ 𝐶? Is ( , ) ∈ 𝐶? Is −2 𝐶 0? Is 0 𝐶 (−1)? Is 1
2 2
𝐶 1?
b. What are the domain and co-domain of 𝐶?
c. Draw a graph for 𝐶 by plotting the points of 𝐶 in the Cartesian
plane.
Solution
a. Yes, (1,0, ) ∈ 𝐶 because 1 2 + 0 2 = 1.
No, (0,0) ∉ C because 0 2 + 0 2 = 0 ≠ 1.
−1 √3 −1 √3 1 3
Yes, ( 2 , 2 ) ∈ 𝐶 because ( 2 ) 2 + ( 2 ) 2 = 4 + 4 = 1.
No, −2 Ȼ 0 because (−2) 2 + 0 2 = 4 ≠ 1.
Yes, 0 𝐶 (−1) because 0 2 + (−1) 2 = 1. No, 1 Ȼ 1 because 1 2 + 1 2 =
2 ≠ 1.
b. The domain and co-domain of 𝐶 are both 𝑅, the set of all numbers
Solution
c.
Arrow Diagram of a Relation
Suppose 𝑅 is a relation from a set 𝐴 to a set 𝐵. The arrow diagram for 𝑹
is obtained as follows:
Properties (1) and (2) can be stated less formally as follows: A relation 𝐹
from 𝐴 to 𝐵 is a function if and only if:
• Factual statement (You had to pass the bar exam to practice law.)
• Commands (Get out of my face!)
• Opinions (Chocolate cake with cream cheese icing is the best dessert EVER.)
• Questions (‘Sup with you?)
• Exclamations (Holy cow!)
In the objectives study of logic, we will use only factual statement -it’s pretty
hard to decide if “Get out of my face” is true or false. And by “pretty hard” I
mean “completely impossible.”
The first two statements use universal quantifiers, while the third
and fourth use existential quantifiers. Note that the statements
using existential quantifiers are not “all inclusive” (or all
exclusive) as the other two are.
Negation
The 𝑛𝑒𝑔𝑎𝑡𝑖𝑜𝑛 of a statement is a corresponding statement with
the opposite truth value. This means that if a statement is true
its negation is false, and if a statement is false its negation is
true.
For example, for the statement “My dorm room is blue,” the
negation is “My dorm room is not blue.” It’s important to note
that the truth values of these two are completely opposite: one is
true, and the other is false-period. You can’t negate “my dorm
room is blue” by saying “My dorm room is yellow” because it’s
completely possible the 𝑏𝑜𝑡ℎ statements are false.
Statement Negation
Auburn will win Saturday. Auburn will not win Saturday.
c. These two statements don’t say the same thing. The first clearly says
that Large Coney is not a dog. But the second one says it’s not true that
BOTH Large Coney is a dog and Guinness is a cat. So that statement
could be true if Large Coney is a dog, but Guinness is not a cat.
Example 5 Writing Statement Symbolically
Let 𝑝 represent the statement “It is cloudy” and 𝑞 represent the
statement “I will go to the beach”. White each statement in
symbols.
a. ~𝑝 b. 𝑝 ˅ 𝑞 c. ~𝑝 → 𝑞 d. 𝑞 ↔ 𝑝 e. 𝑞 ˄ 𝑝
Solution
a. My dog is not a golden retriever.