What is the difference between range and codomain in a function?

  • Thread starter Thread starter danago
  • Start date Start date
  • Tags Tags
    Functions Range
Click For Summary
The discussion clarifies the distinction between range and codomain in functions. The range consists of all possible output values from the function, while the codomain is a broader set that includes the range and is usually defined in the function's context. For example, in the function f(x) = 3/(2x - 2), the range excludes zero, while the codomain is typically the set of real numbers. It is emphasized that the codomain cannot be determined solely from the function's formula, as it is defined by the context. Understanding these differences is crucial for accurately interpreting mathematical functions.
danago
Gold Member
Messages
1,118
Reaction score
4
Hi. This isn't directly a homework question, but it will help in general.

Im having a little trouble understanding what the difference between a range and codomain is. For example, for the function f(x) = \frac{3}{{2x - 2}}, i understand that the domain is \{ x \in R:x \ne 1\}. Now, i also believe that the possible values that can be outputted by the function is given by
<br /> \{ f(x) \in R:f(x) \ne 0\} <br />. Is this the codomain or range?

Thanks in advance,
Dan.
 
Physics news on Phys.org
The range/codomain is the image of the domain through the function

\mbox{Ran}(f(x)):=\left\{ f(x)\left|\right x\in D(f(x)) \right\}

In your case, first make a plot of the function first.
 
danago said:
Hi. This isn't directly a homework question, but it will help in general.

Im having a little trouble understanding what the difference between a range and codomain is. For example, for the function f(x) = \frac{3}{{2x - 2}}, i understand that the domain is \{ x \in R:x \ne 1\}. Now, i also believe that the possible values that can be outputted by the function is given by
<br /> \{ f(x) \in R:f(x) \ne 0\} <br />. Is this the codomain or range?

Thanks in advance,
Dan.
that is the range of the function. codomain is usually a superset (sometimes equal as well) of the range. its generally defined in the question itself, like f:R-->R (here both domain and codomain are the set of real nos.),but range will be a subset(or an equal set) of R depending upon the function definition.
 
According to Wikipedia, the "codomain" of a function f:X-> Y is the set Y. The "range" is the subset of Y that f actually maps something onto.

For example, if f:R->R is defined by f(x)= ex, then the "codomain" is R but the "range" is the set, R+, of all positive real numbers.

Notice that you cannot tell the "codomain" of a function just from its "formula". I could just as easily define f:R->R+, with f(x)= ex. Now the codomain and domain would be the same.
 
HallsofIvy said:
Notice that you cannot tell the "codomain" of a function just from its "formula". I could just as easily define f:R->R+, with f(x)= ex. Now the codomain and domain would be the same.

I have a doubt, I think we also cannot tell what the "domain" is just from the "formula" . We can say what it "is not" but we can't say what it "is".

for instance we can define a function as f:[1,2]->R , with f(x) = ex . here "domain" is what we define(i.e [1,2]) ,"co-domain" is what we define(i.e R) , but "range" is obtained from the formula, which in this case would be [e,e^2]

but the formula definitely can tell us what domain is not.
ex :- f(x) = \sqrt{x} we can't say domain is R. we have to define domain as R^{+} or it's subsets.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K