Difference between codomain and range

  • Context: High School 
  • Thread starter Thread starter smithnya
  • Start date Start date
  • Tags Tags
    Difference Range
Click For Summary
SUMMARY

The discussion clarifies the distinction between codomain and range in mathematical functions. The codomain is the set of potential outputs, while the range is the actual set of outputs derived from a specific domain. For example, in the function f(x)=sin(x) with the codomain R, the range is [-1,1] when the domain is all real numbers. However, if the domain is restricted to [0, π/2], the range becomes [0,1]. This highlights that the range is dependent on the chosen domain.

PREREQUISITES
  • Understanding of basic function notation and terminology
  • Familiarity with the concepts of domain and codomain
  • Knowledge of the sine function and its properties
  • Basic comprehension of set theory
NEXT STEPS
  • Study the formal definitions of codomain and range in mathematical literature
  • Explore the implications of different domains on the range of various functions
  • Learn about other mathematical functions and their codomains and ranges
  • Investigate the relationship between continuous functions and their ranges
USEFUL FOR

Students of mathematics, educators teaching function concepts, and anyone seeking to deepen their understanding of mathematical mappings and their properties.

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:

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K