100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

CS 135 Hw4

Rating
-
Sold
-
Pages
2
Uploaded on
25-03-2025
Written in
2024/2025

Homework 4 for CS 135. It's all Yours!!









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
March 25, 2025
Number of pages
2
Written in
2024/2025
Type
Other
Person
Unknown

Subjects

Content preview

CS 135: Problem Set 4
Due: 2024-10-11


Problem 1 (10 points): Let S be the set of students at Stevens, R be the set of dorm rooms, P be the set of
professors at Stevens, and C be the set of courses offered at Stevens.
Furthermore, let L ⊆ S × R be the relation consisting of ordered pairs (s, r) such that student s lives in dorm
room r. Similarly, let E ⊆ S × C be the relation of ordered pairs (s, c) such that student s is enrolled in course
c. Finally, let T ⊆ C × P be the relation of ordered pairs (c, p) such that c is taught by professor p.
Describe, in English, the following relations:

a. E −
b. E ◦ L−

c. E − ◦ E
d. E ◦ E −

e. T ◦ (E ◦ L− )

f. (T ◦ E) ◦ L−

Problem 2 (10 points): Suppose that R1 and R2 are two relations over some set A. For each statement
below, either give a proof that it is true, or give a counterexample.

a. If R1 , R2 are both reflexive, then so is R1 ∪ R2 .

b. If R1 , R2 are both symmetric, then so is R1 ∪ R2 .

c. If R1 , R2 are both transitive, then so is R1 ∪ R2 .

Problem 3 (10 points): An interesting property of reflexivity, symmetry and transitivity is that a relation
can have any combination of these. It could be reflexive and transitive but not symmetric, it could be just
symmetric and not the other two, or any other combination of them.
However, Lem E. Hackett, self-proclaimed “future Fields Medal winner”, claims that this is false. After all, he
claims to have found a proof of the fact that a symmetric transitive relation must also necessarily be reflexive.
Proof. Suppose that relation R over set A is both symmetric and transitive.
Let (a, b) ∈ R be arbitrary. By symmetry, we get that (b, a) ∈ R. Thus, by transitivity, we see that (a, a) ∈ R.
By generalization, we thus see that R must be reflexive.

a. Find a counterexample to disprove Lem’s conclusion.

b. What is the issue in Lem’s proof?




1

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
anyiamgeorge19 Arizona State University
View profile
Follow You need to be logged in order to follow users or courses
Sold
60
Member since
2 year
Number of followers
16
Documents
7001
Last sold
3 weeks ago
Scholarshub

Scholarshub – Smarter Study, Better Grades! Tired of endless searching for quality study materials? ScholarsHub got you covered! We provide top-notch summaries, study guides, class notes, essays, MCQs, case studies, and practice resources designed to help you study smarter, not harder. Whether you’re prepping for an exam, writing a paper, or simply staying ahead, our resources make learning easier and more effective. No stress, just success! A big thank you goes to the many students from institutions and universities across the U.S. who have crafted and contributed these essential study materials. Their hard work makes this store possible. If you have any concerns about how your materials are being used on ScholarsHub, please don’t hesitate to reach out—we’d be glad to discuss and resolve the matter. Enjoyed our materials? Drop a review to let us know how we’re helping you! And don’t forget to spread the word to friends, family, and classmates—because great study resources are meant to be shared. Wishing y'all success in all your academic pursuits! ✌️

Read more Read less
3.4

5 reviews

5
2
4
0
3
2
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions