In this article in short, we will talk about domain, codomain and range of a function. In previous article we have talked about function and its type, you can read this here.
Domain, Codomain and Range:
Domain:
The set of input
values for which the function is defined is called Domain of a function. That is the function provides output
for every elements of domain. For simplicity we can say a set of grains that is
G= {Barley, oats, rice, wheat, …} is a set of domain. Since when
you take set G to certain function say mill you will get corresponding flour as
output that is wheat flour etc.
Mathematically, if a function is defined from set X to Y then
the set X is domain.
So, in the function f(x)=2x from set A to set B;
The domain is X={1,2,3,4,5}
Codomain and Range:
In
similar manner the Codomain is set of outputs of a function. Mathematically if we
define a function from set A to B then the co-domain is set of elements of B
for which there is a preimage in A. In the following figure
Fig: Function from A to B |
Codomain={2,4,6,8,10}
Where as Range is set of elements in B. That is
Range={2,4,6,8,10,12}.
So,
this was an article about Domain, Codomain and Range. Hope you all like this. Don’t
forget to follow our blog by email to get email about what we update.
0 comments: