SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
Assignment 4
Deadline: April 26 (Thursday Class), April 27(Friday Class)


                       Harshit Kumar

                        April 20, 2012
Q1. For the following sets, find the transitive closure.

  1. {(a, c), (b, d), (c, a), (d, b), (e, d)}
  2. {(b, c), (b, e), (c, e), (d, a), (e, b), (e, c)}
  3. {(a, b), (a, c), (a, e), (b, a), (b, c), (c, a), (c, b), (d, a), (e, d)}

  4. {(a, e), (b, a), (b, d), (c, d), (d, a), (d, c), (e, a), (e, b), (e, c), (e, e)}
   Q2. Assume that the Universe is a set of all people, then which of the following relations are equivalence relations?
  1. {(p, q)|p and q were born on the same date}.
  2. {(p, q)|p and q have same parents}.

  3. {(p, q)|p and q share a common parent}.
  4. {(p, q)|p and q are acquaintance}.
  5. {(p, q)|p and q speak the same language}

    Q3. For the following matrices, Write your answer as YES if the matrix represents an equivalence relation. Write your answer as NO if the matrix does not
represent an equivalence relation.
              
       1 1 1
   1. 0 1 1
       1 1 1
                  
       1 0 1 0
      0 1 0 1
   2. 
      1 0 1 0
                   

       0 1 0 1
                  
       1 1 1 0
      1 1 1 0
   3. 
      1 1 1 0
                   

       0 0 0 1
   Q4. For the subsets below, assume that the set of Integer Z is the universe; Which of the following subsets are partitions?
  1. the set of integers divisible by 3, the set of integers leaving a remainder 2 when divided by 3, the set of integers leaving a remainder 1 when divided by 3.

  2. the set of positive integers and the set of negative integers
  3. the set of integers divisible by 2, the set of integers leaving a remainder of 1 when divided by 2.
  4. the set of integers less than -200, the set of integers less than 200, and the set of integers greater than 200.
  5. the set of integers leaving a remainder 0 when divided by 3, the set of integers divisible by 2, and the set of integers leaving a remainder 3 when divided
     by 6.
Q5. Which of the following matrices represent partial order relation? Also, generate a Hasse diagram for those that are partial order relation.
             
      1 0 1
  1. 1 1 0
      0 0 1
             
      1 0 0
  2. 0 1 0
      1 0 1
                
      1 0 1 0
     0 1 1 0
  3. 
     0 0 1 1
                 

      1 1 0 1
   Q6. For the following diagram, determine if it represents a partial order or not? Explain your answer.




   Q7. Draw the Hasse diagram for the following set inclusion diagram. The original set S = {a, b, c, d}




                                                                                        1

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 6.5
Chapter 6.5Chapter 6.5
Chapter 6.5
nglaze10
 
Day 3 examples b u1f13
Day 3 examples b u1f13Day 3 examples b u1f13
Day 3 examples b u1f13
jchartiersjsd
 
Cd32939943
Cd32939943Cd32939943
Cd32939943
IJMER
 
Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)
MsKendall
 
X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)
Nigel Simmons
 

Was ist angesagt? (19)

4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
4 ESO Academics - Unit 03 - Exercises 4.3.2 - Powers and Polynomial Identities.
 
Inverse Trigonometry QA 5
Inverse Trigonometry QA 5Inverse Trigonometry QA 5
Inverse Trigonometry QA 5
 
Alg1 lesson 3 4 day 2
Alg1 lesson 3 4 day 2Alg1 lesson 3 4 day 2
Alg1 lesson 3 4 day 2
 
0.7 Radical Expressions
0.7 Radical Expressions0.7 Radical Expressions
0.7 Radical Expressions
 
Sadat sumon
Sadat sumonSadat sumon
Sadat sumon
 
Basic mathematics code 303102 bca 1st semester exam. 2014
Basic mathematics    code   303102  bca     1st semester     exam.       2014Basic mathematics    code   303102  bca     1st semester     exam.       2014
Basic mathematics code 303102 bca 1st semester exam. 2014
 
