What is the difference between domain and co-domain?
First of domain is the X set and co-domain is the Y set
In f(x)=2x+1, we say that it's f:Z->Z
So Z is the domain and Z is the co-domain
But the range is all odd numbers bigger than 2
What can go into a function is called the Domain What may possibly come out of a function is called the Codomain What actually comes out of a function is called the Range
So a co-domain is basically the range?
They're similar
What may possibly come out of a function is called the Codomain What actually comes out of a function is called the Range
What do you mean by 'come out of a function'?
That means the value of Y
Domain is 1~4, co-domain is 1~10, range is {3,5,7,9}
SO it is pretty much the range?
It has a bigger range than the range (confusing pun intended)
What is the difference?
Sometimes they're the same
Look at the picture
For example in f(x)=2x+1, if f:R->R, then the co-domain and the range are the same
But if you're talking about f:Z->Z then the range is smaller than the co-domain
So how do you figure out the co-domain?
You could say that f:Z->C and the co-domain would be C
You define the co-domain
Actually I'm not so sure so @Hero @phi
This was in that web page you suggested: Example: you can define a function f(x)=2x with a domain and codomain of integers (because you say so). But by thinking about it you can see that the range (actual output values) would be just the even integers. So the codomain is integers (you defined it that way), but the range is even integers.
Yep that's what I mean
But it is wrong.
No integers are possible in this graph.
non*
|dw:1396840251757:dw|
Join our real-time social learning platform and learn together with your friends!