
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 18, Problem 1PE
Explanation of Solution
Proof:
Consider the set of attributes be α .
F is considered to be the set of functional dependencies (FDs).
The set of attributes is considered to be functionally determined by α under F and is defined to be close of α under F(α+).
Using the Figure 7.19 and Figure 7.8:
The
- Computing what will happen after adding A to result.
- Proving α→A
- Since α→α is trivially which means α is considered to be a part of the result.
- Now, after adding A∉α to the resultant there should be existence of functional dependency that is β→γ where A∈γ and where β⊆result.
- Or else the value of the “fdcount” will not become zero, then the related of condition of the algorithm will not change to be the value “false”.
- When A∈α+, then it will added to the result for sure.
- Proving this by induction by utilizing the Armstrong’s axiom on the length of proof on α→A are shown below:
- The add- in procedure gets called with the argument say “c”, then all the attribute present in the “C” gets added to the result.
- Similarly in addition to it when the functional dependency “fdcount” value is zero, then all the attributes of its tail is surely added to the resultant too.
- Utilizing the induction to the base case that is when A∈α then A∈α+ is considered to be true because the very first call that is made to the add-in procedure is made with the argument α.
- Assume that α→A and it can be proved in “n” steps or lesser than “n” steps and then it is also A∈result.
- Now proving α→A in n+1 steps;
- The last step of proof can be obtained by applying one of the Armstrong axioms.
- The below are three Armstrong’s axiom and they are
- Reflexivity
- A is considered to be set of attributes
- B⊆C and B⊆A then A→B
- Augmentation
- A is considered to be set of attributes
- B→C, then AB→AC will also hold
- Transitivity
- A→B and B→A, then A→C can also be hold.
- Reflexivity
- The below are three Armstrong’s axiom and they are
- This indicates that the A was already present in the result and also in the nth step itself.
- Or else by induction we can obtain that c⊆result
Comparison:
The algorithm present in the figure 7.19 is comparatively more efficient when compared with that of the figure 7.8 as shown below:
- Each and every functional dependency gets scanned only one in the main program.
- The resultant array size that appears is proportional to the size of the functional dependencies.
- The recursive call that is made to the procedure add-in is also considered to be linear to the size that it appears.
- Therefore, the time taken for the overall algorithm is linear to the size of the functional dependencies.
- The algorithm presented in the figure 7.8 requires quadratic time because
- The loop gets performed based the times of functional dependencies(FD’s)
- Also for each loop the FD gets scanned again and again.
Want to see more full solutions like this?
Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
using r languange
using r language
show all the work
Chapter 18 Solutions
Database System Concepts
Ch. 18 - Prob. 1PECh. 18 - Prob. 2PECh. 18 - Prob. 3PECh. 18 - Prob. 4PECh. 18 - Prob. 5PECh. 18 - Prob. 6PECh. 18 - Prob. 7PECh. 18 - Prob. 8PECh. 18 - Prob. 9PECh. 18 - Prob. 10PE
Ch. 18 - Prob. 11PECh. 18 - Prob. 12PECh. 18 - Prob. 13PECh. 18 - Prob. 14PECh. 18 - Prob. 17ECh. 18 - Prob. 18ECh. 18 - Prob. 19ECh. 18 - Prob. 20ECh. 18 - Prob. 21ECh. 18 - Prob. 22ECh. 18 - Prob. 23ECh. 18 - Prob. 24ECh. 18 - Prob. 25ECh. 18 - Prob. 26ECh. 18 - Prob. 27ECh. 18 - Prob. 28ECh. 18 - Prob. 29ECh. 18 - Prob. 30ECh. 18 - Prob. 31ECh. 18 - Prob. 32ECh. 18 - Prob. 33ECh. 18 - Prob. 34ECh. 18 - Prob. 35ECh. 18 - Prob. 36E
Knowledge Booster
Similar questions
- show all the workarrow_forwardList down the strenghts and weaknesses of your team project for Capsim Simulation? Explan.arrow_forwardCapsim Team PowerPoint Presentations - Slide Title: Key LearningsWhat were the key learnings that you discovered as a team through your Capsim simulation?arrow_forward
- Write the SQL code that permits to implement the tables: Student and Transcript. NB: Add the constraints on the attributes – keys and other.arrow_forwardDraw an ERD that will involve the entity types: Professor, Student, Department and Course. Be sure to add relationship types, key attributes, attributes and multiplicity on the ERD.arrow_forwardDraw an ERD that represents a book in a library system. Be sure to add relationship types, key attributes, attributes and multiplicity on the ERD.arrow_forward
- 2:21 m Ο 21% AlmaNet WE ARE HIRING Experienced Freshers Salesforce Platform Developer APPLY NOW SEND YOUR CV: Email: hr.almanet@gmail.com Contact: +91 6264643660 Visit: www.almanet.in Locations: India, USA, UK, Vietnam (Remote & Hybrid Options Available)arrow_forwardProvide a detailed explanation of the architecture on the diagramarrow_forwardhello please explain the architecture in the diagram below. thanks youarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education