Relations and Functions in A and B Sets: Understanding the Differences

  • Context: Undergrad 
  • Thread starter Thread starter luizgguidi
  • Start date Start date
  • Tags Tags
    Functions Relations
Click For Summary

Discussion Overview

The discussion revolves around the concepts of relations and functions, specifically examining whether certain sets of ordered pairs qualify as functions based on their definitions. Participants explore the implications of these definitions in the context of given sets A and B, addressing both theoretical and practical aspects of the topic.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants inquire whether the set of pairs {, , , } constitutes a function and seek clarification on the definitions of functions and relations.
  • One participant asserts that a function is a relation where each element in the domain corresponds to exactly one element in the range.
  • Another participant questions if the absence of a pairing for the element 's' in the set affects its status as a function, expressing uncertainty due to conflicting information from a book.
  • A later reply provides a formal definition of a relation and a function, suggesting that the given set is not a function because 's' is not paired with any element in the range.
  • There is a discussion about the empty set, with one participant stating it is a function from the empty set to any set, while also being a relation between any two sets.
  • Another participant challenges the interpretation of the function definition, arguing that having no pairing for 's' means it cannot be a function.
  • Confusion arises regarding the definition of functions, with participants debating the implications of multiple domain members being paired with the same range member.

Areas of Agreement / Disagreement

Participants express differing views on whether the set of pairs qualifies as a function, with some asserting it does not due to the unpaired element 's', while others argue that the definition allows for it to still be considered a function. The discussion remains unresolved with multiple competing interpretations of the definitions presented.

Contextual Notes

Participants reference definitions and examples from textbooks, indicating potential variations in understanding based on different sources. There is also mention of vacuous truths in relation to the empty set, which may not be universally accepted.

luizgguidi
Messages
8
Reaction score
0
Can anyone help me with this?
Thank you very much

Given set A={m,b,f,a,s} and B={m,b,s}

a) Is {<m,s>, <b,m>, <f,m>, <a,b>} a function? Is it a relation or function from A to B, A to A, B to A, B to B or none of the above?
b) Is { } a function? Is it a relation or function from A to B, A to A, B to A, B to B or none of the above?

Please note that { } stands for the empty set
 
Physics news on Phys.org
What is the definition of a function, say, from X to Y?
 
I assumed that a function is a relation in which every element in the domain yields exactly one element.
 
You assumed or that is what your textbook said?
 
Textbook said!
 
luizgguidi said:
I assumed that a function is a relation in which every element in the domain yields exactly one element.
Good! Now, is that the case for {<m,s>, <b,m>, <f,m>, <a,b>}? (Which elements are in the domain which in the range?)
 
I would say yes, but not sure because s is not paired with any member. Does that make it not a function? Definition says that every element should be. I had a different answer from a book so just want to check I understood it right.
Also, what about {} ?

Thanks
 
Well, more formally, a relation from X to Y is any subset of X × Y, and a function f from X to Y is a subset of X × Y such that for each x in X, there is some y in Y such that <x, y> is in f, and if <x, y> and <x, y'> are in f then y = y'.

For a), apply the definition above. s is in A, but there's no y in B such that <s, y> is in the set given, so it's not a function.

For b), {} is a function, but not from A to B. However, it is a function from {} to S where S is any set at all; it's a subset of {} × S and the other conditions for a function are vacuously true. However, it is a relation between any two sets, since the empty set is a subset of any set.

Note: if f is a function from X to Y, it's easy to see that X is the set of all first entries in f, so you should be able to use this as a test.
 
luizgguidi said:
I would say yes, but not sure because s is not paired with any member. Does that make it not a function? Definition says that every element should be. I had a different answer from a book so just want to check I understood it right.
Also, what about {} ?

Thanks

Absolutely not! You seem to be completely misunderstanding the definition of "function". The definition of function says that every member of the domain must be paired with at most one member of the range. For example {(x,y)| y= x2} is a function even though no x is paired with a negative number. It is also true that two different values of x give the same y value so a member of the range is paired with two different members of the domain. But it is still true that no member of the domain is paired with two different members of the range and so it is a function.

{(x, y)| x= y2} is not a function because it contains the pairs (4, 2) and (4, -2): one member of the domain, 4, is paired with two different members of the domain. Now, look at "first" and "second" members of each pair ("domain" and "range" respectively). Does your set of pairs contain two pair in which the first members are different but the second the same? If so it is not a function.
 
  • #10
Halls, you just really confused me there; what are you trying to say?

In a function, each member of the domain must be paired with exactly one member of the codomain such that the member of the domain is the first entry of the pair. In his case, s is in the domain, but it's not paired with anything in the range (there's no pair of the form <s, ·> in the given set). That proves that it's not a function.
 
  • #11
I thought it simpler to note that there are two members of the domain paired with s.
 
  • #12
Where are there two members of the domain paired with s?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
389
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K