PrepShorts · Study sheet · Class 11 Mathematics · Chapter 2, Relations and Functions
Chapter 2 · Relations and Functions
What goes in, what comes out, and what was merely allowed to come out
This video could not be loaded. Reload the page to try again.
Sign in with Google14 min.
Keep your place in this chapter — sign in, it’s free.Sign in
Five pairs on the numbers one to six settle two sets outright — domain and range, read straight off the list. The third set, the codomain, was never on it.
The idea
Two of the chapter's three named sets are computed and one is declared. Collect the opening entries of the chosen pairs and you have the domain; collect the closing entries and you have the range; both are things the list of pairs already determines. The codomain is not — it is whichever set you announced you were mapping into when you set the relation up, and no amount of staring at the pairs will recover it. That asymmetry is the reason Definition 4 writes containment rather than equality between range and codomain, and the chapter supplies its own demonstration: in Example 8 an element of the second set receives nothing at all, while in Example 7 the same six-element set serves as codomain even though only five of its elements ever open a pair and only five ever close one. Codomain is a promise about where the outputs are allowed to land, and a relation is under no obligation to use the room.
What you should be able to do
- Read a relation's domain, and its range, directly off a roster of pairs
- Read both of those sets off an arrow diagram, including cases where an element of either oval is unattached
- State where the codomain comes from, and explain why it cannot be computed from the pairs
- Explain why Definition 4 asserts containment and not equality, and give an instance from the chapter where the containment is strict
- Work out all three sets for a relation given as a condition, testing candidate values for membership in the stated sets
- Describe what changes and what does not when the second set is replaced by a smaller one that still holds every image
- Explain why a relation is free to leave elements of the first set unused, and flag that this freedom is what §2.4 will take away
Words to know
| Term | Definition in one line | First introduced |
|---|---|---|
| domain | the set of everything that opens a pair of the relation | printed in Definition 3, p. 28 |
| range | the set of everything that closes a pair of the relation | printed in Definition 4, p. 28 |
| codomain | the second of the two sets the relation was declared between, which the range sits inside | printed in Definition 4, p. 28 |
| image | what a first entry is sent to by the relation | printed in Definition 2, p. 28 |
| natural numbers | the counting numbers, written N | printed in Exercise 2.2 Q2, p. 30 |
| integer | a whole number, positive, negative or zero, the set written Z | printed in Exercise 2.2 Q9, p. 30 |
| declared set | the codomain, considered as something announced rather than computed | an added phrasing; the chapter states that the whole second set is the codomain without labelling the act of declaring it |
Where people slip up
- "Range and codomain are two words for the same set." Definition 4 writes containment. Fig 2.6 shows an element sitting in the codomain that the range does not contain.
- "The codomain is whatever set the images happen to fill." Then it would be the range. It is the set you named when you set the relation up, and Exercise 2.2 Q1 declares a fourteen-element codomain for a relation whose range has four elements.
- "The domain must be the whole first set." For relations it need not be — Example 7 leaves 6 out. This is precisely the freedom that Definition 5 removes when it defines a function, so the misconception is worth planting here and correcting there.
- "If a condition is stated on a set, every element of that set is in the domain." Exercise 2.2 Q1 refutes it: the condition sends 5 to 15, which is not in the set, so 5 never opens a pair.
- "An unattached element means the diagram is wrong." It means the range is strictly inside the codomain, which is the ordinary situation.
- "Shrinking the second set changes the relation." The pairs are unchanged; what changes is what the codomain records. The chapter does not discuss this, so present it as a question the definitions answer rather than as a printed result.
- "Domain and range are always the same size." Exercise 2.2 Q5 has both equal to a five-element set while the relation has twelve pairs, and Example 8 has a three-element domain against a six-element range.
Ask your teacher a person
Your teacher reads this and writes back, usually within a day. For an instant answer, use Ask the video in the sidebar.
Your class sees the question and the answer. Only your teacher sees that it was you.
No questions on this topic yet.
Worked answers: Exercise 2.1 · Exercise 2.2 · Exercise 2.3 · Miscellaneous Exercise · this video explains Exercise 2.2 Q1, Exercise 2.2 Q2, Exercise 2.2 Q5, Exercise 2.2 Q6, Exercise 2.2 Q9
Transcript1,919 words
Here is a set. The numbers one through six. And here is a relation on it: keep a pair when the second entry is one more than the first. Walk the thirty-six pairs, ask that of each one, and five survive. One with two. Two with three. Three with four. Four with five. Five with six. That list is the relation. Now three sets get named. The things that open a pair. The things that close one. And the set we said we were working into.
Two of those three are sitting in front of you already. The third one is not, and no amount of staring at the five pairs will produce it. That asymmetry is the whole of this video. Start with the two you can actually read off. Go along the list and collect every opening entry. One, two, three, four, five. Call that the domain. Now go along the same list and collect every closing entry.
Two, three, four, five, six. Call that the range. Both of those were a walk down a written list. No decisions, no choices, nothing announced. Hand the same five pairs to anybody in the world and they get the same two sets. And notice something. Write one of the pairs down twice and nothing moves. Six entries written, five pairs held, and the domain still lists one just once. The domain is a set. It does not care how many times you wrote anything.
Now the third one. When the relation was set up, a sentence was said out loud: this relation runs from the numbers one through six into the numbers one through six. That second announcement is the codomain. It is where the outputs are allowed to land. Allowed. Not where they do land. And it is not a measurement. It is a promise, made before any pair existed. Which means it cannot be recovered from the pairs, because the pairs were never asked.
The definition that ties them together does not say the range equals the codomain. It says the range sits inside it. Containment, not equality. The rest of this video is about why that word was chosen so carefully. Look at what our five pairs actually did. The set had six numbers. The domain has five. Six opens nothing. Seven is not in the set, so six has nothing to be paired with.
So the domain fell short of the first set. Now the other end. The range has five numbers too. One closes nothing, because zero is not in the set. So the range falls short of the codomain as well. One relation, and both shortfalls at once. Six lives in the codomain and in the range, but not in the domain. One lives in the domain and in the codomain, but not in the range.
The domain and the range are the same size here, and they are still different sets. Each holds exactly one thing the other does not. Neither of them contains the other. Size tells you nothing about which is which. Here is a picture where the shortfall is impossible to miss. Left oval: nine, four, twenty-five. Right oval: five, three, two, one, minus two, minus three, minus five. Six arrows are drawn, and each one leaves a number and lands on a square root of it.
Nine goes to three and to minus three. Four goes to two and minus two. Twenty-five to five and minus five. Collect the openings: all three left-hand numbers. The domain is the whole left oval. Collect the closings: six numbers. But the right oval holds seven. One sits there with nothing touching it. Why? Because to reach one, an arrow would have to leave a number whose square root is one.
That number is one. And one is not in the left oval. So the range has six members, the codomain seven, and the containment is strict — visibly. That dark dot is not a mistake in the drawing. It is the ordinary situation. Put the first relation into the same kind of picture. Two ovals, one through six in each, five arrows. Six on the left is dark. One on the right is dark. One unused dot on each side.
Now a third picture, to show what it looks like when nothing falls short. Left oval five, six, seven. Right oval three, four, five. Three arrows, each dropping its number by two. Every dot on the left is used. Every dot on the right is used. Domain is the whole left oval. Range is the whole right oval. And the codomain is that same right oval. Here the range and the codomain are the same set, and the containment is not strict.
Which is exactly why this picture is a bad one to learn from. Two of the three sets have coincided, and a coincidence teaches you nothing about the difference. The domain and the range are still different, though: five, six, seven is not three, four, five. Now watch a domain fall short badly. Take the numbers one through fourteen. Keep a pair when the closing entry is three times the opening one.
One goes to three. Two goes to six. Three goes to nine. Four goes to twelve. Five would go to fifteen. Fifteen is not in the set. So five opens nothing. Four pairs. That is the entire relation. The domain is one through four. The range is three, six, nine and twelve. And the codomain is all fourteen numbers, because that is what we announced. Ten of the fourteen open nothing at all, and every single one of them fails the same way: three times it lands past the end of the set.
The announced set is more than three times the size of what actually arrives. Nobody is going to talk you out of that codomain by pointing at the pairs. It was declared. Now the opposite failure. A condition that refuses nothing. Take the whole numbers from minus four to four. Keep a pair when the difference of the two entries is a whole number. Eighty-one pairs to test. Eighty-one survive.
The condition never once said no, because a whole number minus a whole number is always a whole number. Domain: the whole window. Range: the whole window. And here is the thing. You only found that out by testing it. Change the sentence a little and it is a completely different animal. Keep a pair when the first entry is bigger than the second. Same shape of sentence, same window. Thirty-six pairs survive, not eighty-one.
And minus four opens nothing, because nothing in the window is smaller than it. So a condition being stated on a set tells you nothing about how much of that set ends up in the domain. Test it. Every time. One more, where everything comes out full. Take one, two, three, four and six. Keep a pair when the opening entry divides the closing one exactly. Twenty-five pairs in the product. Test them all.
One divides all five of them. Two divides three of them. Three divides two. Four divides one. Six divides one. Twelve pairs. Now collect the openings. All five numbers appear. Collect the closings. All five appear there too. So the domain is the whole set, and the range is the whole set, and here they are equal to each other. Twelve pairs over a five-member domain. Far more pairs than openings.
Must the domain and the range be the same size? Here they are. In the square-root picture the domain had three members and the range had six. Neither is a rule. Both are just what the pairs turned out to do. So what happens when somebody declares a different one? Back to the five pairs. Domain one to five, range two to six, codomain one to six. Now announce it again, into two through six instead.
The pairs do not move. Not one of them. The domain is the same. The range is the same. And the codomain is a different set. The relation is untouched. What changed is what the notation records about it. Before, the range sat strictly inside the codomain. Now they are equal. Push further. Announce it into three through six. That breaks. Two closes one of the pairs, and two is not in that set, so this is no longer a relation into it at all.
So the pairs do constrain the announced set. From below. It has to hold the range. It just does not have to stop there. Announce the same five pairs into the numbers up to a hundred and everything still works. A hundred allowed, five used. Given only the five pairs, how many different sets could have been announced? Confine ourselves to the numbers one through six. Two. One through seven: four.
One through eight: eight. One through nine: sixteen. Every time the pool grows by one number, the count doubles. And all sixteen of those are genuinely different sets. Every one of them holds the whole range, so every one of them gives a working relation. And all sixteen read exactly the same domain, and exactly the same range. Sixteen answers, indistinguishable from the pairs. Exactly one of them is the range itself.
If the codomain were computable, that count would be one. It is never one. Now the other direction. Hunt for the codomain of the three-times relation among the numbers one through nine. Zero. Nothing there can hold twelve. The pairs pin the codomain from underneath and leave it free above. That is what containment means. How special is falling short, really? Take three things on the left and three on the right. Nine possible pairs, and five hundred and twelve relations you could build.
Check the containment on all of them. Five hundred and twelve out of five hundred and twelve. The range is inside the announced set every single time. That is not a coincidence, it is how the pairs were built. Now count the full ones. Three hundred and forty-three use every left-hand thing. Three hundred and forty-three reach every right-hand thing. Two hundred and sixty-five do both at once. And ninety-one do neither.
So a hundred and sixty-nine of the five hundred and twelve leave something on the left unused. And a hundred and sixty-nine have a range strictly inside the codomain. Falling short is not the exception. It is just under a third of everything you can build. One last count, and it is a signpost. Of those five hundred and twelve, how many use every left-hand thing exactly once? Twenty-seven. Count it a second way to be sure: give the first thing one partner, the second thing one partner, the third thing one partner. Three choices each.
Twenty-seven, and the two routes agree. So of the three hundred and forty-three that use everything on the left, three hundred and sixteen send something to two places at once. That tiny corner is where this is going next. A relation is allowed to skip things on the left, and allowed to send one thing to several places. Take away both freedoms and you get a much rarer object with a name of its own.
But keep hold of the asymmetry, because it survives the whole journey. What goes in and what comes out, you read off the pairs. Where it was allowed to come out, somebody told you. And they could have told you sixteen different things.
Where this fits
Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.
Builds on
- A relation is nothing more than a chosen part of the productClass 11 · Ch 2, Relations and Functions
- Why writing a pair in order carries information a set cannotClass 11 · Ch 2, Relations and Functions
Comes up again in
- The one-output rule that promotes a relation to a functionClass 11 · Ch 2, Relations and Functions
- Each standard function is pinned down by its picture as much as by its ruleClass 11 · Ch 2, Relations and Functions