Task Background: Relations and functions are important in data management, particularly in the retrieval of data. It is important to know whether associations between data are unique or ambiguous.
Primary Task Response: Within the Discussion Board area, prepare at least 3 paragraphs that respond to the following problems with your thoughts, ideas, and comments. This will be the foundation for future discussions by your classmates. Be substantive and clear, and use exs to reinforce your ideas.
Part I
Research the term primary key. Discuss what this means in the context of functions and relations. Describe an ex of the use of a primary key.
Part II
Consider the ex of the states of the United States and the senators of the United States. If you consider the set of states as a domain and the set of senators as a range, you can establish a relation based on associations between the senators and the states. This relation would not be a function because each state corresponds to more than one senator. However, if you reverse the roles of the domain and range, then the relation is a function because each senator is associated with only one state.
Make up your own ex of 2 real-world sets - each with more than one element - and describe how the elements of the different sets can be paired, such that
if one set is considered the domain and the other the range, then the relation is not a function, and
if the roles (domain and range) of the two sets are reversed, then the relation is a function.