functions versus relations

2
Functions versus Relations There are different ways of looking at functions. We will consider a few. But first, we need to discuss some terminology. A "relation" is just a relationship between sets of information. Think of all the people in one of your classes, and think of their heights. The pairing of names and heights is a relation. In relations and functions, the pairs of names and heights are "ordered", which means one comes first and the other comes second. To put it another way, we could set up this pairing so that either you give me a name, and then I give you that person's height, or else you give me a height, and I give you the names of all the people who are that tall. The set of all the starting points is called "the domain" and the set of all the ending points is called "the range." The domain is what you start with; the range is what you end up with. The domain is the x's; the range is the y's. (I'll explain more on the subject of determining domains and ranges later .) A function is a "well-behaved" relation. Just as with members of your own family, some members of the family of pairing relationships are better behaved than other. (Warning: This means that, while all functions are relations, since they pair information, not all relations are functions. Functions are a sub- classification of relations.) When we say that a function is "a well-behaved relation", we mean that, given a starting point, we know exactly where to go; given an x, we get only and exactly one y. Let's return to our relation of your classmates and their heights, and let's suppose that the domain is the set of everybody's heights. Let's suppose that there's a pizza-delivery guy waiting in the hallway. And all the delivery guy knows is that the pizza is for the student in your classroom who is five-foot- five. Now let the guy in. Who does he go to? What if nobody is five-foot-five? What if there are six people in the room that are five-five? Do they all have to pay? What if you are five-foot-five? And what if you're out of cash? And allergic to anchovies? Are you still on the hook? Ack! What a mess! The relation "height indicates name" is not well-behaved. It is not a function. Given the relationship (x, y) = (five-foot-five person, name), there might be six different possibilities for y = "name". For a relation to be a function, there must be only and exactly one y that corresponds to a given x. Here are some pictures of this: Copyright © Elizabeth Stapel 1999-2011 All Rights Reserved This is a function. You can tell by tracing from each x to each y. There is only one y for each x; there is only one arrow coming from each x. Ha! Bet I fooled some of you on this one! This is a function! There is only one arrow coming from each x; there is only one y for each x. It just so happens that it's always the same y for each x, but it is only that one y. So this is a function; it's just an extremely boring function!

Upload: josua-gatchalian-alvarez

Post on 01-Sep-2015

214 views

Category:

Documents


0 download

DESCRIPTION

yeah its fvr

TRANSCRIPT

Functions versus RelationsThere are different ways of looking at functions. We will consider a few. But first, we need to discuss some terminology.A "relation" is just a relationship between sets of information. Think of all the people in one of your classes, and think of their heights. The pairing of names and heights is a relation. In relations and functions, the pairs of names and heights are "ordered", which means one comes first and the other comes second. To put it another way, we could set up this pairing so that either you give me a name, and then I give you that person's height, or else you give me a height, and I give you the names of all the people who are that tall. The set ofall the starting points is called "the domain" and the set of all the ending points is called "the range." The domain is what you start with; the range is what you end up with. The domain is thex's; the range is they's. (I'll explain more on the subject of determining domains and rangeslater.)A function is a "well-behaved" relation. Just as with members of your own family, some members of the family of pairing relationships are better behaved than other. (Warning: This means that, while all functions are relations, since they pair information,notall relations are functions. Functions are a sub-classification of relations.) When we say that a function is "a well-behaved relation", we mean that, given a starting point, we know exactly where to go; given anx, we get only and exactly oney.Let's return to our relation of your classmates and their heights, and let's suppose that the domain is the set of everybody's heights. Let's suppose that there's a pizza-delivery guy waiting in the hallway. And all the delivery guy knows is that the pizza is for the student in your classroom who is five-foot-five. Now let the guy in. Who does he go to? What if nobody is five-foot-five? What if there aresixpeople in the room that are five-five? Do they all have to pay? What if you are five-foot-five? And what if you're out of cash? And allergic to anchovies? Are you still on the hook? Ack! What a mess!

The relation "height indicates name" is not well-behaved. It is not a function. Given the relationship (x,y) = (five-foot-five person, name), there might be six different possibilities fory= "name". For a relation to be a function, there must beonly and exactlyoneythat corresponds to a givenx. Here are some pictures of this:Copyright Elizabeth Stapel 1999-2011 All Rights ReservedThis is a function. You can tell by tracing from eachxto eachy. There is only oneyfor eachx; there is only one arrow coming from eachx.

Ha!Bet I fooled some of you on this one! Thisisa function! There is only one arrow coming from eachx; there is only oneyfor eachx. It just so happens that it's always the sameyfor eachx, but it is only that oney. So this is a function; it's just an extremelyboringfunction!

This one is not a function: there aretwoarrows coming from the number1; the number1is associated with twodifferentrange elements. So this is a relation, but it is not a function.

Okay, this one's a trick question. Each element of the domain that has a pair in the range is nicely well-behaved. But what about that16? Itisin the domain, but it has no range element that corresponds to it! This won't work! So then this is not a function. Heck, it ain't even a relation!