Chapter 6.5
Chapter 6.5Chapter 6.5
Chapter 6.5
 
Day 3 examples b u1f13
Day 3 examples b u1f13Day 3 examples b u1f13
Day 3 examples b u1f13
 
Cd32939943
Cd32939943Cd32939943
Cd32939943
 
Algebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomialsAlgebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomials
 
AA Section 8-2
AA Section 8-2AA Section 8-2
AA Section 8-2
 
Concept of set.
Concept of set.Concept of set.
Concept of set.
 
Patterns
PatternsPatterns
Patterns
 
Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)Algebra i ccp quarter 3 benchmark review 2013 (2)
Algebra i ccp quarter 3 benchmark review 2013 (2)
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 
2 homework
2 homework2 homework
2 homework
 
X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)X2 t01 01 arithmetic of complex numbers (2013)
X2 t01 01 arithmetic of complex numbers (2013)
 
Coordinates
CoordinatesCoordinates
Coordinates
 
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualDiscrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
 

Andere mochten auch (8)

Lecture3layered archi
Lecture3layered archiLecture3layered archi
Lecture3layered archi
 
Solution2
Solution2Solution2
Solution2
 
Mid-
Mid-Mid-
Mid-
 
Week31
Week31Week31
Week31
 
Solution3
Solution3Solution3
Solution3
 
Induction
InductionInduction
Induction
 
Assignment4
Assignment4Assignment4
Assignment4
 
Assignment3
Assignment3Assignment3
Assignment3
 

Ähnlich wie Assignment4

Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docxHussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
wellesleyterresa
 
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyNbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
MD Kutubuddin Sardar
 
Let A= 8 6 -2 9 3 9 0 .docx
Let   A=      8      6      -2    9     3          9    0   .docxLet   A=      8      6      -2    9     3          9    0   .docx
Let A= 8 6 -2 9 3 9 0 .docx
SHIVA101531
 
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docxSalem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
anhlodge
 

Ähnlich wie Assignment4 (20)

A
AA
A
 
4898850.ppt
4898850.ppt4898850.ppt
4898850.ppt
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docxHussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
Hussam Malibari Heckman MAT 242 Spring 2017Assignment Chapte.docx
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
 
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyNbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problems
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problems
 
Discrete mathematics notes
Discrete mathematics notesDiscrete mathematics notes
Discrete mathematics notes
 
math 7 Q1-W1-D3.pptx
math 7 Q1-W1-D3.pptxmath 7 Q1-W1-D3.pptx
math 7 Q1-W1-D3.pptx
 
Let A= 8 6 -2 9 3 9 0 .docx
Let   A=      8      6      -2    9     3          9    0   .docxLet   A=      8      6      -2    9     3          9    0   .docx
Let A= 8 6 -2 9 3 9 0 .docx
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
Asignacion 3 "estructura discreta"
Asignacion 3 "estructura discreta" Asignacion 3 "estructura discreta"
Asignacion 3 "estructura discreta"
 
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
 
Stochastic Processes Homework Help
Stochastic Processes Homework HelpStochastic Processes Homework Help
Stochastic Processes Homework Help
 
Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021
 
CaseWare Data Scientist test.
CaseWare Data Scientist test.CaseWare Data Scientist test.
CaseWare Data Scientist test.
 
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docxSalem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
Salem Almarar Heckman MAT 242 Spring 2017Assignment Chapter .docx
 
Nbhm m. a. and m.sc. scholarship test 2008
Nbhm m. a. and m.sc. scholarship test 2008Nbhm m. a. and m.sc. scholarship test 2008
Nbhm m. a. and m.sc. scholarship test 2008
 
Linear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependencyLinear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependency
 

Mehr von H K (20)

Dm assignment3
Dm assignment3Dm assignment3
Dm assignment3
 
