Difference between codomain and range

  • Thread starter Thread starter smithnya
  • Start date Start date
  • Tags Tags
    Difference Range
smithnya
Messages
41
Reaction score
0
I am having a difficult time wrapping my mind around the differences between a codomain and a range. Could someone explain the difference between the two and possibly provide an example?
 
Physics news on Phys.org
Consider the function f(x)=sin(x)

We could say f:R->R. The codomain of f is R because that's where the values of x are mapped to.

The range of f:X->Y, S, is defined as: for all elements y in Y, there exists x in X such that y=f(x). Basically, S=f(X).

In our example above, the range is [-1,1].
We have π mapped to 0, π/2 mapped to 1, etc.


Note that the range is dependent on the domain.

Edit: If you consider g:[0,π/2]->R, then the range of g(x)=sin(x) is [0,1].

If you consider h:R->C, the range of h(x)=sin(x) is still [-1,1]. The codomain being the complex numbers. Since the domain are reals, sin maps them to real values.
 
Last edited:
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top