Proof
ProofProof
Proof
 
Resolution
ResolutionResolution
Resolution
 
Assignment description
Assignment descriptionAssignment description
Assignment description
 
Dm assignment2
Dm assignment2Dm assignment2
Dm assignment2
 
Set
SetSet
Set
 
Dm assignment1
Dm assignment1Dm assignment1
Dm assignment1
 
Logic
LogicLogic
Logic
 
Introduction
IntroductionIntroduction
Introduction
 
Assignment 2 sol
Assignment 2 solAssignment 2 sol
Assignment 2 sol
 
Assignment sw solution
Assignment sw solutionAssignment sw solution
Assignment sw solution
 
Violinphoenix
ViolinphoenixViolinphoenix
Violinphoenix
 
Ie project
Ie projectIe project
Ie project
 
Assignment cn subnetting
Assignment cn subnettingAssignment cn subnetting
Assignment cn subnetting
 
Assignment uplaodfile
Assignment uplaodfileAssignment uplaodfile
Assignment uplaodfile
 
Assignment sw
Assignment swAssignment sw
Assignment sw
 
Assignment sw
Assignment swAssignment sw
Assignment sw
 
Assignment cn tl
Assignment cn tlAssignment cn tl
Assignment cn tl
 
Dc assignment 2
Dc assignment 2Dc assignment 2
Dc assignment 2
 
Mid term exam
Mid term examMid term exam
Mid term exam
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Assignment4

  • 1. Assignment 4 Deadline: April 26 (Thursday Class), April 27(Friday Class) Harshit Kumar April 20, 2012
  • 2. Q1. For the following sets, find the transitive closure. 1. {(a, c), (b, d), (c, a), (d, b), (e, d)} 2. {(b, c), (b, e), (c, e), (d, a), (e, b), (e, c)} 3. {(a, b), (a, c), (a, e), (b, a), (b, c), (c, a), (c, b), (d, a), (e, d)} 4. {(a, e), (b, a), (b, d), (c, d), (d, a), (d, c), (e, a), (e, b), (e, c), (e, e)} Q2. Assume that the Universe is a set of all people, then which of the following relations are equivalence relations? 1. {(p, q)|p and q were born on the same date}. 2. {(p, q)|p and q have same parents}. 3. {(p, q)|p and q share a common parent}. 4. {(p, q)|p and q are acquaintance}. 5. {(p, q)|p and q speak the same language} Q3. For the following matrices, Write your answer as YES if the matrix represents an equivalence relation. Write your answer as NO if the matrix does not represent an equivalence relation.   1 1 1 1. 0 1 1 1 1 1   1 0 1 0 0 1 0 1 2.  1 0 1 0  0 1 0 1   1 1 1 0 1 1 1 0 3.  1 1 1 0  0 0 0 1 Q4. For the subsets below, assume that the set of Integer Z is the universe; Which of the following subsets are partitions? 1. the set of integers divisible by 3, the set of integers leaving a remainder 2 when divided by 3, the set of integers leaving a remainder 1 when divided by 3. 2. the set of positive integers and the set of negative integers 3. the set of integers divisible by 2, the set of integers leaving a remainder of 1 when divided by 2. 4. the set of integers less than -200, the set of integers less than 200, and the set of integers greater than 200. 5. the set of integers leaving a remainder 0 when divided by 3, the set of integers divisible by 2, and the set of integers leaving a remainder 3 when divided by 6. Q5. Which of the following matrices represent partial order relation? Also, generate a Hasse diagram for those that are partial order relation.   1 0 1 1. 1 1 0 0 0 1   1 0 0 2. 0 1 0 1 0 1   1 0 1 0 0 1 1 0 3.  0 0 1 1  1 1 0 1 Q6. For the following diagram, determine if it represents a partial order or not? Explain your answer. Q7. Draw the Hasse diagram for the following set inclusion diagram. The original set S = {a, b, c, d} 1